Volvo2Mqtt: Connect your AAOS Volvo 🚙

Hello @ivanfm , can you share more details? Thank you in advance!

Hello Eveyone,
I am facing the famous problem with the VCCAPIKEY! I guess I was born on the wrong region?!

WARNING: VCCAPIKEY <code here> isn't working! Statuscode 404 Message: { "statusCode": 404, "message": "Resource not found" }
WARNING: No working VCCAPIKEY found, waiting 10 minutes. Then trying again!

It was mentioned in this chat that this API should be able to work anywhere in the world, but the Volvo documentation says:

We are currently working in support in the US and APAC regions.

So, I just wanted to confirm if this is true or if anyone from a region not listed here, was able to make this API work.

Thank you in advance! :melting_face:

@marcao88 here some info and the links in Portuguese : Aplicativo Car Stats Viewer para Android Automotive - Fórum Veiculos e Mobilidade Elétrica

Great code, thanks for providing it.
It works with all entities of my new Volvo XC90 (2025) T8 AWD [Plug-in Hybrid].
Location: Germany

1 Like

Great project! Not tested yet, due to security concerns to use car integration in HomeAssistnat. With this addon, the engine cannot be started, right? Is it possible to set a individual PIN or biometric data to open/close the car? Or is there a separate addon without this function? I would like to have all sensors and see it on the tablet, but do not want that someone open the car, e.g. via my tablet in the kitchen. Many thanks!

Volvo seems to have updated the API to support the EX30. Tonight however the server seems to be spotty.

Sorry to hijack the thread a little, but for those who are frustrated by the API being region locked, I thought you would like to know that the latest version of HA for AAOS will let you get the battery level and charger connectivity status at least. Not as good as this, but better than nothing!

Sorry as well to fork this thread a bit, but I have been using the Volvoaaos integration from fars-fede-fire for some time now.
Was working great but suddenly stopped a few days ago. I wanted to delete and reload to give it a try, but the connection is asking for the VCC-API-KEY. I had managed to find this in the past but do not remember where I got this.
Any idea?

Where can I find some info on this please Chris? Can’t see any entities in my instance of HA in my Volvo XC40.

log in then go to this link

Super handy! Thanks for posting.

Hi,
I’m using an external MQTT broker and I enter the IP and port of the broker.
This is accepted and the protocol shows```
Mqtt update done. Next run in 300 seconds.
But I see no data going to the broker (use MQTT-Explorer), just the availability=offline

now it is working!! :slight_smile:

Yes, it’s working for me (at least partially) in North America!

1 Like

Awesome! Thank you!

My C40 is now working in North America!!!

Log to show supported features:
Oct 25 15:16:38 volvo2mqtt [1] - INFO: Using VCCAPIKEY: censored
Oct 25 15:16:38 volvo2mqtt [1] - INFO: Vin: [‘censored’] found!
Oct 25 15:16:38 volvo2mqtt [1] - INFO: Success! Battery Charge Level is supported by your vehicle.
Oct 25 15:16:38 volvo2mqtt [1] - INFO: Success! Battery Capacity is supported by your vehicle.
Oct 25 15:16:38 volvo2mqtt [1] - INFO: Success! Electric Range is supported by your vehicle.
Oct 25 15:16:38 volvo2mqtt [1] - INFO: Success! Estimated Charging Time is supported by your vehicle.
Oct 25 15:16:38 volvo2mqtt [1] - INFO: Success! Charging System Status is supported by your vehicle.
Oct 25 15:16:38 volvo2mqtt [1] - INFO: Success! Charging Connection Status is supported by your vehicle.
Oct 25 15:16:38 volvo2mqtt [1] - INFO: Success! Estimated Charging Finish Time is supported by your vehicle.
Oct 25 15:16:39 volvo2mqtt [1] - INFO: Success! Odometer is supported by your vehicle.
Oct 25 15:16:39 volvo2mqtt [1] - INFO: Success! Last Data Update is supported by your vehicle.
Oct 25 15:16:39 volvo2mqtt [1] - INFO: Success! Active schedules is supported by your vehicle.
Oct 25 15:16:39 volvo2mqtt [1] - INFO: Success! Window Front Left is supported by your vehicle.
Oct 25 15:16:39 volvo2mqtt [1] - INFO: Success! Window Front Right is supported by your vehicle.
Oct 25 15:16:39 volvo2mqtt [1] - INFO: Success! Window Rear Left is supported by your vehicle.
Oct 25 15:16:39 volvo2mqtt [1] - INFO: Success! Window Rear Right is supported by your vehicle.
Oct 25 15:16:39 volvo2mqtt [1] - INFO: Success! Door Front Left is supported by your vehicle.
Oct 25 15:16:39 volvo2mqtt [1] - INFO: Success! Door Front Right is supported by your vehicle.
Oct 25 15:16:39 volvo2mqtt [1] - INFO: Success! Door Rear Left is supported by your vehicle.
Oct 25 15:16:39 volvo2mqtt [1] - INFO: Success! Door Rear Right is supported by your vehicle.
Oct 25 15:16:39 volvo2mqtt [1] - INFO: Success! Tailgate is supported by your vehicle.
Oct 25 15:16:39 volvo2mqtt [1] - INFO: Success! Engine Hood is supported by your vehicle.
Oct 25 15:16:39 volvo2mqtt [1] - INFO: Success! Tank Lid is supported by your vehicle.
Oct 25 15:16:39 volvo2mqtt [1] - INFO: Success! Sunroof is supported by your vehicle.
Oct 25 15:16:39 volvo2mqtt [1] - INFO: Success! Air Conditioning is supported by your vehicle.
Oct 25 15:16:39 volvo2mqtt [1] - INFO: Success! Lock state is supported by your vehicle.
Oct 25 15:16:39 volvo2mqtt [1] - INFO: Success! Force Update Data is supported by your vehicle.
Oct 25 15:16:39 volvo2mqtt [1] - ERROR: API Call failed. Status Code: 404. Error: { “statusCode”: 404, “message”: “Resource not found” }
Oct 25 15:16:39 volvo2mqtt [1] - INFO: Failed, Location is unfortunately not supported by your vehicle.
Oct 25 15:16:39 volvo2mqtt [1] - INFO: Success! Tire Front Left is supported by your vehicle.
Oct 25 15:16:39 volvo2mqtt [1] - INFO: Success! Tire Front Right is supported by your vehicle.
Oct 25 15:16:39 volvo2mqtt [1] - INFO: Success! Tire Rear Left is supported by your vehicle.
Oct 25 15:16:39 volvo2mqtt [1] - INFO: Success! Tire Rear Right is supported by your vehicle.
Oct 25 15:16:39 volvo2mqtt [1] - INFO: Success! Engine State is supported by your vehicle.
Oct 25 15:16:39 volvo2mqtt [1] - INFO: Failed, Fuel Level is unfortunately not supported by your vehicle.
Oct 25 15:16:39 volvo2mqtt [1] - INFO: Failed, Average Fuel Consumption is unfortunately not supported by your vehicle.
Oct 25 15:16:39 volvo2mqtt [1] - INFO: Success! Average Energy Consumption is supported by your vehicle.
Oct 25 15:16:39 volvo2mqtt [1] - INFO: Failed, Distance to Empty Tank is unfortunately not supported by your vehicle.
Oct 25 15:16:39 volvo2mqtt [1] - INFO: Success! Distance to Empty Battery is supported by your vehicle.
Oct 25 15:16:39 volvo2mqtt [1] - INFO: Success! Average Speed is supported by your vehicle.
Oct 25 15:16:39 volvo2mqtt [1] - INFO: Success! Hours to Service is supported by your vehicle.
Oct 25 15:16:39 volvo2mqtt [1] - INFO: Success! Distance to Service is supported by your vehicle.
Oct 25 15:16:39 volvo2mqtt [1] - INFO: Success! Time to Service is supported by your vehicle.
Oct 25 15:16:39 volvo2mqtt [1] - INFO: Success! Service warning status is supported by your vehicle.
Oct 25 15:16:39 volvo2mqtt [1] - INFO: Success! Washer Fluid Level warning is supported by your vehicle.
Oct 25 15:16:39 volvo2mqtt [1] - INFO: Success! API Backend status is supported by your vehicle.
Oct 25 15:16:39 volvo2mqtt [1] - INFO: Success! Update Interval is supported by your vehicle.
Oct 25 15:16:39 volvo2mqtt [1] - INFO: Success! Warnings is supported by your vehicle.

1 Like

I have updated Volvo2Mqtt to 1.10.2 and restarted the integration. I have also reloaded Volvo2Mqtt and Homeassistant. But I can’t find a sensor called Volvo OTP. Should you do anything more to find it?

Hallo.

Vielleicht kann mir jemand helfen. Ich habe es unter Homeassistant eingerichtet.

WĂŒrde jedoch einen externen MQTT Broker verwenden. Hier scheitere ich. Keine Verbindung.

Was muss ich genau eingeben?

Habe die Internetadresse schon in verschiedenen Formaten eingegeben. Auch mit “”

Hi, LaurentB6928

.token is in /root/addons/volvo2mqtt/token

You can use Terminal or Filebrowser (Add-ons) to delete it.

It is not a sensor, but a service. Find it in Developer tools.

Or:
Settings, Devices & Services, Entities; Search OTP

" Paste your OTP into the text entity and press Enter"