0% found this document useful (0 votes)
115 views

Developing Smart Workspace Based IOT With Artificial Intelligence Using Telegram Chatbot

The document discusses developing a smart workspace using IoT and an artificial intelligence chatbot on Telegram messenger. It aims to make it easier for employees to remotely control electronic devices in their workspace from their smartphones to improve efficiency and save energy.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
115 views

Developing Smart Workspace Based IOT With Artificial Intelligence Using Telegram Chatbot

The document discusses developing a smart workspace using IoT and an artificial intelligence chatbot on Telegram messenger. It aims to make it easier for employees to remotely control electronic devices in their workspace from their smartphones to improve efficiency and save energy.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

2018 4th International Conference on Computing, Engineering, and Design (ICCED)

Developing Smart Workspace Based IoT


with Artificial Intelligence Using Telegram
Chatbot
Muhamad Muslih, Somantri, Dedi Supardi, Elpid Multipi, Yusup Maulana Nyaman, Aditya Rismawan, Gunawansyah
Departement of Infomatics Engineering
Nusa Putra University
Sukabumi, Indonesia
[email protected], [email protected], [email protected], [email protected],
[email protected], [email protected], [email protected]

Abstract — IoT (Internet of things) is a concept that their workspace so that electricity stays on and
aims to take advantage of connected internet causes a waste of electrical energy.
connectivity continuously, some IoT capabilities
include data sharing, remote control and so on, one of By implementing the Internet of things on the
the uses that can be used is by controlling several workspace and the use of artificial intelligence can
electronic devices on the workspace via the internet, make it easier for employees to be more efficient in
such as lamp, fan, drawer lock, electrical outlet, and using electricity, time and energy because in this
temperature check. This research was carried out by case the employee only needs a smartphone / PC /
building a remote control device with Esp 8266 to Notebook by connecting the internet to control all
access local control with the help of Artificial
Intelligence Chatbot by using Telegram Messenger.
electronic devices in his workspace.
This test is done to make it easier for employees to Telegram Messenger is an increasingly popular
control electronic devices on their workspace through messaging app. more and more users are using it,
smartphones or PCs, without having to manually
there are 62 million users using telegram, with Daily
switch and support energy efficiency in saving
electricity. With Smart Workspace, it can make it
Active Users (DAU) 15 million people and every
easier for employees to control several electronic week there are 1 million new users who sign-up on
devices in their workspace without having to go back Telegram [1]. Telegram Messenger has been widely
to the office to turn off or turn on the lights. used in everyday life whether for business,
colleagues, or family, because it is easier to access it
Keyword — Internet of Things (IoT), Artificial either with or without a smartphone can still be
Intelligence, Smart workspace, Chatbot, Telegram, ESP opened through a web browser not just glued to
8266. smartphones.
With Smart Workspace, it is expected that it will
I. INTRODUCTION
be easier for employees to access electronic devices
IoT (Internet of things) is a concept in which on their desks, by only giving orders from
internet connectivity can connect and exchange smartphones using telegram messengers as well as
information with devices around us such as lights, using Artificial Intelligence Chatbot provided in this
fans, curtains etc. That makes it possible to be study. Allows remote control of all electronic
controlled, monitored or accessed remotely, making devices in workspace. The use of Chatbot is also
it easier for users to use it without having to touch it used to remind employees through notifications if it
physically. allows the device to be turned on or off as well as
giving notifications to employees to turn on the fan
Internet of Thing (IoT) is a concept where an
when the temperature is hot. In this case, Chatbot
object has the ability to transfer data over a network
acts as an invisible office servant who serves the
without requiring human to human or human workplace like as secretary in the field of workplace
interaction to a computer. IoT has evolved from the control.
convergence of wireless technology, micro-
electromechanical systems (MEMS), and the II. RELATED WORK
Internet. Research related to the concept of the Internet of
things, including IoT which is used to control home
Tiredness after work sometimes makes
appliances, especially electronic equipment
employees forget to turn off electronic devices at remotely using an internet connection and

978-1-5386-9378-0/18/$31.00 ©2018 IEEE 230


DOI 10.1109/ICCED.2018.00052

Authorized licensed use limited to: Universidad Militar Nueva Granada. Downloaded on September 15,2021 at 05:17:19 UTC from IEEE Xplore. Restrictions apply.
ATMEGA16 microcontroller [2], the development The ESP8266 is a low-cost WIFI microchip with
of systems in other research is connecting embedded a self-contained System-On-Chip (SOC) with
ESP8266 system that functions as a control with integrated TCP/IP protocol stack that can give any
real-time firebase a database that acts as a mobile microcontroller access to WiFi network and can be
Backend as a Service to store data [3], a remote programmed using Arduino IDE.
temperature monitoring system that uses the MQTT The ESP8266 enabled WiFi module is used for
protocol can be implemented using the local MQTT wireless communication and ON/OFF switching of
server and the global MQTT server. The use of the the relay using its built-in IO pins. It is used to
global MQTT server allows temperature access to connect with our mobile devices to turn off or turn
come from anywhere, at any time and anywhere as on some devices by using some application
long as there is an internet connection [4]. messenger service.
There are many internet messenger applications
IoT system can be used for home detection and
that support API and of course free license.
security from unexpected problems such as fire,
Applications are selected is Telegram because of
thief, temperature condition and motion gesture [5].
several factors that support such as for example can
The use of IoT concepts in use also in a Smart grid
be used on pc without a smartphone always on.
is a power system based on sensing technology,
Telegram messenger also has many applications
communication, digital control, information
developed through its API by utilizing BOT
technology (IT) and other field equipment that
telegram. The process of making a telegram chatbot:
serves to coordinate the existing processes in the
1. Create a new Telegram bot using the Bot Father.
power grid making it more effective and dynamic in
2. Give the Telegram bot a friendly name with a
its management. IoT can be used to monitor solar
unique username.
power generation (Photovoltaic Generation System)
3. When the user has completed these steps, the
especially through the Wireless Sensor Network
bot will be successfully configured to
(WSN) [6].
communicate with users in Telegram.
In the agriculture sector, the use of IoT was also
developed to detect potential agricultural land to
determine suitable plants using Raspberry-Pi [7].
And in the health sector, IoT is used to monitor Heart
Rate [8].
The use of ESP 8266 is an easy and inexpensive
Internet of Things (IoT) key to use to make a system
that will make it easier for humans to control
electronics around it [9], such as Wireless Home
Appliance Control using IoT [10], Smart Door
Locks development using Mobile Backend as a
Service [11] and the development of home
automation and smart security systems based Low-
Cost Real-Time [12,13].
III. DESIGN OVERVIEW Fig 2. Making Telegram chatbot.

The following describes the steps of the


flowchart or the overall program flow:
1. When starting, conduct the process of program
initiation.
2. The program runs in a standby mode position
waiting for a message from the user
3. If the message is incorrect then the program will
send a notification message to the user.
4. If the message from the user is correct, the
program will identify the message.
5. If the user’s message is directed to the lamp,
then the program will turn on or turn off the
lamp based on the message sent. Through a
particular GPIO port that is connected to the
relay. And then the program will send a
notification to the user that the lamp is on or off.
Fig. 1. System Connection 6. If the message is not for the lamp, the program
will identify the user’s message for controlling

231

Authorized licensed use limited to: Universidad Militar Nueva Granada. Downloaded on September 15,2021 at 05:17:19 UTC from IEEE Xplore. Restrictions apply.
the fan, drawer lock, electrical outlet, or obtained from DHT11 which is connected to
temperature check? ESP8266.
14. If the temperature exceeds 37 ° C then the
program will send a notification that the
temperature is very hot and recommend to turn
on the fan to the user
15. If not all, the program sends a notification
message to the user that the message sent is
incorrect.
IV. RESULT AND DISCUSSION

This test aims to find out the programs and


devices that are used can work properly as expected.
The ESP8266 as a central controller, it is
programmed to be connected to an access point in
the workspace environment and has internet access.
Testing is done by the user sending messages to
the telegram bot using a smartphone, the user sends
the command/message correctly and incorrectly.
Then observe whether the program and the device
are running according to its command either to turn
on or turn off some of the devices that are in the
workspace and make sure the notification is received
by the user.

Fig. 3. Development groove software Message

7. If the user's message is directed to the fan, the


program will turn on or turn off the fan, the
message sent via the GPIO port and sent to the
relay. and the program will send a notification
to the user that the fan is already on or off.
8. If the message is not for the lamp and the fan,
the program will identify the user’s message for
controlling drawer lock, electrical outlet, or
temperature check?
9. If the user’s message for drawer lock, the
program will lock and unlock the drawer, the Fig. 4. Implementation and testing the device
message sends via GPIO port and sent to the
relay, the program will send a notification to the In testing smart workspace through telegram
user that the drawer already locks or unlock. messages is given some instructions to control the
10. If the message is not for the lamp, the fan, or output to be on / off.
drawer lock, the program will identify target the The following commands are used:
user’s message for controlling electrical outlet, 1. Lamp on - to turn on the lamp
or temperature check? 2. Lamp off - to turn off the lamp
11. If the user’s message for the electrical outlet, the 3. Fan on - to turn on the fan
program will turn on or turn off the electrical 4. Fan off - to turn off the fan
outlet, the message send via GPIO port and sent 5. Lock on – to lock the drawer
to the relay, the program will send a notification 6. Lock off – to unlock the drawer
to the user that the electrical outlet is already on 7. Electric on – to turn on the electrical outlet
or off 8. Electric off – to turn off the electrical
12. If the message is not for the lamp, the fan, outlet
drawer lock, and electrical outlet the program
will identify user’s message or temperature If the user sends an incorrect message then the
check. system will assume the command is wrong and
13. If the user’s message for the temperature check, sends a notification message to the user that the
the program will send temperature data command is incorrect. If the user sends a correct

232

Authorized licensed use limited to: Universidad Militar Nueva Granada. Downloaded on September 15,2021 at 05:17:19 UTC from IEEE Xplore. Restrictions apply.
message, the system will send a notification message
to the user that those devices (lamp, fan, drawer lock
or electrical outlet) already on or off, lock or unlock.

Fig. 8. Display Drawer lock with unlock command

V. CONCLUSION
With the smart workspace, the workers can
control the device around the workplace, in order to
reduce waste of electricity. For the next
development is expected to develop and create a
better system with the addition of more and varied
output to facilitate more optimization in controlling
Fig.5. display message commands via telegram other devices that are around the workplace and also
it can be developed with a database system in each
smart workspace of each worker.

REFERENCE

[1] A. Dogtiev, Telegram Revenue and Usage


Statistics, http://www.businessofapps.com/
data/telegram-statistics/. Accessed on 23 Sept
2018.
[2] T. Medi and Y. Muhammad, “Design Simulation of
Intelligent Home Based Microcontroller
ATMEGA16". Faculty of Computer Science and
Electronics. Universitas Gajah Mada, 2014.
[3] M. I. Mahali, “Smart Door Locks based on Internet
of Things concept with Mobile Backend as a
Services”, Faculty of Electronic Engineering and
Informatics. UNY, 2016.
[4] T. Budioko, “Internet-Based Remote Monitoring
Fig. 6. Testing the devices with ON command
System Of Things Using the MQTT Protocol”.
Faculty of Computer Engineering. STMIK
AKAKOM Yogyakarta, 2016.
[5] Arie Marvin and Eka P Widiyanto, “Home security
system based on Internet of Things (IoT ) with
Raspberry Pi”, Technical Information. STMIK GI
MDP Palembang.
[6] Nur Asyik H and Dirvi Eko J S, “Design and
Application of Internet of Things (IoT ) for smart
grid power system”. Electrical Engineering and
Computer control, Politeknik Negeri Madiun,
2017.
[7] Junfitrhana, Anggy Pradiftha, et.al “Developing
potential agriculture land detector for determine
suitable plant using Raspberry-Pi”. International
Journal for Computing, Engineering, and Design
Fig. 7. Display Fan with ON command (ICCED). 2017.

233

Authorized licensed use limited to: Universidad Militar Nueva Granada. Downloaded on September 15,2021 at 05:17:19 UTC from IEEE Xplore. Restrictions apply.
[8] Suresh K N, Nandha K, et. al. "Heart Rate Vocational Education (ELINVO), Volume 1,
Monitoring System Using IoT " IJSRD - Nomor 3, 2016.
International Journal for Scientific Research & [12] Mantoro, T., Ayu M.A., Elbara, Mobile Web-
Development| Vol. 5, Issue 02, 2017. enabled in Smarthome Wireless Node
[9] Manan Mehta, “Esp 8266: A Breaktrhourgh in Infrastructure, Proceedings of the 9th International
wireless Sesnsor Networks and internet of things”, Conference on Advances in Mobile Computing &
ARK Techno solutions, Mumbai, India, 2015. Multimedia (MoMM-2011), Ho Chi Minh,
[10] Govid P Arya, Aliya M, and Suryakant G, Vietnam, 5-7 December 2011.
"Wireless Home Appliance Control using IoT" [13] Kishore P, Veeramanikandasamy, "Internet of
International Journal of Computer Applications things based Low-Cost Real-Time Home
(0975 – 8887) Volume 168-No.2, 2017. Automation and Smart Security System"
[11] M Izzudin Mahali, "Smart Door Locks based on International Journal of Advanced Research in
Internet of Things Concept with Mobile Backend as Computer and Communication Engineering Vol 6
a Service" Jurnal Electronics, Informatics, and Issue 4, 2017.

234

Authorized licensed use limited to: Universidad Militar Nueva Granada. Downloaded on September 15,2021 at 05:17:19 UTC from IEEE Xplore. Restrictions apply.

You might also like