Honda e insight - Android App with ABRP integration

All Honda E related discussions
hondaero
Posts: 112
Joined: Mon Jan 30, 2023 3:51 pm

Post by hondaero »

Daniel,

Thanks ... in the meanwhile, I've contacted ABRP and checked if direct integration via their ABRP OBD Connection would be possible for Honda e (currently only Generic integration is listed).
They said YES as long as we can provide them with JSON PID file. Examples are here : https://github.com/iternio/ev-obd-pids/tree/main.

Are you aware about this type of integration ? Is it possible to generate the JSON File easily based on your existing code ?

Thanks,
~amo~
2023 Honda e Red Advance on 16" Michelin 195/55 & 205/55 tyres.

happyV
Posts: 42
Joined: Fri Aug 14, 2020 10:07 am

Post by happyV »

I absolutely wasn't able to create the JSON based on what I know about the way the software has to interact with the obd interface.
You can look in the code on which byte which information is located - maybe you can create the JSON. But - despite the fact that I have a master's degree in computer science - I'm no longer an active developer for quite some time...

Regards
hondaero
Posts: 112
Joined: Mon Jan 30, 2023 3:51 pm

Post by hondaero »

I see Daniel.

I'd like to investigate a bit on the topic.

I would appreciate any link to documentation you've used while building the app. Most important:
- codes for the command loop (e.g. SOH);
- message ids (e.g. SOH_ID);
- offsets of the responses in the message string (e.g. message.substring(198, 202)).

Thanks,
~amo~
2023 Honda e Red Advance on 16" Michelin 195/55 & 205/55 tyres.
happyV
Posts: 42
Joined: Fri Aug 14, 2020 10:07 am

Post by happyV »

I have no documentation. This is done by reverse engineering.
All the commands and how to parse the responses are open source in the code on GitHub.

Daniel
hondaero
Posts: 112
Joined: Mon Jan 30, 2023 3:51 pm

Post by hondaero »

ok ... interesting :)

regarding ABRP call, I have the API_KEY.
What about the token = USER_TOKEN_PREFS = "abrp_user_token" ?
Is this a generic user token or should I get one from ABRP as well ?

Thanks
~amo~
2023 Honda e Red Advance on 16" Michelin 195/55 & 205/55 tyres.
happyV
Posts: 42
Joined: Fri Aug 14, 2020 10:07 am

Post by happyV »

The abrp_user_token is that little string the App itself creates for you. Under "generic connection" - not sure how it is called in English.
hondaero
Posts: 112
Joined: Mon Jan 30, 2023 3:51 pm

Post by hondaero »

Daniel, it works ... many thanks.

Additional thread is with ABRP dev looking into direct ABRP OBD Connection / integration. I'll post here if / once the integration is done and tested.

Interested into your TCU project ... let me know if something you can share and I/we can support.

Thanks
~amo~
2023 Honda e Red Advance on 16" Michelin 195/55 & 205/55 tyres.
happyV
Posts: 42
Joined: Fri Aug 14, 2020 10:07 am

Post by happyV »

No problem.

Well: The one thing I'm unsure is how to obtain the info on the connector and the pinout. I first need to intersect between the car and the TCU to reverse engineer the messages. So the physical connectors - if you have a way to get them or to find a place where I can buy them: this would be the greatest help.
Also if you have experience in writing Integrations in Home Assistant - this would be helpful to. For the programming of the raspberry (and later maybe esp32) I guess I'm fine.
Regards
Daniel
hondaero
Posts: 112
Joined: Mon Jan 30, 2023 3:51 pm

Post by hondaero »

ABRP OBD connection for Honda e has been pushed to production today and it works (https://abetterrouteplanner.com/compare/livedata/)

You can now:
- select your vehicle as Honda e;
- choose ABRP OBD connection integration;
- 'Save';
- SoC and other information (e.g. Battery and Ext and battery temp) will be pushed to ABRP platform and considered while planning your trips.

This is of great help especially for countries where Honda does NOT provide any service around their EV cars (e.g. no honda app, no integration with charging networks, etc).

ABRP team has been very open and responsive implementing it. Great job !

@Daniel, many thanks for the work done helping a lot delivering this integration very fast.

HTH,
~amo~

PS: Daniel, I can help with Home assistant and/or OpenHab coding. Modbus should make it I believe. Let's discuss it offline
2023 Honda e Red Advance on 16" Michelin 195/55 & 205/55 tyres.
Post Reply

  • You may also be interested in...
    Replies
    Views
    Last post