pradeepmouli / homebridge-isy-js

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

Homekit Scene with 4 ISY scenes flaky #23

Closed jmwhite5 closed 4 years ago

jmwhite5 commented 4 years ago

I created a HomeKit scene that calls 4 scenes defined in ISY. Sometimes it works the first time. Usually the 4th scene status doesn't come through correctly. I usually have to invoke the HomeKit scene twice for this to work. It was working fine with 3 scenes.

Here are the logs and I'm attaching my ISYNodesDump file.

[6/7/2020, 2:38:21 PM] [isy-nodejs] Garden Lights: sending DON command: nodes/59689/cmd/DON [6/7/2020, 2:38:21 PM] [isy-nodejs] Sending request: http://192.168.1.11/rest/nodes/59689/cmd/DON/ Calling: http://192.168.1.11/rest/nodes/59689/cmd/DON/ [6/7/2020, 2:38:21 PM] [isy-nodejs] Garden Lights: sending DON command: nodes/59689/cmd/DON/100 [6/7/2020, 2:38:21 PM] [isy-nodejs] Sending request: http://192.168.1.11/rest/nodes/59689/cmd/DON/100/ Calling: http://192.168.1.11/rest/nodes/59689/cmd/DON/100/ [6/7/2020, 2:38:21 PM] [isy-nodejs] Stairs Lights: sending DON command: nodes/10034/cmd/DON [6/7/2020, 2:38:21 PM] [isy-nodejs] Sending request: http://192.168.1.11/rest/nodes/10034/cmd/DON/ Calling: http://192.168.1.11/rest/nodes/10034/cmd/DON/ [6/7/2020, 2:38:21 PM] [isy-nodejs] Kitchen Bar: sending DON command: nodes/20557/cmd/DON/100 [6/7/2020, 2:38:21 PM] [isy-nodejs] Sending request: http://192.168.1.11/rest/nodes/20557/cmd/DON/100/ Calling: http://192.168.1.11/rest/nodes/20557/cmd/DON/100/ [6/7/2020, 2:38:21 PM] [isy-nodejs] Kitchen Bar: sending DON command: nodes/20557/cmd/DON [6/7/2020, 2:38:21 PM] [isy-nodejs] Sending request: http://192.168.1.11/rest/nodes/20557/cmd/DON/ Calling: http://192.168.1.11/rest/nodes/20557/cmd/DON/ [6/7/2020, 2:38:21 PM] [isy-nodejs] Pavillion Sconces: sending DON command: nodes/40 DA B5 1/cmd/DON [6/7/2020, 2:38:21 PM] [isy-nodejs] Sending request: http://192.168.1.11/rest/nodes/40 DA B5 1/cmd/DON/ Calling: http://192.168.1.11/rest/nodes/40 DA B5 1/cmd/DON/ [6/7/2020, 2:38:21 PM] [isy-nodejs] Unhandled SystemStatusChanged Event: {"seqnum":1717,"sid":"uuid:45","control":"_5","action":1,"node":"","eventInfo":""} [6/7/2020, 2:38:22 PM] [isy-nodejs] Unhandled SystemStatusChanged Event: {"seqnum":1718,"sid":"uuid:45","control":"_5","action":0,"node":"","eventInfo":""} [6/7/2020, 2:38:22 PM] [isy-nodejs] Unhandled SystemStatusChanged Event: {"seqnum":1719,"sid":"uuid:45","control":"_5","action":1,"node":"","eventInfo":""} [6/7/2020, 2:38:22 PM] [isy-nodejs] Unhandled SystemStatusChanged Event: {"seqnum":1720,"sid":"uuid:45","control":"_5","action":0,"node":"","eventInfo":""} [6/7/2020, 2:38:23 PM] [isy-nodejs] Unhandled SystemStatusChanged Event: {"seqnum":1721,"sid":"uuid:45","control":"_5","action":1,"node":"","eventInfo":""} [6/7/2020, 2:38:23 PM] [isy-nodejs] Unhandled SystemStatusChanged Event: {"seqnum":1722,"sid":"uuid:45","control":"_5","action":0,"node":"","eventInfo":""} [6/7/2020, 2:38:23 PM] [isy-nodejs] Unhandled SystemStatusChanged Event: {"seqnum":1723,"sid":"uuid:45","control":"_5","action":1,"node":"","eventInfo":""} [6/7/2020, 2:38:24 PM] [isy-nodejs] Unhandled SystemStatusChanged Event: {"seqnum":1724,"sid":"uuid:45","control":"_5","action":0,"node":"","eventInfo":""} ISYNodesDump.txt

jmwhite5 commented 4 years ago

I actually had a typo and was calling the Dimmer directly (Pavillion with 2 l's) instead of the scene Pavilion (with 1 l). Now that I'm calling only scenes, it all seems to be working fine.