KraigM / homebridge-wink

Wink hub plugin for HomeBridge
54 stars 37 forks source link

Added ability to make specific binary switches act as fans #52

Closed jedijashwa closed 7 years ago

jedijashwa commented 7 years ago

In many apartments, fans are controlled through normal wall switches. These changes allow adding those to HomeKit as fans allowing for better control through Siri.

schmittx commented 7 years ago

I'm new to JS and Homebridge, can similar updates be made to allow specific light bulbs (aka dimmer-type fan switches) to act as fans?

jedijashwa commented 7 years ago

It definitely can be done. The trick would be looking into how HomeKit and therefore Homebridge treats different fan speeds. I believe dimmers in Homebridge-wink use consumption to spoof percentages, and this could also be done to spoof levels of fans. It just may take a bit more trial and error.