Jump to content

Recommended Posts

Posted

I have many Shellys that I control via MQTT and Openhab. I can read status from RGBW plus pm, but I can not figure out the command topic. I have tried serveral attempts:  

Topic:
shellyplusrgbwpm-xxxxxxxxxxxx/command/light:0

Value:
on
true
false
off
{"turn":"on","brightness":"55"}
{"output":"on","brightness":"55"}
{"output":"true","brightness":"55"}

 

Can anyone please help me in the right direction? :)

  • Moderators
Posted

If you use RPC commands with JSON, you will success most easy way.

Topic:

shellyplusrgbwpm-xxxxxxxxxxxx/rpc

Values are like

{"method":"PlusRGBWPM.SetConfig", "params":{"id":0,"turn":"on","brightness":55}}

I'm not all sure about syntax/what params are in use with RPC...but that's the direction

 

https://shelly-api-docs.shelly.cloud/gen2/ComponentsAndServices/Mqtt

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...