Hi
We got an new ev (XPENG g6) and I managed to get some sensor values from the car into ha . I can see some sensors for longitude and latitude but hi can I track the car on a map in ha with these values ?
Hi
We got an new ev (XPENG g6) and I managed to get some sensor values from the car into ha . I can see some sensors for longitude and latitude but hi can I track the car on a map in ha with these values ?
Hi, how did you manage it to connect your XPING into HA ?
+1
I would be interested in how you did this as well.
Here
Hi, I wonder if you had to reach out to sales to get access to enode production .
I am trying to connect as well , I can create the client-id and access token and request Linkurl: but when I try to copy linkurl to to safari and connect, I get an error 400 , with below debug output.
curl https://enode-api.production.enode.io/users/xxx/link \
-X POST \
-H "Authorization: Bearer {My_temp_Token}" \
-H "Content-Type: application/json" \
-d '{
"vendorType": "vehicle",
"scopes": [
"vehicle:read:data",
"vehicle:read:location",
"vehicle:control:charging"
],
"language": "en-US",
"redirectUri": "https://localhost:3000"
}'
Debug context
{
"status": 400,
"statusText": "Bad Request",
"internal": false,
"data": {
"message": "Required parameter link_state is invalid",
"type": "INVALID_CONFIGURATION"
}
}
ps. I am trying with production env.
Hey Did you manage to fix the link_state invalid ? Iām stuck on this as well
Has something changed at Enode?
Iām not able to get a Link session. Access token is valid (within 1 hour of creation) and JSON syntax is also verified at https://jsonlint.com/
result:
{ātypeā:āhttps://developers.enode.com/api/problems/bad-request",ātitleā:"Bad Requestā,ādetailā:āInvalid request payload JSON formatā}* Connection #0 to host enode-api.production.enode.io left intact
UPDATE:
This problem is solved⦠seemed to be a Windows Curl problem. The same command on Linux runs without error and shows the Link.
Login on XPeng shows Server not available, try again laterā¦
UPDATE2:
Login at XPENG with cellphone number instead of account.
And use the main (first created) account, other accounts donāt show the EVā¦
Hi I managed to get I working only three values doesnāt got imported, the most wanted is the Odometer? Does this work with you guys?
my account still hasnāt been changed to production
Hey folks. I stumbled upon this conversation about integration Xpeng with Home Assistant. Not being the kind of person who does things in halves I ended up creating an Enode integration. Iāve got it working with my car and can even turn on and off charging. Some of you may find this useful and for those that do would appreciate any feedback.
Great, personally Iām waiting for my enode login to go into production, Iāve made several reminders without a response. Could you make your integration available? How did you manage to get a production log for enode?
I emailed them twice. I didnāt hear a response the first time after a week so I emailed them again. I was working on the integration in the meantime and made it support their sandbox mode so I could make sure it was all working. After the second email just on a whim I logged back in and went to create another client via their dashboard and the production option was no longer greyed out.
Itās not a good idea to share my account access because it would allow me access to your vehicle information but also because the integration would include your vehicle into my instance of Home Assistant.
If I were you I would check the dashboard if you can create a production account or not. If itās been a week since your email I would then try again. Good luck.
I also made an integration for Enode.
Do you have the same issue, where the plugged in status changes between on, off and unavailable, even though the car is plugged in?
This is due to the car going in deep sleep mode, since activation of sentry mode or 12V power plug, keeps it online/plugged in.
Enode however says that it is not a general Xpeng issue. But it is not my integration, since status is the same in Enodes webinterface.
It it really annoying, since its not possible to turn on charging when status is unplugged, and hence makes it unreliable.
You can use the evlinkha custom integration to get the xpeng data in HA. You do not need a enode account for this.
From this integration you will get a sensor.xp_location which contains latitude and longitude. It will automatically appear in the map.
(odometer does not work)