Smartcar Integration

@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.
1 Like

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.