[Ovmsdev] Adaptive Reporting
Mark Webb-Johnson
mark at webb-johnson.net
Mon Sep 17 20:00:52 HKT 2012
I've raised a bunch of github issues, to track implementation of adaptive reporting:
https://github.com/markwj/Open-Vehicle-Monitoring-System/issues/82
https://github.com/markwj/Open-Vehicle-Monitoring-System/issues/83
https://github.com/markwj/Open-Vehicle-Android/issues/7
https://github.com/markwj/Open-Vehicle-iOS/issues/3
The current approach to GPRS reporting is:
If one or more apps are connected,
then report everything every 1 minute
else report everything every 10 minutes
The new approach will be:
If one or more apps are connected,
then incrementally report changes every 1 minute
else if charging or driving
then incrementally report changes every 10 minutes
else incrementally report changes every 1 hour.
The incremental part of the reporting will be done by CRC checksums on the data messages.
The change means that if you are charging, driving or an app is connected, there is no effective difference - if something changes that it will be reported. But, if the car is just sitting there switched off and not charging, with no app connected, then it will further back off to just report in changes once an hour.
The effect should be about 1/5th (estimated) the data usage if things are changing, and perhaps 1/10th (estimated) the data usage if things are not. Perhaps 2MB/month down to 400KB/month.
I still want to report in, periodically, because if the car disconnects then at least we have the data as of 1 hour ago.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20120917/5cd1d0c8/attachment.htm>
More information about the OvmsDev
mailing list