Replies: 4 comments 13 replies
-
MQTT is already really lightweight, having an an open connection is not "heavy", not the extra flows needed for HTTP. In general, chances of big changes depend a lot on "someone" willing to do the work and submit a PR with a feature fitting well with the code base. Much of what Tasmota does is event-based, a better fit for MQTT than for CoAP. |
Beta Was this translation helpful? Give feedback.
-
Yes, it‘s lightweight but not as much as CoAP. An open connection is not ideal if you think about battery operated nodes. Also why is it necessary to use TCP - UDP is good enough. Don‘t get me wrong, I like MQTT but I think Tasmota could benefit from CoAP, especially since CoAP also supports resource observing. |
Beta Was this translation helpful? Give feedback.
-
There are no plans to support CoAP. You are free to propose a PR to support this protocol. Although I'm not seeing a wide adoption of CoAP within the hobbyist community. |
Beta Was this translation helpful? Give feedback.
-
I developed the Berry-UdpBroker for the reasons you already mentioned. |
Beta Was this translation helpful? Give feedback.
-
Hello, is there a way to use Tasmota with CoAP instead of MQTT? This would be way more lightweight (UDP, not always connected,…). If not, is this a feature that might be integrated in the future? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions