Felix Posted May 14 Share Posted May 14 Hello, I want to control my shelly plus 2pm via MQTT commands. The MQTT connection is working fine, the shelly outputs several messages and debug messages. I adjusted the plus 2pm device to work in cover mode. When i control the cover via the two hardware-buttons i can see how the percentage of amount of open/close is send via mqtt. It works fine. Right now my question: which topic do i have to trigger to set a certain percentage for opening the cover? I have read the MQTT documentation provided by shelly and several forums but I cant find an answer for my problem. I hope you can help me. kind regards, Felix This is the topic my shelly plus 2pm is publishing its messages: Quote Translate Revert translation? English (American) Finnish French German Italian Portuguese (European) Spanish Link to comment Share on other sites More sharing options...
Felix Posted May 27 Author Share Posted May 27 I contacted the shelly support and they helped me a lot. The send me the corresponding links to the documentation: ttps://shelly-api-docs.shelly.cloud/gen2/ https://shelly-api-docs.shelly.cloud/gen2/ComponentsAndServices/Cover I don't know why I haven't found this docu with me previously google search 😞 In Detail for my case: The Shelly Plus 2pm publishes its status on: shellyplus2pm-b48a0a224a84/status/cover:0 And the shelly receives the command for controling cover: topic: shellyplus2pm-b48a0a224a84/command/cover:0 payload: pos,50 In this example the target position is 50 percent. I hope this would help people that gut stuck with the same problem. Felix Quote Translate Revert translation? English (American) Finnish French German Italian Portuguese (European) Spanish Link to comment Share on other sites More sharing options...
Heinz Posted May 27 Share Posted May 27 Good question not sure why it would not pick up don't he google search. I found it in the knowledge base https://kb.shelly.cloud/knowledge-base/shelly-plus-1 Then saw it under components and APIs Do you have an example of your whole code would be interesting to see Quote Translate Revert translation? English (American) Finnish French German Italian Portuguese (European) Spanish Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.