Jump to content
ningaloo

Request intergration with OVMS

Recommended Posts

 Is it possible to work ABRP with Open Vehicle Monitoring System like EVnotify.

I use OVMS every day and it would be nice if i could use it with ABRP together.

More info about OVMS can be found on https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3

 

  • Like 2
Link to comment
Share on other sites

Works like a charm (had to add a « abrp.send(1); » in ovmsmain.js to get it start upon boot since I unplug the module when the car is off to avoid draining.

Changed the script to call my own server which calls the ABRP api with the same GET string, that way I keep some data in my own InfluxDB ?

Simply put, it’s great !

  • Like 1
Link to comment
Share on other sites

@JaXX - If you'd like to help make it a more seamless experience feel free to shoot me an email (jason@abetterrouteplanner.com) and I can hook you up with the original developer who's working on adding OAuth so registration is much easier.  Would also be good to add some basic wake/sleep controls so it doesn't drain the battery so much so less tech-savvy users can use it more effectively.

Link to comment
Share on other sites

5 hours ago, Jason (ABRP) said:

@JaXX - If you'd like to help make it a more seamless experience feel free to shoot me an email (jason@abetterrouteplanner.com) and I can hook you up with the original developer who's working on adding OAuth so registration is much easier.  Would also be good to add some basic wake/sleep controls so it doesn't drain the battery so much so less tech-savvy users can use it more effectively.

Hi,

I just saw a PR request go by ( https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/pull/362 )

AddIng Oauth would imply creating a web plugin along with the script, which could use the “usr“ parms to store settings OvmsConfig.Set("usr", "abrp.apikey", "@@@-@@@-@@@-@@@@@@") on the web plugin side and apikey = OvmsConfig.Get("usr", "abrp.apikey", ‘keyunset’ ) same for the car model, from the script for example, shouldn’t be too hairy. I’d rather let him the honors of doing so (and I’m rusty on the web side, ask me for a galera or a drbd cluster, but html takes me time ? and I only have bits of my usual equipement during lockdown)

As for battery drain, it’s a vast subject that goes beyond ABRP, but a quickie could be dynamically (de)registering the plugin on car.off / car.on trigger events at least.

That said, I’m playing with an M5Stack display that connects using websockets over WiFi to the OVMS to display SoC/Temps (works well, looks awful for now, but working on it, since CarPlay uses the whole screen, at least I can have some data beyond the GOM)

Link to comment
Share on other sites

On 5/2/2020 at 6:37 PM, JaXX said:

Works like a charm (had to add a « abrp.send(1); » in ovmsmain.js to get it start upon boot since I unplug the module when the car is off to avoid draining.

Changed the script to call my own server which calls the ABRP api with the same GET string, that way I keep some data in my own InfluxDB ?

Simply put, it’s great !

Hi, may I kindly ask you to share your code? I’d like to implement something similar for my own use. Thank you. 

Link to comment
Share on other sites

Hi! I was trying to get this working today on my Nissan Leaf, the documentation says to chose "Link Torque", but I don't have that option, only LeafSpy or Generic, and those don't seem to work. At least, I don't think they're working, I can't find anywhere to view live data in this new UI.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...