In the past, I wrote a blog about the Azure IoT device SDK. This example was written in C#.
Last year, I noticed an increased number of questions coming from Python users trying to connect devices to the cloud. Luckily, the driving force behind this is the growing community of ML developers using Python. They are increasingly involved in IoT projects.
That’s why I scrambled some samples together into one demonstration showing the capabilities of Azure IoT Hub-connected devices.
We will see how device-to-cloud messages are sent from the device to your IoT Hub. And we will see several ways of cloud-to-device communication so we can enforce actions on the device.
Update: recently, I added a second Python script with an individual Device Provisioning Service Enrollment based on a symmetric key. The example is exactly the same, you only need to provide other variables for this provisioning.
This introduction will get you started within a moment.
Doorgaan met het lezen van “Azure IoT DeviceClient SDK Python demonstration, the basics”