Hi!, I’m Julian, The aim of my project is to implement an IoT device based on ATMega328+EmonTX Shield+ESP8266. This IoT device needs to send MQTT messages to Azure Cloud. I have ready the cloud part except for MQTT communications.
The first issue that I found is MQTT login process. ESP8266 setup interface doesn’t accept Azure’s MQTT protocol (Furtheremore information MicrosoftDocs/azure-docs/blob/master/articles/iot-hub/iot-hub-mqtt-support.md#using-the-mqtt-protocol-directly-as-a-device)
Once all steps in Azure cloud side are clear and defined (IoT Hub, Device Created, SAS token generated) can’t setup LogIn parameters in emonESP site.
Username required by Azure :
SAS Token generated and required for Azure MQTT as password (include blank space between Signature and sr=):
ClientID : Can’t be defined in emonESP page
My theories are:
emoESP is not prepared to handle SaS token format as a password for MQTT login. Even when SAS token is HTTP compatible.
Username format required by Azure is not accepted by emonESP page.
Hope someone could help me to solve this issue.
Many thanks in advance for your support