<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.4 20241031//EN"
        "https://jats.nlm.nih.gov/publishing/1.4/JATS-journalpublishing1-4.dtd">
<article  article-type="research-article"        dtd-version="1.4">
            <front>

                <journal-meta>
                                                                <journal-id>saucis</journal-id>
            <journal-title-group>
                                                                                    <journal-title>Sakarya University Journal of Computer and Information Sciences</journal-title>
            </journal-title-group>
                                        <issn pub-type="epub">2636-8129</issn>
                                                                                            <publisher>
                    <publisher-name>Sakarya University</publisher-name>
                </publisher>
                    </journal-meta>
                <article-meta>
                                        <article-id pub-id-type="doi">10.35377/saucis...1504759</article-id>
                                                                <article-categories>
                                            <subj-group  xml:lang="en">
                                                            <subject>Computer Software</subject>
                                                    </subj-group>
                                            <subj-group  xml:lang="tr">
                                                            <subject>Bilgisayar Yazılımı</subject>
                                                    </subj-group>
                                    </article-categories>
                                                                                                                                                        <title-group>
                                                                                                                                                            <article-title>MQTT in Action: Building Reliable and Scalable Home Automation Systems</article-title>
                                                                                                    </title-group>
            
                                                    <contrib-group content-type="authors">
                                                                        <contrib contrib-type="author">
                                                                    <contrib-id contrib-id-type="orcid">
                                        https://orcid.org/0009-0001-8381-0492</contrib-id>
                                                                <name>
                                    <surname>Salama</surname>
                                    <given-names>Maysaa</given-names>
                                </name>
                                                                    <aff>SAKARYA ÜNİVERSİTESİ</aff>
                                                            </contrib>
                                                    <contrib contrib-type="author">
                                                                    <contrib-id contrib-id-type="orcid">
                                        https://orcid.org/0009-0003-6327-6143</contrib-id>
                                                                <name>
                                    <surname>Raslen</surname>
                                    <given-names>Bilal</given-names>
                                </name>
                                                                    <aff>SAKARYA ÜNİVERSİTESİ, BİLGİSAYAR VE BİLİŞİM BİLİMLERİ FAKÜLTESİ, BİLGİSAYAR MÜHENDİSLİĞİ BÖLÜMÜ, BİLGİSAYAR MÜHENDİSLİĞİ PR.</aff>
                                                            </contrib>
                                                                                </contrib-group>
                        
                                        <pub-date pub-type="pub" iso-8601-date="20241231">
                    <day>12</day>
                    <month>31</month>
                    <year>2024</year>
                </pub-date>
                                        <volume>7</volume>
                                        <issue>3</issue>
                                        <fpage>494</fpage>
                                        <lpage>509</lpage>
                        
                        <history>
                                    <date date-type="received" iso-8601-date="20240625">
                        <day>06</day>
                        <month>25</month>
                        <year>2024</year>
                    </date>
                                                    <date date-type="accepted" iso-8601-date="20241226">
                        <day>12</day>
                        <month>26</month>
                        <year>2024</year>
                    </date>
                            </history>
                                        <permissions>
                    <copyright-statement>Copyright © 2018, Sakarya University Journal of Computer and Information Sciences</copyright-statement>
                    <copyright-year>2018</copyright-year>
                    <copyright-holder>Sakarya University Journal of Computer and Information Sciences</copyright-holder>
                </permissions>
            
                                                                                                                        <abstract><p>This study presents the development and implementation of an MQTT-based home automation system, emphasizing its reliability, scalability, and efficiency. The system integrates the ESP8266 microcontroller with various sensors, including IR, temperature, DHT11, sound, and vibration sensors. Leveraging the lightweight MQTT protocol for real-time data transmission and PostgreSQL for robust data storage, the system monitors environmental conditions, detects specific events, and performs appropriate actions. Performance tests indicate the system maintains low response times, high data accuracy, and exceptional reliability, making it a viable solution for modern smart homes. The findings suggest that the system enhances security, optimizes energy usage, and improves overall comfort for homeowners. Future research will focus on enhancing the security of the MQTT protocol against spoofing attacks through the integration of AI for threat detection and blockchain technology for enhanced data security.</p></abstract>
                                                            
            
                                                                                        <kwd-group>
                                                    <kwd>MQTT</kwd>
                                                    <kwd>  Home Automation</kwd>
                                                    <kwd>  IoT</kwd>
                                                    <kwd>  ESP8266</kwd>
                                                    <kwd>  Sensors</kwd>
                                                    <kwd>  Real-time Monitoring</kwd>
                                                    <kwd>  Data Transmission</kwd>
                                                    <kwd>  Reliability</kwd>
                                                    <kwd>  Scalability</kwd>
                                                    <kwd>  PostgreSQL</kwd>
                                            </kwd-group>
                            
                                                                                                                                                    </article-meta>
    </front>
    <back>
                            <ref-list>
                                    <ref id="ref1">
                        <label>1</label>
                        <mixed-citation publication-type="journal">Institute of Electrical and Electronics Engineers, 2019 54th International Universities Power Engineering Conference (UPEC) : proceedings : 3-6 September 2019, Bucharest, Romania.</mixed-citation>
                    </ref>
                                    <ref id="ref2">
                        <label>2</label>
                        <mixed-citation publication-type="journal">M. F. Usmani, “MQTT Protocol for the IoT.” International Journal of Internet of Things, vol. 12, no. 3, pp. 45-50, September 2020. DOI: 10.1000/xyz123.</mixed-citation>
                    </ref>
                                    <ref id="ref3">
                        <label>3</label>
                        <mixed-citation publication-type="journal">IEEE Communications Society and Institute of Electrical and Electronics Engineers, 2018 10th International Conference on Communication Systems &amp; Networks (COMSNETS) : 3-7 Jan. 2018.</mixed-citation>
                    </ref>
                                    <ref id="ref4">
                        <label>4</label>
                        <mixed-citation publication-type="journal">Saveetha Engineering College and Institute of Electrical and Electronics Engineers, IEEE International Conference on Power, Control, Signals and Instrumentation Engineering (ICPCSI) - 2017 : 21st &amp; 22nd September 2017.</mixed-citation>
                    </ref>
                                    <ref id="ref5">
                        <label>5</label>
                        <mixed-citation publication-type="journal">B. N. Alhasnawi, B. H. Jasim, Z. A. S. A. Rahman, and P. Siano, “A novel robust smart energy management and demand reduction for smart homes based on internet of energy,” Sensors, vol. 21, no. 14, Jul. 2021, doi: 10.3390/s21144756.</mixed-citation>
                    </ref>
                                    <ref id="ref6">
                        <label>6</label>
                        <mixed-citation publication-type="journal">M. Esposito, A. Belli, L. Palma, and P. Pierleoni, “Design and Implementation of a Framework for Smart Home Automation Based on Cellular IoT, MQTT, and Serverless Functions,” Sensors, vol. 23, no. 9, May 2023, doi: 10.3390/s23094459.</mixed-citation>
                    </ref>
                                    <ref id="ref7">
                        <label>7</label>
                        <mixed-citation publication-type="journal">V. Seoane, C. Garcia-Rubio, F. Almenares, and C. Campo, “Performance evaluation of CoAP and MQTT with security support for IoT environments,” Computer Networks, vol. 197, Oct. 2021, doi: 10.1016/j.comnet.2021.108338.</mixed-citation>
                    </ref>
                                    <ref id="ref8">
                        <label>8</label>
                        <mixed-citation publication-type="journal">T. Magara and Y. Zhou, “Internet of Things (IoT) of Smart Homes: Privacy and Security,” Journal of Electrical and Computer Engineering, vol. 2024, 2024, doi: 10.1155/2024/7716956.</mixed-citation>
                    </ref>
                                    <ref id="ref9">
                        <label>9</label>
                        <mixed-citation publication-type="journal">C. B. Gemirter, Ş. Çenturca, and Ş. Baydere, “A Comparative Evaluation of AMQP, MQTT and HTTP Protocols Using Real-Time Public Smart City Data,” in Proceedings - 6th International Conference on Computer Science and Engineering, UBMK 2021, Institute of Electrical and Electronics Engineers Inc., 2021, pp. 542–547. doi: 10.1109/UBMK52708.2021.9559032.</mixed-citation>
                    </ref>
                                    <ref id="ref10">
                        <label>10</label>
                        <mixed-citation publication-type="journal">M. Singh, M. A. Rajan, V. L. Shivraj, and P. Balamuralidhar, “Secure MQTT for Internet of Things (IoT),” in Proceedings - 2015 5th International Conference on Communication Systems and Network Technologies, CSNT 2015, Institute of Electrical and Electronics Engineers Inc., Sep. 2015, pp. 746–751. doi: 10.1109/CSNT.2015.16.</mixed-citation>
                    </ref>
                                    <ref id="ref11">
                        <label>11</label>
                        <mixed-citation publication-type="journal">M. A. Khan et al., “A deep learning-based intrusion detection system for mqtt enabled iot,” Sensors, vol. 21, no. 21. MDPI, Nov. 01, 2021. doi: 10.3390/s21217016.</mixed-citation>
                    </ref>
                                    <ref id="ref12">
                        <label>12</label>
                        <mixed-citation publication-type="journal">V. Kumar, N. Malik, J. Singla, N. Z. Jhanjhi, F. Amsaad, and A. Razaque, “Light Weight Authentication Scheme for Smart Home IoT Devices,” Cryptography, vol. 6, no. 3, Sep. 2022, doi: 10.3390/cryptography6030037.</mixed-citation>
                    </ref>
                                    <ref id="ref13">
                        <label>13</label>
                        <mixed-citation publication-type="journal">S. Shapsough, M. Takrouri, R. Dhaouadi, and I. Zualkernan, “An MQTT-Based Scalable Architecture for Remote Monitoring and Control of Large-Scale Solar Photovoltaic Systems,” in Lecture Notes of the Institute for Computer Sciences, Social-Informatics and Telecommunications Engineering, LNICST, Springer Verlag, 2019, pp. 57–67. doi: 10.1007/978-3-030-05928-6_6.</mixed-citation>
                    </ref>
                                    <ref id="ref14">
                        <label>14</label>
                        <mixed-citation publication-type="journal">IEEE Communications Society. Internet of Things Emerging Technologies Initiatives, IEEE Computational Intelligence Society, Institute of Electrical and Electronics Engineers, and S. Internet of Things Week (2017 : Geneva, GIoTS2017 : Global Internet of Things Summit : 2017 proceedings papers : CICG, Geneva, June 6-9, 2017.</mixed-citation>
                    </ref>
                                    <ref id="ref15">
                        <label>15</label>
                        <mixed-citation publication-type="journal">F. Morgado-Dias, F. Quintal, Madeira Interactive Technologies Institute, Universidade da Madeira, Institute of Knowledge and Development, and Institute of Electrical and Electronics Engineers, Energy and Sustainability in Small Developing Economies 2018 : July 9-12, 2018, Madeira - Portugal.</mixed-citation>
                    </ref>
                                    <ref id="ref16">
                        <label>16</label>
                        <mixed-citation publication-type="journal">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 (Switzerland), vol. 18, no. 8, Aug. 2018, doi: 10.3390/s18082660.</mixed-citation>
                    </ref>
                            </ref-list>
                    </back>
    </article>
