Temp/Humidity to Database to HTML Chart
-
- Posts: 4
- Joined: Sat Oct 17, 2020 10:37 am
- Contact:
Temp/Humidity to Database to HTML Chart
Here's my little home IoT project based on Micropython.
https://github.com/jj-wohlgemuth/my-home-iot
[ micropython micropython-esp8266 synology synology-nas mqtt sql ftp python plotly dht22 dht11 dht ]
https://github.com/jj-wohlgemuth/my-home-iot
[ micropython micropython-esp8266 synology synology-nas mqtt sql ftp python plotly dht22 dht11 dht ]
-
- Posts: 4
- Joined: Sat Oct 17, 2020 10:37 am
- Contact:
Re: Temp/Humidity to Database to HTML Chart
Here's a screenshot of the chart:
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: Temp/Humidity to Database to HTML Chart
Interesting that the humidity readings in the kitchen correlate with the short term temperature variations. I suspect this happens on the other readings, but the temperature variation in the kitchen is more substantial so it's more evident. Or was something happening between those hours causing both temperature and RH to drop in sync? Cooking generally increases both...
I wonder if the device/device driver's temperature compensation is optimal? Mind you, I guess I'm splitting hairs here: an error of 10% RH is probably insignificant.
I wonder if the device/device driver's temperature compensation is optimal? Mind you, I guess I'm splitting hairs here: an error of 10% RH is probably insignificant.
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.
Re: Temp/Humidity to Database to HTML Chart
My impression was, that you open the window of the kitchen quite often, and that after having it closed again, the less dry air is causing a humidity drop. It would be interesting to see, if there is a slight time offset between the two figures.
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: Temp/Humidity to Database to HTML Chart
I wondered about opening doors or windows. The air outside is colder and more humid. I would expect an exchange of air to cause a drop in temperature (as observed) and an increase in humidity. We see a decrease.
Hence my puzzlement.
Hence my puzzlement.
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.
Re: Temp/Humidity to Database to HTML Chart
When cold air warms up, the humidity decreases. That's why the indoor humidity usually drops in winter. And depending on the region and temperature, cold air can be very dry. But it is not yet cold enough here.
-
- Posts: 4
- Joined: Sat Oct 17, 2020 10:37 am
- Contact:
Re: Temp/Humidity to Database to HTML Chart
The drops occur when I open the door of the house which is about 3 meters away from the fridge (it's a 33m^2 studio appartment). The sensor sits under the fridge on the floor. Generally in winter I open the doors and windows at least once a day for 5-10 minutes to decrease the humidity inside.
https://de.m.wikipedia.org/wiki/L%C3%BC ... C3%BCftung
The bedroom sensor is about 6 meters away from the door and closer to the ceiling hence the inertia.
The outside sensor is close to the wall so it gets slighty warmed up by the house. It was probably actually a bit colder outside that day.
https://de.m.wikipedia.org/wiki/L%C3%BC ... C3%BCftung
The bedroom sensor is about 6 meters away from the door and closer to the ceiling hence the inertia.
The outside sensor is close to the wall so it gets slighty warmed up by the house. It was probably actually a bit colder outside that day.
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: Temp/Humidity to Database to HTML Chart
Ah, OK. Vague memories from my schooldays are emerging. I need to do some revision
Nice project by the way
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.
-
- Posts: 4
- Joined: Sat Oct 17, 2020 10:37 am
- Contact:
Re: Temp/Humidity to Database to HTML Chart
Thanks
I really love Micropython for standard stuff like this where it's just about parsing data from one protocol (the DHT22 serial protocol) to another (MQTT). No need to write hundreds of lines of C Code for it.
I really love Micropython for standard stuff like this where it's just about parsing data from one protocol (the DHT22 serial protocol) to another (MQTT). No need to write hundreds of lines of C Code for it.