Closed sco0ts closed 1 year ago
I don't know without more information. Please enable debug and show me some logs.
This is a mild hybrid, right?
Yes, mild hybrid.
I turned on API debug mode in the Volvo2Mqtt config. When I check the log tab, it looks truncated. Is there another location that has the full log?
Installed log viewer addon. will check that first.
If it's mild hybrid, this may be related to #37. Please check which resources are working for you here: https://api.volvocars.com/extended-vehicle/v1/vehicles/{vin}/resources
.
If odometer and the other missing sensors are working here, I have to add some more logic for the mild hybrids.
I am real novice in all this. So I went into developer.volvocars.com using my account and VCC, was able to generate an accessToken for EXTENDED VEHICLE API.
When I used their sandbox, https://api.volvocars.com/extended-vehicle/v1/vehicles does show my VIN. When I https://api.volvocars.com/extended-vehicle/v1/vehicles/(xxxxHidingMyVinxxx)/resources, I get response.
{ "resources": [] }
This looks not good. Without resources from the extended API, we can't get any data from the extended API. Please enable debug and send me the full startup log.
I turned on API debug mode in the Volvo2Mqtt config. When I check the log tab, it looks truncated. Is there another location that has the full log?
This is the log without API debug enabled
EDIT: Shorten thread
Okay, better than nothing. With debug enabled the log is truncated?
I think there is nothing I can do for you unfortunately. As some sensors work, some do not. There are no resources we can add from the extended API. You should contact Volvo and ask for some help I think.
Location API seems to be not supported for your car...
This API is available for the following cars:
XC40 fully electric, model years between 2015 and 2021.
C40 fully electric, model year 2022.
XC60, S90, V90, V90CC and XC40, model year 2022.
Going to reach out to Volvo and see what exact endpoints my model in the US has available. Thank you for making the addon and all your assistance!
I turned on API debug mode in the Volvo2Mqtt config. When I check the log tab, it looks truncated. Is there another location that has the full log?
This is on my to-do list for the next days.
Going to reach out to Volvo and see what exact endpoints my model in the US has available. Thank you for making the addon and all your assistance!
I will close the issue now. Feel free to open a new issue if you need some help after contacting volvo!
Thank you for making the log available at '\
My log attached.
EDIT: Shorten thread volvo2mqtt.log
MAAAAN please upload a file :D This post is much to huge!
Sorry . attached above. thank you!
Thank you for making the log available at '\addons\volvo2mqtt\log'
My log as follows:
EDIT: Shorten thread
It looks like the api simply does not deliver data. Many api responses are just empty. I can't do anything for you, as the extend-api does not work at this time with volvo2mqtt.
understood. thank you for taking the time to investigate. and thank you for creating and maintaining the add on
I'm using HA for so many years. It's time to give something back to the community. If you need any advice, open a new issue!
As of v1.7.5 my 2023 XC90 Mild Hybrid B6 in the US now show a ton more sensors.
This includes all sensors I previously said were not working with the exception of Location (not important to me).
Updated to 2.10?
Updated to Volvo2Mqtt version: 1.7.5
I am missing: Sensor "Engine Status" Sensor "Odometer" Sensor "Fuel Status" Sensor "Average Fuel Consumption" Sensor "Average Speed" and Car Device Tracker shows unknown.
Is this expected with an 2023 XC90 B6, a misconfiguration, or a bug?