Closed htiel closed 1 year ago
@htiel It looks like the plugin isn't connected to the hub. You might try rebooting the hub (unplug/plug) and then restart the plugin.
@kuestess ok did some more digging, I can get switches and lap modules to work, but no motion detectors or door sensors. I also seem to have one orphan device that errors out from an old leak detector that I can not seem clear out, it does not show up in the Insteon App but I see it in HB InsteonUI
@htiel For motion and battery sensors, they are asleep by default to conserve battery. You'll have to wake them manually by tapping the set button so that they respond to the hub. To get rid of the old leak sensor, just go to the hub page and delete all links to that device.
@kuestess Thanks so much this worked.
Describe The Bug: In the InsteonUI when I try to get device info it fails on most devices some time it will complete but it seems a low chance and random.
To Reproduce: Go to http://192.168.1.xx:3000/devices/ Select a device and click Actions -> Get Dev Info/Links It should not error out
Expected behavior: Get Device info and links so I can add to config
Logs: [7/20/2022, 10:52:03 AM] [InsteonUI] Selected device is: 416448 [7/20/2022, 10:52:07 AM] [InsteonUI] Getting device info for 416448 [7/20/2022, 10:52:17 AM] [InsteonUI] Error getting device info [7/20/2022, 10:52:17 AM] [InsteonUI] Getting operating flags for 416448 [7/20/2022, 10:52:27 AM] [InsteonUI] Error getting operating flags (ED) [7/20/2022, 10:52:37 AM] [InsteonUI] Error getting operating flags (SD) [7/20/2022, 10:52:37 AM] [InsteonUI] Getting database delta for 416448 [7/20/2022, 10:52:47 AM] [InsteonUI] Error getting database delta Debug Logs [7/20/2022, 10:14:36 AM] [InsteonUI] Error getting operating flags (SD) [7/20/2022, 10:14:36 AM] [InsteonUI] Getting database delta for 416448 [7/20/2022, 10:14:46 AM] [InsteonUI] Error getting database delta [7/20/2022, 10:14:46 AM] [InsteonUI] Getting device links for 416448 [7/20/2022, 10:14:56 AM] [InsteonUI] linkArray: [] [7/20/2022, 10:14:56 AM] [InsteonUI] No links returned from 416448 [7/20/2022, 10:14:56 AM] [InsteonUI] Error getting links for 416448 [7/20/2022, 10:14:56 AM] [InsteonUI] Done getting device info for 416448 [7/20/2022, 10:14:56 AM] [InsteonUI] Saved new insteon config [7/20/2022, 10:14:56 AM] [InsteonUI] Created backup of previous config [7/20/2022, 10:14:56 AM] [InsteonUI] Done writing Insteon config [7/20/2022, 10:14:56 AM] [InsteonUI] Reading devices from insteon.json [7/20/2022, 10:15:17 AM] ←[39mRegistering platform 'homebridge-platform-insteonlocal.InsteonLocal' [7/20/2022, 10:15:21 AM] ←[39m←[36m[InsteonLocal]←[39m Initializing InsteonLocal platform... [7/20/2022, 10:15:21 AM] [InsteonUI] Initializing Insteon UI [7/20/2022, 10:15:21 AM] [InsteonUI] Reading config from C:\Users\Administrator.homebridge\config.json [7/20/2022, 10:15:21 AM] [InsteonUI] Found 8 platform(s) in config [7/20/2022, 10:15:21 AM] [InsteonUI] Reading devices from insteon.json [7/20/2022, 10:15:21 AM] [InsteonUI] Done with InsteonUI init
Plugin Config:
{ "name": "InsteonLocal", "user": "xxx", "pass": "xxx", "host": "192.168.1.xx", "port": "25105", "model": "2245", "refresh": "false", "server_port": "3000", "keepAlive": "false", "devices": [ { "dimmable": "yes", "deviceType": "dimmer", "deviceID": "3396EB", "name": "Backyard - Kitchen" }, { "dimmable": "no", "deviceType": "switch", "deviceID": "394D07", "name": "Backyard - Dinning Room" }, { "dimmable": "yes", "deviceType": "dimmer", "deviceID": "30BECA", "name": "Backyard - Master" }, { "dimmable": "yes", "deviceType": "dimmer", "deviceID": "3E811E", "name": "Backyard - BBQ" }, { "dimmable": "yes", "deviceType": "dimmer", "deviceID": "29C8A4", "name": "Front Entry" }, { "dimmable": "no", "deviceType": "switch", "deviceID": "2A3ACE", "name": "Front Yard" }, { "dimmable": "yes", "deviceType": "dimmer", "deviceID": "3522D7", "name": "Room" }, { "dimmable": "yes", "deviceType": "dimmer", "deviceID": "30A792", "name": "Family Room" }, { "dimmable": "yes", "deviceType": "dimmer", "deviceID": "30AE85", "name": "Kitchen" }, { "dimmable": "yes", "deviceType": "dimmer", "deviceID": "42AC37", "name": "Room1" }, { "dimmable": "yes", "deviceType": "dimmer", "deviceID": "42A74D", "name": "Room2" }, { "dimmable": "no", "deviceType": "switch", "deviceID": "402472", "name": "Work Light" }, { "dimmable": "no", "deviceType": "switch", "deviceID": "110019", "name": "Garage Light" }, { "dimmable": "no", "deviceType": "motionsensor", "deviceID": "3676A9", "name": "Backyard Motion Sensor" }, { "dimmable": "no", "deviceType": "motionsensor", "deviceID": "416448", "name": "Garage Motion Sensor" }, { "dimmable": "no", "deviceType": "doorsensor", "deviceID": "415A9E", "name": "Garage Door Sensor" }, { "dimmable": "yes", "deviceType": "dimmer", "deviceID": "33780B", "name": "Dining Room Light" } ], "platform": "InsteonLocal" }
Screenshots:
Environment:
Version 0.5.1
Node Version node-v18.6.0-x64
Homebridge Version 1.5.0
Which OS/Platform? Windows