12 posts / 0 new
Last post
Send live data to abrp

You probably know abetterrouteplanner.com
It is probably the best tool to plan a route, and to optimize where to charge.
It has a live function, which allows to adjust with the real consumption of the vehicle, by connecting an obd device and soft like EVNotify or Torque Pro.

Why not having this function with OVMS?

On abrp forum, it is explained how to send data:

What do you think?

Sounds like a great idea,

Sounds like a great idea, although I’m not the one who can contribute in programming, unfortunately.

When this works, does it mean I would get updated ABRP-data on my phone through the ABRP servers, or through direct communication between my phone and the OVMS plug?

It means once it will work,

It means once it will work, you can launch abrp on your phone, and follow your route and consumption and next stop to charge in this website- app like.

That is the functional answer

That is the functional answer. I was looking for the technical answer: what is the data flow, from where to where? Does the OVMS plug communicate with the ABRP server(s) or with the phone or tablet where ABRP is running?

Yes you're right.

Yes you're right.
Technically, OVMS box will send data directly to abrp server-side through 3g/4g link. No direct info from OVMS to the phone running client-side, as it is not an existing functionality I am aware of.

abrp live data using scripting ?

Maybe we could use scripting to do it?

We could use part of this java code: https://github.com/g4rb4g3/ABRPTransmitter/blob/master/app/src/main/java...

I finally found a way

Using the web plugin of OVMS web server, I am able in JavaScript to get vehicle data and send it to abrp.
I will test it tomorrow with a real travel to see how it works.
Unfortunately, it is not through the OVMS embedded script functionality.

dexter's picture

I just pushed the first implementation of a HTTP API:


Included in edge build version 3.2.008-147-g73ae2d19 on my server (dexters-web.de), will be in edge on openvehicles.com within 24 hours.

Testing & feedback is welcome.


something new to test

wonderfull :-) something new to test now.
I'll keep you informed, thank you

Reference error

Hello dar63, thank you for your great work. I installed the script as descripted. Only i get the error indentifier 'abrp' undefined. Any idea how to resolve this?

Hi, when your follow the

Hi, when your follow the instruction in the doc. https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/tree/ma...
And copy past the
add to /store/scripts/ovmsmain.js:
abrp = require("sendlivedata2arbp");

there is a typo, it should be:
abrp = require("sendlivedata2abrp");


Yes, i deed find the typo too. When i fixed the typo. The error was gone. Thanks

Log in or register to post comments