Sending simulated data to IoT hub using Python

Поделиться
HTML-код
  • Опубликовано: 21 дек 2024

Комментарии • 7

  • @yonathegod
    @yonathegod 4 месяца назад

    Thank you for the amazing tutorial!

  • @YPat-uz7zp
    @YPat-uz7zp 4 месяца назад

    Thank you brother, it worked. simple explanation.

  • @kaniobed28
    @kaniobed28 9 месяцев назад

    Thank you very much for the tutorial.

  • @schm0sbyy
    @schm0sbyy 8 месяцев назад

    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 device_client.send_message(data) 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 device_client.send_message(data) becomes synchronous and will halt other operations. Is there a way to overcome this? I tried using threads but the issue persists.

  • @omarcruz6326
    @omarcruz6326 10 месяцев назад

    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 ?

    • @Avirup171
      @Avirup171  10 месяцев назад

      What issues are you facing? If possible let’s connect over a quick discovery call at Topmate. You can book a slot for free and I can help you out over the call.
      topmate.io/avirup171

    • @Avirup171
      @Avirup171  10 месяцев назад

      HI. I just tested my code again. It seems fine. You can also reach out to me directly on my email avirup.basu@live.com and I should be able to guide you. Thanks.