Integration of a Microcontroller-Based Temperature Sensor with SSH Scripting for Automated Server Power-Off Under Critical Conditions

Authors

  • Siska Amanda Department of Computer Engineering, Universitas Serambi Mekkah, Banda Aceh 23245, Indonesia Author
  • Erdiwansyah Department of Natural Resources and Environmental Management, Universitas Serambi Mekkah, 23245, Banda Aceh, Indonesia Author
  • Teuku Andiansyah Department of Computer Engineering, Universitas Serambi Mekkah, Banda Aceh 23245, Indonesia Author

Keywords:

Internet of Things, ESP32, DHT22, MQTT, ThingsBoard

Abstract

The advancement of Internet of Things (IoT) technology has enabled the development of monitoring systems that enhance the security and reliability of server infrastructure through real-time environmental data collection. This study aims to implement a server room temperature-monitoring system based on the ESP32 microcontroller integrated with a DHT22 temperature sensor, the Message Queuing Telemetry Transport (MQTT) protocol, the ThingsBoard platform, a Telegram Bot, and an automated server power-off mechanism via Secure Shell (SSH). The proposed system periodically measures temperature, transmits sensor data to a cloud platform via MQTT, displays real-time information on the ThingsBoard dashboard, and sends notifications to the administrator through Telegram when the temperature reaches a critical threshold. Under critical conditions, the system automatically executes a server power-off command through a Flask API and OpenSSH as a protective mechanism against hardware damage caused by excessive heat. Functional testing was conducted on all system components, including the DHT22 sensor, MQTT communication, the ThingsBoard dashboard, a 16×2 I2C LCD, LED indicator, buzzer, Telegram Bot, and the integration between Flask API and OpenSSH. The experimental results demonstrate that all components operated successfully and were fully integrated. Temperature data were transmitted and displayed on the dashboard in real time; Telegram notifications were delivered based on predefined conditions; and the automated server power-off simulation was successfully executed when the temperature exceeded the critical threshold. These findings indicate that integrating IoT technology with SSH automation enhances monitoring effectiveness and provides an automated protection mechanism for server rooms.

Downloads

Download data is not yet available.

Downloads

Published

2026-07-16

Issue

Section

Articles

How to Cite

Integration of a Microcontroller-Based Temperature Sensor with SSH Scripting for Automated Server Power-Off Under Critical Conditions. (2026). International Journal of Simulation, Optimization & Modelling, 1(1), 277-287. https://e-journal.scholar-publishing.org/index.php/ijsom/article/view/275

Most read articles by the same author(s)