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

f.h-f.s.
Posts: 215
Joined: Thu Dec 08, 2016 2:53 pm

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

Postby f.h-f.s. » Wed Feb 28, 2024 2:46 pm

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

ves011
Posts: 20
Joined: Fri Oct 07, 2022 2:31 pm

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

Postby ves011 » Thu Feb 29, 2024 7:27 am

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.

f.h-f.s.
Posts: 215
Joined: Thu Dec 08, 2016 2:53 pm

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

Postby f.h-f.s. » Thu Feb 29, 2024 8:58 am

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.

f.h-f.s.
Posts: 215
Joined: Thu Dec 08, 2016 2:53 pm

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

Postby f.h-f.s. » Thu Feb 29, 2024 2:00 pm

It seems I'm not the only one.
There is a feature request on github, see: https://github.com/espressif/esp-idf/issues/10766

Who is online

Users browsing this forum: No registered users and 165 guests