Abstract
The use of the MQTT protocol in the ESP8266 module has been widely developed. However, its implementation in the field, this module is prone to hang due to the inability of ESP8266 to reconnect when the wifi signal or MQTT broker is disconnected. To overcome this, the method used is to make this module reset if the specified time has expired when reconnecting. The timer on the ESP8266 module will immediately calculate if a connection interruption occurs for 10 seconds. If the specified time is up, then the ESP8266 module will restart. From the test results, it can be concluded that the connection between the eight modules with the MQTT protocol can work well. Publish and subscribe messages can be received and sent with 100% success. These modules do not experience hangs even though they have been running for 10 days with an average restart about 268 times.Penggunaan protokol MQTT pada modul ESP8266 telah banyak dikembangkan. Namun, implementasinya di lapangan, modul ini rawan hang akibat ketidakmampuan ESP8266 melakukan koneksi kembali saat sinyal wifi atau MQTT broker terputus. Untuk mengatasi hal itu, metode yang digunakan adalah membuat modul ini melakukan reset apabila waktu yang ditentukan telah habis saat melakukan koneksi kembali. Timer pada modul ESP8266 akan segera menghitung jika terjadi gangguan koneksi tersebut selama 10 detik. Jika waktu yang ditentukan habis maka modul ESP8266 akan restart. Dari hasil pengujian, dapat disimpulkan bahwa koneksi antara kedelapan modul dengan protokol MQTT dapat berjalan dengan baik. Pesan publish dan subscribe dapat diterima dan dikirim dengan keberhasilan 100%. Modul-modul tersebut tidak mengalami hang meskipun telah berjalan selama 10 hari dengan rata-rata restart sebanyak 268 kali.
Cite
CITATION STYLE
Pratama, R. P. (2018). Implementasi dan pengujian modul ESP8266 dengan Aplikasi android MQTT-Dash pada jaringan MQTT. Jurnal Ilmiah Teknologi Informasi Asia, 12(2), 157–164. https://doi.org/10.32815/jitika.v12i2.292
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.