Tasmota-embedded MQTT broker #22711
-
Hi, Is there any way to embed it to Tasmota itself then? PS: |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 15 replies
-
No embbeded broker. esp32 has not enough resources for this. |
Beta Was this translation helpful? Give feedback.
-
@bam80 |
Beta Was this translation helpful? Give feedback.
-
I added my use case to the description, if it's helpful. Thanks to all for your responses and happy upcoming holidays! |
Beta Was this translation helpful? Give feedback.
-
I had similar requirements for my project. Sending fire-and-forget messages via UDP broadcast turned out to be a practical solution. The code-example on the recipient side def UdpMessageHandler(topic,payload)
print("UdpMessageHandler received topic:",topic," payload:",payload)
end
udpBroker = UdpBroker("broker")
udpBroker.subscribe("MyCoolTopic",UdpMessageHandler) The code-example of the sender side udpBroker = UdpBroker("broker")
udpBroker.publish("MyCoolTopic","Hello world") This means that every Tasmota controller can subscribe to a topic and receive the desired messages. |
Beta Was this translation helpful? Give feedback.
Anyways Tasmota does not support acting as an mqtt broker. If you want a good reason : nobody invested time to make it happen.