On Sunday, March 12, 2017 at 6:49:17 AM UTC-4, Wysiwyg wrote: > > This has no meaning and I guess it would be better to filter. > also it may happens that some mqtt topics may be not for weewx but for > other personnal use. > > I would like to check if a key is existing in weewx schema before put it > in the packet, but no clue how to do that. >
you do not have to check the schema; any fields in the loop packet that are not in the schema will be ignored. m