iternio / ovms-link

14 stars 6 forks source link

Easier ways to activate ABRP plugin? #2

Closed glynhudson closed 1 year ago

glynhudson commented 3 years ago

Typing script eval abrp.send(1) command into the OVMS app while driving is not a very user friendly way to enable OVMS>ABRP integration.

Would it possible to use the HTTP API to send msg commands to the OVMS module, e.g to trigger a custom ABRP script?

Or maybe use send a OVMS Android app Intent message using something like to Tasker to send the command to start the ABRP integration.

I see mentioned in the latest version V1.4 that "This version uses the embedded GSM of OVMS, so there's an impact on data consumption", does this mean ABRP integration can be left running the whole time without hammering data consumption?

dexterbg commented 3 years ago

See https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/issues/655#issuecomment-940285976

Edwintenhaaf commented 3 years ago

@glynhudson Or you can also let it autostart by adding it to /store/scripts/ovmsmain.js Because the new version of the script will stop sending if the car does not move.

abrp = require("sendlivedata2abrp"); abrp.send(1);

jason-abrp commented 2 years ago

I personally run my OVMS on auto-start, and have seen no real impacts on the 12V battery life. I would welcome any improvements folks want to make to the dynamic sending sequences to make that even better.

dteirney commented 2 years ago

FWIW: I just have this plugin autostart as well. A number of the changes in the 2.0 release significantly reduce the amount of traffic that the plugin sends to ABRP.

jason-abrp commented 1 year ago

Closing, though I am open to ideas to simplify operation of the plugin.