Skip to main content

All Questions

Tagged with
0 votes
1 answer
223 views

MQTTClient throws error when trying to connect

I'm devopling an application on a PicoW using Visual Studio (Thonny gives the same results). It uses umqtt.simple: from machine import Pin, I2C from time import sleep import network from umqtt.simple ...
Todd's user avatar
  • 1,973
0 votes
0 answers
233 views

Getting ECONNRESET Error When Publishing Data to MQTT Broker Using paho-mqtt in Python

I'm doing a project for class, and I need to send data values from a device to other. I thought that the best option was to use MQTT. I'm using the broker test.mosquitto.org. I need to send ...
JMartí's user avatar
0 votes
1 answer
88 views

ESP8266 umqtt OSError -1

I have an ESP8266. On this board I'm running the newest Version of the MicroPython firmware (1Mib). I have a Java Vaadin Web Application with 2 Buttons. One Button is for publishing, that the LED ...
Larshle's user avatar
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 ...
Mahsa Faraji's user avatar
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 = &...
Yugu's user avatar
  • 1
0 votes
1 answer
451 views

MQTT: Connection to Azure IoT Hub (Micropython)

I'm unable to connect to Azure IoT Hub using the umqtt.simple2 library with SSL using MicroPython v1.22.2. from umqtt.simple2 import MQTTClient HUB_HOSTNAME = "AzureIoTHubHostName" PORT = ...
Noé Fischer's user avatar
0 votes
0 answers
75 views

main.py file with MQTT protocol that can connect to AWS Iot core is not working

I have been working on Pi Pico w board that connects to AWS Iot core using MQTT protocol and my code is working fine when run on IDLE. But the problem is when i save my file as main.py and trying to ...
munnangi_harsha's user avatar
0 votes
1 answer
796 views

Can't connect Raspberry Pi Pico W to MQTT broker, not getting CONNACK

I am trying to connect a Raspberry Pi Pico W to a virtual machine which runs a MQTT broker and Node-RED server. MQTT broker is password protected. I added MQTT broker IP in the MQTT node on Node-RED ...
Magnus Bane's user avatar
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 ...
Vito Jihad's user avatar
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 ...
ez.oez's user avatar
  • 1
0 votes
1 answer
740 views

MQTT messages going to broker but not client

I have a project publishing MQTT messages from an ESP to a broker running on a Pi, and client running on the Pi. Messages are reliably getting from the ESP to the broker, as I can observe them using ...
MorrisseyJ's user avatar
  • 1,281
0 votes
1 answer
546 views

Mqttnet client data crashes the subscribe code

I got the sample Mqttnet code (for publish and subcribe) from GitHub https://github.com/dotnet/MQTTnet/tree/master/Samples/Client I am sending MQTT message to hivemq.cloud free private cluster port ...
userb00's user avatar
  • 599
0 votes
1 answer
139 views

Publish stream to MQTT broker

For a weather station using Raspberry Pi Pico W, a Pimoroni Pico Explorer board and a BME280 breakout board I get the Raspberry Pico to publish to a topic when a button is pressed. But how to get it ...
bopaloolah's user avatar
0 votes
0 answers
191 views

MQTT on a RPi Pico - script fails due to timeout (I think)

Apologies for the basic request here. I have a Pico Enviro+ and am using the script here to send data to my MQTT server. The script fails after approx 12-14hrs. It used to fail after 5-6hrs, but I ...
WarwickHW's user avatar
1 vote
0 answers
842 views

MQTT.Simple Loses Connection to AWS IoT

I have a Raspberry Pi Pico W that I am trying to get to communicate with AWS IoT, and after about 12-24 hours it seems to lose its connection. I have the keep alive set and I can see it's pinging the ...
michaeka's user avatar

15 30 50 per page