jim-easterbrook / pywws

Python software for USB Wireless WeatherStations
https://pywws.readthedocs.io/
GNU General Public License v2.0
204 stars 62 forks source link

Take data from Home Assistan sensor #112

Open giuian69 opened 1 year ago

giuian69 commented 1 year ago

I have my wh1080 station connected to home server with rtl_433. Station data is published by HA on mqtt. Would it be possible to fetch weather data from mqqt instead of USB? Thank you

jim-easterbrook commented 1 year ago

(Not sure why this question is attached to an eight year old pull request...)

It would not be possible to fetch data from mqtt without making major changes to pywws. I don't use mqtt and have no interest in making such changes.

giuian69 commented 1 year ago

All right. I took the liberty of asking since I used pywws for so many years until the base of the station broke. For this now I take the data with a 433mhz receiver and display them with Home Assistant. Home Assistant also sends data to mqtt. Anyway, thanks for the reply (apologies for making a mistake in opening the request). Compliments for work.

jim-easterbrook commented 1 year ago

You might be able to use bits of pywws if you write your own software. But pywws is such a mess (I've learnt a lot more about Python since I started writing it) that I wouldn't use it as the basis for anything.