homebridge-wink icon indicating copy to clipboard operation
homebridge-wink copied to clipboard

Dimming supported?

Open Framnk opened this issue 9 years ago • 7 comments
trafficstars

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?

Framnk avatar Oct 30 '16 15:10 Framnk

This is an issue with Wink. How does Wink see them?

thechrisreese avatar Oct 30 '16 15:10 thechrisreese

My Wink app shows them as dimmable lights and I can dim them successfully via wink. In HomeKit I just get a toggle switch.

Framnk avatar Oct 30 '16 15:10 Framnk

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?

Framnk avatar Oct 30 '16 16:10 Framnk

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.

West1967 avatar Nov 03 '16 15:11 West1967

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.

scoobyshi avatar Jan 08 '17 03:01 scoobyshi

I was able to get a Leviton dimmer switch working by adding it as a fan in .homebridge/config.json.

microb0x avatar Feb 04 '17 19:02 microb0x

I'm trying to get my Leviton dimmer switch on homebridge. Can you help me out?

teja235 avatar Jul 17 '17 00:07 teja235