Dielee / volvo2mqtt

Home Assistant addon for connecting AAOS Volvos
MIT License
161 stars 37 forks source link

climate control not working #226

Closed silkyclouds closed 2 months ago

silkyclouds commented 3 months ago

Describe the bug in short, the car can be locked / unlocked without any issue, but I cannot start the climate control. I'd like to figure out a way to enable the climate for my car like we can do it in the volvo app, for a specific amount of time.

I have an XC60 2022, with the option to start/stop the climate working from the official volvo app.

As winter will be back soon, I'd like to automate the warming of my car upfront leaving to work / drive my kids to school, if a specifically setup temperature is met outside.

To Reproduce:
Go to HA, find the climate button :

image

click on the climate button and see it going "on"

image

Expected behavior:
when the button is pressed, the car should start climatising (either cooling or warming the car)

Screenshots:
see above

Version info:
latest version always updated and running through add-ons

Logs:
Aug 26 12:56:07 volvo2mqtt [106] - ERROR: API Call failed. Status Code: 404. Error: { "error" : { "message" : "NOT_FOUND", "description" : "climatization-start is not supported by this vehicle" } } Aug 26 12:56:29 volvo2mqtt [106] - ERROR: API Call failed. Status Code: 404. Error: { "error" : { "message" : "NOT_FOUND", "description" : "climatization-stop is not supported by this vehicle"

Dielee commented 3 months ago

So, the API says your car don't support climate start and stop, I can't do anything for you. Sorry.

silkyclouds commented 3 months ago

Hi @Dielee and thanks for the fast answer :)

I understand the API rejects my requests, but I believe this is more something "blopcked" by volvo than a real incapacity to start the climate control.

So I was more thinking "are we sure the right API call gets triggered?" than "my car can"t do it, period" :)

As this feature Is part of the very limited set of possible actions in the volvo app (I basically can lock/unlock the car, which works through volvo2mqtt, and start climate), I'm currious why these XC 60 models wouldn't be allowed to act on it through the API.

I legitimately think that opening the car is 100% as insecure as starting the climate to be honest, it is therefore weird volvo allows the first through the API, and not the second.

github-actions[bot] commented 2 months ago

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.

github-actions[bot] commented 2 months ago

This issue was closed because it has been stalled for 5 days with no activity.