Get on board of a Flight into IoT 2 – Long-Haul – Microsoft Tech Days UK

Update: Recordings are done, it was a Blizz! Check out the recording here.

After the very successful flight Into Azure IoT from last year, a new flight will take off on November 24, 2022: A Flight into IoT 2, the Long-Haul:

We have a lot of upgrades: a new route, new telemetry, new Azure services, etc.

This is an online event with live recordings. Please register here for free.

Doorgaan met het lezen van “Get on board of a Flight into IoT 2 – Long-Haul – Microsoft Tech Days UK”

MS Ignite 2022, IoT-related sessions and more

Yes, MS Ignite 2022 edition is around the corner again.

This year, there are both online sessions and in-person events, both in Seattle and selected locations all around the world:

The registration is opened already and the session planner is available.

Here is a selection of IoT-related sessions, together with some sessions I like personally.

Doorgaan met het lezen van “MS Ignite 2022, IoT-related sessions and more”

Flex your Big Data detective skills with the Kusto detective agency challenge

Flex your Big Data detective skills with multiple cases of the Kusto detective agency challenge.

Solve puzzles using the Kusto Query language and earn awards.

Are you interested?

Doorgaan met het lezen van “Flex your Big Data detective skills with the Kusto detective agency challenge”

Azure Data Explorer connector for Blob storage (IoT Hub) files

Over the last couple of months, I have written several blog posts regarding Azure Data explorer ingestion connectors.

I checked out the IoT Hub connector, dynamic mapping, and table update policies.

Until now, this is all based on both the IoT Hub connector and the Event Hub connector:

Next to those two, Azure Data Explorer also supports ingesting complete files using the third connector: Blob Storage ingestion in combination with EventGrid events:

Let’s check out what this connector offers and how to set it up.

As we will find out, it even has a surprise for those of you ingesting IoT Hub messages.

Doorgaan met het lezen van “Azure Data Explorer connector for Blob storage (IoT Hub) files”

Running HiveMQ MQTT broker on Azure IoT Edge

While working with IoT in general and Azure IoT Edge more specifically, you will always encounter multiple kinds of communication protocols, both in the cloud and on the edge.

In the past, I have posted multiple blogs regarding protocols, seen on the edge like UDP, Modbus RTU, Serial communication, and OPC-UA.

One of the most popular protocols in the world of IoT is MQTT:

MQTT (originally an initialism of MQ Telemetry Transport) is a lightweight, publish-subscribe, machine to machine network protocol

So, it is time to dive into this protocol by running an MQTT broker on the edge and consuming it:

Yes, we are going to deploy a regular MQTT broker as a docker container within Azure IoT Edge (which uses Moby under the covers). Then, we bridge messages sent to MQTT topics to the cloud using Azure IoT Hub.

For this exercise, I have chosen HiveMQ as a broker.

Let’s see how this works.

Doorgaan met het lezen van “Running HiveMQ MQTT broker on Azure IoT Edge”

Exploring full Azure IoT Hub device support using MQTT(s) only

Most of you Azure IoT developers are connecting devices to the Azure cloud using the Azure IoT Device SDKs.

Using these SDKs, you can connect a device to the cloud in an easy and secure way with your favorite programming language like C#, C, Java, Python, or Node.js.

This is the recommended way because it offers a convenient and optimized way to support all Azure IoT Hub features like Device Twin, Direct methods, and Cloud messages. It takes away a lot of the code wiring and you can focus on functionality.

Still, in a few instances, like working with very constrained devices, there could be a need for bare MQTT support:

MQTT is the de-facto standard for stateful communication in the IoT World (btw. Bare AMQP is offered too).

Let’s see how the Azure IoT Hub supports bare MQTT.

Doorgaan met het lezen van “Exploring full Azure IoT Hub device support using MQTT(s) only”

The risk of pinning TLS certificates in IoT solutions and why your awareness is needed

Do you have cloud-connected IoT devices to the Azure IoT Hub and have you specified the specific public ‘Baltimore’ TLS certificate currently in use by the IoT Hub? Do you know customers having (low-powered) devices connected to Azure IoT and possibly pinned that certificate?

Then, please be aware of the following message.

Doorgaan met het lezen van “The risk of pinning TLS certificates in IoT solutions and why your awareness is needed”

Extending the AZ-220 Digital Twins hands-on lab with 3D visualization

Azure Digital Twins is advertised as a “platform as a service (PaaS) offering that enables the creation of twin graphs based on digital models of entire environments, which could be buildings, factories, farms, energy networks, railways, stadiums, and more—even entire cities”.

This sounds promising but it does not really ring a bell, does it?

Fortunately, besides the excellent documentation, Microsoft provides a great learning path in MS Learn as part of the AZ-220 Azure IoT developer exam preparations.

There, you will learn how Azure Digital Twins offers new opportunities for representing an Internet of Things solution via twin models, twin relations, and a runtime environment.

You finish the learning path with a hands-on lab where you build a model around a cheese factory and ingest sensor telemetry:

In the demo, the telemetry flows through the runtime and ends up in Time Series Insights.

Yes, the learning path is a good start and will prepare you for the exam or the assessment (you need to pass this assessment for a free one-year certification renewal).

On the other hand, many extra features could be added to turn this good start into a great start!

Think about propagating Azure Digital Twins events and twin property changes through the graph and visualizing live updates of twins in a 3D model, complete with alerts.

Let’s check out some of these additional features and see what you need to do to extend the ADT example.

Doorgaan met het lezen van “Extending the AZ-220 Digital Twins hands-on lab with 3D visualization”

Using ADX table update policies projecting raw messages to target tables

I have blogged about Azure Data Explorer (ADX) integration already a couple of times.

The new ADX database data connection for IoT Hub is a nice addition but appears to be quite static because you can only fill in one (single) table mapping.

ADX also supports dynamic routing (using that same data connection) where the message body is accompanied by application/user properties which tell ADX the table and mapping to use during ingest.

The ultimate goal is to have a solution where one stream of data, with one or more types of messages, is split into multiple tables:

The combination of IoT Hub routing and multiple endpoints should help with that but due to message enrichment limitations, we need to find another way.

A viable solution is the ADX table update policy.

Let’s check it out.

Doorgaan met het lezen van “Using ADX table update policies projecting raw messages to target tables”

It’s time to renew your AZ-220 certification

A few years ago, I was certified for the AZ-220 Azure IoT Developer specialty certification.

This is a certificate that proves your understanding of Azure IoT.

Normally, Microsoft (Azure) certificates expire after a few years and you have to take the exam again.

This is one of the first certification programs that offer a free renewal using an online assessment:

I got an email six months prior to the initial expiration. Next to that, after three months this is repeated. If you still do not take the exam, you get a warning one month before the expiration date.

I finally found some time to take the assessment. Here is my finding on how to train for this ‘exam’.

Doorgaan met het lezen van “It’s time to renew your AZ-220 certification”