@rccc4356245 the v2 API doesn’t have that functionality except for Tesla.
They’re working towards a v3 API, so maybe it’ll appear eventually for that.
@rccc4356245 the v2 API doesn’t have that functionality except for Tesla.
They’re working towards a v3 API, so maybe it’ll appear eventually for that.
I contacted them. I really wanted the API to be enabled for Brazil. Portugal already has it…
Email I sent to support.
Hello,
I am a developer testing Smartcar Connect with a BYD vehicle registered in Brazil (BYD Song Plus).
The Smartcar Connect flow works correctly and BYD appears as a supported brand. The official BYD OAuth login page loads, but authentication always fails with “Incorrect email or password”, even though the same credentials work normally in the BYD Brazil mobile app.
This strongly suggests that Smartcar is currently authenticating against the European/global BYD backend, while Brazilian accounts are hosted on a different regional backend.
My question is:
Is BYD Brazil officially supported or planned to be supported by Smartcar?
I am specifically interested in read-only data (battery level) for smart home integration.
Thank you.
Unfortunately, we won’t have support on the free plan. In other words, maybe one day I’ll be able to view the car’s data in Home Assistant.
I’m trying to set mine up, and I’ve got my vehicle connected in the SmartCar Dashboard. Every time I try and bring it back to HAAS, I get an error:
I checked the logs, and I’m seeing:
Logger: homeassistant.helpers.config_entry_oauth2_flow
Source: helpers/config_entry_oauth2_flow.py:455
First occurred: 1:29:20 PM (5 occurrences)
Last logged: 1:45:17 PM
Error resolving OAuth token: 401, message=‘Unauthorized’, url='https://auth.smartcar.com/oauth/token
I copied the Client ID and Copy Secret from the dashboard, so I’m not sure what I’m doing wrong here.
Okay, I had to start over and redo the Oauth secret key, then reenter the keys in the integration. I got it working… sort of.
The integration showed up, but my entries aren’t updating, and this morning they show unavailable. Polling is enabled in system options. Do I need to do anything else to get it to update?
You’ll probably want to open an issue over on GitHub. But I’ll probably quickly ask for more info. Debug logs are most helpful (check out the FAQ). Also, share your vehicle type and which sensors you’re having trouble with.
Hopefully we can get it resolved.
Can you tell me what card you are using, or maybe provide the YAML if it is custom? Also, what theme are you using to make it look like LCARS (link please)?
Hi.
I’ve managed to setup the Smartcar integration into Home Assistant and it works perfectly with my Range Rover. However we also have a Jaguar iPace EV and no matter what I try, all the data with the exception of door locks show continually as being unavailable. I know that the link is working as it updates when the doors are locked or unlocked on the car, but nothing else seems to sync.
On the smartcar dashboard all the data points for the Jaguar are showing correctly - so it must be the link between HA and the dashboard - but I can’t see how or where I’m going wrong! Anyone have any ideas? Thanks so much.
Check out the FAQ and if that doesn’t move things forward, open an issue on GitHub and we’ll try to work through it.
I’ve got two cars but see there’s a single user limit on the integration
How do I add two cars for the same user. On the dashboard they are currently under different user iD’s
It should work to just set up the integration again.
But a question: why do you have multiple users? That’s really a feature for applications that are servicing multiple cars/users & not this HA type setup where you could just add both cars under a single user.
Interesting! I’ve been meaning to find a new integration after BMW cut off Home Assistant access for North America (and maybe other regions?). There is a working BMW integration via CarData, but it only works in Europe. I wrote to BMW USA and they said they have no plans to offer the European CarData features here.
Do they let you use webhooks to receive updates? If they do, that’d mean we could implement instant updates without having to poll.
Smartcar in general does, but you need to check to see if it all works (well) for your make/model. Sometimes it’s slow to update some cars.
Slow to update is fine. I know that for our cars (BMW iX and i4), they don’t check in very often when idle.
It’s fine for my use case. I used to have an automation that’d send a notification at night if the car was low on battery, reminding me to plug it in. I just want to get that back. I’ll give it a go!
EDIT: I set up the Home Assistant integration, but the CAPTCHA on Smartcar’s OAuth login page is not letting me in
I’ll try again tomorrow.
I get the same error on three different networks with different devices, so I don’t think it’s actually an issue with my network ![]()
I heard back from Smartcar and web based login is currently unavailable for BMW accounts outside the EU, which is why the CAPTCHA isn’t working properly. They said it’s supported in their Android and iOS SDKs, but I’m not sure if I could use those to obtain an access token that I could then use with Home Assistant. Need to do more research.
OK I figured out how to get BMW USA auth working, even though Smartcar say it only works in their mobile SDKs, by looking at the SDK code to figure out what it’s doing. They essentially use the regular MyBMW login flow and take its access token at the end (rather than letting it redirect to the MyBMW site), which is doable in a browser too, with some hacks in the browser devtools console. I can post instructions later ![]()
I actually wonder if the authentication approach they’re taking would work for my own code too, or if they’re doing something special on their server - either partnered with BMW, or doing something to avoid its detection of third-party apps. They’re using the same client ID as BMW’s official app (54394a4b-b6c1-45fe-b7b2-8fd3aa9253aa) so something tells me they don’t actually have a partnership with BMW and have just figured out how to unofficially use their API ![]()
With BMW EVs at least, you get very little data on the Smartcar free plan - essentially just state of charge (percentage) and whether the car is locked or not. Their site advertises a $1.99/month plan, but that only adds the “traveled distance” signal. You need the $2.99/month to get:
And you need the $3.99/month plan (or the $2.99/month plan plus $0.25 per extra signal) to get charging signals: Current amperage, max amperage, limits, charge rate, historical charging records, charger type, energy added, estimated time to completion, voltage, wattage.