[weewx-user] Re: HP1000 and MQTT

2021-01-02 Thread bell...@gmail.com
Sounds like you might be interested in my MQTTSubscribeService 
 extension.
rich

On Saturday, 19 December 2020 at 10:45:47 UTC-5 ried...@gmail.com 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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/f84ecb08-b929-4ac6-a5c9-40f9e339bec1n%40googlegroups.com.


[weewx-user] Re: HP1000 and MQTT

2021-01-01 Thread Susan Mackay
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 ried...@gmail.com 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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/9a901714-f0e1-4e44-983d-9caa3eb102edn%40googlegroups.com.