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

Fans vs Lights

Open stevenleija opened this issue 6 years ago • 4 comments

I have dimmers for fan switches which work perfectly with wink but they only come up as light modules in homekit. Is there a way to force a device to think it's a fan to change the icon?

stevenleija avatar Mar 13 '18 14:03 stevenleija

You need to add an fan_ids option to your config.json. The ID for the switch can be found in the Home app; as the accessory's Serial Number.

An example:

{
  "platforms": [
    {
      "platform": "Wink",
      "name": "Wink",
      "client_id": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
      "client_secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
      "fan_ids": [
        248563
      ]
    }
  ]
}

sibartlett avatar Mar 13 '18 14:03 sibartlett

Did my reply help?

sibartlett avatar Mar 19 '18 02:03 sibartlett

works for me! Thank you for posting this update. Though i did have to put my fan ids in quotes:

"platforms": [ { "platform": "Wink", "name": "Wink", "client_id": "XXX", "client_secret": "XXX", "access_token": "XXX", "refresh_token": "XXX", "fan_ids": [ "serial number here", "serial number here", "serial number here" ] }

christensonautohome avatar Apr 03 '18 01:04 christensonautohome

Where do you find the serial numbers for the fans? My fans are all on regular switches but I’d like for them to show up as a fan icon if possible.

mreassassin avatar Aug 18 '18 15:08 mreassassin