I have a simple DIY weather station I built that has WiFi. The weather station returns a simple JSON string with a get request:
“{“time”:1738039811, “voltage”:7408, “current”:28, “temperature”:-792, “humidity”:8344, “pressure”:2906, “light”:0}”.
I have a web page on this device that can access this information and display it.
I thought it would be easy enough to build this page in Home Assistant but after a couple of days at looking through the docs and examples found no such simple application. Apparently, this product is too complex to handle something this simple.
At least I expected someone had already setup an example project that was close.
Right now I have a Raspberry Pi Zero running python code that polls this device every hour and displays a graph of the data.
Did you expect HA to magically support your own DIY weather station?
This is the beauty of HA: as long as you have some sort of readable data, HA can be configured to pull it in. From there, you can do what you want with it.
As a side note, if your weather station supported MQTT auto-discovery, it could have been magically supported without configuration…
@Troon
The web device is pretty basic and only supports defining a URL to process a request from and then passes it to the microcontroller on the back side.
Due have a website running on the network that is pin holed into one of my servers though.
I guess I thought there would be a GUI that would ask me about the URL and what data is being return and build the YAML for me.
Happy I didn’t have to write an integration though.