Volvo Cars integration

Don’t want to sound harsh, but have you read the link I shared two posts above yours? :wink:

New entities will be added in the coming weeks. That’s the process of how new features/integrations are added to HA.

3 Likes

Anyone getting the volvo authentication code emailed to them like every 20 minutes after they installed the official integration.

Yes, we have the app. I did try through the dealer, but they stared at me blankly when talking about the API and Australia not supported. He said he checked but I am doubtful he asked a meaningful question.

I will try and contact Volvo Australia directly.

Juste received the 2025.8 update and the Volvo Cars 1.5.7 update.
I then migrated to the HA native “Volvo” integration. It only misses a few entities actually (images and buttons, and the “tank lid opened” sensor), but it works flawlessly.

Congrats @thomas_be for your hard work !
:slight_smile:

1 Like

The official integration does not work with OTP code. It could be caused if you also have the HACS version installed, or the volvo2mqtt version, and are using the same API key.

If not, please provide debug logs of the HACS version. If you are using volvo2mqtt, please report it in that topic or github repo.

Thanks mate! More entities to come as explained on Official integration · thomasddn/ha-volvo-cars Wiki · GitHub :wink:

1 Like

I hope you succeed! Let us know how that works out…

1 Like

very nice devellopment. did remove the “old” integration as the new one works fine. Thanks!

1 Like

Hello,

just upgraded HA to 2025.08 but I cannot use this integration that seems really promising!

Indeed, it ask oauth stuff but my HA is not published on the wan (only available from VPN) so I cannot connect to Volvo API when I’m redirected to volvo developer side (I don’t have a oauth redirect on HA side due to not accessible from external network). Do you have some ideas?

I tried to disable the default cloud integration but seems I have the same issue

Hi!

You don’t need your HA to be accessible from the WAN. It only needs an outgoing internet connection.

Tip: Upgrade to 2025.8.2 or you will run into a re-auth bug at some point.

I just upgraded to 2025.08.2 but same issue.

Once the client id and secret are set, I’m redirected to volvo and it fail.

So you are using your own client id/secret? Have you selected all scopes and filled in the redirect url as mentioned on the documentation page?

Yes fully set like specified (Link to OAuth2 Authorize Callback – My Home Assistant), even tried to clean all my cookies but I continue to reproduce this error.


After some investigation, if I click on add, I’m redirected to volvoid.eu.volvocars.com/as/authorization.oauth2?response_type=code&client_id=dc-xxxxxxxxxxxx&redirect_uri=http%3A%2F%2Fmy_ha_instance

If I replace in the url the redirect_uri parameter by “redirect_uri=https%3A%2F%2Fmy.home-assistant.io%3A8123%redirect%2Foauth” and refresh, I’m redirected to:

If I try to click to “link account” (instance url is correct), I have this error on HA:

UPDATE: issue fixed, all goes wrong due to “my:” (to enable my redirect) was not present in configuration.yaml.

Thank you!

Volvo core:
Any idea why Charging power sensor is Unavailable?
“This entity is no longer being provided by the volvo integration. If the entity is no longer in use, delete it in settings.”
It was OK before “API Unauthorized access” issue.
All other sensors are OK.

1 Like

Can you share your yaml/resources needed to have this card? It’s really good!

EDIT: it’s done by the volvo cars custom integration available on HACS right?

Glad you’ve found the problem!

Yes, unfortunately it’s a regression of that fix. The issue has been created on GitHub and will be tracked there.

1 Like

Juste updated my HA to 2025.8.2 and my Volvo car infos are back !

Thanks Thomas !

1 Like

When I tried setting up the integration from HA on my iPhone, after authenticating with Volvo it sat at the “waiting for response” screen and did not prompt me for my API key. I had to use a desktop browser to actually set this up.

Is that a known issue?

More serious is the fact that Volvo seems to want me to reauthenticate every two or three weeks. Even with a password manager, this is a complete pain. Is there any way the integration can store the authentication details within HA and reauthenticate automatically, rather than requiring it to be done manually?

(It’s particularly problematic for me because I’m accessing HA through a Safari PWA on my desktop, and the 1Password integration completely fails to autofill — so I have to copy/paste from the password manager every time. But the gold standard would be for this to be completely automatic…)

I think it is. Someone else reported something similar, I just can’t find it back.

The integration actually does that. The access token is only valid for a couple of minutes, after which the integration/HA will trade in the refresh token for a new access token.

One benefit of oauth is that you don’t have to trust your credentials to all sorts of applications. I’m not going to change that.

The core integration version is only out since the 6th of August. So how can it let you reauthenticate every two or three weeks? Or are you talking about the HACS version?