Meter value
Description#
When 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 format#
Method: 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 response#
A 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#
Measurand#
Type: String
These are the possible types of the measurand:
Current.ExportInstantaneous current flow from EVCurrent.ImportInstantaneous current flow to EVCurrent.OfferedMaximum current offered to EVEnergy.Active.Export.RegisterNumerical 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.RegisterNumerical 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.RegisterNumerical 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.RegisterNumerical 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.IntervalAbsolute amount of "active electrical energy" (Wh or kWh) exported (to the grid) during an associated time.Energy.Active.Import.IntervalAbsolute amount of "active electrical energy" (Wh or kWh) imported (from the grid supply) during an associated time.Energy.Reactive.Export.IntervalAbsolute amount of "reactive electrical energy" (VARh or kVARh) exported (to the grid) during an associated time.Energy.Reactive.Import.IntervalAbsolute amount of "reactive electrical energy" (VARh or kVARh) imported (from the grid supply) during an associated time.FrequencyInstantaneous reading of powerline frequency.Power.Active.ExportInstantaneous active power exported by EV (W or kW).Power.Active.ImportInstantaneous active power imported by EV (W or kW).Power.FactorInstantaneous power factor of total energy flow.Power.OfferedMaximum power offered to EV.Power.Reactive.ExportInstantaneous reactive power exported by EV (var or kvar).Power.Reactive.ImportInstantaneous reactive power imported by EV (var or kvar).RPMFan speed in RPM.SoCState of charge of charging vehicle in percentage.TemperatureTemperature reading inside Charge Point.VoltageInstantaneous AC RMS supply voltage.
Unit of measure#
Type: String
These are the possible types of the unit of measure:
WhWatt-hours (energy).kWhkiloWatt-hours (energy).varhVar-hours (reactive energy).kvarhkilovar-hours (reactive energy).WWatts (power).kWkilowatts (power).VAVoltAmpere (apparent power).kVAkiloVolt Ampere (apparent power).varVars (reactive power).kvarkilovars (reactive power).AAmperes (current).VVoltage (r.m.s. AC).CelsiusDegrees (temperature).FahrenheitDegrees (temperature).KDegrees Kelvin (temperature).PercentPercentage.
Phase#
Type: String
These are the possible types of the phase:
L1Measured on L1.L2Measured on L2.L3Measured on L3.NMeasured on Neutral.L1-NMeasured on L1 with respect to Neutral conductor.L2-NMeasured on L2 with respect to Neutral conductor.L3-NMeasured on L3 with respect to Neutral conductor.L1-L2Measured between L1 and L2.L2-L3Measured between L2 and L3.L3-L1Measured between L3 and L1.