Charging time remaining
Current (however it has always been 0,0A, so I don’t get any meaningful data from it)
Fuel autonomy (it‘s obviously a hybrid)
Fuel level (sometimes, mostly it’s stuck at 0% which is not correct)
Mileage
Privacy status (always ‚None‘)
Service says always Hybrid for me. This does not seem to relate to the actual drive mode.
So, my car is at the dealer because it does not charge anymore. Therefore, I did not look into my Openhab config much. However, now I saw that the PSA bridge is in status ERROR and disabling and reenabling yields the follwing message in the log:
I had similar problems (don’t know about the exact error message though). I could fix this by deleting and adding the bridge again. I had the bridge disabled for a couple of months before I had these problems. Could be that some sort of auth token is simply not valid anymore after a couple of days/weeks/months?!
I had some serious problems with unexpected OH restarts today (sometimes maybe an estimated 5 times per hour) and could not really find out what was causing this…
However I realised that my PSA bridge was offline and I saw some errors (nothing really out of the ordinary, just some authentication issues) in the logs. Since I’m hardly using it I just disabled the bridge and no restart occurred so far
Could this be related?
LOL - a minute after I wrote this OH just restarted again never mind…
i have the same, when i drive the car i becomes online and the channels being updated.
this is something stelantis has chosen.
my car is only connected when driving, or when unlocking the car. even the mypeugeot app has no connection, so openhab also doenst have a connection
I partially fixed that for me using an ESP32 on the OBD port which reports various values over MQTT to openhab and allows to stop the charge at 90 percent for example.
is it the same binding as the one in the official distribution?
If true, is there a reason to maintain it as published in the marketplace, with a risk of confusion for the users?
I wanted to give the PSA API a try again. I configured the bridge with username, password and also my own client id and secret. But the bridge stays offline:
2023-04-16 20:08:37.490 [ERROR] [oauth2client.internal.OAuthConnector] - grant type refresh_token to URL https://idpcvs.opel.com/am/oauth2/access_token failed with error code invalid_grant, description grant is invalid
I can connect to endpoint https://idpcvs.opel.com/am/oauth2/access_token with my credentials but using grant_type: password (described here).
I assume the binding needs an update to the new API?
Hi, I think the binding is dead. Stellantis have changed the connection method and I think they support MQTT event based connections now instead of REST polling. I’m having similar problems with code I’ve written for myself to do this. I think there is a python library that’s up to date, but nothing for OH.