Sending simulated data to IoT hub using Python

preview_player
Показать описание
This is the second part of the video series on Azure IoT hub. In this video, I cover the topic of sending simulateddata to IoT hub using Python and also how to check if we are receiving the data.

This video is accompanied with a medium article on the same.

#iot #azure #iothub #python #pythonprogramming #cloudcomputing
Рекомендации по теме
Комментарии
Автор

Thank you brother, it worked. simple explanation.

YPat-uzzp
Автор

Thank you very much for the tutorial.

kaniobed
Автор

I am trying to send a message to the IoT hub as well. I understood that the azure.iot.device.aio is for the async instance of IoT Hub Device client objects. However, if there is no internet connection, the will keep on retrying until the internet connection is restored which is a bit counter intuitive with the nature of its asynchronicity. Without internet connection, the becomes synchronous and will halt other operations. Is there a way to overcome this? I tried using threads but the issue persists.

schmsbyy
Автор

hello Avirup.
Great video !!! Unfortunately, I copy/pasted your code, the only thing that I changed was the connection string and even like that it didn"t work :(
The error message says: 34 "asyncio.run() cannot be called from a running event loop")
Any idea ?

omarcruz
join shbcf.ru