iternio / ovms-link

14 stars 6 forks source link

Script sends vehicle parameters that are not supported by vehicle #16

Closed kezarjg closed 2 months ago

kezarjg commented 1 year ago

The current script has no checking to make sure metrics are supported by the OVMS vehicle module before creating the telemetry object.

kezarjg commented 1 year ago

The next version of OVMS has a new new DukTape function (OvmsMetrics.HasValue) that can be used to add functionality to to the script to confirm it is in use before adding it to the telemetry object.

dteirney commented 1 year ago

With the current implementation, if the standardized OVMS metric doesn't return a value, it's intended to be dropped from the payload sent to ABRP. Which specific metric was being sent to ABRP that wasn't supported?