With the advent of the smart home era in earnest, IoT devices for temperature and humidity monitoring and related services are overflowing. There are various options, such as Tuya's SmartLife, Korea's Hay Home, TP-Link's Tapo, and SmartThings acquired by Samsung. These products have the advantage of being easy to use with just a Wi-Fi connection and mobile app registration, but there are some drawbacks from a developer's point of view.
Most services collect data in 1-minute or 1-hour increments, and this data collection cycle may not be sufficient in situations where detailed monitoring is required.
The purpose of this project was to solve these problems. We want to manage the smart home environment more efficiently through more detailed data collection and real-time notifications, and we are planning to implement this using Watab.
There are the following advantages of using Watab.
These systems also offer the possibility to expand beyond simple hobby projects to practical projects such as smart farms.
In this series, the project will be carried out in a total of three stages.
Raspberry Pi is an educational minicomputer developed by the Raspberry Foundation in the UK. Since the launch of the first generation Model B in 2012, the Raspberry Pi 5 has now been released, and the latest version provides performance that can also be used as a personal PC. It is also used for industrial purposes due to its small size and low power characteristics.
This project uses the Zero 2 W model. This model measures 6.5 cm x 3 cm, is equipped with a 1GHZ quad-core 64-bit Arm processor, 512 MB SDRAM, and supports Wi-Fi. It is characterized by its small size and low price. You can use various Linux distributions, including directly supported Raspberry Pi OS.
There are various temperature and humidity sensors, and DHT11, DHT22, SHT31, and BME280 are easily available in Korea. Among them, I chose DHT22 (AM2302), which is economical and easy to install.
DHT22 (AM2302) Key Specs
WhaTap Focus provides a function that allows you to easily transfer external time series data to the WhaTap service. This feature allows you to monitor user data that the agent does not collect by default.
WhATap Server can collect basic system metrics by installing agents on the server, and can also monitor additional data through WhATap Focus.
WhATap Open API
Data stored in Watap can be queried through the REST API. MXQL, WhaTap's query language (https://docs.whatap.io/mxql/mxql-overview) is supported, and various data can also be easily searched and used.
In this series, we plan to build a temperature and humidity monitoring system using the various functions of WTAP. The sensor data collected by the Raspberry Pi will be transmitted through WhATap Focus, the status of the Raspberry Pi will be monitored by the WhATap Server, and the data will be visualized in the mobile app through Open API.
Through this series, we will implement a smart monitoring solution that integrates IoT devices, monitoring systems, and mobile apps step by step. Please look forward to it!