Skip to content

Version 2.1.0 Doesn't Work #30

@paulgab

Description

@paulgab

I did have the OVMS/ABRP integration working, but it stopped. I saw there was a newer version, so I update the file /store/scripts/lib/abrp.js. I am running OVMS firmware version 3.3.003.

When I run Evaluate JS, I get the following message:
ERROR: ReferenceError: identifier 'module' undefined
at [anon] (duk_js_var.c:1236) internal
at eval (eval:882) preventsyield (line 882)

The following error appears in the editor console if reload the JS Engine:
E (632984054) ovms-duktape: [lib/abrp.js:175] TypeError: undefined not callable (property 'HasValue' of [object Object])
……: at [anon] (duk_js_call.c:2919) internal
……: at isOvmsMetricSupported (lib/abrp.js:175)
……: at getOVMSMetric (lib/abrp.js:225)
……: at createTelemetry (lib/abrp.js:548)
……: at sendTelemetryIfNecessary (lib/abrp.js:619)
……: at callSubscriberWithImmediateExceptions (int/PubSub.js:1) strict
……: at deliverMessage (int/PubSub.js:1) strict
……: at c (int/PubSub.js:1) strict
……: at publish (int/PubSub.js:1) strict
……: at [anon] (int/PubSub.js:1) strict preventsyield

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions