flobz / psa_car_controller

Control psa car with connected_car v4 API.
GNU General Public License v3.0
413 stars 218 forks source link

result code 5 #575

Closed robotfishe closed 1 year ago

robotfishe commented 1 year ago

I've just installed this within Home Assistant and I'm getting some regular errors in the logs that look like this:

2023-06-27 11:19:51,344 :: INFO :: Connected with result code {'session present': 0}
2023-06-27 11:19:51,345 :: INFO :: subscribe to psa/RemoteServices/to/cid/
2023-06-27 11:19:51,345 :: INFO :: subscribe to psa/RemoteServices/events/MPHRTServices/
2023-06-27 11:19:51,345 :: WARNING :: Disconnected with result code 5
2023-06-27 11:19:51,345 :: WARNING :: The connection was refused.

Some data, like charge status and odometer reading, is coming through correctly. However, the map location is about a thousand miles off, and there's no data under trips/charges/etc.

The car is a 2023 Vauxhall Mokka electric.

Anyone know what result code 5 is?

JaySea77 commented 1 year ago

Restart psa car controller and see if it will connect.

flobz commented 1 year ago

close due to inactivity