[Ovmsdev] Sharing Data Publicly - Public Charges

Christopher Cook christopher.cook at webprofusion.com
Thu Dec 12 14:24:21 HKT 2013


Hi Mark,

Yes, that sounds right in terms of what we (OCM) would want to present to the user (and currently do).

OCM can take care of the import into OCM if OVMS makes an API available into the more fine-grained charging status data, rather than needing to push from OVMS. We would probably add something to OCM to display this aggregated info as a single anonymous summary of stats, rather than showing individual charging events. I could well imagine systems such as plugshare/recargo would be interested in the data (more from a commercial perspective).

In OCM we attempt to classify charging success/failure in check-ins by having a table of common statuses, with mixed success:

ID    Title    IsPositive    IsAutomatedCheckin
0    Did Not Visit Location    NULL    0
10    Charged Successfully    1    0
15    Charged Successfully (Automated Checkin)    1    1
20    Failed to Charge (Equipment Not Operational)    0    0
22    Failed to Charge (Equipment Not Fully Installed)    0    0
25    Failed to Charge (Equipment Problem)    0    0
30    Failed to Charge (Equipment Not Compatible)    0    0
40    Failed to Charge (Required Other Access Card/Fob etc.)    0    0
50    Failed to Charge (No Charging Equipment Present)    0    0
100    Charging Spot In Use (Other EV Parked)    1    0
110    Charging Spot In Use (Non-EV Parked)    0    0
120    Charging Spot Not Accessible (Access locked or site closed)    0    0
130    Charging Spot Not Found (Inadequate or Incorrect Details)    0    0
140    Equipment & Location Confirmed Correct    1    0
200    Other (Negative/Bad)    0    0
210    Other (Positive/Good)    1    0

Other reference data (connectors etc) can be seen via the API: http://api.openchargemap.io/v2/referencedata/

We do support the concept of an anonymous checkin via HTTP Post of a JSON formatted message to the OCM API but I think we'd probably require an API key for those submissions going forward (we don't currently). This theoretically allows other apps/systems to post comments/checkins directly from their own UI.


Chris

________________________________
From: Mark Webb-Johnson [mark at webb-johnson.net]
Sent: 12 December 2013 05:54
To: Christopher Cook
Cc: OVMS Developers
Subject: Re: [Ovmsdev] Sharing Data Publicly - Public Charges

Chris,



More information about the OvmsDev mailing list