Hi All,
I’m using wink-mqtt running on my rooted wink-hub to control my luton dimmers. With this configuration the hub exposes only the brightness of a device (0-255). So turning it on consists of setting the desired brightness level (for example set 255 to the topic “home/1/1/set”). So I don’t have separate topics for on/off and brightness control.
I tried using the example in the wiki with the brightness topic set to the same as the state topic. Unfortunately in this case the light doesn’t behave right; first it dims then it immediately goes full bright.
- platform: mqtt
name: my_light
state_topic: “home/1/1/get”
command_topic: “home/1/1/set”
payload_on: “0”
payload_off: “255”
optimistic: true
brightness_state_topic: “home/1/1/get”
brightness_command_topic: “home/1/1/set”
brightness_scale: 255
brightness_value_template: ‘{{ value }}’
qos: 0
I tried some things like creating a new topic for the brightness and trying to use that value as the payload_on. No luck though. Any guidance how I should handle this? I also tried setting the payload_on to light.my_light.brightness_command_topic
Thanks!
Scott