Hi,
I realised that Shelly plus 2 PM uses different MQTT messages/topics compared to older Shelly 2.5 or Shelly 1.
I’m using it as a cover control. I tried to figure out what these new topics are but I cannot understand how to open/close the cover.
Up to now I just got that
I looked into this issue.
I found this link where I found some useful mqtt topic.
To send commands to the device it is needed to send them to <shelly-id>/rpc
Commands are messages described here for the cover.
But nothing happens when I push on the arrows in HA user Interface to open/close the cover.
Comman is correctly sento to mqtt server I can see it with an mqtt explorer but the shelly looks not to read it.
Any idea?
Hi, thanks for sharing your config and solution but also your “solution” doesn’t work for me. I used your config an the HA and Shelly documentations as well as some “subscripe” and “publish” tests with the Mqtt.fx tool to put in some extensions. Now it ist possibile to control the cover with the following functions: open, close, stop, and the go to position.
Thanks a million for this! I have a rather peculiar shutter setup that uses both an IR remote control (which I don’t use, by the way) and a regular two-button switch connected to a Shelly 2PM. To get it calibrated, I had to code all the logic for a “virtual cover” using Home Assistant and MQTT.
It was working fine with a Shelly 2.5, but I had to replace it with a 2PM. This is where your post was a lifesaver.
Now, I’m wondering if it’s possible to implement a sensor that listens to the physical buttons on the switch. I had it set up like this with the Shelly 2.5: