thingsboard connection to esp32 using MQTT

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
ahmed_ashraf
Posts: 2
Joined: Wed Oct 02, 2019 9:11 pm

thingsboard connection to esp32 using MQTT

Post by ahmed_ashraf » Thu Nov 28, 2019 10:50 pm

I'm sorry, but I'm new to micropython and I want to connect esp32 to demo thingsboard using MQTT, And I've used umqtt.simple to connect to it but there's a problem I can't understand, whenever I try to connect it gives me either this (File "umqtt/simple.py", line 99, in connect), OR (File "umqtt/simple.py", line 57, in connect
IndexError: list index out of range), which I believe they are the same, Although when I tried to connect esp32 with thingspeak it connected and sent,received data very well. So what is the problem?
my code is:
https://drive.google.com/open?id=1L5buc ... ZYaJ9fL02D
Please note that I've seen that Question but it didn't fix my problem:
viewtopic.php?t=4412
Thanks in advance

Post Reply