What’s the weather like, both inside and out.
Now that the dashboard was all setup, curious me wanted to see if I could add more information on it that I normally look up, like the weather.
The big question was around what information do I like to see, was it just temperature or should I include cloud cover and other things as well. After talking within the family we came up with the following list:
- Current Temperature
- Wind Chill
- Cloud cover
- Short time weather forecast, and
- Pressure
All of them were needed, especially if the pressure is high then I would know Elma would be getting a migraine and I should not be at my peak annoying self.
Wrote the code below to poll every 15 minutes to pull back the information we were looking for with the weather integrations that was provided, and just like that we now have weather information on the dashboard.
In the new place, we have a pellet stove that we are using to heat up the house during the winter. So Dad is obsessed with asking what the temperature is in all the rooms. Lucky for me the motion sensors that we installed also have temperature sensors included in them.
To fulfil his wish, wrote up some code that would check every 5 minutes what the temperature is on all the devices and show them as blocks. This way when he asks, I can just look at the dashboard and let him know. Or better off set the dashboard on his laptop so that way he can see it too.