Implementasi Sistem Pengendali Rumah Pintar Menggunakan Laravel

https://doi.org/10.22146/juliet.v1i1.53820

Laila Khoirunnisa Nurul Imani(1), Nanda Alicia(2), Fahmizal Fahmizal(3*), Unan Yusmaniar Oktiawati(4)

(1) Department of Electrical Engineering and Informatics, Vocational College Universitas Gadjah Mada
(2) Department of Electrical Engineering and Informatics, Vocational College Universitas Gadjah Mada
(3) Department of Electrical Engineering and Informatics, Vocational College Universitas Gadjah Mada
(4) Department of Electrical Engineering and Informatics, Vocational College Universitas Gadjah Mada
(*) Corresponding Author

Abstract


Abstract – The control of household electronic equipment can now be done remotely using a website, or better known as the smart home controller application to reduce waste of electricity usage. The electronic equipment that is controlled changes the lights and sockets. This electronic equipment controller website is made with the Laravel framework which uses the PHP 5.8 programming language which is closed, therefore a connection is made with the REST API that uses the Javascript programming language to bridge the communication between electronic equipment and the website. Delivery of data between the website and components requires a server and broker to broker data paths. Thus MQTT is needed as a means of exchanging data on the hardware side so it requires a gateway in the form of Node Js to connect PHP with MQTT. Test results are done by testing the speed of the lights using various internet connection media. The test results showed the fastest internet connection media, namely using a laptop connected to a WiFi internet network with an average speed of 0.691 seconds. The smart home controller website named Pantaw can be accessed using the UGM hotspot WiFi network.

Keywords: Website, smarthome, MQTT, Laravel, Node Js.

Intisari – Pengendali peralatan elektronik rumah tangga kini dapat dilakukan dari jarak jauh menggunakan website, atau lebih dikenal dengan istilah aplikasi pengendali rumah pintar guna mengurangi pemborosan pemakaian listrik. Adapun peralatan elektronik yang dikendalikan beruba lampu dan stopkontak. Website pengendali peralatan elektronik ini dibuat dengan framework Laravel yang menggunakan bahasa pemrograman PHP 5.8 yang bersifat tertutup, dimana kode PHP dijalankan di sisi server. Oleh karena itu, dibuat koneksi dengan REST API yang menggunakan bahasa pemrograman Javascript untuk menjembatani komunikasi antara peralatan elektronik dengan website. Pengiriman data antara website dan komponen memerlukan sebuah server dan broker untuk menjadi perantara jalur data. Dengan demikian MQTT diperlukan sebagai sarana pertukaran data di sisi hardware sehingga memerlukan sebuah gateway berupa Node Js untuk menghubungkan PHP dengan MQTT. Pengujian website dilakukan dengan menguji kecepatan nyala lampu menggunakan berbagai media koneksi internet. Hasil pengujian menunjukkan media koneksi internet yang tercepat yaitu dengan menggunakan laptop yang terkoneksi ke jaringan internet WiFi dengan kecepatan rata-rata 0.691 detik. Website pengendali rumah pintar yang diberi nama Pantaw ini dapat diakses menggunakan jaringan WiFi UGM hotspot.                           

Kata kunci: Website, rumah pintar, MQTT, Laravel, Node Js.


Full Text:

PDF


References

[1] S. Madakam, R. Ramaswamy, and S. Tripathi, “Internet of Things (IoT): A Literature Review,” J. Comput. Commun., vol. 03, no. 05, pp. 164–173, 2015.

[2] J. Zheng, D. Simplot-Ryl, C. Bisdikian, and H. T. Mouftah, “The internet of things,” IEEE Commun. Mag., vol. 49, no. 11, pp. 30–31, 2011.

[3] A. Zanella, N. Bui, A. Castellani, L. Vangelista, and M. Zorzi, “Internet of things for smart cities,” IEEE Internet Things J., vol. 1, no. 1, pp. 22–32, 2014.

[4] L. Da Xu, W. He, and S. Li, “Internet of things in industries: A survey,” IEEE Trans. Ind. Informatics, vol. 10, no. 4, pp. 2233–2243, 2014.

[5] O. León, J. Hernández-Serrano, and M. Soriano, “Securing cognitive radio networks,” Int. J. Commun. Syst., vol. 23, no. 5, pp. 633–652, 2010.

[6] L. Tan and N. Wang, “Future Internet: The Internet of Things,” ICACTE 2010 - 2010 3rd Int. Conf. Adv. Comput. Theory Eng. Proc., vol. 5, pp. 376–380, 2010.

[7] F. Wortmann and K. Flüchter, “Internet of Things: Technology and Value Added,” Bus. Inf. Syst. Eng., vol. 57, no. 3, pp. 221–224, 2015.

[8] L. Jiang, D. Y. Liu, and B. Yang, “Smart home research,” Proc. 2004 Int. Conf. Mach. Learn. Cybern., vol. 2, no. August, pp. 659–663, 2004.

[9] J. A. Stankovic, “Research directions for the internet of things,” IEEE Internet Things J., vol. 1, no. 1, pp. 3–9, 2014.

[10] C. Hasiholan, R. Primananda, and K. Amron, “Implementasi Konsep Internet of Things pada Sistem Monitoring Banjir menggunakan Protokol MQTT,” J. Pengemb. Teknol. Inf. dan Ilmu Komput. Univ. Brawijaya, vol. 2, no. 12, pp. 6128–6135, 2018.

[11] J. Gubbi, R. Buyya, S. Marusic, and M. Palaniswami, “Internet of Things (IoT): A vision, architectural elements, and future directions,” Futur. Gener. Comput. Syst., vol. 29, no. 7, pp. 1645–1660, 2013.

[12] A. Aulbach, A. Zmievski, and E. Schmid, “PHP Manual,” pp. 1–1520, 2003.

[13] G. Triyono, “Pertimbangan Melakukan Denormalisasi Pada Model Basis Data Relasi,” J. Telemat. MKOM, vol. 3, no. 2, pp. 19–25, 2011.

[14] Fahmizal (2020) Video Implementasi Sistem Pengendali Rumah Pintar menggunakan Website berbasis Laravel, [Online] https://youtu.be/bHXBHCZdfGg, tanggal akses: 29-Jan2020.



DOI: https://doi.org/10.22146/juliet.v1i1.53820

Article Metrics

Abstract views : 1547 | views : 3051

Refbacks

  • There are currently no refbacks.


Jurnal Listrik, Instrumentasi, dan Elektronika Terapan (JuLIET) (E-ISSN: 2746-2536)

Published by Vocational College, Universitas Gadjah Mada

google_scholar garuda dimensions