huttotw / homebridge-kia-connect

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

Crashes when turning engine on/off - Cannot read properties of undefined (reading 'vehicleInfoList') #6

Closed 0dividedby0 closed 7 months ago

0dividedby0 commented 7 months ago

Describe The Bug: After setting up in home bridge, when turning the car on, the plugin crashes and reboots, but the start command does execute (verified in Kia app) and the state is properly updated after the plugin restarts. Similar behavior for shutting the engine off.

To Reproduce: Turn the car on or off

Expected behavior: When turning the car on or off, the command is executed without crashing

Logs:

Screenshot 2024-01-18 at 10 22 13 PM

Environment:

0dividedby0 commented 7 months ago

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