kubarskii/OCPP-J-CP-Simulator

Meter values

victormunoz opened this issue · 1 comments

The MeterValues message works but is very simple, it only contains the connectorId.
How would the object look like with complete data? Could you put an example?

I finally got to do it myself:

var MV = JSON.stringify([2, id, "MeterValues", {"connectorId": 1, "transactionId": ssid, "meterValue": [{"timestamp": formatDate(new Date()), "sampledValue": [{"value": "1"}]}]}]);
Thanks again for your simulator. I like it!