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

Unable to change device state once changed #40

Closed timdenike closed 7 years ago

timdenike commented 7 years ago

Looks like I'm having a common issue.. I have an ISY-99 with the most current shipping firmware (admittedly, the manufacturer has deprecated this unit and stopped updating firmware.)

Devices populated in HomeKit and I'm able to turn them on, but not off - or the other way around, depending on the initial state Here's a snippet of console output:

\ Turn device OFF in HomeKit app - command succeeds **

[10/18/2016, 4:19:27 PM] [isy-js] 116-9-2#16:19:27- LIGHT: Bathroom Shower Setting powerstate to 0 [10/18/2016, 4:19:27 PM] [isy-js] 116-9-2#16:19:27- LIGHT: Bathroom Shower Changing powerstate to 0 2016-9-2#16:19:27- ISY-JS: Sending command...http://192.168.1.9/rest/nodes/25 5B 56 1/cmd/DOF

\ Turn device ON in HomeKit app - command ignored ** [10/18/2016, 4:19:35 PM] [isy-js] 116-9-2#16:19:35- LIGHT: Bathroom Shower Setting powerstate to 1 [10/18/2016, 4:19:35 PM] [isy-js] 116-9-2#16:19:35- LIGHT: Bathroom Shower Ignoring redundant setPowerState

\ Turn device OFF in HomeKit app - command succeeds **

[10/18/2016, 4:19:43 PM] [isy-js] 116-9-2#16:19:43- LIGHT: Bathroom Shower Setting powerstate to 0 [10/18/2016, 4:19:43 PM] [isy-js] 116-9-2#16:19:43- LIGHT: Bathroom Shower Changing powerstate to 0 2016-9-2#16:19:43- ISY-JS: Sending command...http://192.168.1.9/rest/nodes/25 5B 56 1/cmd/DOF

Any tips how I can get this back in sync? What's the issue here? Is HomeBridge getting state updates from the ISY? Is my ISY too old?

timdenike commented 7 years ago

Additionally, I don't see any diagnostic output from homebridge when I change a switch state manually. Should homebridge be getting notifications from the ISY-99i?

Chioti commented 7 years ago

You aren't by any chance running this on macOS Sierra are you? I upgraded yesterday and am having a similar problem.

timdenike commented 7 years ago

I am!

Chioti commented 7 years ago

I think the upgrade to Sierra and the status not updating were completely independent. I rebooted the ISY and it solved my issue.

timdenike commented 7 years ago

I just upgraded from the ISY-99i to the ISY-994i and the issue seems to be resolved.