Questions tagged [mqtt]
Message queuing telemetry transport, or MQTT, is a publish/subscribe messaging protocol designed to minimize network bandwidth usage and device resource requirements. Client and server implementations exist in a wide variety of languages.
mqtt
6,442
questions
0
votes
0
answers
14
views
AWS IoT File Stream from S3 - Response not in order and PacketType=7b
The coreMQTT library is throwing an error with the message:
Unexpected packet type from server: PacketType=7b
This indicates that the client has received a packet from the server that it does not ...
-1
votes
1
answer
17
views
MQTT describe function outside the handler
I am working on MQTT
https://www.emqx.com/en/blog/mqtt-js-tutorial#mqtt-js-api-introduction
This is how i connect.
const client = mqtt.connect(host, optionsMQTT);
client.on('connect', function (...
0
votes
0
answers
23
views
'object of type 'NoneType' has no len()' error [duplicate]
The code below is supposed to connect and send telemtry soil moisture data to ThingsBoard cloud from a capiciative sensor attatched to a Raspberry Pi Pico WH, but when I ran it, it shows the 'object ...
0
votes
0
answers
25
views
ESP32: Crash during check if PubSubClient is still connected - but why?
I recently noticed some seemingly random crashs on my esp32 application.
I was able to catch a crash message which is the following and which is due to some erroneuos behaviour when I check if my ...
-1
votes
0
answers
27
views
Displaying real time graph with smooth animation [closed]
I have a need to display real-time data from an ICU monitor via MQTT. Data is sent from the tool every 1 second in the form of an array of around 250 elements.
Demo video
My goal is to display a graph ...
0
votes
0
answers
29
views
Flutter MQTT connection TLS without validation
I am trying to subscribe to a specific topic in MQTT broker which use TLS with no validation. But I failed because of certification failed to validation
my flutter code
client = MqttServerClient....
0
votes
0
answers
22
views
Issue Loading Kafka Plugin in EMQX: 'parse_config_file_failed Error' [closed]
I am using EMQX with the Kafka plugin and encountering an issue with loading the plugin. When attempting to start the Kafka plugin, I receive the following error:
Copy code
parse_config_file_failed
I ...
0
votes
0
answers
27
views
Connecting ESP32 IDF MQTT5 Example to HIVEHQ
I am using the IDF MQTT5 example project, and have built it unmodified and can connect to Mosquito
I (47716) mqtt5_example: Other event id:7 I (47726) main_task:
Returned from app_main() I (49036) ...
0
votes
0
answers
37
views
Flask_MQTT Messages not being received
I am trying to get a Webpage updated dynamically with data recieved via MQTT. I have a local python client publishing data to a Mosquitto install on a VPS. I've tested it with MQTT protocol using ...
0
votes
0
answers
31
views
Arduino ESP8266 AT Library [closed]
For a project of mine, I need an Arduino to control a Wifi ESP8266 module using a serial connection. The Wifi module needs to be instructed by the Arduino to connect itself to an MQTT broker. While ...
1
vote
1
answer
34
views
Thingsboard MQTT subscribe to multiple topics? Is this possible
Hi I have installed TB CE onto my Linux test server. Am really happy with it so far. But I have run into an issue. Which is probably due to me not understanding some concept properly!
I have two ESP32 ...
0
votes
0
answers
27
views
Sending Hex data Over Mqtt in modbus protocol
import paho.mqtt.client as mqtt
# MQTT broker details
broker = "test.mosquitto.org"
port = 1883
topic = "M66_Rx"
# Modbus RTU Frame as a list of hex values
modbus_hex = [0x11, ...
0
votes
1
answer
38
views
Cannot connect to MQTT broker via SmallRye Reactive Messanging MQTT connector in Quarkus
I am trying to connect MQTT connector to my broker.
Broker is listening on ws://localhost:1234
I am using a Quarkus as my backend framework. The configuration for my MQTT connector is set as:
# ...
1
vote
1
answer
42
views
How to configure mosquitto to retain sessions? Why is it discarding my sessions out of the box?
I'm trying to use paho-mqtt (python client) persuade mosquitto to retain a session between client connects, but every time I connect (with the same user,password,client id) the session is not retained....
0
votes
1
answer
29
views
Why is it recommended to make separate device certificates for connecting to AWS IoT Core MQTT endpoint?
AWS recommends in here that each device should have its own separate device certificate to connect to MQTT endpoint on AWS IoT Core. One can control the status of certificates then to control the ...