Author: Alex Karlsson (ak223ke)
This IoT project is about monitoring and visualizing temperature, humidity, and light level data. To this end we use the TIG stack which consists of Telegraf, InfluxDB and Grafana. To measure the data, we use a DHT11 sensor and a KY-018 light sensor connected to a LoPy4 device. The data is sent from the device to a MQTT broker over a WiFi connection and then inserted into the database InfluxDB by Telegraf. Grafana is then used to visualize the data and to set alarms which notifies us when the temperature rises above a certain degree. A WiFi connection is used since the main objective is to measure data indoors.
This project should take around 5-9 hours to complete depending on experience. This project is not that advanced, but it consists of multiple parts such as connecting the device, programming the device and Docker. As such there is much to learn which is what I think makes it such a fun project!
Objective
There are two main reasons that I chose to do this project and both reasons are primarily related to temperature data. Reason 1) is that I suspect that my apartment is colder during the winter and hotter during the summer than the recommendation by the Public Health Authority in Sweden [1]. Reason 2) is that I want to make sure that the temperature inside is acceptable for my dog. I'm also interested to see how my dog's energy level corresponds with the temperature.
The reason for monitoring humidity is simple, I'm interested in having a good climate indoors [2]. For light levels, I'm only interested in seeing how it correlates to the temperature.