Call for Paper - November 2022 Edition
IJCA solicits original research papers for the November 2022 Edition. Last date of manuscript submission is October 20, 2022. Read More

MQTT Protocol Discovery Service for an Iot-based Gensets Monitoring System

International Journal of Computer Applications
Foundation of Computer Science (FCS), NY, USA
Year of Publication: 2018
Bruno De Borba, Roberto Alexandre Dias, Fabrizio Leal Freitas

Bruno De Borba, Roberto Alexandre Dias and Fabrizio Leal Freitas. MQTT Protocol Discovery Service for an Iot-based Gensets Monitoring System. International Journal of Computer Applications 180(29):9-14, March 2018. BibTeX

	author = {Bruno De Borba and Roberto Alexandre Dias and Fabrizio Leal Freitas},
	title = {MQTT Protocol Discovery Service for an Iot-based Gensets Monitoring System},
	journal = {International Journal of Computer Applications},
	issue_date = {March 2018},
	volume = {180},
	number = {29},
	month = {Mar},
	year = {2018},
	issn = {0975-8887},
	pages = {9-14},
	numpages = {6},
	url = {},
	doi = {10.5120/ijca2018916695},
	publisher = {Foundation of Computer Science (FCS), NY, USA},
	address = {New York, USA}


Condition monitoring systems designed for large power plants are too expensive to apply to small energy assets like generator sets (gensets). To enable the online monitoring of these smaller assets low cost hardware is needed, which implies limitations in processing and communication capacity. The concept of Internet of Things (IoT) and the use of communication protocols like Message Queuing Telemetry Transport (MQTT) are ideal to deal with those limitations, being a coherent alternative and economically viable to monitor low cost generation assets.

Discovery Services enables devices to broadcast their available features and commands, minimizing management effort. Until now, the MQTT protocol specification does not have a standardized discovery service.

This work proposes a MQTT protocol Discovery Service and its use for the provision of data collected in an IoT-based condition monitoring system for generator sets using Modbus RTU protocol over RS-485 serial bus. A prototype of the proposed system was built for testing and demonstration of the system.


  1. Martins, I. R., Zem, J. L., “Estudo dos protocolos de comunicação MQTT e COAP para aplicações Machine-to-Machine e Internet das Coisas”, 2015.
  2. Torres, A. B. B., Rocha, A. R., Souza, J. N., “Análise de desempenho de Brokers MQTT em sistemas de baixo custo”. Grupo de Redes de Computadores, Engenharia de Software e Sistemas (GREat). Universidade Federal do Ceara (UFC), 2016.
  3. J. Gantz and D. Reinsel, “The digital universe in 2020: Big data, bigger digital shadows, and biggest growth in the far east,” IDC iView: IDC Anal. Future, vol. 2007, pp. 1–16, Dec. 2012.
  4. D. Evans, “The Internet of things: How the next evolution of the Internet is changing everything”, CISCO, San Jose, CA, USA, White Paper, 2011.
  5. J. Manyika et al., “Disruptive Technologies: Advances that Will Transform Life, Business, and the Global Economy”. San Francisco, CA, USA: McKinsey Global Institute, 2013.
  6. M. Z. Shafiq, L. Ji, A. X. Liu, J. Pang, e J. Wang, “A first look at cellular machine-to-machine traffic: Large scale measurement and characterization”, in Proc. ACM SIGMETRICS Perform. Eval. Rev., pp. 65–76, 2012.
  7. Al-Fuqaha, A., Guizani, M., Mohammadi, M., Aledhari, M. e Ayyash, M., “Internet of Things: A Survey on Enabling Technologies, Protocols, and Applications”, IEEE Communication Surveys & Tutorials, Vol. 17, No. 4, 2015.
  8. M.S. Crestani. “Dificuldades e oportunidades da crise”. Revista Eletricidade Moderna, São Paulo, ano 43, n.490, p.6. 2015.
  9. Ferreira, M. P., Freitas, F. L., Matsuo, T. K., Borba, B., Fonseca, J. E. R., “Monitoramento Online como Ferramenta para Otimização da Manutenção de Geradores: Uma Tecnologia 100% Nacional em Arquitetura Distribuída”, XI Simpósio de Automação de Sistemas Elétricos, Campinas – SP, 2015.
  10. Access 02/20/2018.
  11. Access 02/20/2018.
  12. Modbus Application Protocol Specification V1.1b3. Access 10/26/2016.
  13. Modbus FAQ. Access 10/26/2016.
  14. D1 mini. Access 11/23/2017.
  15. ESP8266EX Datasheet. Access 11/23/2017.
  16. ESP8266 core for Arduino. Access 11/23/2017.
  17. 3.3V-Powered, 10Mbps and Slew-Rate-Limited True RS-485/RS-422 Transceivers. Access 11/23/2017.
  18. MAX3232 3-V to 5.5-V Multichannel RS-232 Line Driver/Receiver with ±15-kV ESD Protection. Access 11/23/2017.


IoT, Internet of Things, Discovery Service, MQTT, Message Queuing Telemetry Transport, generator set.