homebridge-isy-js
homebridge-isy-js copied to clipboard
Icon On/Off Switches show up as fans
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?
@sk8er02 - I am discontinuing support for this plugin so I won't be providing an active fix for this. Thank you for your interest.
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