Volkswagen ID Forum banner

SmartCar HomeAssistant Integration for North America

3 reading
611 views 8 replies 4 participants last post by  p__x  
#1 · (Edited)
Just an FYI

One can leverage HACS and smartcar.com to integrate USA (presumably all NA ID4s) to Home Assistant.


1. Get a Smartcar account + app credentials
  1. Go to https://dashboard.smartcar.com and sign up (free developer account is enough).
  2. Create a new app. It will give you a Client ID and Client Secret.
  3. Set your Redirect URI to something like:
[/QUOTE]


2. Add the Smartcar custom integration in Home Assistant
  • If you haven’t already, install the Smartcar integration via HACS (custom component).
  • Restart HA after installing.

3. Configure it in HA

  1. In Settings → Devices & Services → Integrations, click Add Integration.
  2. Search for Smartcar.
  3. Enter your Client ID and Client Secret (from step 1).
    • If you stored them in secrets.yaml, reference them like:
smartcar:
client_id: !secret smartcar_client_id
client_secret: !secret smartcar_client_secret
  1. It’ll pop open the Smartcar OAuth login flow → pick Volkswagen.
  2. Sign in with your VW ID (the same account you use for the VW app in the US).
  3. Grant permissions (charging status, odometer, location, etc.).


4. Verify the ID.4 shows up
  • After auth, Smartcar tells HA what vehicle(s) your account has access to.
  • In HA you should see a new vehicle entity like sensor.id4_battery, sensor.id4_location, etc.

OBVIOUS DISCLAIMER: TRY IT AT YOUR OWN RISK
 
#4 ·
@p__x I'd like to try it myself. Thanks for the tip. I hadn't heard of smartcar.com until your post and after setting up an account it's not obvious on how to add my car. From what I see, before even setting up a vehicle, it asks to fill out fields under "Configuration your application"...as in I've built a application that will integrate with smartcar.com. Any tips on how to setup an ID.4 with the service?
 
#7 ·
I think the major downside with SmartCar is the limited number of API calls with a free developer account (500 calls / month which is roughly 15 calls per day, so maybe once every two hours). It's much better than nothing though.

Another path to get some data is to use the CarInfo APIs through the HomeAsisstant CarPlay/Android - I'm tinkering with that right now.

The golden path is to milk the CarNet stuff directly. Hence, is anyone working on a direct API implementation emulating the CarNet app?