IOT MQTT Communication – A Case Study

Background
Our client is a leading manufacturer of electronic devices for industrial safety and automation equipment. The devices are used by various industries such as pharma, automobile, chemical, and electrical and others where it is crucial to monitor and regulate the variables like temperature, pressure, level, humidity, vibration, pH etc.
Business Challenges
Presently the data from devices is periodically offloaded to desktop machines and reports are generated. Over the period, the number of devices has increased multifold, making it more and more complex to manage the devices at various client locations, leading to loss of data and inaccurate reports.
Solution Proposed
e-Stone developed a web-based SaaS application allowing the users to manage and control their own IoT devices by logging into the system.
e-Stone team implemented MQTT protocol using open source MQTT broker which connects with the IoT devices and exchange information with cloud application. MQTT being a lightweight protocol helped in providing fast data transmission of real time sensor data to present it on live dashboards allowing users to get live overview of the devices.
The team enforced an alert mechanism along with snooze functionality to send email and SMS notifications whenever there is breach of threshold set for each of the devices and to warn the users about any serious condition in the system. System generates data reports, alarm reports and activity reports. It also provides a dashboard having live graph of parameters being monitored. System is architected to handle average 1 million data points per month per device.
Technology Stack
- Ubuntu Server 16.04Apache Web Server 2.4PHP 7.1Laravel framework 5.4jQuery 2.2.4MySQL Server 5.7Python 3MQTT protocolCanvas.js
Business benefits
The application is capable of fetching the real time sensor data from the cloud devices and displaying it on a live dashboard helping the users to monitor their systems located at remote locations. Alert mechanism is enabling them to respond quickly. Being a SAAS model, our client is able to offer it as value add service to its end clients along with its electronic devices without any additional expenses.



