How to add another IoT protocol? #20130
-
Hello, We use our own very lightweight IoT protocol between our own devices. I am completely new to Tasmota. Regards, Tomas |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Adding another protocol would entail coding a driver, and quite a bit of work to have it well-integrated. The "M" in the "Tasmota" name is for "MQTT", hence many concepts are designed for this. With ESP32 devices, it may be "more approachable" coding such a driver in Berry, in a similar way to what is done with Tasmota support for Matter. More generally, a simpler strategy would probably be not to add a protocol, but instead having a bridge device handling both MQTT and "your own" protocol. This is how Tasmota supports Matter with ESP8266 devices not able to use Matter directly, but going via some ESP32 device with Tasmota and Matter. |
Beta Was this translation helpful? Give feedback.
-
I reply to myself. |
Beta Was this translation helpful? Give feedback.
I reply to myself.
Because the aforementioned Berry thing is just a Python like scripting language, and we have all our IoT protocol sources in Ansi C, we gave up on the idea of direct integration of our protocol into Tasmota. Instead, we decided to communicate via HTTP commands and make our own simple HTTP bridge (only a small piece of software) which will be incorporated into our firmware.