All Questions
9 questions
0
votes
0
answers
186
views
publish secure data to thingspeak (micropython) TLS
I recently startd a project on IOT. I use micropython, MQTT, ESP32, DHT11.
At first step I published my DHT11 sensor data on thingspeak and visualized (port 1883). Now I want to publish secure data ...
0
votes
1
answer
278
views
Problem in connecting esp32 to local MQTT broker
I am having problem in connecting esp32 to local MQTT broker using the following micropython code
from umqtt.simple import MQTTClient import network import utime as time # Device Setup DEVICE_ID = &...
0
votes
0
answers
79
views
Why didn't I get the message "mqtt problem" micropython
I am writing code on esp32 to be a MQTT publisher and when I run the program on esp32 I get a message on terminal "success send a data" but when I see on my subscriber program on python I ...
0
votes
1
answer
352
views
How to send more than one value to my MQTT Broker
I am using an ESP32 microcontroller to read data via the sensor MPU6050.
I am sending the data directly to my MQTT broker and then to a database (using Node-red).
My Question is, how can I send 100 ...
0
votes
0
answers
2k
views
Micropython: Unable to fix IndexError: bytes index out of range issue
I am trying to connect ESP32 based MQTT client umqtt.simple.py with Micropython code to a MQTT broker. But its throwing IndexError: bytes index out of range issue. error every time, when start to ...
5
votes
1
answer
2k
views
ESP32 - MQTT to AWS IoT using MicroPython
I have registered my ESP32 as a thing on AWS IoT and downloaded its respective certificate and public & private keys. Also verified that those connect properly via the following command in my ...
0
votes
1
answer
1k
views
Why does this MQTT client works fine through MicroPython's webREPL but fails in the main.py of the ESP32?
I'm currently working an IOT project requiring the transfer of sensor data between an ESP32 (a wESP32 to be exact) and a Raspberry Pi configured as a broker. From what I've read so far the MQTT ...
0
votes
1
answer
482
views
Receiving JSON files over MQTT
I am pretty new to micropython and currently I am learning to recieve JSONs over MQTT and I found a piece of code that should automaticaly save a recieved JSON file into a dictionary. I´m pretty sure ...
2
votes
2
answers
2k
views
Connecting ESP32 to AWS IoT via umqtt
I have the following micro python code:
client = MQTTClient("youraccount/feeds/lights", "a21sigud7911d7.iot.us-west-
2.amazonaws.com", user="None", password="None" , keepalive=10000, ssl=True,
...