[Ovmsdev] Scripting - missing integrations

Mark Webb-Johnson mark at webb-johnson.net
Tue Oct 8 15:45:03 HKT 2019


Michael’s work has brought up an issue that we seem to be missing some javascript integrations.

We have:

OvmsCommand
OvmsLocation
OvmsMetrics
OvmsVehicle
PubSub (to ovms events)

Obvious ones missing are:

OvmsConfig
OvmsWebServer

I can do OvmsConfig, but one question: Do we allow scripts access to protected config values? I think not (as that would void the entire protection system with a ’script eval JSON.print(…)', but is a limitation). Comments?

It would be interesting to see scripts extend the OvmsWebServer, so urls could be mapped to scripts - but not sure of the practical use of that vs plugins.

Regards, Mark.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20191008/80170e5f/attachment.html>


More information about the OvmsDev mailing list