ESP32 as MQTT broker?

Post here to discuss any new features, components, chips, etc, that you would like to see in Flowcode.
Post Reply
MJU20
Posts: 237
http://meble-kuchenne.info.pl
Joined: Tue Dec 08, 2020 5:11 pm
Has thanked: 75 times
Been thanked: 50 times

ESP32 as MQTT broker?

Post by MJU20 »

I've seen in a flash an article that the ESP32 could be used as a MQTT broker.
Is this true?

Could this become a Flowcode component?

BenR
Matrix Staff
Posts: 1707
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 435 times
Been thanked: 598 times

Re: ESP32 as MQTT broker?

Post by BenR »

Hello,

Yes I don't see why not, but it's not simple and security could be an issue. Making a component for a MQTT broker woulld be a fairly big job though certainly not impossible.

One question might be why when there are lots of maintained brokers out there already for free both on the internet and also locally on things like a RPI.

MJU20
Posts: 237
Joined: Tue Dec 08, 2020 5:11 pm
Has thanked: 75 times
Been thanked: 50 times

Re: ESP32 as MQTT broker?

Post by MJU20 »

BenR wrote:
Fri May 13, 2022 10:00 am
Hello,

Yes I don't see why not, but it's not simple and security could be an issue. Making a component for a MQTT broker woulld be a fairly big job though certainly not impossible.
Sounds good :-)
BenR wrote:
Fri May 13, 2022 10:00 am
One question might be why when there are lots of maintained brokers out there already for free both on the internet and also locally on things like a RPI.
Like so many things in life.. because it's possible :-)

No, I've had a RPI chip pack for Flowcode but never used it.
RPI's are at this moment not available because of chip shortage. Some sources say until 2023?

ESP32 are very cheap and very available. Also very powerful.
So why not make a component that can be used in FC versions after #9.

LeighM
Valued Contributor
Posts: 394
Joined: Mon Dec 07, 2020 1:00 pm
Has thanked: 69 times
Been thanked: 208 times

Re: ESP32 as MQTT broker?

Post by LeighM »

As an alternative, there are quite a few "Raspberry Pi" type "clones" that also run Linux, and hence can run Mosquitto.
In particular, I can confirm that Armbian runs well on both Orange Pi and NanoPi Neo.

Post Reply