Closed Elekesey closed 4 months ago
Please send debug logs from opened and closed tank lid
Hi,
On my XC40 PHEV 2023 I see for tankLid, when quering: https://api.volvocars.com/connected-vehicle/v2/vehicles/"Volvo_VIN"/doors for value "UNSPECIFIED". So obviously it is not implemented for all cars.
Regards
Hello,
Sorry for my late answer. Here is the log file with API debug enabled as an attachment.
Even when I opened tank lid, value stay set to "CLOSED".
Jun 19 19:42:00 volvo2mqtt [106] - DEBUG: Starting GET call against https://api.volvocars.com/connected-vehicle/v2/vehicles/{0}/doors
Jun 19 19:42:00 volvo2mqtt [106] - DEBUG: Response status code: 200
Jun 19 19:42:00 volvo2mqtt [106] - DEBUG: {
"data" : {
"centralLock" : {
"value" : "LOCKED",
"timestamp" : "2024-06-19T07:29:46.937Z"
},
"frontLeftDoor" : {
"value" : "CLOSED",
"timestamp" : "2024-06-19T07:29:46.937Z"
},
"frontRightDoor" : {
"value" : "CLOSED",
"timestamp" : "2024-06-19T07:29:46.937Z"
},
"rearLeftDoor" : {
"value" : "CLOSED",
"timestamp" : "2024-06-19T07:29:46.937Z"
},
"rearRightDoor" : {
"value" : "CLOSED",
"timestamp" : "2024-06-19T07:29:46.937Z"
},
"hood" : {
"value" : "CLOSED",
"timestamp" : "2024-06-19T07:29:46.937Z"
},
"tailgate" : {
"value" : "CLOSED",
"timestamp" : "2024-06-19T07:29:46.937Z"
},
"tankLid" : {
"value" : "CLOSED",
"timestamp" : "2024-06-19T07:29:46.937Z"
}
}
}
I have a new EX30, and my "tank lid" is always indicated as Open. I assume it's a buggy API, as there are so many bugs in the onboard system in the EX30.
I was wondering if it could be a broken sensor on the tank lid of the car. But can’t find enough information on web about that…
I think the whole Volvo API is very much "work-in-progress" so I guess we'll see some fixes in tve future.
I have an XC90 T8, ie a PHEV, so there are two 'tank lids', one for petrol, one for charging.
This API value works for me, but only for the petrol tank lid (which is a shame because the one I occasionally leave open is the charging one).
I would expect therefore that this sensor is specifically for the petrol tank lid in PHEV and petrol-only vehicles - full EVs won't get any info regarding their 'charging lid'.
This issue is stale because it has been open 15 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stalled for 5 days with no activity.
Describe the bug Tank Lid doesn't rise any status other than "off" on european Volvo XC40 Recharge (full EV).
To Reproduce:
Steps to reproduce the behavior:
Expected behavior:
When I open tank lid, I expect to see status of sensor switch to "on".
Version info:
Logs:
Enable the debug option and upload your logfile here.
If you are using the HA Addon the log location is
\\<Your HA Host IP>\addons\volvo2mqtt\log\volvo2mqtt.log