Designing A Surveillance System, Temperature and Humidity Detection Based on Internet of Things (IoT) In The Server Room University Of PGRI Adi Buana Surabaya

—University of PGRI Adi Buana Surabaya is a university located in Surabaya, East Java. All data management processes and academic information systems are connected to the server via a local network and the internet. Currently there are three server rooms owned by the University, namely: the main Server room in the PGSD Building, second floor; Backup Server room in the Postgraduate building, third floor; and network Server room in the Ngagel campus, building a, second floor. The server room accommodates network equipment and database servers require temperature and humidity that are always maintained and routinely need to be checked by officers. To avoid damage to the server and network devices in the server room, a temperature and humidity detection system based on the Internet of Things (IoT) is made. This system is built using Home Assistant as an application of Internet of Things (IoT) centralized control system and CCTV to display conditions in real-time in each server room. Sensor to detect temperature and humidity using the DHT11 Sensor, the ESP8266 Microcontroller acts as a link between the host and the sensor by utilizing a wireless network. This tool can provide benefits in the field of Information Technology and Data in terms of monitoring so that it officers can check anytime and anywhere through a Web Service.


I. INTRODUCTION
Server room is a room used to store database servers, network devices and other devices where these devices are very vital and need supervision and always maintained temperature and humidity.Server room is one of the important assets in Pgri Adi Buana University Surabaya.Currently there are three server rooms owned by the University , namely: the main Server room in PGSD Building, second floor; Backup Server room in postgraduate building, third floor; and network Server room in Ngagel campus, building a, second floor.During this time officers routinely check into the server room at the three locations.This makes the process time consuming, expensive, and also laborious.
To avoid damage to server and network devices and supervision that can continue to be carried out in the server room, a monitoring system, temperature and humidity detector based on the Internet of Things (IoT) is made.Some studies that are relevant to this are remote temperature monitoring systems in server rooms based on the Internet of Things (IoT).The study used the ESP8266 Microcontroller with the main sensor DHT11 sensor.This system is designed and developed to monitor temperature both through the Thingspeak Website and the Virtuino Android application (Fatra, et al, 2021).From a journal written by (Yunarti, Baharuddin, 2017) entitled Designing a temperature measuring system in a server room using Raspberry Pi and DHT11 temperature sensor is a study about designing a temperature measuring system in a server room using Raspberry Pi and DHT11 temperature sensor that takes temperature samples by Stratified Random Sampling.
The system is built using Home Assistant as a centralized control system application Internet of Things (IoT), where the host is integrated into the infrastructure of the University and CCTV to display the conditions in real-time each server room.Sensor to detect temperature and humidity using DHT11 Sensor, ESP8266 Microcontroller acts as a link between Host and Sensor by utilizing wireless network.This tool can provide benefits in the field of Information and Data Technology in terms of monitoring temperature, humidity, and conditions in three server rooms so that it officers can check anytime and anywhere through a Web Service.

A. Product Design
Researchers strive to create an innovative tool to facilitate the monitoring, detection of temperature and humidity-based Internet of Things (IoT) at the University of PGRI Adi Buana Surabaya.The following is a flowchart and explanation of the working system of the designed tool.From the block diagram above a little about the description of the object of this study and the following explanation of the function of each block diagram:

1). Block Diagram
1. Microcontroller ESP8266 The ESP8266 Microcontroller receives data from the DHT11 sensor, transmits data over the internet network using the MQTT protocol.

DHT11 Sensor
The DHT11 Sensor is used to detect temperature and humidity in the server room.

Buzzer
Buzzer is used for certain indications or warnings that there is a decrease and increase in temperature and humidity in the server room.

IP Camera CCTV
IP camera CCTV is used to supervise, monitor or record conditions in three server rooms of PGRI Adi Buana University Surabaya.

Internet
Internet is used for connecting ESP8266 microcontroller with MQTT cloud through MQTT protocol and IP Camera with cloud through HTTP protocol.
6. Cloud Tuya Tuya Cloud serves as a backend system to authorize CCTV IP Camera users to be accessed remotely.

Cloud MQTT
The MQTT Cloud serves as the backend system for authorizing and authenticating MQTT users.

Homeassistant
Home Assistant serves as a monitoring application which is one part of the Internet of Things (IoT) technology as the data center of this study.

B. Product Test
Testing is a process for systems and tools that are made to work properly.In accordance with the existing theory, there are several tests that will be carried out, among others:

1). Temperature and Humidity test on DHT11 Sensor
Testing was conducted in three server rooms, with the condition of the device in the server room operates.So that the results of reading data from the DHT11 sensor are sent to the cloud using the internet network via the MQTT protocol and display temperature and humidity readings in the Home Assistant.

2). Microcontroller ESP8266 connection test via MQTT Protocol
The tests were carried out using a device designed and integrated with the DHT11 Sensor.The purpose of this test is to find out how long the ESP8266 microcontroller is connected to MQTT and continues to connect to the Home Assistant via the internet network.In addition, this test ensures that the GPIO pin on the ESP8266 microcontroller is connected to the sensor so that it functions according to the study.

3). Test CCTV IP Camera connection via Cloud
The test was carried out by displaying video Streaming IP CCTV cameras installed to monitor the condition and situation of the three server rooms.In addition, IP CCTV cameras are integrated with the Tuya IOT platform development cloud and display Streaming Video in the Home Assistant.

4). Buzzer Alarm response test for indication of decrease and increase in temperature and humidity
The test is done by automating the buzzer when the temperature and humidity experience a decrease and increase as a warning in certain conditions in each server room.In addition, a response test was carried out using notifications from the Home Assistant application to ensure that the buzzer installed in the IT room and data function in accordance with the results of the study.

C. Variables and operational definition of variables
In this study there are several variables that aim to get the results achieved.These variables are 1).DHT11 Sensor is a tool for measuring temperature and humidity in three server rooms of PGRI Adi Buana University Surabaya.
2).CCTV IP cameras are used to monitor conditions in three server rooms of PGRI Adi Buana University Surabaya.
3).Home Assistant is used to display temperature and humidity readings from DHT11 sensors and streaming video from IP CCTV cameras installed in three server rooms so that they can be monitored.

4)
. The ESP8266 Microcontroller is used to receive data from the DHT11 sensor and transmit that data to the Home Assistant via the MQTT protocol.3).The third stage, the integration of Home Assistant with temperature and humidity detection devices and Buzzer alarms via the MQTT protocol.In addition, it also integrates IP CCTV cameras through the cloud.

D. Data Analysis Methods
4).The fourth stage, testing DHT11 sensors installed in three server rooms to measure temperature and humidity.The test is carried out using the MQTT protocol via the internet and the measurement results are displayed in the Home Assistant.
5).The fifth stage, testing video streaming on IP CCTV cameras installed in three server rooms via the cloud using the internet network and displaying the condition of the server room in the Home Assistant.
6).The sixth stage, testing the Buzzer Alarm as a warning in certain situations in each server room.
In addition, a response test was carried out by sending a notification to the Home Assistant application to ensure that the buzzer installed in the IT and data Rooms is working properly.

7
).The seventh stage, the overall test of integrated components

A. Results and Product Evaluation
In the system design and manufacture of tools that can be used as a monitoring application to monitor the condition of three server rooms by the field of Information and Data Technology, Pgri Adi Buana University Surabaya.Monitoring applications can be accessed remotely using the internet network.There are several series of such devices, namely ESP8266 microcontroller, DHT11 sensor, and 5V adapter as a temperature and humidity detector.In addition, IP CCTV cameras are used to monitor the condition of three server rooms and buzzer alarms serve as warnings in certain situations in each server room.Home Assistant as a monitoring application, integrated with temperature and humidity detection devices and buzzer alarms connected via the MQTT protocol and IP CCTV cameras connected via the cloud.

B. Presentation of Data
Based on the experiments conducted, the analysis of the data obtained resulted in the following data

1). Temperature and Humidity test on DHT11 Sensor
Temperature and humidity testing is performed on the DHT11 sensor to determine the value of the data generated and the difference in data or error on the DHT11 sensor.Testing is carried out in a period of 10 minutes to 60 Minutes.The test phase was carried out by turning on the temperature and humidity detectors installed in three server rooms connected to the internet network and integrated into the Home Assistant.The test results of the DHT11 sensor are then compared with the temperature and humidity readings in a digital thermometer.The temperature and humidity test results of the three server rooms are as follows

4). Buzzer Alarm response test for indication of decrease and increase in temperature and humidity
Buzzer alarm responsiveness test for warning at the time of decrease and increase in temperature and humidity aims to determine the limit value that has been set, namely the temperature of 20-25% and humidity in three server rooms so that the buzzer alarm installed in the IT room and the data will light up beyond the limit value that has been determined.The tests were conducted in 3 experiments between 10 minutes to 60 minutes at the time of decrease and increase in temperature and humidity in each DHT11 sensor installed in three server rooms.The test step is performed by turning on the ESP8266 microcontroller installed with a buzzer alarm.Then it is integrated into the Home Assistant and the buzzer alarm is connected to the internet network.The results of the responsiveness and warning test on the buzzer alarm are as follows  monitor every condition in the three server rooms of Pgri Adi Buana University Surabaya.The results of the test of responsiveness and warning buzzer alarm at the time of decrease and increase in temperature and humidity in each DHT11 sensor installed in three server rooms, the results of this test the average speed of response buzzer alarm and notification on the application is 0.51 seconds on the DHT11 sensor installed in the main server room, 0.52 seconds on the DHT11 sensor installed in the backup server room and 0.5 seconds on the DHT11 sensor installed in the network server room.Each DHT11 sensor sends a value beyond a predetermined limit so that the buzer alarm installed in the IT room and data are successfully activated.

IV. CONCLUSION
From a series of research, testing and analysis of temperature and humidity Detection System Design based on Internet of Things (IoT) in the Server room of Pgri Adi Buana University Surabaya can be concluded as follows 1).Temperature and humidity detection system helps monitoring in the server room of Pgri Adi Buana University Surabaya.2).At Home Assistant uses a public IP so that it can be accessed remotely by IT personnel to monitor conditions in three server rooms simultaneously.3).DHT11 Sensor installed in the main Server room of the campus on the second floor of the PGSD building obtained data when detecting temperature and humidity with an average temperature of 20.9% and 48% in humidity.While the difference in data from the DHT11 sensor and digital thermometer with data error of 1% on temperature and 3% on humidity.4).The DHT11 Sensor installed in the Backup server room of the campus on the third floor of the Postgraduate building obtained data when detecting temperature and humidity with an average temperature of 21.3% and 41% humidity.While the difference in data from the DHT11 sensor and digital thermometer with a data error of 0.5 degrees at temperature and 0% at humidity.5).DHT11 Sensor installed in the campus network server room Ngagel building a second floor data obtained when detecting temperature and humidity with an average temperature of 20.8% C in temperature and 46% in humidity.While the difference in data from the DHT11 sensor and digital thermometer with data error of 0.6% on temperature and 2% on humidity.8).The Buzzer Alarm installed in the IT and data rooms was successfully activated without problems when the DHT11 sensors installed in the three server rooms sent values outside the specified limits during the decrease and increase in temperature and humidity.The average speed of responsiveness warning on the buzzer alarm and notification in the application is 0.51 seconds from the DHT11 sensor installed in the main server room, 0.52 seconds on the DHT11 sensor installed in the backup server room and 0.5 seconds on the DHT11 sensor installed in the network server room

Fig 1
Fig 1 Block Diagram

Fig 2 Fig 3 Fig 4
Fig 2 Design of Temperature and Humidity Detection

Fig 6 Fig 8 Fig 9
Fig 6 Display of Web Monitoring Home Assistant

Table 2
Microcontroller ESP8266 connection with Buzzer Relay

Table 3
Temperature and humidity test on DHT11 Sensor in the main Server room of Pgsd Building, second floor

Table 4
Temperature and humidity test on DHT11 Sensor in Backup server room of campus dated postgraduate building III floor

Table 7
Test CCTV camera IP connection via Cloud

Table 8
Test the responsiveness and warning of the Buzzer Alarm from the DHT11 Sensor in the main Server room of the campus on the second floor of the PGSD building 21 │ BEST, Vol.05, No. 02, 2023

Table 9
Responsiveness test and Buzzer Alarm warning from DHT11 Sensor in campus Backup Server room dated postgraduate building III floor Table 10 Test the responsiveness and warning of the Buzzer Alarm from the DHT11 Sensor in the Ngagel campus network Server room building a second floor C. Data Analysis 1).Temperature and Humidity test on DHT11 Sensor Fig 15 Temperature and humidity test on DHT11 Sensor in the main Server room of the campus on the second floor of PGSD building Fig 16 Temperature and humidity test on DHT11 Sensor in Backup server room of campus dated postgraduate building III floor Fig 17 Temperature and humidity test on DHT11 Sensor in Ngagel campus network Server room building a second floor Average speed of responsiveness and warning on the Buzzer Alarm 0,50 6).ESP8266 microcontroller data communication installed in the main Server room, campus Menanggal Pgsd Building second floor; Backup Server room, campus Menanggal postgraduate building third floor; Network Server Room, campus Ngagel building a second floor; and it and Data Room, campus Menanggal Pgsd building first floor connected to Home Assistant via MQTT protocol well up to 3 trials with a period of 60 minutes without problems.7).IP Camera CCTV installed in the main Server room, campus Menanggal Pgsd Building second floor; Backup Server room, campus Menanggal postgraduate building third floor; and network Server room, campus Ngagel building a second floor connected to the Home Assistant to monitor conditions in the server room by utilizing the API service on the cloud and running well.