kuestess / homebridge-platform-insteonlocal

Homebridge platform plugin for local Insteon control
Other
76 stars 26 forks source link

Insteon bridge connected to 2413S PLM will not start without any devices configured #289

Open rterbush opened 1 year ago

rterbush commented 1 year ago

I've attempted to connect a PLM via serial cable. If I attempt to start the bridge without having configured even a dummy device, the bridge will not start. Errors with the following:

Insteon BridgeWARNINGunhandled rejection: TypeError: Cannot read properties of undefined (reading 'length')

Running version 0.5.7

After configuring a dummy device and starting the bridge, I am able to read previously stored devices from the PLM so the serial connection is working.

kuestess commented 1 year ago

Thanks @rterbush - I thought that this was fixed (no devices in config), but it has seemingly crept back in. Can you post the full console error that you get? Thanks.

rterbush commented 1 year ago

That is the console error I see unless I am misunderstanding what you mean by console.

Should be pretty easy to recreate.

kuestess commented 1 year ago

Thanks @rterbush - was referring to the full trace, but I can recreate that here.

kuestess commented 1 year ago

@rterbush This should be fixed in 0.5.8.

Jmakosky commented 1 year ago

I just installed 0.5.8 and also had to create one device (gave it a name, used an old InsteonID off a motion sensor I had laying around and selected motion sensor in the pull down) for it to truly find the PLM I have connected and then it was fine. I am now logging into InsteonUI and all seems fine. Config.JSON indicates it is communicating with the PLM. Just thought I would let you know.