huttotw / homebridge-kia-connect

Connect your Kia vehicle to HomeKit
Apache License 2.0
13 stars 1 forks source link

Crashes on lock - Cannot read properties of undefined (reading 'xid') #5

Closed 0dividedby0 closed 9 months ago

0dividedby0 commented 9 months ago

Describe The Bug: After setting up in home bridge, when unlocking and then subsequently locking my car, a log message is provided that says 'Locking the doors' and then 10s later the same message is shown again. After that the plugin crashes and reboots, but the lock command does execute (verified in Kia app) and the state is properly updated after the plugin restarts.

To Reproduce: Lock and then unlock the car

Expected behavior: When locking the car after unlocking it, the car should lock without the home bridge plugin crashing

Logs:

Screenshot 2024-01-18 at 10 08 34 PM

Environment:

0dividedby0 commented 9 months ago

Could not replicate after restarting home bridge... may have been due to having the Kia app open resetting the session?