Questions tagged [mosquitto]
For questions concerning Eclipse Mosquitto, an open source MQTT broker implementation, including setup questions, issues with running the broker, and questions about the behaviour of Mosquitto.
75 questions
0 votes
1 answer
44 views
Unable to Discover Vaillant AC Device with ewpe-smart-mqtt Bridge and Mosquitto Broker on Windows
I'm running a Mosquitto MQTT broker on my Windows PC, and I'm using the stas-demydiuk/ewpe-smart-mqtt bridge in a Docker container to integrate a Vaillant air conditioning unit into my setup. The ...
0 votes
1 answer
210 views
Mosquitto Broker serving two instances of Home Assistant [closed]
I have set up a second instance of Home Assistant (named sandbox) where I can play with new releases and features without risking my main Home Assistant. I have always used an MQTT broker external to ...
1 vote
0 answers
275 views
Malformed Packet on Mosquitto
I am trying to connect to my mosquitto broker on esp32 with GSM using pubsubclient but sometimes it disconnects to broker with detail malformed packet. 2023-08-30T13:43:14: Client client_id ...
1 vote
2 answers
377 views
MQTT not connecting to local broker
I am really new to IoT and MQTT. For my project I want ESP32 to send data to node-red as a part of visualization requirement. I am running a broker (mosquitto) locally on my PC (Windows 11), I ...
1 vote
2 answers
59 views
Time Out for Raspberry Pi running Node-RED, Mosquitto, Wireless Xiao ESP32C3
I have a Raspberry Pi Zero 2W on 32bit PiOS running the following Docker containers: Node-RED, Mosquitto, and Influxdb. I have a Seeed Studios Xiao ESP32C3 running a C program compiled by the Arduino ...
0 votes
1 answer
298 views
Mqtt in production
I am using Mqtt to build a project. I am wanting to move my whole work to prod ready. My hardware is ESP-07 and custom PCB design the broker is mosquitto the app (Nodejs,react native) I implemented ...
3 votes
1 answer
237 views
Eclipse Mosquitto Dynamic Security Plugin
One question I can't seem to find any docs about. I have made a PHP API that uses the Dynamic Security Plugin. Is there any way I can map the pub with the response in the sub topic? As of now it ...
2 votes
1 answer
1k views
How to list mosquitto clients using dynamic security feature?
I got the Dynamic Security of mosquitto mostly working. However, I'm not sure how to use the listClients command through the json approach, as explained here: https://github.com/eclipse/mosquitto/...
0 votes
2 answers
304 views
Determine state before publish
I have a mosquitto MQTT broker on a Raspberry Pi. I have some topics from a client in this format SolutionCommand/state as an array 110001. In other hand I can invoke some publish topics like ...
0 votes
1 answer
917 views
Home Assistant Mosquitto Tasmota Device Socket Error
Home Assistant Mosquitto Tasmota Device Socket Error I have just completed a fresh install of Home Assistant OS 6.4 (core-2021.9.7 upgraded to 2021.10.0, supervisor-2021.09.6) on a Raspberry Pi 4, ...
3 votes
4 answers
48k views
Can't connect to Mosquitto broker with local IP address
I have a Mosquitto broker running on my Windows machine. I can connect to this on the same machine using an MQTT client such as MQTTX when I specify localhost as the address. However, I want other ...
3 votes
1 answer
231 views
DDOS Protection in Open Source MQTT Brokers
I'm doing a research on DDOS protections in MQTT brokers and I started with open source Mosquitto broker. I couldn't find any countermeasure listed in the documentation page. Since my C language ...
3 votes
1 answer
188 views
Does mosquito broker persist LWT messages to disk, so they may be recovered between restarts?
I have two RaspberryPis, one with the mosquito broker, and one acting as a client. The client has set up a LWT with the broker. After a power outage that affects both RPis, both RPis come back online, ...
1 vote
2 answers
2k views
mosquitto_sub and grep to trigger command/action
I can use mosquitto_sub to subscribe to broker for a specific topic, say test_topic, mosquitto_sub -h MOSQUITTO_BROKER_HOSTNAME -t test_topic I can also pipe grep for a specific keyword, say ...
0 votes
0 answers
301 views
Why can't FireFox connect to mosquitto via websocket on Ubuntu 20.04? No problem with Ubuntu 18.04
I tried to set up a new server with mosquitto. When I set up mosquitto on Ubuntu 18.04, both FireFox and Chrome can connect to it via websocket. When I set up the mosquitto on Ubuntu 20.04, only ...