At the HP1000 driver level, you could get the Python source and add in the MQTT code yourself. The Python MQTT libraries are fairly straight forward (in my experience) but I suspect there will be issues with coordinating the timing of the two data sources. You could have a thread that subscribes to the MQTT topics you are interested in and buffer the last received value that can be picked up by the HP1000 driver and added to the packet passed on to the WeeWx main thread. Of course you will also need to make sure that the WeeWx main thread and database know about the additional variables but you would face that issue anyway. Susan (author of the HP1000 driver)
On Sunday, 20 December 2020 at 2:45:47 am UTC+11 [email protected] wrote: > Hi there I run Weewx with an HP1000 weather station. Is it possible to > receive sensors that send data via MQTT in Weewx at the same time as the > HP1000. I would like to add additional data. greetings André > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/9a901714-f0e1-4e44-983d-9caa3eb102edn%40googlegroups.com.
