Page 1 of 1

Looking for a decent MQTT-Broker which works with esp-idf

Posted: Wed Feb 28, 2024 2:46 pm
by f.h-f.s.
Hello everyone,

It's been some time since I last visited this forum. Glad to be back =)

Currently, I'm diving into a new project centered around ESP32, and I find myself in need of an MQTT-Broker that works with esp-idf. However, I am unable to find a compatible option.

If anyone knows of a compatible broker, I would love to hear about it.

Thank you in advance for your assistance!

These are the options for a MQTT-Broker I've come across:

Code: Select all

MQTT Broker
	- https://github.com/nopnop2002/esp-idf-mqtt-broker
		- No tls support
	- https://github.com/alexCajas/EmbeddedMqttBroker/ 
		- Arduino
	- https://github.com/hsaturn/TinyMqtt
		- Arduino
	- https://github.com/mlesniew/PicoMQTT
		- Arduino
	- https://github.com/martin-ger/uMQTTBroker
		- Arduino
	- https://github.com/halfgaar/FlashMQ
		- Linux
	- https://github.com/nanomq/nanomq
		- Linux, could be possible?
	- https://github.com/eclipse/mosquitto
		- Linux, requires openssl
	- https://github.com/eclipse/amlen
		- Linux
	- https://www.bevywise.com/mqtt-broker/help.html
		- Linux, windows
	- https://github.com/eclipse/paho.mqtt-sn.embedded-c
		-Linux

Re: Looking for a decent MQTT-Broker which works with esp-idf

Posted: Thu Feb 29, 2024 7:27 am
by ves011
What do you plan to run on esp32, mqtt client or broker?
If esp32 is the client, then mosquitto is pretty good.
I use this combination esp32 client - mosquitto (running on ubuntu) since more than a year and its quite reliable.

Re: Looking for a decent MQTT-Broker which works with esp-idf

Posted: Thu Feb 29, 2024 8:58 am
by f.h-f.s.
There are soo many mqtt clients that work with the esp32 and esp-idf. That isn't a real problem.
A MQTT-Broker implementation is something that is hard to find. Especially for esp-idf, I've only found one

I need to accept MQTT connections from devices on the localnetwork and bridge that to our broker in the cloud.

Re: Looking for a decent MQTT-Broker which works with esp-idf

Posted: Thu Feb 29, 2024 2:00 pm
by f.h-f.s.
It seems I'm not the only one.
There is a feature request on github, see: https://github.com/espressif/esp-idf/issues/10766