Volvo2Mqtt: Connect your AAOS Volvo 🚙

I really like the looks of your card, I haven’t done much on the UI side to my HA in years, but this got me a little inspired.

Mind sharing the YAML for this?

im having the same issue

Hi,

I’ve a minor issue ith the date who is in eastern langage. All others date in HA are good. This happen only with estimated charging finish time and last update

Capture d’écran 2023-08-28 081818

any ideas ?

As said in the changelog. vccapikey is now a list.
Please take a look at here: https://github.com/Dielee/volvo2mqtt/blob/23246a464fa99ec430f90d7267ec1651f2272827/src/CHANGELOG.md

Just change the babelLocale to your needs!

it was already good but still the same issue

I must set FR to have the good date (BE is not recognize)

thank’s you it’s now good

1 Like


I had a problem setting up Babel and MQTT, this works

I’m trying to add my C40 2022 into HA.
With the mqtt (installed by add-ons), I’m getting the values (battery level and so on) nicely in the logs:

image

But the entities aren’t created? Am I missing something? Should I create the entities manual?
I alread restarted my server, but didn’t help. I’m new into HA, so still learning what I need to do


I know as I am in North America I dont get any “electric” sensors. You might be region locked as well

I think his UI is multiple cards. Namely all from UI Lovelace Minimalist or the new officially supported Tile card

You don’t need to create anything manually. There should be a mqtt device after this. If not, check your mqtt broker settings.

1 Like

Thanks for your input!
I changed the broker since I’m using an external mqtt server.

image

And now everything is created!
So the C40 Recharge 2023 is working with your solution:

Maybe 1 remark. I see that I’ve got an entity rooftop. But the C40 has a glass rooftop, that can’t go open.

Next step, create a flashy dashboard. :wink:

Yeah, the rooftop entity is a bit messy. Unfortunately, this is a Volvo API issue, and there is nothing I can do at the moment.

All installed, setup and working for me with a 2024 model XC40 Recharge. Thank you for the hard work!

In Australia, so unfortunately I don’t get Range, Charging Time/status or Location:

Sep 02 20:08:04 volvo2mqtt [107] - INFO: Success! Battery Charge Level is supported by your vehicle.
Sep 02 20:08:04 volvo2mqtt [107] - INFO: Failed, Electric Range is unfortunately not supported by your vehicle.
Sep 02 20:08:04 volvo2mqtt [107] - INFO: Failed, Estimated Charging Time is unfortunately not supported by your vehicle.
Sep 02 20:08:04 volvo2mqtt [107] - INFO: Failed, Charging System Status is unfortunately not supported by your vehicle.
Sep 02 20:08:04 volvo2mqtt [107] - INFO: Failed, Charging Connection Status is unfortunately not supported by your vehicle.
Sep 02 20:08:04 volvo2mqtt [107] - INFO: Failed, Estimated Charging Finish Time is unfortunately not supported by your vehicle.
Sep 02 20:08:05 volvo2mqtt [107] - INFO: Success! Odometer is supported by your vehicle.
Sep 02 20:08:05 volvo2mqtt [107] - INFO: Success! Last Data Update is supported by your vehicle.
Sep 02 20:08:05 volvo2mqtt [107] - INFO: Success! Active schedules is supported by your vehicle.
Sep 02 20:08:05 volvo2mqtt [107] - INFO: Success! Window Front Left is supported by your vehicle.
Sep 02 20:08:05 volvo2mqtt [107] - INFO: Success! Window Front Right is supported by your vehicle.
Sep 02 20:08:05 volvo2mqtt [107] - INFO: Success! Window Rear Left is supported by your vehicle.
Sep 02 20:08:05 volvo2mqtt [107] - INFO: Success! Window Rear Right is supported by your vehicle.
Sep 02 20:08:05 volvo2mqtt [107] - INFO: Success! Door Front Left is supported by your vehicle.
Sep 02 20:08:05 volvo2mqtt [107] - INFO: Success! Door Front Right is supported by your vehicle.
Sep 02 20:08:05 volvo2mqtt [107] - INFO: Success! Door Rear Left is supported by your vehicle.
Sep 02 20:08:05 volvo2mqtt [107] - INFO: Success! Door Rear Right is supported by your vehicle.
Sep 02 20:08:05 volvo2mqtt [107] - INFO: Success! Tailgate is supported by your vehicle.
Sep 02 20:08:05 volvo2mqtt [107] - INFO: Success! Engine Hood is supported by your vehicle.
Sep 02 20:08:05 volvo2mqtt [107] - INFO: Success! Tank Lid is supported by your vehicle.
Sep 02 20:08:05 volvo2mqtt [107] - INFO: Success! Sunroof is supported by your vehicle.
Sep 02 20:08:05 volvo2mqtt [107] - INFO: Success! Air Conditioning is supported by your vehicle.
Sep 02 20:08:05 volvo2mqtt [107] - INFO: Success! Lock state is supported by your vehicle.
Sep 02 20:08:05 volvo2mqtt [107] - INFO: Success! Force Update Data is supported by your vehicle.

I can get the charging status from my Zappi charger, so that’s not a problem - but Location and Range would have been nice. I assume it’s because of where we are located.

Please help here. I can’t figure out why the configuration is invalid :

this is what i have

i leave by default mqtt because I use the Mosquitto Addon

i see that you use a phone number for the volvo username maybe is the issue there

updateInterval: 300
babelLocale: FR
TZ: Europe/Brussels
debug: false
mqtt:
  broker: auto_broker
  port: auto_port
  username: auto_user
  password: auto_password
volvoData:
  username: [email protected]
  password: mypassword
  vin: ""
  vccapikey:
    - my vccapikey
  odometerMultiplier: 1
  averageSpeedDivider: 1
  averageFuelConsumptionMultiplier: 1

If you use your phonenumber as username, please quote it like this:

volvoData:
    username: "+97334545365"
1 Like

I have an xc40 but my localization doesn’t work, could someone help me?
to be more specific I don’t have the location sensor

Mine is the same (Australia). I suspect that some regions just don’t have location enabled.

@Dielee I just wanted to thank you for making this happen! :raised_hands:

1 Like