HA (Home Assistant) Integration Möglichkeiten?

Das ist mit der App und einem OBD dongle möglich

GitHub - stevelea/xpcardata: Car Data Collection and foward to MQTT and ABRP, kriegst aber nur die Daten natürlich wenn das handy mit der App im Auto ist.

Kannst ein 2. Handy vermutlich dauerhaft im auto liegen lassen, weiß aber nicht ob OBD irgend wann den Strom kappt zum dognle wenn man abschließt

1 „Gefällt mir“

Die Idee mit dem Zweithandy klingt wirklich super. Ich mache mir nur ein wenig Gedanken, ob ein dauerhaft eingesteckter OBD-Adapter die Fahrzeugbatterie belasten könnte oder ob es zu Verbindungsabbrüchen kommt. Aktuell warte ich noch auf die Auslieferung meines G6, nutze aber die Zeit, um den perfekten Plan für die Home Assistant Einbindung zu schmieden. Sobald das Auto da ist, werde ich wohl direkt mit dem Testen beginnen

Wir haben gerade unsere HomeAssistant Integration fertiggestellt. Da wir uns besonders auf den Diebstahlschutz konzentrieren, verwenden wir bewusst kein OBD. Deshalb ist natürlich kein SOC auslesbar. Aber Positionsbestimmung, Spannungsüberwachung der 12V Batterie, Erschütterungserkennung etc in Verbindung mit den Automationen in HomeAssistant läuft (z.B. öffne Einfahrtstor wenn Home Bereich betreten; entriegelt die Wallbox wenn Fahrzeug Zuhause).

1 „Gefällt mir“

Interresant wäre noch der km stand wenn es möglich wäre.

Worauf basiert die Integration, wie kriegt es die Daten?

Es integriert unsere Ortungsgeräte die per Mobilfunk (NB-IoT, Cat.M1) und LoRaWAN die Daten weltweit übermitteln. KM Stand errechnen wir auf Basis der gefahrenen Strecken bei uns im Portal. https://shop.autoskope.de/

1 „Gefällt mir“

Ein interessanter Ansatz, aber für Privatpersonen decken sich leider die Kosten & aufwand nicht mit dem Nutzen . Für Dienstfahrzeuge kann das eine gute Lösung sein. :+1:

Lohnt sich ab dem Moment wo du es auch als Diebstahlschutz einsetzen möchtest. Die Hälfte unserer Kunden sind Privatkunden, meist mit wertvollen Oldtimern, Reisemobilen oder Fahrzeuge, die du ohne separate Ortungslösung schwer Vollkaskoversichert bekommst. Aber klar, nur als Spielerei um die Position in HomeAssistant zu sehen gibt es sicherlich billigere Möglichkeit wenn man etwas selber bauen möchte :slight_smile:

Ja, dafür kann es Sinn machen, stimmt. Beim neuen Auto wie Xpeng, welches eigentlich alle Daten in der App hat, sollte es auch möglich sein, dieselben Daten auch von anderen Geräten abrufbar zu machen (Stichwort EU Data Act).

Ich stimme dir zu. Eigentlich sollte es eine direkte HACS-Integration geben, die alle Entities aus der Xpeng-App nativ übernimmt. Drittanbieter-Apps gegenüber bin ich eher skeptisch, vor allem wegen potenzieller Verbindungsabbrüche über OBD oder der Sorge, dass die 12V-Batterie belastet wird. Am Ende möchte man eine saubere und zuverlässige Lösung für sein neues Auto, ohne ständig basteln zu müssen.

Ich hatte hier schon mal den OBD Dongle weiter oben beschrieben, der die Daten per MQTT weiter leitet. Der ist immer dran und zieht die Batterie auch nicht leer …

Welche OBD dongle verwendest du?

Fang mal hier an zu lesen, da hatte ich schon was zu geschrieben…

1 „Gefällt mir“

Michael Schmidt von Breaking Elektro News hatte die Petition zur Datenfreigabe heute noch mal in seinem YT Kanal. Vielleicht mag ja der Eine oder Andere noch unterschreiben!

3 „Gefällt mir“

Hab eine neue Antwort vom Support, die brauchen in der Regel ca. 2 Wochen bis die Antworten vom Data Protection Team.

Kurzfassung :

API kommt frühestens in H2/2026, weil sie noch prüfen, wie sie den EU Data Act umsetzen. Historische Daten werden strikt nach 30 Tagen gelöscht (DSGVO). GPS rücken sie nicht raus (angeblich nicht dauerhaft in der Cloud).

Vollständig antwort:

Dear Igor,

Thank you for your email. We have reviewed your specific requests and provide our response below.

1. Your Specific Requests

1.1 Request for Full Historical Data Since Delivery

Please note that these data is stored for a limited period of 30 days. Consequently, we are technically unable to retrieve or provide any data 30 days ago. This limitation is inherent to our data retention policy, which complies with applicable data protection laws such as EU GDPR.

1.2 Request for GPS Data

Please note that your vehicle’s GPS data is not continuously uploaded to our cloud services. Location data is typically recorded and transmitted only when triggered by specific functions, such as the use of the navigation service. Upon reviewing our records, we identified that the „GPS data“ was listed incorrectly in the original 【DATA_CATELOGUE】 provided to you. We sincerely apologize for any confusion it may have caused. Consequently, this means we are unable to fulfil this request.

1.3 Request for API Access

The feasibility of an API solution is still under internal assessment. Should we proceed, we currently anticipate that it could be available in the second half of this year. Please note that the final implementation of this feature will depend on the ultimate measures we adopt to comply with the evolving requirements and interpretations of the EU Data Act. We will keep you informed if the API solution is available.

2. Interim Solution

While we work towards a long-term solution, we want to assist you in accessing your data to the extent possible. We kindly propose that data retrieval be initiated upon your request via email. Given that data is retained for only 30 days, we suggest a monthly request could ease your burden in some ways.

Please note that there may be a gap of a few days among your request, data extraction and data provision date, and the same applies to data provided.

Thank you for your continued cooperation and support. Should you have further questions, please do not hesitate to contact us.

Sincerely,

XPENG Data Protection Team

1 „Gefällt mir“

Hab jetzt die Anfrage über google automatisiert und sende die 2x im Monat bis es eine Api gibt, hier ein Code für Google Scripts (kann jeder nutzen der gmail nutzt)

function sendeXpengDatenAnfrage() {

// E-Mail Adresse von XPENG

var empfaenger = „data-privacy@xiaopeng.com“;

// Betreff der E-Mail (mit deiner VIN)

var betreff = „Request for monthly Telematics Data - VIN L1#########“;

// Text der E-Mail

var text = „Dear XPENG Data Protection Team,\n\n“ +

         "As per our recent correspondence and the agreed interim solution, I am hereby requesting my vehicle telematics data for the last 30 days.\\n\\n" +

         "VIN: L1#############\\n\\n" +

         "Please provide the data in the Excel/CSV format as previously done.\\n\\n" +

         "Thank you and best regards,\\n" +

         "Igor";

// E-Mail über dein Gmail-Konto senden

GmailApp.sendEmail(empfaenger, betreff, text);

}

2 „Gefällt mir“

Hi, I’m Steve and I’ve revived Roger Asplen’s evlink project as www.evconduit.com to connect your XPENG with Home Assistant (HA).

I had talks with Enode and managed to get 100 vehicles registered. Beyond that, prices start at €3,000 per month – that’s beyond my means.

The bad news is that all these seats are already taken. However, there are two other options available:

  1. ABRP API – I have an API key with ABRP. In combination with your token, this allows the telemetry data that ABRP receives via Enode / OBDII / or Android Auto to be integrated into HA.

  2. Convince your friends with Production ENODE accounts to share the free capacity of 4 vehicles with you in the free plan.

Sorry if this doesn’t make sense – I translated it from English using AI. You can find the documentation on the website.

3 „Gefällt mir“

The ODB shuts off, i run an AI box and use xcombo to keep 12v on when which does keep ODB powered.

Thank you and welcome here. I’m already using your fork :smiley: (also I have an open merge for a small adjustment for HA regarding call limits).

The only thing missing on ENODES’s side is the odometer right now. I don’t want to use an OBD dongle and power it 24/7 or place an extra AI Box in a car that should have more “AI” than an AI Box. :smiley: :smiley:

1 „Gefällt mir“