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

Share this post


Link to post
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

Share this post


Link to post
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.

Share this post


Link to post
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)

Share this post


Link to post
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. 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


Contact Us

Bo - Lead Developer and Tesla owner: bo@abetterrouteplanner.com

Jason - New Car Models, Developer and Bolt owner : jason@abetterrouteplanner.com

Idreams - Forums Administrator, Forums Developer and Tesla owner : idreams@abetterrouteplanner.com

×
×
  • Create New...