Shelly pro 4pm binding - protocol

When using a binding, how do you understand what communication protocol it is using?

For example, I have a few Shelly 4PM 4 channel devices. I have set these all up to use MQTT and manually created things for them. They work fine. Actually my whole house is MQTT.

I’d like to stop using my custom things and MQTT to control relays and instead use the published bindings. In this instance the Shelly binding.

I guess the Shelly binding is not MQTT and must use web sockets, or RPC or something else.

How do you go about finding a bit more about bindings and the communication protocol used… and maybe a bit of a deeper technical understanding about what is going on in the background?

Is there part of a binding package I can open to have a look at the code/sytax/message and what’s going on?

I think that’s what you’re looking for: openhab-addons/bundles/org.openhab.binding.shelly at main · openhab/openhab-addons · GitHub

Excellent
Thankyou.

The GitHub repo you referred me to had link to “advanced” information. Which discusses the Shelly binding using “ CoIoT protocol”

A Google of CoIoT protocol leads to this super helpful Shelly doco

What benefit do you expect from the migration from mqtt to the shelly binding?

I’m currently going the exact opposite way and am replacing the shelly binding with the native mqtt implementation. :smiley: