KraigM / homebridge-wink

Wink hub plugin for HomeBridge
54 stars 37 forks source link

Integration of Binary Wall Switches #5

Closed Jborn4christ closed 8 years ago

Jborn4christ commented 8 years ago

Are there plans or development to add support of switches? I have a couple of the Levityon binary switches Id like to be able to use.

davidgruhin commented 8 years ago

Seconded!

earlthesquirrel commented 8 years ago

Third!

earlthesquirrel commented 8 years ago

I'd also say supporting general switches (i.e. I have GE Z-Wave Wall switches, GE in-wall z-wave plugs and Z-Wave plug in wall adapters.) All of the examples given show up on Wink as binary switches.

KraigM commented 8 years ago

@pdlove ETA? Can you push what you have done so far to a branch (even if it is broken) so others can pick up where you left off and help?

AppleTechy commented 8 years ago

I agree with @earlthesquirrel I have some Leviton Binary Switches(leviton-dzc-universal-in-wall-switch picked up as a Z-Wave Binary Switch or depending on if it pairs right as a Leviton Switch which Wink knows is Binary) Leviton Dimmer Switch(leviton-dzc-universal-in-wall-dimmer picked up as a Leviton Dimmer Light). I was also wondering if support could be added for Quirky+Ge Outlink Smart Outlet(just want on and off controls). And can you add support for the Ge In-Wall Smart Fan Control(This is recognized by Wink as a dimmable Z-Wave Light switch). Thank you for all your help!

pdlove commented 8 years ago

Sorry for the delay, I'll publish my work tonight. It'll have the garage door and the binary switches. Only think that I'll be adding past that is the thermostat.

earlthesquirrel commented 8 years ago

Any update when this will get pushed? You said "tonight", not sure when that is, don't see it as of now..

EarlthSquirrel

On Sun, Jan 3, 2016 at 12:35 PM, pdlove notifications@github.com wrote:

Sorry for the delay, I'll publish my work tonight. It'll have the garage door and the binary switches. Only think that I'll be adding past that is the thermostat.

— Reply to this email directly or view it on GitHub https://github.com/KraigM/homebridge-wink/issues/5#issuecomment-168521811 .

AppleTechy commented 8 years ago

@pdlove do you have an update when you will be publishing your work? Thanks for your help!

pdlove commented 8 years ago

I just published the work I've been doing to my fork. I have some fairly significant changes that modularize this plugin a bit better to make it easier to expand. This has not been put into KraigM's repository yet and is not yet available from npm, but feel free to pull my code down and try it out. I apologize it took as long as it did to get it committed. If someone can let me know if it works for them then I'll request it be merged with the main repository. I do still have some cleanup work to do on what I have out there so far because I'm not 100% satisfied with the quality or completeness of my work.

KraigM commented 8 years ago

@pdlove Create a pull request and then comments can be made, notes can be written on how to test it early, etc.

pdlove commented 8 years ago

Thanks for helping me through this. We use Team Foundation Server at work, so I'm still new to how the workflow goes with github.

pdlove commented 8 years ago

Wall switches and Outlink are included in PR #11.

KraigM commented 8 years ago

Released under 1.0.0/1.0.1

robertvorthman commented 7 years ago

HomeKit and Wink see my GE Z-Wave wall switch as a light bulb. Does anybody know what settings I can change to make HomeKit categorize my switch as a binary switch and not a light? I have a white noise machine plugged into this switched outlet, and when I tell Siri to "turn off the lights" I don't want the white noise machine to turn off.