A Remote Thermostat Control and Temperature Monitoring System of a Single-Family House using openHAB and MQTT


In this research, an open-source IoT platform named openHAB smart home automation is used as a home server, an ESP32 Thing microcontroller board is used to design a remote-control system for a thermal energy storage system. It consists of temperature sensors for real-time temperature monitoring, ESP32 Thing board is used for data receiving, processing and sending it to the MQTT broker, openHAB software installed in the personal computer is used as a home server for creating dashboard panel, MQTT broker is used to establishing the communication in between openHAB home server and ESP32 Thing board, Wi-Fi router is used to create the communication channel, a battery-powered remote-controlled heater with a digital thermostat is used as a testing device where user can set the desired temperature for house heating. The main objectives of this work are to design a low-cost monitoring and control system for thermal energy storage systems, to monitor the real-time temperature data, to design a control system for thermostat settings with the following features such as manual/automatic operations, local/remote control options. The user can access the dashboards locally via any computer and remotely via openHAB Cloud console from anywhere in the world. The proposed system in this work will help residence to manage their heating systems smartly in a cost-effective way, which will be the replacement of the conventional thermostat settings. The utility provider company can also use this system to control the thermostat settings from centrally, wirelessly, and remotely.

  1. H. Rahaman, R. Rasha, and M. T. Iqbal, “Design and analysis of a solar water heating system for a detached house in newfoundland,” in 2019 IEEE Canadian Conference of Electrical and Computer Engineering (CCECE), May 2019, pp. 1–4, doi: 10.1109/CCECE43985.2019.8995175.  |   Google Scholar
  2. M. H. Rahaman and T. Iqbal, “A Comparison of Solar Photovoltaic and Solar Thermal Collector for Residential Water Heating and Space Heating System,” European Journal of Engineering Research and Science, vol. 4, no. 12, pp. 41–47, Dec. 2019, doi: 10.24018/ejers.2019.4.12.1640.  |   Google Scholar
  3. D. Rohde, B. R. Knudsen, T. Andresen, and N. Nord, “Dynamic optimization of control setpoints for an integrated heating and cooling system with thermal energy storages,” Energy, vol. 193, p. 116771, Feb. 2020, doi: 10.1016/j.energy.2019.116771.  |   Google Scholar
  4. F. De Ridder, M. Diehl, G. Mulder, J. Desmedt, and J. Van Bael, “An optimal control algorithm for borehole thermal energy storage systems,” Energy and Buildings, vol. 43, no. 10, pp. 2918–2925, Oct. 2011, doi: 10.1016/j.enbuild.2011.07.015.  |   Google Scholar
  5. M. LeBreux, M. Lacroix, and G. Lachiver, “Control of a hybrid solar/electric thermal energy storage system,” International Journal of Thermal Sciences, vol. 48, no. 3, pp. 645–654, Mar. 2009, doi: 10.1016/j.ijthermalsci.2008.05.006.  |   Google Scholar
  6. “Keeping eyes on your home: Open-source network monitoring center for mobile devices - IEEE Conference Publication.” https://ieeexplore.ieee.org/document/7296336 (accessed May 31, 2020).  |   Google Scholar
  7. S. Chivarov, P. Kopacek, and N. Chivarov, “Cost Oriented Humanoid Robot communication with IoT devices via MQTT and interaction with a Smart Home HUB connected devices,” IFAC-PapersOnLine, vol. 52, no. 25, pp. 104–109, Jan. 2019, doi: 10.1016/j.ifacol.2019.12.455.  |   Google Scholar
  8. T. Sysala, D. Fogl, and P. Neumann, “The family house control system based on Raspberry Pi,” MATEC Web Conf., vol. 125, p. 02034, 2017, doi: 10.1051/matecconf/201712502034.  |   Google Scholar
  9. “Demand Side Management of Smart Homes Using OpenHAB Framework for Interoperability of Devices - IEEE Conference Publication.” https://ieeexplore.ieee.org/document/8506917 (accessed May 31, 2020).  |   Google Scholar
  10. S. Saxena, S. Jain, D. Arora, and P. Sharma, “Implications of MQTT Connectivity Protocol for IoT based Device Automation using Home Assistant and OpenHAB,” in 2019 6th International Conference on Computing for Sustainable Global Development (INDIACom), Mar. 2019, pp. 475–480.  |   Google Scholar
  11. D. Uckelmann, B. Wohlfarth, and M. Guedey, “Smart Public Building,” Dec. 2018.  |   Google Scholar
  12. M. Ramljak, “Security analysis of Open Home Automation Bus system,” in 2017 40th International Convention on Information and Communication Technology, Electronics and Microelectronics (MIPRO), May 2017, pp. 1245–1250, doi: 10.23919/MIPRO.2017.7973614.  |   Google Scholar
  13. C. Coté, M. Heidarinejad, and B. Stephens, “Elemental: An Open-Source Wireless Hardware and Software Platform for Building Energy and Indoor Environmental Monitoring and Control,” Sensors, vol. 19, p. 4017, Sep. 2019, doi: 10.3390/s19184017.  |   Google Scholar
  14. J. A. S. Velázquez, “Securing openHAB Smart Home through User Authentication and Authorization,” 2018.  |   Google Scholar
  15. “Implementation of Home Automation System Using OpenHAB Framework for Heterogeneous IoT Devices - IEEE Conference Publication.” https://ieeexplore.ieee.org/document/8980370 (accessed May 31, 2020).  |   Google Scholar
  16. H. S. Doshi, M. S. Shah, and U. S. A. Shaikh, “INTERNET of THINGS (IoT): INTEGRATION,” vol. 1, no. 4, p. 9, 2017.  |   Google Scholar
  17. A. Loumpas, G. Panaras, and M. Dasygenis, “Design and implementation of an open-source infrastructure and an intelligent thermostat,” May 2018, pp. 1–4, doi: 10.1109/MOCAST.2018.8376651.  |   Google Scholar
  18. M. H. Yaghmaee and H. Hejazi, “Design and Implementation of an Internet of Things Based Smart Energy Metering,” in 2018 IEEE International Conference on Smart Energy Grid Engineering (SEGE), Aug. 2018, pp. 191–194, doi: 10.1109/SEGE.2018.8499458.  |   Google Scholar
  19. I. Froiz-Míguez, T. M. Fernández-Caramés, P. Fraga-Lamas, and L. Castedo, “Design, Implementation and Practical Evaluation of an IoT Home Automation System for Fog Computing Applications Based on MQTT and ZigBee-WiFi Sensor Nodes,” Sensors (Basel), vol. 18, no. 8, Aug. 2018, doi: 10.3390/s18082660.  |   Google Scholar
  20. M. Divyashree and H. G. Rangaraju, “Internet of Things (IoT): A Survey,” in 2018 International Conference on Networking, Embedded and Wireless Systems (ICNEWS), Dec. 2018, pp. 1–6, doi: 10.1109/ICNEWS.2018.8903919.  |   Google Scholar
  21. L. O. Aghenta and M. T. Iqbal, “Low-Cost, Open Source IoT-Based SCADA System Design Using Thinger.IO and ESP32 Thing,” Electronics, vol. 8, no. 8, p. 822, Aug. 2019, doi: 10.3390/electronics8080822.  |   Google Scholar
  22. “openHAB.” https://www.openhab.org/ (accessed May 31, 2020).  |   Google Scholar


Download data is not yet available.

How to Cite

Rahaman, M.H. and Iqbal, M.T. 2020. A Remote Thermostat Control and Temperature Monitoring System of a Single-Family House using openHAB and MQTT. European Journal of Electrical Engineering and Computer Science. 4, 5 (Sep. 2020). DOI:https://doi.org/10.24018/ejece.2020.4.5.234.

Search Panel

 Md Habibur Rahaman
 Google Scholar |   EJECE Journal

 M. Tariq Iqbal
 Google Scholar |   EJECE Journal

Most read articles by the same author(s)

1 2 > >>