[Ovmsdev] Server HTTP API: vehicle connect & disconnect

Michael Balzer dexter at expeedo.de
Tue May 18 03:21:35 HKT 2021


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 at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20210517/8ce8510f/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 203 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20210517/8ce8510f/attachment.sig>


More information about the OvmsDev mailing list