Output your data to MQTT and have your code subscribe to MQTT for that topic.
On Thursday, February 4, 2021 at 8:35:31 AM UTC-8 [email protected] wrote: > Hi, > I want that in a certain weather condition, e.g. wind > 50 km/h I switch a > relais to turn something on or off. To write the code for switching the > realais, I have everything I need. But this code needs as an input the wind > speed. Can my program somehow subscribe to Weewx and get the wind data > constantly? > Thanks, Rainer > -- 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/20ac5eaa-202f-4f1d-9a7d-6a6cf9270b02n%40googlegroups.com.
