Python MQTT connection to Azure Iot Hub

后端 未结 4 680
粉色の甜心
粉色の甜心 2020-12-20 06:55

I want to connect to Azure Iot Hub, with Python MQTT.

An username and SAS token is required by Iot Hub. This is my code:

import paho.mqtt.client as m         


        
4条回答
  •  粉色の甜心
    2020-12-20 07:39

    Referring to https://azure.microsoft.com/en-gb/documentation/articles/iot-hub-sdks-summary/ Azure IoT SDK does not contain Pyhon "yet". This is already raised by other customers in https://feedback.azure.com/forums/321918-azure-iot . (Direct link : https://feedback.azure.com/forums/321918-azure-iot/suggestions/10522101-add-python-client-sdk).

提交回复
热议问题