>As the current housing systems are moving towards automation, the focus on the systems used within the house is given more focus than the customer requirement. The systems available in the current market are complex and expensive. The objective of the “IoT based remote sensor data monitoring and actuator control” project is to create a partial open-source monitoring system that can be customized based on the individual requirements of the customer which is cheaper than the available market alternatives and user-friendly.
Since this monitoring system can be used for various applications, it is difficult to reproduce every possible scenario. Hence the prototype for the use case of home water tank was built.
DHT11 - temperature and humidity readings.
water level sensor - To avoid overflow of the water tank and emergency stop when desired level is reached
MQTT - Use as communication protocol with between sensor, between sensor and relay
Raspberry pi zero - For getting the sensor data
Raspberry pi 4 - To control relay & power supply
HiveMQ broker - It was used to test published/subscribed messages.
Influx-DB - It was used as Database For storing water level and DHT11 sensor streaming time-series data.
Grafana - It was used for visualizing temperature and humidity streaming time-series data
The above picture illustrates the monitoring system of the water level in a smart home network. Water level sensor and DHT11 sensor are connected to Raspberry pi zero.Firstly, Raspberry-pi Zero is gathered streaming data from DHT11 – sensor, the water level – sensor and the ultrasonic sensor. Which values are converted to the action or messages and Those messages are published to the MQTT – Protocol to a particular topic. Next, RaspberryPi- 4 is giving a request to the MQTT protocol in order to get sensor values that are published by Raspberrypi Zero. Moreover, According to the message relay is handled by RaspberryPi- 4 in order to manage the power supply for the motor as well as Raspberry pi- 4 push streaming time-series data and message into the InfluxDB. After that, Grafana is connected with InfluxDB to do streaming time-series data visualization.