Dank Dir für Deine Rückmeldung 
Also das wirft es mir unter "EV SoC Log" raus wenn ich einen neuen Token einsetzte (ich habe mal alles kopiert was vermutlich relevant ist und etwas ausge-x-t . Darunter tauscht dann das OVMS Modul von meinem Smart auf)
untimeError
raise RuntimeError
File "/var/www/html/openWB/modules/soc_i3/i3soc.py", line 220, in postHTTP
resp = postHTTP(url, data, headers, authId=authId, authSec=authSec, allow_redirects=False)
File "/var/www/html/openWB/modules/soc_i3/i3soc.py", line 380, in refreshToken
token = refreshToken(token['refresh_token'])
File "/var/www/html/openWB/modules/soc_i3/i3soc.py", line 477, in main
main()
File "/var/www/html/openWB/modules/soc_i3/i3soc.py", line 551, in <module>
Traceback (most recent call last):
2025-03-31 13:40:09: ERROR: soc_i3:LP1: Request failed, exception=
2025-03-31 13:40:09: ERROR: soc_i3:LP1: Login failed
2025-03-31 13:40:09: ERROR: soc_i3:LP1: Request failed, response.content: b'{"error": "invalid_request", "error_description": "The request is missing a required parameter, includes an unsupported parameter value (other than grant type), repeats a parameter, includes multiple credentials, utilizes more than one mechanism for authenticating the client, or is otherwise malformed"}'
2025-03-31 13:40:09: ERROR: soc_i3:LP1: Request failed, StatusCode: 400
}
"redirect_uri": "com.bmw.connected://oauth"
"grant_type": "refresh_token",
"refresh_token": "WJ8n5fM81mGdFIE6s7-xU8UiH6E",
"scope": "openid profile email offline_access smacc vehicle_data perseus dlm svds cesim vsapi remote_services fupo authenticate_user",
data={
},
"x-user-agent": "android(AP2A.240605.024);bmw;4.7.2(35379);0"
"Content-Type": "application/x-www-form-urlencoded",
"user-agent": "Dart/3.3 (dart:io)",
headers={
2025-03-31 13:40:09: DEBUG: soc_i3:LP1: postHTTP: url=
https://customer.bmwgroup.com/gcdm/oauth/token,
2025-03-31 13:40:08: DEBUG: soc_i3:LP1: call refreshToken
2025-03-31 13:40:08: DEBUG: soc_i3:LP1: expires_at=2025-03-30 03:21:17, now=2025-03-31 13:40:08, expires_at-120=2025-03-30 03:19:17
2025-03-31 13:40:08: DEBUG: soc_i3:LP1: main0: expires_in=3599, now=1743421208, expires_at=1743297677, diff=123651
}
"captcha_token": "P1_eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.hadwYXNza2V5xQPwvALCUAVsmQ1o5h2PhO28EqSZ8tF1I4_u8UBjCG1_2pgwZSgZurBX2tZMibeGh5I0fPHFMvQUEGc3Ls_WaM9uA3lOyp8VII1qIpT7imA0c7xSzmkE5vNw7PmNf9K_Zn5wNGBOMo9Y33-Tb105zl8q6iYEemGcSvf1czbdtv0SURJuqM8fsvyYb7iqBpZY9KvIjb0h4_OI1BSL54o6CGt7q6uncJtDOETEH63wY9zAvSBk7HE-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxkFbTL_ZDabstMtu1sSY0yFGxsZ2y4qG0n_Hna5E5X5llNG1qkkcxujNjLeGGtCxjjZ_RVH5w0DJq_6SABi4MC2bl_nGs4FrdHDJE2XzxCv00OfRMHROXB6KTcw19-u0OGvJjkYto2V4cM5nTrSOqHNoYXJkX2lkzhQ8hB-ia3KoNDMwYWMwYmaicGQA.VEADMqJzLnvUtvw8pyLrlWJjBmYZDZJqF8VEQrF1Qvk"
},
"token_type": "Bearer"
"expires_in": 3599,
"access_token": "OE--wKK2MC6jXs4aDblVLCsP4e4",
"refresh_token": "WJ8n5fM81mGdFIE6s7-xU8UiH6E",
"gcid": "a75d08dc-5535-40a7-93c3-193341b86382",
"id_token": "eyJ0eXAiOiJKV1QiLCJraWQiOiJiMDZEZXIvYndra04reFNHMVFKQ0puQ1djK0k9IiwiYWxnIjoiUlMyNTYifQ.eyJhdF9oYXNoIjoid3YzS1gtbEFheVRPVHMwdmtoNFZUdyIsInN1YiI6ImE3NWQwOGRjLTU1MzUtNDBhNy05M2MzLTE5MzM0MWI4NjM4MiIsImVtYWlsX3ZlcmlmaWVkIjoiTUFJTF9BQ1RJVkUiLCJhdWRpdFRyYWxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxDBBCOVFdBYXyNIY9ouj0yNjkHRQFM5r_YZadFIhCzrEeosN_yOAP7aEbwqBANJ64k4Bk88U0xMRhL7XxMzduwUYT_fOakgGjESf6cnP5UHpEewc857OONSw1C3HRp-OvboYNvVUd8eox5LGlhJfhlnkswHn2OHj9_cwwhRVJK0N7tno9DQeX15vIs7f2IFbOXL984OYe3ibcdQz9M6sfp5UTGmr4a6kVo8cXDDIEgQsMa8G_GVAw3L-y417RKlnbGuRoUrxCx6sv-MRkDbfKvO8t81Ou6BW4a3dHOWJTcjOy_oHO29poJxh2o1JPlK6yn6TQ",
"scope": "smacc vehicle_data perseus dlm svds openid profile vsapi remote_services authenticate_user offline_access cesim email fupo",
"Token": {
"session_id": "25e270d0-e0ac-4aa0-a626-0ce9c4fc6b48",
"expires_at": 1743297677,
{
2025-03-31 13:40:08: DEBUG: soc_i3:LP1: main0: store=
2025-03-31 13:40:08: DEBUG: soc_i3:LP1: storeFile =/var/www/html/openWB/data/i3/soc_i3_cp1.json
2025-03-31 13:40:08: DEBUG: soc_i3:LP1: DEBUGLEVEL=2
2025-03-31 13:40:06: PID: 24541: Lp1: SoC: 0 (LV1) at 158 main modules/soc_i3/main.sh
2025-03-31 13:40:06: PID: 24541: Lp1: Requesting SoC (LV1) at 139 main modules/soc_i3/main.sh
2025-03-31 13:40:06: PID: 24541: Lp1: timer = 20005 (LV2) at 115 main modules/soc_i3/main.sh
2025-03-31 13:40:05: PID: 24424: Lp2: Nothing to do yet. Incrementing timer. (LV2) at 95 main modules/soc_ovms/main.sh
2025-03-31 13:40:00: PID: 23460: Lp2: SoC: 63 (LV2) at 78 getAndWriteSoc /var/www/html/openWB/modules/soc_ovms/main.sh
2025-03-31 13:40:00 DEBUG:soc_ovms:Lp2 cleanup_token: skip active token: 9a6ca7edbd652d0668fb1fcca1f25da2cdb22d3311802f6e02b954b74d7f6a25
]
}
Das habe ich dann auch ständig in der log Datei gefunden:
Traceback (most recent call last):
SoC calculation failed
2025-03-31 13:15:24: PID: 1796: Lp1: SoC: 0 (LV1) at 135 main modules/soc_i3/main.sh
2025-03-31 13:15:24: PID: 1796: Lp1: timer = 1 (LV2) at 115 main modules/soc_i3/main.sh
2025-03-31 13:15:24: PID: 1673: Lp2: Nothing to do yet. Incrementing timer. (LV2) at 95 main modules/soc_ovms/main.sh
FileNotFoundError: [Errno 2] No such file or directory: '/var/www/html/openWB/ramdisk/soc_i3_lp1_state'
with open(statefile, 'r') as f:
File "/var/www/html/openWB/modules/soc_i3/manual.py", line 23, in main
main()
File "/var/www/html/openWB/modules/soc_i3/manual.py", line 40, in <module>