Tuesday, May 5, 2015

Device to Dashboard – real time analytics of sensor data with no programming needed

Remote real-time monitoring and analytics of device and sensor data has always been a need. Fortunately, it has become an economically viable option due to confluence of multiple factors, like reduction in price of micro-controllers and microprocessors, easy and cheap connectivity options and availability of standard technologies and standard protocols.

Some of the obvious needs for monitoring remote assets are for oil well installations, oil pipelines, water wells, utilities and logistics - just to name a few!!! Oil companies want to monitor the temperature and pressure of the oil wells, logistics companies want to track their trucks and the goods being moved across their network.  For environmental management, monitoring the flood level of the creeks could alert to impending disasters. There are similar needs across industries where cost of human intervention could be avoided and mitigating the risk of accident could save millions. To make it more interesting, we could analyze and correlate such data points and apply machine learning to make better sense of it and create value out of it.

Device to Dashboard real time analytics engine of RoboMQ makes it possible, with no programming needed. All you have to do it to install a small plugin on the device, sensor, gateway or even a smart app. It sends any kind of unstructured data to the RoboMQ real time analytics engine. The data once received is indexed and is available to build analytics and visualization on a user-defined dashboard. You could also get this data to your Big Data lake, relational databases or enterprise operations and analytics systems. On the visualization platform provided as part of the core RoboMQ offering, you simple drag and drop visual widgets and correlate the data elements.

Lets get started and look at what is needed to make it happen.

Step 1: Sign up for RoboMQ
Step 2: On the device, install a small plugin using a single line of code. You can invoke the send function of the plugin using your choice of protocol from AMQP, MQTT or stomp.
Step 3: Go to the dashboard and build your visualizations using drag and drop of widget and your data elements

It is REALLY that simple

Let us walk you through a scenario. Assume you are a water supply company called nova that wants to monitor water wells for temperature, humidity, luminance and intruders. You have a sensors attached to a small microprocessor with some kind of IP connectivity. Or you could use RoboMQ branded gateway from one of our partners. You install the plugin and configure it to talk to your tenant on RoboMQ platform.

Now you can got to the dashboard and build your visualizations.

To make it easy, you can follow the below instructions to build your dashboard for the water well sensor data. We plan to build a dashboard in which each row represents a device (representing a water well) and contains four histograms one for each of data elements namely- temperature, humidity, luminance and intruder detection. There will also be a map on the top to display the real time position and status of all devices. The location data could be statically configured or be retrieved from onboard GPS chip.
  • In the browser, open your dashboard link provided by RoboMQ. Youll see a blank dashboard.

  • Click on the configure dashboard button on upper right corner. Change configuration under each tab as bellow, except for the Rows.

  • Under Rows tab, Create Row. You can delete unwanted rows too.

  • Save configuration and go back to the dashboard. You will see a row created by you in the earlier step. Add a query _index:"nova", _type:"well1". The index is your tenant ID on RoboMQ and the type is the ID of the device sending the data. This query will be used as data source by the panels in the corresponding row.

  • Add Panel to the row well1. Choose histogram.

  • Configure the new panel as bellow. Select the query you just added for this row.

  • Congratulations! Your first panel is set up. It will display the real time and historical temperature of well1 in line chart.

  • Explore the dashboard widgets and configurations. You will find a lot of friendly and powerful features. Following is a complete example of how your final dashboard would look like.


  • On your dashboard, you can dynamically expand, collapse rows and change time range, refresh interval and so on.




Building a real time analytics and monitoring system with RoboMQ Device to Dashboard feature is that easy. Get a RoboMQ subscription and try it yourself. Should you have any questions, you can always reach out to us at info@robomq.io .

2 comments:

  1. Thanks for this great blog, Very well & insightful.

    Tesla Charging Adapter

    ReplyDelete
  2. Wonderful blog & good post.Its really helpful for me, awaiting for more new post. Keep Blogging!

    Micro-D connectors

    Twist pin connectors

    ReplyDelete