Salut @vercors ,
Oui sur la premiere voiture ca fonctionne.
J’ai mis a jour le plugin vers la derniere version de ce jour (utilisation VIN) mais c’est pareil, nada sur la deuxieme voiture.
Les commandes infos arrivent sur les 2 voitures mais les commandes actions ne passent pas sur la deuxieme (ma Y).
http.errror logs:
0196|[Tue Feb 20 10:33:29.468890 2024] [php7:notice] [pid 14644] [client 192.168.1.124:65109] teslapi:refreshAccessToken() STARTING..., referer: http://192.168.1.16/index.php?v=d&m=tesla&p=tesla
0197|[Tue Feb 20 10:33:29.469639 2024] [php7:notice] [pid 14644] [client 192.168.1.124:65109] teslapi:refresh_token(#1) starting..., referer: http://192.168.1.16/index.php?v=d&m=tesla&p=tesla
0198|[Tue Feb 20 10:33:30.221079 2024] [php7:notice] [pid 14644] [client 192.168.1.124:65109] teslapi:refresh_token(#1) success., referer: http://192.168.1.16/index.php?v=d&m=tesla&p=tesla
0199|[Tue Feb 20 10:33:30.221134 2024] [php7:notice] [pid 14644] [client 192.168.1.124:65109] teslapi:refreshAccessToken() SUCCESS..., referer: http://192.168.1.16/index.php?v=d&m=tesla&p=tesla
0200|[Tue Feb 20 10:34:17.145622 2024] [php7:notice] [pid 29011] [client 192.168.1.124:65175] tesla:getVehicleData() ---- no data, referer: http://192.168.1.16/index.php?v=d&p=plugin&id=tesla
0201|[Tue Feb 20 10:34:17.147554 2024] [php7:notice] [pid 29011] [client 192.168.1.124:65175] tesla:setState(nodata) ---- Received nodata current state:asleep, referer: http://192.168.1.16/index.php?v=d&p=plugin&id=tesla
0202|[Tue Feb 20 10:34:17.150450 2024] [php7:notice] [pid 29011] [client 192.168.1.124:65175] tesla:getTrackingData() ---- noDATA , referer: http://192.168.1.16/index.php?v=d&p=plugin&id=tesla
0203|[Tue Feb 20 10:34:17.352737 2024] [php7:notice] [pid 29011] [client 192.168.1.124:65175] tesla:getVehicleData() ---- no data, referer: http://192.168.1.16/index.php?v=d&p=plugin&id=tesla
0204|[Tue Feb 20 10:34:17.354665 2024] [php7:notice] [pid 29011] [client 192.168.1.124:65175] tesla:setState(nodata) ---- Received nodata current state:asleep, referer: http://192.168.1.16/index.php?v=d&p=plugin&id=tesla
0205|[Tue Feb 20 10:34:17.357459 2024] [php7:notice] [pid 29011] [client 192.168.1.124:65175] tesla:getTrackingData() ---- noDATA , referer: http://192.168.1.16/index.php?v=d&p=plugin&id=tesla
0206|[Tue Feb 20 10:34:40.954928 2024] [php7:notice] [pid 14645] [client 192.168.1.124:65213] tesla:getVehicleData() ---- no data, referer: http://192.168.1.16/index.php?v=d&m=tesla&p=tesla&id=339
0207|[Tue Feb 20 10:34:53.954783 2024] [php7:notice] [pid 31120] [client 192.168.1.124:65220] tesla:getVehicleData() ---- no data, referer: http://192.168.1.16/index.php?v=d&m=tesla&p=tesla&id=340
0208|[Tue Feb 20 10:35:01.210821 2024] [php7:notice] [pid 14644] [client 192.168.1.124:65225] tesla:getVehicleData() ---- no data, referer: http://192.168.1.16/index.php?v=d&m=tesla&p=tesla&id=339
0209|[Tue Feb 20 10:35:03.819731 2024] [php7:notice] [pid 2267] [client 192.168.1.124:65240] tesla:getVehicleData() ---- no data, referer: http://192.168.1.16/index.php?v=d&m=tesla&p=tesla&id=339
0210|[Tue Feb 20 10:35:09.655786 2024] [php7:notice] [pid 2267] [client 192.168.1.124:65240] tesla:getVehicleData() ---- no data, referer: http://192.168.1.16/index.php?v=d&m=tesla&p=tesla&id=340
0211|[Tue Feb 20 22:33:40.480273 2024] [php7:notice] [pid 32605] [client 192.168.1.176:59605] tesla:getVehicleData() ---- no data, referer: http://192.168.1.16/index.php?v=d&m=tesla&p=tesla
0212|[Tue Feb 20 22:33:40.480424 2024] [php7:notice] [pid 32605] [client 192.168.1.176:59605] tesla:setState(nodata) ---- Received nodata current state:offline, referer: http://192.168.1.16/index.php?v=d&m=tesla&p=tesla
0213|[Tue Feb 20 22:33:40.482042 2024] [php7:notice] [pid 32605] [client 192.168.1.176:59605] tesla:getTrackingData() ---- noDATA , referer: http://192.168.1.16/index.php?v=d&m=tesla&p=tesla
0214|[Tue Feb 20 22:33:40.704410 2024] [php7:notice] [pid 32605] [client 192.168.1.176:59605] tesla:getVehicleData() ---- no data, referer: http://192.168.1.16/index.php?v=d&m=tesla&p=tesla
0215|[Tue Feb 20 22:33:40.706314 2024] [php7:notice] [pid 32605] [client 192.168.1.176:59605] tesla:setState(nodata) ---- Received nodata current state:asleep, referer: http://192.168.1.16/index.php?v=d&m=tesla&p=tesla
0216|[Tue Feb 20 22:33:40.709095 2024] [php7:notice] [pid 32605] [client 192.168.1.176:59605] tesla:getTrackingData() ---- noDATA , referer: http://192.168.1.16/index.php?v=d&m=tesla&p=tesla
0217|[Tue Feb 20 22:33:47.462745 2024] [php7:notice] [pid 14645] [client 192.168.1.176:59556] tesla:getVehicleData() ---- no data, referer: http://192.168.1.16/index.php?v=d&m=tesla&p=tesla&id=339
0218|[Tue Feb 20 22:33:53.766511 2024] [php7:notice] [pid 14645] [client 192.168.1.176:59556] tesla:getVehicleData() ---- no data, referer: http://192.168.1.16/index.php?v=d&m=tesla&p=tesla&id=340
0219|[Tue Feb 20 22:33:56.825333 2024] [php7:notice] [pid 14645] [client 192.168.1.176:59556] tesla:getVehicleData() ---- no data, referer: http://192.168.1.16/index.php?v=d&m=tesla&p=tesla&id=340
Et toujours ce message dans le log de Debug du plugin:
[2024-02-20 22:35:42]DEBUG : 'TMY' Exécution de la commande 'klaxon_onoff(Array ( [select] => 2 [wakeUpIfNeeded] => 1 [user_login] => Sebastien [user_id] => 2 ) )'
[2024-02-20 22:35:43]ERROR : 'TMY' Impossible d'actionner le klaxon
[2024-02-20 22:36:03]WARNING : teslapi:sendRequest(GET https://fleet-api.prd.eu.vn.cloud.tesla.com/api/1/vehicles/ABC123/vehicle_data?endpoints=charge_state%3Bclimate_state%3Bclosures_state%3Bdrive_state%3Bgui_settings%3Blocation_data%3Bvehicle_config%3Bvehicle_state%3Bvehicle_data_combo(Array ( [endpoints] => charge_state;climate_state;closures_state;drive_state;gui_settings;location_data;vehicle_config;vehicle_state;vehicle_data_combo ) )) --> 408, 0,
[2024-02-20 22:36:03]WARNING : teslapi:sendRequest(GET https://fleet-api.prd.eu.vn.cloud.tesla.com/api/1/vehicles/ABC123/vehicle_data?endpoints=charge_state%3Bclimate_state%3Bclosures_state%3Bdrive_state%3Bgui_settings%3Blocation_data%3Bvehicle_config%3Bvehicle_state%3Bvehicle_data_combo(Array ( [endpoints] => charge_state;climate_state;closures_state;drive_state;gui_settings;location_data;vehicle_config;vehicle_state;vehicle_data_combo ) )) --> Array ( [response] => [error] => {"error": "timeout"} [error_description] => )
[2024-02-20 22:36:03]WARNING : [TM3] Error 408 - The vehicle was not 'online' when the request was made: '{"error": "timeout"}'
[2024-02-20 22:36:03]DEBUG : Set state "nodata"
[2024-02-20 22:36:13]WARNING : teslapi:sendRequest(GET https://fleet-api.prd.eu.vn.cloud.tesla.com/api/1/vehicles/DEF456/vehicle_data?endpoints=charge_state%3Bclimate_state%3Bclosures_state%3Bdrive_state%3Bgui_settings%3Blocation_data%3Bvehicle_config%3Bvehicle_state%3Bvehicle_data_combo(Array ( [endpoints] => charge_state;climate_state;closures_state;drive_state;gui_settings;location_data;vehicle_config;vehicle_state;vehicle_data_combo ) )) --> 408, 0,
[2024-02-20 22:36:13]WARNING : teslapi:sendRequest(GET https://fleet-api.prd.eu.vn.cloud.tesla.com/api/1/vehicles/DEF456/vehicle_data?endpoints=charge_state%3Bclimate_state%3Bclosures_state%3Bdrive_state%3Bgui_settings%3Blocation_data%3Bvehicle_config%3Bvehicle_state%3Bvehicle_data_combo(Array ( [endpoints] => charge_state;climate_state;closures_state;drive_state;gui_settings;location_data;vehicle_config;vehicle_state;vehicle_data_combo ) )) --> Array ( [response] => [error] => {"error": "timeout"} [error_description] => )
[2024-02-20 22:36:13]WARNING : [TMY] Error 408 - The vehicle was not 'online' when the request was made: '{"error": "timeout"}'
[2024-02-20 22:36:13]DEBUG : Set state "nodata"
[2024-02-20 22:36:13]DEBUG : Stop offline
[2024-02-20 22:36:13]DEBUG : Set state "online"
[2024-02-20 22:36:13]DEBUG : Set mode "NORMAL"
[2024-02-20 22:36:13]INFO : 'TM3' Suivi de l'autonomie en mode NORMAL
[2024-02-20 22:36:13]DEBUG : Set state "online"
[2024-02-20 22:36:13]DEBUG : Start offline
[2024-02-20 22:36:13]DEBUG : Set state "-"
Aussi concernant les infos de la Y, la tuile indique :
Le niveau de batterie est juste … mais la voiture n’est pas garee depuis 6 jours!
Tu souhaites un access a mon Jeedom ? (C’est un jeedom de dev / test …)
Sebastien