PS: there's a new dependency: module Time::Piece needs to be
installed.
Am 17.05.21 um 21:19 schrieb Michael
Balzer:
By
request of a user implementing an OVMS plugin for the EVCC
framework (https://github.com/andig/evcc), I've extended the
server HTTP API by calls to connect to and disconnect from a
vehicle:
https://docs.openvehicles.com/en/latest/protocol_httpapi/requests.html#get-api-vehicle-vehicleid
I've also added the message timestamps & ages to the other
responses along with this, so an API client can tell if the data
is fresh.
@Mark: please verify my code (I'm no perl monk) & consider
updating the api.openvehicles.com server so the plugin can be used
with that server as well.
Regards,
Michael
_______________________________________________
OvmsDev mailing list
OvmsDev@lists.openvehicles.com
http://lists.openvehicles.com/mailman/listinfo/ovmsdev
--
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26