July 3, 2021 by Matt Jackson, Product Support Specialist @ Fathym
Once you have your Mikroe Click board data flowing to the cloud, it's time to create some Grafana Dashboards so that you can easily monitor everything. But first things first, let's get our Mikroe Click board connected to Microsoft Azure.
Mikroe Click boards have a great guide located here that shows how to connect your Mikroe Click board devices to an Azure IoT Hub running the devBoard_Azure_IoT_build package. It's a great source and very informative. However, instead of going through all of the tedious steps outlined in the tutorial of setting up an Azure resource group, the IoT Hub, IoT Hub Device Provisioning Service, storage containers, the storage endpoints, and everything else, I prefer to use Fathym's IoT Ensemble. With one click I can register my Mikroe Click board device and immediately get access to the data for downstream use in alerts, dashboards, visualizations, and machine learning. After I enroll my device in IoT Ensemble, it displays the IoT Hub connectionstring. I take the connectionstring into your config to use as my Azure Key and I'm ready to rock. Here's a screenshot of my device connected with the Mikroe Thermo 5 Click board temp sensor.
Please note the above referenced documentation utilizes the X.509 certificate to authenticate a device. IoT Ensemble uses the Symmetric Key authentication. The device config will need to be modified to communicate using a connectionstring instead of the certificate. You can learn more about access to the IoT Hub using Shared Access Keys and security tokens here
The Mikroe data is immediately flowing to IoT Ensemble and I can view the data on screen. Reminder that behind the scenes in IoT Ensemble the Mikroe data is stored in Microsoft Azure in blob storage, as well as in CosmosDB.
How to access data in Microsoft Azure
Behind the scenes in IoT Ensemble the Mikroe data is stored in Microsoft Azure in blob storage, as well as in CosmosDB. Read this to learn more about accessing your data.
Fathym's IoT Ensemble is providing an easy-to-use UI for interacting with the data instead of using the Azure portal - and it saves me a ton of time and money.
Mikroe Grafana Dashboards
Now that my Mikroe data is flowing to IoT Ensemble, it's time to create some Grafana Dashboards to monitor everything. This IoT Ensemble doc explains how to import data from IoT Ensemble into Grafana and setup a dashboard. Here's a screenshot.
Sign up for IoT Ensemble and save your company thousands of dollars in Azure setup and management costs. Enroll your first Mikroe Click board with IoT Ensemble for free. No credit card required. No Azure account required. It really is that simple.
Enroll your first Mikroe Click board with IoT Ensemble for free. No credit card required. No Azure account required.