homebridge-wink
homebridge-wink copied to clipboard
Dimming supported?
I managed to get this working with my lights and the v1 credentials, however all my lights get added to HomeKit as simply toggle on/off lights. I don't see any way in HomeKit or in the Homebridge Wink plugin to indicate my lights are dimmable. How can I do this?
This is an issue with Wink. How does Wink see them?
My Wink app shows them as dimmable lights and I can dim them successfully via wink. In HomeKit I just get a toggle switch.
I do notice that when I turn a light on or off HomeBridge outputs:
Changing target property 'powered' of the undefined called Lamp to 1
So it sees the device as undefined, is this something I need to setup in HomeBridge?
Same here. I have a couple GE Smart Fan Controllers (model 12730). Wink sees them fine and I can vary the speeds. But Homebridge only sees them as a light either on or off. Also, even though Homebridge see's them it is unable to turn them on or off. Always shows as no response.
As a temporary workaround, you can try changing this line "if (that.device.desired_state.brightness !== undefined)" in accessories/light_bulbs.js to "if (that.device.last_reading.brightness !== undefined)", and test it out. It worked for me because I believe the Wink API has changes and is not returning the desired_state, only allowing you to set it... see my pull request https://github.com/KraigM/homebridge-wink/pull/75 for additional info.
I was able to get a Leviton dimmer switch working by adding it as a fan in .homebridge/config.json.
I'm trying to get my Leviton dimmer switch on homebridge. Can you help me out?