My volkswagen integration?

It is actually quite simple. Install HACS and within HACS install the Mind mobility integration.
Configuration within Home Assistant is even easier:

mind:
  username: !secret mijnvolkswagen_username
  password: !secret mijnvolkswagen_password

If you need further help, just drop me a PM.

1 Like

Ah, clear. Thanks Patrick.

  1. I didn’t know about HACS, now I do, thanks!
  2. I don’t think I have that Mind Mobility-device installed in my car (I would be surprised if I have), didn’t know it existed

Works great!

Hey

I have a Volkswagen Commercial vehicle with connect function, and use the “Mijn Volkswagen Bedrijfswagen” APP, I tried to set up MIND, but I get this error message …

Am i missing a setting or isn’t it working with a commercial car ?

mind:
    username: [email protected]
    password: password
2020-01-29 21:20:01 ERROR (MainThread) [homeassistant.setup] Error during setup of component mind
Traceback (most recent call last): 

 File "/config/custom_components/mind/__init__.py", line 41, in setup
    hass.data[DATA_MIND] = Mind(hass, conf)
  File "/config/custom_components/mind/__init__.py", line 64, in __init__
    password=conf.get(CONF_PASSWORD), cache_ttl=conf.get(CONF_SCAN_INTERVAL))
  File "/usr/local/lib/python3.7/site-packages/mind/__init__.py", line 250, in __init__
    self._auth()
  File "/usr/local/lib/python3.7/site-packages/mind/__init__.py", line 269, in _auth
    auth=HTTPBasicAuth(self._client_id, self._client_secret))

I’m note sure, but I think you have invalid yaml in your configuration… There should be only two spaces in front of both username and password. I think because of that the integration doesn’t receive your credentials.

This could be helpful for people using the mind integration. Lovelace cards. Just press the + icon and paste a block of code. Replace {LICENSEPLATE} with your lower case license plate without the minus.
I have also included a preview of the end result.
Lastly, as a reference I would like to link back to the thread of the author of the mind integration:

#photo with mileage
entity: sensor.{LICENSEPLATE}_mileage
image: /local/images/golf.jpg
name: Kilometerstand
type: picture-entity
aspect_ratio: 50%

#map showing the current location of your vehicle
aspect_ratio: 50%
default_zoom: 14
entities:
  - device_tracker.{LICENSEPLATE}
type: map

#fuel meter
entity: sensor.{LICENSEPLATE}_fuel_left
max: 50
min: 0
name: Brandstof
severity:
  green: 20
  red: 5
  yellow: 10
theme: default
type: gauge

#a few sensors
entities:
  - entity: sensor.{LICENSEPLATE}_mileage_left
    name: actieradius
  - entity: binary_sensor.{LICENSEPLATE}_ignition
    name: contact
  - entity: binary_sensor.{LICENSEPLATE}_parking_brake
    name: handrem
  - entity: sensor.{LICENSEPLATE}_battery
    name: accu
  - entity: binary_sensor.{LICENSEPLATE}_locked
    name: vergendeling
type: glance

yes, when I saw your message I immediately thought of it …

but removing the space did not help, it does not work unfortunately

I do not have any
client_id:
client_secret

be in the configuration.yaml …

I also have an error message now

Invalid config
The following integrations and platforms could not be set up:

mind
Please check your config.


I will look again tomorrow

Oh, now I see you have a commercial VW vehicle…
Mine is a consumer type Golf. I am not sure how to proceed. I see th Github repo mentions stuff about a client_id.

For the Mijn Volkswagen Bedrijfswagen I think the following should work:

  client_id: '4016d1e9c62141208dedfee2f95114d0',
  client_secret: 'C2f1FEffaB944cd8Aa34aEa3F4c7D98A'

Please let me know if this works so I could report these back to @Bram_Kragten

1 Like

And for Audi Car Assistant it should be this, @Bram_Kragten

  client_id: '7af00aec25e041a7a458f93803b96f67',
  client_secret: 'D837b68f8BA74373bCFE09e66207a82d'

Added those to the readme of the repo. Thanks.

YEAH!!!

It is working!!

Thank you for the input!

I see several sensors named by the licence plate!

@Bram_Kragten the info of @pathia works for a VW Caddy !

1 Like

is any car compatible which is offering car net on the car navigation screen?

If you are able to use the Dutch mijn volkswagen (or likewise apps for the other pon brands) then you should be able to use the integration.

i would like to change the value-text-output of the handbrake. it now says Veilig (safe) but I would prefer Actief (active) or Inactief (inactive).

Since the handbrake is a binary_sensor of the “safety” class, “false” would mean that the handbrake is engaged.

i’ve found the following code, but whatever i fill in at the ***, the text in the UI changes to “off”.
what am i doing wrong here…

binary_sensor:
  - platform: template
    sensors:
     **Licenceplate**_parking_brake:
      entity_id: binary_sensor.**Licenceplate**_parking_brake
      value_template:> 
        {% if is_state('binary_sensor.**Licenceplate**_parking_brake', '***') %}
          Actief
        {% else %}
          Inactief
        {% endif %}

FYI: I received a message from PON saying that the Mijn Volkswagen app will be unusable starting December 19th.
I’m pretty sure this will render the Mind integration useless somewhere around that date.

I cannot find the Mind integration. I just installed HACS and HACS looks to be up and running. I see:

Home Assistant Community Store
No repositories :confused:

No downloaded repositories matching “Mind” found in this section.
Try searching for something else!

At the moment it still works for me. But unsure how long it will last. See my previous post.
The repo is at GitHub - bramkragten/mind: Add support for Mind Mobility vehicles in Home Assistant

1 Like

Today the My Volkswagen as well as the Mind integration stopped working :frowning:

This might be helpful for others as an alternative for the ‘mind’ integration unfortunately only for the location of the car.

Use this blueprint from this post to save the location to a custom device tracker when you lose BT connection with your car. This utilizes the HA companion app on your phone.

And I would suggest to use the code in this post to restore the custom device tracker’s location whenever you restart HA. (otherwise you lose the car location whenever you restart HA)