Holmis Posted November 10 Posted November 10 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? :) Quote Translate Revert translation? English (American) Finnish French German Italian Portuguese (European) Spanish
Moderators terae Posted November 10 Moderators Posted November 10 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 Quote Translate Revert translation? English (American) Finnish French German Italian Portuguese (European) Spanish
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.