Meter value
#
DescriptionWhen a charge has succesfully started the charger send to Thor servers the messeges of energy consuption, Thor will send a notification to your system. To receive this message you'll have to configure the Meter Values section of the API integration.
If you want to know more about the remote charge workflow, take a look to this guide or this guide.
note
If you configure the chargebox for API payment when Thor calls the API you configure in "Meter Values" section Thor sends a notify to your server with transaction datas and expects the amount till the moment calculated by your software.
#
Request formatMethod: POST
Body format: JSON
Key | Type | Description |
---|---|---|
type | String | Specifies that this message is a meter values notification. For this request it will be always equal to "meters". |
chargebox | String | The chargebox identifier. |
connector | Integer | The connector where the charge has been started or rejected. |
meters | []Meter | The RFID value or the value generated by the server returned here. |
meters[].measurand | Measurand | Describes what the measure is about. |
meters[].uom | Unit of measure | The unit of measure. |
meters[].phase | Phase | The electrical phase. |
meters[].Value | Float | The actual value read by the meter. |
idTag | String | The idTag of current transaction. |
time | String | The duration of current transaction. |
kwh | Integer | The meters count in Wh for current transaction. |
payment | Payment | (if available for client) The settings of the payment choosen by client to calculate che total price |
Request schema:
#
Expected responseA nice 200 - OK
is more than enough for Thor if you don't want to manage the payment using your application.
If you choose the API payment management Thor expects to receive 200 - OK
and the amount in a JSON in this format:
#
Enums#
MeasurandType: String
These are the possible types of the measurand:
Current.Export
Instantaneous current flow from EVCurrent.Import
Instantaneous current flow to EVCurrent.Offered
Maximum current offered to EVEnergy.Active.Export.Register
Numerical value read from the "active electrical energy" (Wh or kWh) register of the (most authoritative) electrical meter measuring energy exported (to the grid).Energy.Active.Import.Register
Numerical value read from the "active electrical energy" (Wh or kWh) register of the (most authoritative) electrical meter measuring energy imported (from the grid supply).Energy.Reactive.Export.Register
Numerical value read from the "reactive electrical energy" (VARh or kVARh) register of the (most authoritative) electrical meter measuring energy exported (to the grid).Energy.Reactive.Import.Register
Numerical value read from the "reactive electrical energy" (VARh or kVARh) register of the (most authoritative) electrical meter measuring energy imported (from the grid supply).Energy.Active.Export.Interval
Absolute amount of "active electrical energy" (Wh or kWh) exported (to the grid) during an associated time.Energy.Active.Import.Interval
Absolute amount of "active electrical energy" (Wh or kWh) imported (from the grid supply) during an associated time.Energy.Reactive.Export.Interval
Absolute amount of "reactive electrical energy" (VARh or kVARh) exported (to the grid) during an associated time.Energy.Reactive.Import.Interval
Absolute amount of "reactive electrical energy" (VARh or kVARh) imported (from the grid supply) during an associated time.Frequency
Instantaneous reading of powerline frequency.Power.Active.Export
Instantaneous active power exported by EV (W or kW).Power.Active.Import
Instantaneous active power imported by EV (W or kW).Power.Factor
Instantaneous power factor of total energy flow.Power.Offered
Maximum power offered to EV.Power.Reactive.Export
Instantaneous reactive power exported by EV (var or kvar).Power.Reactive.Import
Instantaneous reactive power imported by EV (var or kvar).RPM
Fan speed in RPM.SoC
State of charge of charging vehicle in percentage.Temperature
Temperature reading inside Charge Point.Voltage
Instantaneous AC RMS supply voltage.
#
Unit of measureType: String
These are the possible types of the unit of measure:
Wh
Watt-hours (energy).kWh
kiloWatt-hours (energy).varh
Var-hours (reactive energy).kvarh
kilovar-hours (reactive energy).W
Watts (power).kW
kilowatts (power).VA
VoltAmpere (apparent power).kVA
kiloVolt Ampere (apparent power).var
Vars (reactive power).kvar
kilovars (reactive power).A
Amperes (current).V
Voltage (r.m.s. AC).Celsius
Degrees (temperature).Fahrenheit
Degrees (temperature).K
Degrees Kelvin (temperature).Percent
Percentage.
#
PhaseType: String
These are the possible types of the phase:
L1
Measured on L1.L2
Measured on L2.L3
Measured on L3.N
Measured on Neutral.L1-N
Measured on L1 with respect to Neutral conductor.L2-N
Measured on L2 with respect to Neutral conductor.L3-N
Measured on L3 with respect to Neutral conductor.L1-L2
Measured between L1 and L2.L2-L3
Measured between L2 and L3.L3-L1
Measured between L3 and L1.