flobz / psa_car_controller

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

No Preconditioning with new API #769

Closed toha79 closed 4 months ago

toha79 commented 5 months ago

With the help of the instructions in @733 my installation is running again. Soc etc. are read out again and I can process them further in the Smarthome. However, pre-conditioning cannot yet be reactivated via the (PSACC) API or the web interface.

To Reproduce Steps to reproduce the behavior:

  1. what command did you use Via API: http://192.168.4.7:5000/preconditioning/VXXXX..../1 or the pre-conditioning button in the GUI
  2. when the bug append ?
  3. Does it persist after restarting the program? Yes.
  4. Does it persist after recreate config by going to http://server_address:port/config? Not tried.

Config file

{
    "abrp": {
        "abrp_enable_vin": [],
        "token": ""
    },
    "client_id": "07364655-93cb-0000-0000-000000000000",
    "client_secret": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    "co2_signal_api": null,
    "country_code": "DE",
    "customer_id": "OP-ACNT000000000000",
    "proxies": {
        "http": "",
        "https": ""
    },
    "realm": "clientsB2COpel",
    "refresh_token": "90e42044-00000-0000-0000-000000000000",
    "remote_refresh_token": null,
    "weather_api": null
}

Environment (please complete the following information):

mdkeil commented 5 months ago

2024-02-21 07:36:36,017 :: ERROR :: remote_refresh_token isn't defined

"remote_refresh_token": null,

Thats your problem..did you finished the "otp-dance"?

toha79 commented 5 months ago

2024-02-21 07:36:36,017 :: ERROR :: remote_refresh_token isn't defined

"remote_refresh_token": null,

Thats your problem..did you finished the "otp-dance"?

Well, I received a text message, entered the code from it and my PIN and got a green banner. SoC and mileage are displayed correctly.

ritschi86 commented 5 months ago

Same Problem here…

"remote_refresh_token": null,

toha79 commented 4 months ago

With the latest version 3.4.1 (as Docker Image), everything works again.

zutislo commented 4 months ago

I can also confirm, that preconditioning works again with 3.4.1.