rodtoll / homebridge-isy-js

Homebridge platform plugin for the ISY series of home controllers from Universal Devices.
MIT License
22 stars 27 forks source link

Icon On/Off Switches show up as fans #41

Open sk8er02 opened 7 years ago

sk8er02 commented 7 years ago

I have two Icon On/Off switches on my network that show up as fans and HomeKit doesn't let me change the device type like some others. Any way to fix?

rodtoll commented 7 years ago

@sk8er02 - I am discontinuing support for this plugin so I won't be providing an active fix for this. Thank you for your interest.

dwightstanley commented 2 years ago

This had happened to me too - I have an older ICON switch that is defined wrong. There is an error in the isydevicetypes.json file that lists this device as a Fan instead of Light.

In Homebridge - enter the terminal using the upper right dots.

Then enter (or copy paste) the following to get the file open for editing: nano node_modules/homebridge-isy-js/node_modules/isy-js/isydevicetypes.json

Use arrow keys to find and edit the appropriate line - for me it was this: { "type": "2.22.57.0", "address": "", "name": "(28763B) Icon Relay Switch v.39", "deviceType": "Fan", "connectionType": "Insteon Wired", "batteryOperated": false },

Change "Fan," to "Light,"

CONTROL-O to write out CONTROL-X to exit

Restart the Homebridge container for the change to take effect. The change will stay in place unless the plugin is reinstaled. Hope this helps!

Dwight