Charge Controller (EVSE)
The evse module manages the state and configuration of the charge controller.
evse/state
The state of the charge controller.
{
"iec61851_state": 2,
"charger_state": 3,
"contactor_state": 3,
"contactor_error": 0,
"allowed_charging_current": 32000,
"error_state": 0,
"lock_state": 0
}
| Name | Description |
|---|---|
iec61851_stateint | The current state according to IEC 61851
|
charger_stateint | The current state, processed by the charge controller
|
contactor_stateint | State of the contactor monitoring.
|
contactor_errorint | Error code of the contactor monitoring. A value other than 0 indicates an error.
|
allowed_charging_currentint (mA) | Maximum allowed charging current provided to the vehicle. This current is the minimum of the current limits of all charge slots. |
error_stateint | The current error state. See manual for details
|
lock_stateint | State of the cable lock (only relevant for chargers with Type 2 socket; as of now, no WARP Charger with Type 2 socket has been manufactured)
|
evse/hardware_configuration
The hardware configuration of the charge controller.
| Name | Description |
|---|---|
jumper_configurationint | The maximum current of the incoming cable. This current is configured on the charge controller via jumpers or a circuit board with switches.
|
has_lock_switchbool | Indicates whether the charger has a cable lock.
|
evse_versionint | Hardware version of the charge controller
|
evse/slots
The state of the charging current limits. The allowed charging current allowed_charging_current from evse/state is the minimum of all charge slots that are active. See TODO LINK for details.
[
// Slot is active, but allows charging without limit (= 32 A).
{ "max_current": 32000, "active": true, "clear_on_disconnect": false },
{ "max_current": 32000, "active": true, "clear_on_disconnect": false },
{ "max_current": 32000, "active": true, "clear_on_disconnect": false },
// Slot is not active, but would still allow charging.
{ "max_current": 32000, "active": false, "clear_on_disconnect": false },
{ "max_current": 32000, "active": true, "clear_on_disconnect": false },
// Slot limits charging to 19 A.
{ "max_current": 19000, "active": true, "clear_on_disconnect": false },
{ "max_current": 32000, "active": false, "clear_on_disconnect": true },
// Slot is not active, would otherwise block charging.
{ "max_current": 0, "active": false, "clear_on_disconnect": true },
{ "max_current": 32000, "active": false, "clear_on_disconnect": false },
{ "max_current": 32000, "active": true, "clear_on_disconnect": false },
{ "max_current": 32000, "active": true, "clear_on_disconnect": false },
{ "max_current": 32000, "active": false, "clear_on_disconnect": false },
{ "max_current": 32000, "active": true, "clear_on_disconnect": false },
{ "max_current": 32000, "active": true, "clear_on_disconnect": false },
{ "max_current": 32000, "active": false, "clear_on_disconnect": false }
]
| Index | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|
[0..14]object | A charge slot
|
evse/button_state
The state of the button in the front panel.
| Name | Description |
|---|---|
button_press_timeint (ms) | Time at which the button was last pressed. 0 if the button has not been pressed since the charge controller started. |
button_release_timeint (ms) | Time at which the button was last released. 0 if the button has not been pressed since the charge controller started. |
button_pressedbool | true if the button is currently pressed, otherwise false |
evse/indicator_led
The state of the LED in the button. Can be written if LED control via API (see evse/led_configuration) has been enabled. The LED color can only be controlled on WARP3.
# $HOST e.g. warp-AbCd
Read
curl http://$HOST/evse/indicator_led
{ "indication": -1, "duration": 0, "color_h": 0, "color_s": 0, "color_v": 0 }
Write
curl http://$HOST/evse/indicator_led -d '{ "indication": -1, "duration": 0, "color_h": 0, "color_s": 0, "color_v": 0 }'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/indicator_led
{ "indication": -1, "duration": 0, "color_h": 0, "color_s": 0, "color_v": 0 }
Write
With MQTT on $PREFIX/evse/indicator_led_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/indicator_led_update -m '{ "indication": -1, "duration": 0, "color_h": 0, "color_s": 0, "color_v": 0 }'
| Name | Description |
|---|---|
indicationint | Currently set state.
|
durationint (ms) | Duration for which the set state is maintained. |
color_hint (°) | Hue value of the LED in HSV color space. Allowed values are from 0 to 359 |
color_sint | Saturation of the LED in HSV color space. Allowed values are from 0 to 255 |
color_vint | Brightness of the LED in HSV color space. A brightness of 0 uses the default color of the |
evse/low_level_state
The low-level state of the charge controller.
{
"led_state": 4,
"cp_pwm_duty_cycle": 533,
"adc_values": [16356, 7198],
"voltages": [-2646, 899, 5915],
"resistances": [850, 219],
"gpio": [false, false, true, true, true],
"charging_time": 9341087,
"time_since_state_change": 9341087,
"uptime": 876032107
}
| Name | Description |
|---|---|
led_stateint | The state of the LED connected to the charge controller
|
cp_pwm_duty_cycleint (%/10) | Duty cycle of the pulse width modulation on the CP signal. |
adc_valuesint[2] | 16-bit ADC raw values of the voltage measurements
|
voltagesint[3] (mV) | Voltages calculated from ADC values
|
resistancesint[2] (Ω) | Resistances calculated from voltages
|
gpiobool[5] | Signals on the GPIOs
|
charging_timeint (ms) | Approximate duration of the charging process. Only to be used for load management purposes! |
time_since_state_changeint (ms) | Time since the last IEC 61851 state change. If the state is 2 (= B: Charging), this value corresponds to the charging time. |
uptimeint (ms) | Time since the charge controller started. |
evse/external_current
The charging current specified by the external control.
# $HOST e.g. warp-AbCd
Read
curl http://$HOST/evse/external_current
{ "current": 16000 }
Write
curl http://$HOST/evse/external_current -d '{ "current": 16000 }'
or abbreviated:
curl http://$HOST/evse/external_current -d '16000'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/external_current
{ "current": 16000 }
Write
With MQTT on $PREFIX/evse/external_current_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/external_current_update -m '{ "current": 16000 }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/external_current_update -m '16000'
| Name | Description |
|---|---|
currentint (mA) | The charging current specified by the external control. 6000 (=6 amperes) to 32000 (=32 amperes) or 0 if the slot is blocked. |
evse/external_clear_on_disconnect
Indicates whether the charging current specified by the external charging control should be automatically set to 0 when a vehicle is disconnected.
# $HOST e.g. warp-AbCd
Read
curl http://$HOST/evse/external_clear_on_disconnect
{ "clear_on_disconnect": true }
Write
curl http://$HOST/evse/external_clear_on_disconnect -d '{ "clear_on_disconnect": true }'
or abbreviated:
curl http://$HOST/evse/external_clear_on_disconnect -d 'true'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/external_clear_on_disconnect
{ "clear_on_disconnect": true }
Write
With MQTT on $PREFIX/evse/external_clear_on_disconnect_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/external_clear_on_disconnect_update -m '{ "clear_on_disconnect": true }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/external_clear_on_disconnect_update -m 'true'
| Name | Description |
|---|---|
clear_on_disconnectbool | Indicates whether the charging current of this slot is set to 0 when a vehicle is disconnected.
|
evse/management_current
The charging current specified by load management.
| Name | Description |
|---|---|
currentint (mA) | 6000 (=6 amperes) to 32000 (=32 amperes) or 0 if the slot should be blocked. |
evse/auto_start_charging
Configures whether a connected vehicle is charged automatically.
# $HOST e.g. warp-AbCd
Read
curl http://$HOST/evse/auto_start_charging
{ "auto_start_charging": true }
Write
curl http://$HOST/evse/auto_start_charging -d '{ "auto_start_charging": true }'
or abbreviated:
curl http://$HOST/evse/auto_start_charging -d 'true'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/auto_start_charging
{ "auto_start_charging": true }
Write
With MQTT on $PREFIX/evse/auto_start_charging_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/auto_start_charging_update -m '{ "auto_start_charging": true }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/auto_start_charging_update -m 'true'
| Name | Description |
|---|---|
auto_start_chargingbool | Configures whether a connected vehicle is charged automatically. If enabled, charging starts immediately when the vehicle is connected. If disabled, charging can be started with |
evse/global_current
The charging current specified via the web interface. Warning: This current is stored persistently on the charge controller. For frequent changes, evse/external_current should be used instead to preserve the charge controller's flash memory!
# $HOST e.g. warp-AbCd
Read
curl http://$HOST/evse/global_current
{ "current": 16000 }
Write
curl http://$HOST/evse/global_current -d '{ "current": 16000 }'
or abbreviated:
curl http://$HOST/evse/global_current -d '16000'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/global_current
{ "current": 16000 }
Write
With MQTT on $PREFIX/evse/global_current_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/global_current_update -m '{ "current": 16000 }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/global_current_update -m '16000'
| Name | Description |
|---|---|
currentint (mA) | The charging current specified via the web interface. 6000 (=6 amperes) to 32000 (=32 amperes) or 0 if the slot is blocked. |
evse/management_enabled
Indicates whether the load management charge slot is active.
# $HOST e.g. warp-AbCd
Read
curl http://$HOST/evse/management_enabled
{ "enabled": true }
Write
curl http://$HOST/evse/management_enabled -d '{ "enabled": true }'
or abbreviated:
curl http://$HOST/evse/management_enabled -d 'true'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/management_enabled
{ "enabled": true }
Write
With MQTT on $PREFIX/evse/management_enabled_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/management_enabled_update -m '{ "enabled": true }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/management_enabled_update -m 'true'
| Name | Description |
|---|---|
enabledbool | true if load management is enabled, otherwise false |
evse/user_current
The charging current allowed by user authorization.
| Name | Description |
|---|---|
currentint (mA) | The charging current allowed by user authorization. 6000 (=6 amperes) to 32000 (=32 amperes) or 0 if the slot is blocked. |
evse/user_enabled
Indicates whether the user authorization charge slot is active.
# $HOST e.g. warp-AbCd
Read
curl http://$HOST/evse/user_enabled
{ "enabled": true }
Write
curl http://$HOST/evse/user_enabled -d '{ "enabled": true }'
or abbreviated:
curl http://$HOST/evse/user_enabled -d 'true'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/user_enabled
{ "enabled": true }
Write
With MQTT on $PREFIX/evse/user_enabled_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/user_enabled_update -m '{ "enabled": true }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/user_enabled_update -m 'true'
| Name | Description |
|---|---|
enabledbool | true if user authorization is enabled, otherwise false |
evse/external_enabled
Indicates whether the external control charge slot is active.
# $HOST e.g. warp-AbCd
Read
curl http://$HOST/evse/external_enabled
{ "enabled": true }
Write
curl http://$HOST/evse/external_enabled -d '{ "enabled": true }'
or abbreviated:
curl http://$HOST/evse/external_enabled -d 'true'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/external_enabled
{ "enabled": true }
Write
With MQTT on $PREFIX/evse/external_enabled_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/external_enabled_update -m '{ "enabled": true }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/external_enabled_update -m 'true'
| Name | Description |
|---|---|
enabledbool | true if external control is enabled, otherwise false |
evse/external_defaults
The settings of the external control charge slot adopted after a restart of the charge controller.
# $HOST e.g. warp-AbCd
Read
curl http://$HOST/evse/external_defaults
{ "current": 32000, "clear_on_disconnect": false }
Write
curl http://$HOST/evse/external_defaults -d '{ "current": 32000, "clear_on_disconnect": false }'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/external_defaults
{ "current": 32000, "clear_on_disconnect": false }
Write
With MQTT on $PREFIX/evse/external_defaults_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/external_defaults_update -m '{ "current": 32000, "clear_on_disconnect": false }'
| Name | Description |
|---|---|
currentint (mA) | The maximum current in the external control charge slot adopted after a restart. 6000 (=6 amperes) to 32000 (=32 amperes) or 0 if the slot is blocked. |
clear_on_disconnectbool | Indicates whether the charging current of this slot is set to 0 when a vehicle is disconnected.
|
evse/modbus_tcp_enabled
Indicates whether the charge slots for Modbus TCP are active (and thus whether Modbus TCP write access has been granted).
# $HOST e.g. warp-AbCd
Read
curl http://$HOST/evse/modbus_tcp_enabled
{ "enabled": true }
Write
curl http://$HOST/evse/modbus_tcp_enabled -d '{ "enabled": true }'
or abbreviated:
curl http://$HOST/evse/modbus_tcp_enabled -d 'true'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/modbus_tcp_enabled
{ "enabled": true }
Write
With MQTT on $PREFIX/evse/modbus_tcp_enabled_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/modbus_tcp_enabled_update -m '{ "enabled": true }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/modbus_tcp_enabled_update -m 'true'
| Name | Description |
|---|---|
enabledbool | true if the charge slots for Modbus TCP are enabled, otherwise false |
evse/ocpp_enabled
Indicates whether the charge slot for OCPP is active.
# $HOST e.g. warp-AbCd
Read
curl http://$HOST/evse/ocpp_enabled
{ "enabled": true }
Write
curl http://$HOST/evse/ocpp_enabled -d '{ "enabled": true }'
or abbreviated:
curl http://$HOST/evse/ocpp_enabled -d 'true'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/ocpp_enabled
{ "enabled": true }
Write
With MQTT on $PREFIX/evse/ocpp_enabled_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/ocpp_enabled_update -m '{ "enabled": true }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/ocpp_enabled_update -m 'true'
| Name | Description |
|---|---|
enabledbool | true if OCPP is enabled, otherwise false |
evse/automation_current
The charging current allowed by automation.
# $HOST e.g. warp-AbCd
Read
curl http://$HOST/evse/automation_current
{ "current": 14000 }
Write
curl http://$HOST/evse/automation_current -d '{ "current": 14000 }'
or abbreviated:
curl http://$HOST/evse/automation_current -d '14000'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/automation_current
{ "current": 14000 }
Write
With MQTT on $PREFIX/evse/automation_current_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/automation_current_update -m '{ "current": 14000 }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/automation_current_update -m '14000'
| Name | Description |
|---|---|
currentint (mA) | The charging current allowed by automation. 6000 (=6 amperes) to 32000 (=32 amperes) or 0 if the slot is blocked. |
evse/led_configuration
The configuration of the LED in the front panel button.
# $HOST e.g. warp-AbCd
Read
curl http://$HOST/evse/led_configuration
{ "enable_api": false }
Write
curl http://$HOST/evse/led_configuration -d '{ "enable_api": false }'
or abbreviated:
curl http://$HOST/evse/led_configuration -d 'false'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/led_configuration
{ "enable_api": false }
Write
With MQTT on $PREFIX/evse/led_configuration_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/led_configuration_update -m '{ "enable_api": false }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/led_configuration_update -m 'false'
| Name | Description |
|---|---|
enable_apibool | Determines whether the LED may be controlled via the
|
evse/user_calibration
Allows reading and overwriting the factory calibration of the EVSE. To reset the calibration to factory state, a payload with user_calibration_active set to false can be sent. The other values are then ignored.
# $HOST e.g. warp-AbCd
Read
curl http://$HOST/evse/user_calibration
{
"user_calibration_active": false,
"voltage_diff": -95,
"voltage_mul": 12205,
"voltage_div": 12157,
"resistance_2700": 312,
"resistance_880": [
1517, 984, 870, 795,
803, 769, 671, 748,
691, 588, 598, 549,
537, 606
]
}
Write
curl http://$HOST/evse/user_calibration -d '{
"user_calibration_active": false,
"voltage_diff": -95,
"voltage_mul": 12205,
"voltage_div": 12157,
"resistance_2700": 312,
"resistance_880": [
1517, 984, 870, 795,
803, 769, 671, 748,
691, 588, 598, 549,
537, 606
]
}'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/user_calibration
{
"user_calibration_active": false,
"voltage_diff": -95,
"voltage_mul": 12205,
"voltage_div": 12157,
"resistance_2700": 312,
"resistance_880": [
1517, 984, 870, 795,
803, 769, 671, 748,
691, 588, 598, 549,
537, 606
]
}
Write
With MQTT on $PREFIX/evse/user_calibration_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/user_calibration_update -m '{
"user_calibration_active": false,
"voltage_diff": -95,
"voltage_mul": 12205,
"voltage_div": 12157,
"resistance_2700": 312,
"resistance_880": [
1517, 984, 870, 795,
803, 769, 671, 748,
691, 588, 598, 549,
537, 606
]
}'
| Name | Description |
|---|---|
user_calibration_activebool | Indicates whether the factory calibration has been overwritten. |
voltage_diffint | One of the calibration parameters. |
voltage_mulint | One of the calibration parameters. |
voltage_divint | One of the calibration parameters. |
resistance_2700int | One of the calibration parameters. |
resistance_880int[..] | One of the calibration parameters. |
evse/boost_mode
Indicates whether the EVSE specifies a slightly higher charging current (+ 0.24 A) to the vehicle's charging electronics to compensate for measurement errors in the charging electronics. Only use if a vehicle charges with a lower than the allowed charging current!
# $HOST e.g. warp-AbCd
Read
curl http://$HOST/evse/boost_mode
{ "enabled": true }
Write
curl http://$HOST/evse/boost_mode -d '{ "enabled": true }'
or abbreviated:
curl http://$HOST/evse/boost_mode -d 'true'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/boost_mode
{ "enabled": true }
Write
With MQTT on $PREFIX/evse/boost_mode_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/boost_mode_update -m '{ "enabled": true }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/boost_mode_update -m 'true'
| Name | Description |
|---|---|
enabledbool | true if boost mode is enabled, otherwise false |
evse/stop_charging
Stops the current charging process. Calling this function is equivalent to stopping via the button on the charger: TODO LINK Slot 4 is blocked. Charging can be restarted with evse/start_charging.
Empty payload. One of the following values must be passed: null, "", false, 0, [] or {}
evse/start_charging
Starts a charging process. Calling this function is equivalent to starting via the button on the charger: TODO LINK Slot 4 is released. Charging can be stopped again with evse/stop_charging.
Empty payload. One of the following values must be passed: null, "", false, 0, [] or {}
evse/meter_config
Indicates which energy meter should be considered as the energy meter installed in the WARP Charger, e.g. for charge tracker, charge limits, etc. This allows, for example, an external meter to be used for recording charging processes.
For PV excess charging, a different meter must be used that measures the values at the grid connection point. The ID of this meter is not set here, but with meter_slot_grid_power in power_manager/config
# $HOST e.g. warp-AbCd
Read
curl http://$HOST/evse/meter_config
{ "slot": 0 }
Write
curl http://$HOST/evse/meter_config -d '{ "slot": 0 }'
or abbreviated:
curl http://$HOST/evse/meter_config -d '0'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/meter_config
{ "slot": 0 }
Write
With MQTT on $PREFIX/evse/meter_config_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/meter_config_update -m '{ "slot": 0 }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/meter_config_update -m '0'
| Name | Description |
|---|---|
slotint | Energy meter slot to be used |
evse/state
The state of the charge controller.
{
"iec61851_state": 2,
"charger_state": 3,
"contactor_state": 3,
"contactor_error": 0,
"allowed_charging_current": 32000,
"error_state": 0,
"lock_state": 0,
// Nur WARP2 und WARP3
"dc_fault_current_state": 0
}
| Name | Description |
|---|---|
iec61851_stateint | The current state according to IEC 61851
|
charger_stateint | The current state, processed by the charge controller
|
contactor_stateint | State of the contactor monitoring.
|
contactor_errorint | Error code of the contactor monitoring. A value other than 0 indicates an error.
|
allowed_charging_currentint (mA) | Maximum allowed charging current provided to the vehicle. This current is the minimum of the current limits of all charge slots. |
error_stateint | The current error state. See manual for details
|
lock_stateint | State of the cable lock (only relevant for chargers with Type 2 socket; as of now, no WARP Charger with Type 2 socket has been manufactured)
|
dc_fault_current_stateint | (Only WARP 2 and WARP 3) The state of the DC residual current protection module. If a DC fault occurs, charging is no longer possible until the protection module has been reset. Before resetting, the cause of the fault must be fixed!
|
evse/hardware_configuration
The hardware configuration of the charge controller.
{
"jumper_configuration": 6,
"has_lock_switch": false,
"evse_version": 20,
"energy_meter_type": 3
}
| Name | Description |
|---|---|
jumper_configurationint | The maximum current of the incoming cable. This current is configured on the charge controller via jumpers or a circuit board with switches.
|
has_lock_switchbool | Indicates whether the charger has a cable lock.
|
evse_versionint | Hardware version of the charge controller
|
energy_meter_typeint | (Only WARP 2 and WARP 3) Type of the installed energy meter. Not every energy meter is supported by every charger!
|
evse/slots
The state of the charging current limits. The allowed charging current allowed_charging_current from evse/state is the minimum of all charge slots that are active. See TODO LINK for details.
[
// Slot is active, but allows charging without limit (= 32 A).
{ "max_current": 32000, "active": true, "clear_on_disconnect": false },
{ "max_current": 32000, "active": true, "clear_on_disconnect": false },
{ "max_current": 32000, "active": true, "clear_on_disconnect": false },
// Slot is not active, but would still allow charging.
{ "max_current": 32000, "active": false, "clear_on_disconnect": false },
{ "max_current": 32000, "active": true, "clear_on_disconnect": false },
// Slot limits charging to 19 A.
{ "max_current": 19000, "active": true, "clear_on_disconnect": false },
{ "max_current": 32000, "active": false, "clear_on_disconnect": true },
// Slot is not active, would otherwise block charging.
{ "max_current": 0, "active": false, "clear_on_disconnect": true },
{ "max_current": 32000, "active": false, "clear_on_disconnect": false },
{ "max_current": 32000, "active": true, "clear_on_disconnect": false },
{ "max_current": 32000, "active": true, "clear_on_disconnect": false },
{ "max_current": 32000, "active": false, "clear_on_disconnect": false },
{ "max_current": 32000, "active": true, "clear_on_disconnect": false },
{ "max_current": 32000, "active": true, "clear_on_disconnect": false },
{ "max_current": 32000, "active": false, "clear_on_disconnect": false }
]
| Index | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|
[0..14]object | A charge slot
|
evse/button_state
The state of the button in the front panel.
| Name | Description |
|---|---|
button_press_timeint (ms) | Time at which the button was last pressed. 0 if the button has not been pressed since the charge controller started. |
button_release_timeint (ms) | Time at which the button was last released. 0 if the button has not been pressed since the charge controller started. |
button_pressedbool | true if the button is currently pressed, otherwise false |
evse/indicator_led
The state of the LED in the button. Can be written if LED control via API (see evse/led_configuration) has been enabled. The LED color can only be controlled on WARP3.
# $HOST e.g. warp2-AbCd
Read
curl http://$HOST/evse/indicator_led
{ "indication": -1, "duration": 0, "color_h": 0, "color_s": 0, "color_v": 0 }
Write
curl http://$HOST/evse/indicator_led -d '{
"indication": 2003,
"duration": 20000,
"color_h": 120,
"color_s": 255,
"color_v": 255
}'
Zeigt 20 Sekunden lang das Blinkmuster 3xBlinken+längere Pause auf der LED im Fronttaster an. Die gewählte Farbe wird ignoriert, da diese Hardware nur eine blaue LED besitzt.
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp2/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/indicator_led
{ "indication": -1, "duration": 0, "color_h": 0, "color_s": 0, "color_v": 0 }
Write
With MQTT on $PREFIX/evse/indicator_led_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/indicator_led_update -m '{
"indication": 2003,
"duration": 20000,
"color_h": 120,
"color_s": 255,
"color_v": 255
}'
Zeigt 20 Sekunden lang das Blinkmuster 3xBlinken+längere Pause auf der LED im Fronttaster an. Die gewählte Farbe wird ignoriert, da diese Hardware nur eine blaue LED besitzt.
| Name | Description |
|---|---|
indicationint | Currently set state.
|
durationint (ms) | Duration for which the set state is maintained. |
color_hint (°) | Hue value of the LED in HSV color space. Allowed values are from 0 to 359 |
color_sint | Saturation of the LED in HSV color space. Allowed values are from 0 to 255 |
color_vint | Brightness of the LED in HSV color space. A brightness of 0 uses the default color of the |
evse/low_level_state
The low-level state of the charge controller.
{
"led_state": 4,
"cp_pwm_duty_cycle": 533,
"adc_values": [3852, 2984, 139, 176, 1046, 3829, 134],
"voltages": [11633, 6037, -12303, -12071, 842, 12342, -12336],
"resistances": [876, 225],
"gpio": [
true, false, false, false,
true, true, false, true,
false, false, false, false,
false, false, false, false,
true, false, false, false,
false, false, false, false
],
"charging_time": 4861239,
"time_since_state_change": 4861239,
"uptime": 866869867,
"time_since_dc_fault_check": 22562584,
"temperature": 0,
"phases_current": 3,
"phases_requested": 3,
"phases_state": 0,
"phases_info": 0,
"dc_fault_pins": 0,
"dc_fault_sensor_type": 0
}
| Name | Description |
|---|---|
led_stateint | The state of the LED connected to the charge controller
|
cp_pwm_duty_cycleint (%/10) | Duty cycle of the pulse width modulation on the CP signal. |
adc_valuesint[7] | 16-bit ADC raw values of the voltage measurements
|
voltagesint[7] (mV) | Voltages calculated from ADC values
|
resistancesint[2] (Ω) | Resistances calculated from voltages
|
gpiobool[24] | Signals on the GPIOs
|
charging_timeint (ms) | Approximate duration of the charging process. Only to be used for load management purposes! |
time_since_state_changeint (ms) | Time since the last IEC 61851 state change. If the state is 2 (= B: Charging), this value corresponds to the charging time. |
uptimeint (ms) | Time since the charge controller started. |
time_since_dc_fault_checkint (ms) | (Only WARP 2 and WARP 3) Time since the last test of the DC residual current protection module. Warning: This time is measured directly via the processor clock. The accuracy is therefore only sufficient for time measurements in the range of minutes to a few hours. The time measurement overflows after approximately 50 days and starts again at 0. |
dc_fault_sensor_typeint | (Only WARP 2 and WARP 3) Type of DC residual current sensor
|
dc_fault_pinsint | (Only WARP 2 and WARP 3) State of the DC protection module pins at the last error, if an error occurred. Calibration error code, if a calibration error occurred. |
evse/external_current
The charging current specified by the external control.
# $HOST e.g. warp2-AbCd
Read
curl http://$HOST/evse/external_current
{ "current": 16000 }
Write
curl http://$HOST/evse/external_current -d '{ "current": 16000 }'
or abbreviated:
curl http://$HOST/evse/external_current -d '16000'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp2/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/external_current
{ "current": 16000 }
Write
With MQTT on $PREFIX/evse/external_current_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/external_current_update -m '{ "current": 16000 }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/external_current_update -m '16000'
| Name | Description |
|---|---|
currentint (mA) | The charging current specified by the external control. 6000 (=6 amperes) to 32000 (=32 amperes) or 0 if the slot is blocked. |
evse/external_clear_on_disconnect
Indicates whether the charging current specified by the external charging control should be automatically set to 0 when a vehicle is disconnected.
# $HOST e.g. warp2-AbCd
Read
curl http://$HOST/evse/external_clear_on_disconnect
{ "clear_on_disconnect": true }
Write
curl http://$HOST/evse/external_clear_on_disconnect -d '{ "clear_on_disconnect": true }'
or abbreviated:
curl http://$HOST/evse/external_clear_on_disconnect -d 'true'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp2/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/external_clear_on_disconnect
{ "clear_on_disconnect": true }
Write
With MQTT on $PREFIX/evse/external_clear_on_disconnect_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/external_clear_on_disconnect_update -m '{ "clear_on_disconnect": true }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/external_clear_on_disconnect_update -m 'true'
| Name | Description |
|---|---|
clear_on_disconnectbool | Indicates whether the charging current of this slot is set to 0 when a vehicle is disconnected.
|
evse/management_current
The charging current specified by load management.
| Name | Description |
|---|---|
currentint (mA) | 6000 (=6 amperes) to 32000 (=32 amperes) or 0 if the slot should be blocked. |
evse/auto_start_charging
Configures whether a connected vehicle is charged automatically.
# $HOST e.g. warp2-AbCd
Read
curl http://$HOST/evse/auto_start_charging
{ "auto_start_charging": true }
Write
curl http://$HOST/evse/auto_start_charging -d '{ "auto_start_charging": true }'
or abbreviated:
curl http://$HOST/evse/auto_start_charging -d 'true'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp2/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/auto_start_charging
{ "auto_start_charging": true }
Write
With MQTT on $PREFIX/evse/auto_start_charging_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/auto_start_charging_update -m '{ "auto_start_charging": true }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/auto_start_charging_update -m 'true'
| Name | Description |
|---|---|
auto_start_chargingbool | Configures whether a connected vehicle is charged automatically. If enabled, charging starts immediately when the vehicle is connected. If disabled, charging can be started with |
evse/global_current
The charging current specified via the web interface. Warning: This current is stored persistently on the charge controller. For frequent changes, evse/external_current should be used instead to preserve the charge controller's flash memory!
# $HOST e.g. warp2-AbCd
Read
curl http://$HOST/evse/global_current
{ "current": 16000 }
Write
curl http://$HOST/evse/global_current -d '{ "current": 16000 }'
or abbreviated:
curl http://$HOST/evse/global_current -d '16000'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp2/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/global_current
{ "current": 16000 }
Write
With MQTT on $PREFIX/evse/global_current_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/global_current_update -m '{ "current": 16000 }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/global_current_update -m '16000'
| Name | Description |
|---|---|
currentint (mA) | The charging current specified via the web interface. 6000 (=6 amperes) to 32000 (=32 amperes) or 0 if the slot is blocked. |
evse/management_enabled
Indicates whether the load management charge slot is active.
# $HOST e.g. warp2-AbCd
Read
curl http://$HOST/evse/management_enabled
{ "enabled": true }
Write
curl http://$HOST/evse/management_enabled -d '{ "enabled": true }'
or abbreviated:
curl http://$HOST/evse/management_enabled -d 'true'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp2/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/management_enabled
{ "enabled": true }
Write
With MQTT on $PREFIX/evse/management_enabled_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/management_enabled_update -m '{ "enabled": true }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/management_enabled_update -m 'true'
| Name | Description |
|---|---|
enabledbool | true if load management is enabled, otherwise false |
evse/user_current
The charging current allowed by user authorization.
| Name | Description |
|---|---|
currentint (mA) | The charging current allowed by user authorization. 6000 (=6 amperes) to 32000 (=32 amperes) or 0 if the slot is blocked. |
evse/user_enabled
Indicates whether the user authorization charge slot is active.
# $HOST e.g. warp2-AbCd
Read
curl http://$HOST/evse/user_enabled
{ "enabled": true }
Write
curl http://$HOST/evse/user_enabled -d '{ "enabled": true }'
or abbreviated:
curl http://$HOST/evse/user_enabled -d 'true'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp2/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/user_enabled
{ "enabled": true }
Write
With MQTT on $PREFIX/evse/user_enabled_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/user_enabled_update -m '{ "enabled": true }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/user_enabled_update -m 'true'
| Name | Description |
|---|---|
enabledbool | true if user authorization is enabled, otherwise false |
evse/external_enabled
Indicates whether the external control charge slot is active.
# $HOST e.g. warp2-AbCd
Read
curl http://$HOST/evse/external_enabled
{ "enabled": true }
Write
curl http://$HOST/evse/external_enabled -d '{ "enabled": true }'
or abbreviated:
curl http://$HOST/evse/external_enabled -d 'true'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp2/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/external_enabled
{ "enabled": true }
Write
With MQTT on $PREFIX/evse/external_enabled_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/external_enabled_update -m '{ "enabled": true }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/external_enabled_update -m 'true'
| Name | Description |
|---|---|
enabledbool | true if external control is enabled, otherwise false |
evse/external_defaults
The settings of the external control charge slot adopted after a restart of the charge controller.
# $HOST e.g. warp2-AbCd
Read
curl http://$HOST/evse/external_defaults
{ "current": 32000, "clear_on_disconnect": false }
Write
curl http://$HOST/evse/external_defaults -d '{ "current": 32000, "clear_on_disconnect": false }'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp2/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/external_defaults
{ "current": 32000, "clear_on_disconnect": false }
Write
With MQTT on $PREFIX/evse/external_defaults_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/external_defaults_update -m '{ "current": 32000, "clear_on_disconnect": false }'
| Name | Description |
|---|---|
currentint (mA) | The maximum current in the external control charge slot adopted after a restart. 6000 (=6 amperes) to 32000 (=32 amperes) or 0 if the slot is blocked. |
clear_on_disconnectbool | Indicates whether the charging current of this slot is set to 0 when a vehicle is disconnected.
|
evse/modbus_tcp_enabled
Indicates whether the charge slots for Modbus TCP are active (and thus whether Modbus TCP write access has been granted).
# $HOST e.g. warp2-AbCd
Read
curl http://$HOST/evse/modbus_tcp_enabled
{ "enabled": true }
Write
curl http://$HOST/evse/modbus_tcp_enabled -d '{ "enabled": true }'
or abbreviated:
curl http://$HOST/evse/modbus_tcp_enabled -d 'true'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp2/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/modbus_tcp_enabled
{ "enabled": true }
Write
With MQTT on $PREFIX/evse/modbus_tcp_enabled_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/modbus_tcp_enabled_update -m '{ "enabled": true }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/modbus_tcp_enabled_update -m 'true'
| Name | Description |
|---|---|
enabledbool | true if the charge slots for Modbus TCP are enabled, otherwise false |
evse/ocpp_enabled
Indicates whether the charge slot for OCPP is active.
# $HOST e.g. warp2-AbCd
Read
curl http://$HOST/evse/ocpp_enabled
{ "enabled": true }
Write
curl http://$HOST/evse/ocpp_enabled -d '{ "enabled": true }'
or abbreviated:
curl http://$HOST/evse/ocpp_enabled -d 'true'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp2/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/ocpp_enabled
{ "enabled": true }
Write
With MQTT on $PREFIX/evse/ocpp_enabled_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/ocpp_enabled_update -m '{ "enabled": true }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/ocpp_enabled_update -m 'true'
| Name | Description |
|---|---|
enabledbool | true if OCPP is enabled, otherwise false |
evse/automation_current
The charging current allowed by automation.
# $HOST e.g. warp2-AbCd
Read
curl http://$HOST/evse/automation_current
{ "current": 14000 }
Write
curl http://$HOST/evse/automation_current -d '{ "current": 14000 }'
or abbreviated:
curl http://$HOST/evse/automation_current -d '14000'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp2/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/automation_current
{ "current": 14000 }
Write
With MQTT on $PREFIX/evse/automation_current_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/automation_current_update -m '{ "current": 14000 }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/automation_current_update -m '14000'
| Name | Description |
|---|---|
currentint (mA) | The charging current allowed by automation. 6000 (=6 amperes) to 32000 (=32 amperes) or 0 if the slot is blocked. |
evse/gpio_configuration
The configuration of the configurable inputs and outputs.
# $HOST e.g. warp2-AbCd
Read
curl http://$HOST/evse/gpio_configuration
{ "shutdown_input": 4, "input": 0, "output": 1 }
Write
curl http://$HOST/evse/gpio_configuration -d '{ "shutdown_input": 4, "input": 0, "output": 1 }'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp2/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/gpio_configuration
{ "shutdown_input": 4, "input": 0, "output": 1 }
Write
With MQTT on $PREFIX/evse/gpio_configuration_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/gpio_configuration_update -m '{ "shutdown_input": 4, "input": 0, "output": 1 }'
| Name | Description |
|---|---|
shutdown_inputint | The configuration of the shutdown input.
|
inputint | The configuration of the configurable input. Ignored on WARP3.
|
outputint | The configuration of the configurable output. Ignored on WARP3.
|
evse/button_configuration
The configuration of the button in the front panel. Requires the feature "button_configuration"
# $HOST e.g. warp2-AbCd
Read
curl http://$HOST/evse/button_configuration
{ "button": 2 }
Write
curl http://$HOST/evse/button_configuration -d '{ "button": 2 }'
or abbreviated:
curl http://$HOST/evse/button_configuration -d '2'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp2/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/button_configuration
{ "button": 2 }
Write
With MQTT on $PREFIX/evse/button_configuration_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/button_configuration_update -m '{ "button": 2 }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/button_configuration_update -m '2'
| Name | Description |
|---|---|
buttonint | The configuration of the button in the front panel.
|
evse/led_configuration
The configuration of the LED in the front panel button.
# $HOST e.g. warp2-AbCd
Read
curl http://$HOST/evse/led_configuration
{ "enable_api": false }
Write
curl http://$HOST/evse/led_configuration -d '{ "enable_api": false }'
or abbreviated:
curl http://$HOST/evse/led_configuration -d 'false'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp2/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/led_configuration
{ "enable_api": false }
Write
With MQTT on $PREFIX/evse/led_configuration_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/led_configuration_update -m '{ "enable_api": false }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/led_configuration_update -m 'false'
| Name | Description |
|---|---|
enable_apibool | Determines whether the LED may be controlled via the
|
evse/ev_wakeup
Indicates whether the EVSE automatically attempts to wake the vehicle's charging electronics from power saving mode by simulating unplugging and plugging in the charging cable. (Control Pilot disconnect/CP disconnect) Requires the feature "cp_disconnect"
# $HOST e.g. warp2-AbCd
Read
curl http://$HOST/evse/ev_wakeup
{ "enabled": true }
Write
curl http://$HOST/evse/ev_wakeup -d '{ "enabled": true }'
or abbreviated:
curl http://$HOST/evse/ev_wakeup -d 'true'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp2/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/ev_wakeup
{ "enabled": true }
Write
With MQTT on $PREFIX/evse/ev_wakeup_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/ev_wakeup_update -m '{ "enabled": true }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/ev_wakeup_update -m 'true'
| Name | Description |
|---|---|
enabledbool | true if the vehicle's charging electronics should be woken up |
evse/control_pilot_disconnect
Indicates whether unplugging and plugging in the charging cable is simulated. (Control Pilot disconnect/CP disconnect) Updates are ignored if load management is enabled. See evse/management_enabled. Requires the feature "cp_disconnect"
# $HOST e.g. warp2-AbCd
Read
curl http://$HOST/evse/control_pilot_disconnect
{ "disconnect": true }
Write
curl http://$HOST/evse/control_pilot_disconnect -d '{ "disconnect": true }'
or abbreviated:
curl http://$HOST/evse/control_pilot_disconnect -d 'true'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp2/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/control_pilot_disconnect
{ "disconnect": true }
Write
With MQTT on $PREFIX/evse/control_pilot_disconnect_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/control_pilot_disconnect_update -m '{ "disconnect": true }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/control_pilot_disconnect_update -m 'true'
| Name | Description |
|---|---|
disconnectbool | true if CP is disconnected, otherwise false |
evse/boost_mode
Indicates whether the EVSE specifies a slightly higher charging current (+ 0.24 A) to the vehicle's charging electronics to compensate for measurement errors in the charging electronics. Only use if a vehicle charges with a lower than the allowed charging current!
# $HOST e.g. warp2-AbCd
Read
curl http://$HOST/evse/boost_mode
{ "enabled": true }
Write
curl http://$HOST/evse/boost_mode -d '{ "enabled": true }'
or abbreviated:
curl http://$HOST/evse/boost_mode -d 'true'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp2/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/boost_mode
{ "enabled": true }
Write
With MQTT on $PREFIX/evse/boost_mode_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/boost_mode_update -m '{ "enabled": true }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/boost_mode_update -m 'true'
| Name | Description |
|---|---|
enabledbool | true if boost mode is enabled, otherwise false |
evse/phases_connected
Configures whether the charger is permanently connected single-phase or three-phase. This is used to calculate the 4200 W limitation according to §14 EnWG
# $HOST e.g. warp2-AbCd
Read
curl http://$HOST/evse/phases_connected
{ "phases": 1 }
Write
curl http://$HOST/evse/phases_connected -d '{ "phases": 1 }'
or abbreviated:
curl http://$HOST/evse/phases_connected -d '1'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp2/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/phases_connected
{ "phases": 1 }
Write
With MQTT on $PREFIX/evse/phases_connected_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/phases_connected_update -m '{ "phases": 1 }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/phases_connected_update -m '1'
| Name | Description |
|---|---|
phasesint | Maximum number of connected phases. A charger behind a phase switching contactor (e.g. with the WARP Energy Manager) is connected three-phase.
|
evse/reset_dc_fault_current_state
Resets the DC residual current protection module. Before resetting, the cause of the fault must be fixed!
# $HOST e.g. warp2-AbCd
Write
curl http://$HOST/evse/reset_dc_fault_current_state -d '{ "password": 3695376931 }'
or abbreviated:
curl http://$HOST/evse/reset_dc_fault_current_state -d '3695376931'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp2/AbCd
Write
mosquitto_pub -h $BROKER -t $PREFIX/evse/reset_dc_fault_current_state -m '{ "password": 3695376931 }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/reset_dc_fault_current_state -m '3695376931'
| Name | Description |
|---|---|
passwordint | Password required for reset. The password is 0xDC42FA23. |
evse/trigger_dc_fault_test
Starts a test of the DC residual current protection module.
Empty payload. One of the following values must be passed: null, "", false, 0, [] or {}
evse/gp_output
The current value of the configurable output.
# $HOST e.g. warp2-AbCd
Read
curl http://$HOST/evse/gp_output
{ "gp_output": 1 }
Write
curl http://$HOST/evse/gp_output -d '{ "gp_output": 1 }'
or abbreviated:
curl http://$HOST/evse/gp_output -d '1'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp2/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/gp_output
{ "gp_output": 1 }
Write
With MQTT on $PREFIX/evse/gp_output_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/gp_output_update -m '{ "gp_output": 1 }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/gp_output_update -m '1'
| Name | Description |
|---|---|
gp_outputint | The current value of the configurable output.
|
evse/stop_charging
Stops the current charging process. Calling this function is equivalent to stopping via the button on the charger: TODO LINK Slot 4 is blocked. Charging can be restarted with evse/start_charging.
Empty payload. One of the following values must be passed: null, "", false, 0, [] or {}
evse/start_charging
Starts a charging process. Calling this function is equivalent to starting via the button on the charger: TODO LINK Slot 4 is released. Charging can be stopped again with evse/stop_charging.
Empty payload. One of the following values must be passed: null, "", false, 0, [] or {}
evse/meter_config
Indicates which energy meter should be considered as the energy meter installed in the WARP Charger, e.g. for charge tracker, charge limits, etc. This allows, for example, an external meter to be used for recording charging processes.
For PV excess charging, a different meter must be used that measures the values at the grid connection point. The ID of this meter is not set here, but with meter_slot_grid_power in power_manager/config
# $HOST e.g. warp2-AbCd
Read
curl http://$HOST/evse/meter_config
{ "slot": 0 }
Write
curl http://$HOST/evse/meter_config -d '{ "slot": 0 }'
or abbreviated:
curl http://$HOST/evse/meter_config -d '0'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp2/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/meter_config
{ "slot": 0 }
Write
With MQTT on $PREFIX/evse/meter_config_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/meter_config_update -m '{ "slot": 0 }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/meter_config_update -m '0'
| Name | Description |
|---|---|
slotint | Energy meter slot to be used |
evse/state
The state of the charge controller.
{
"iec61851_state": 2,
"charger_state": 3,
"contactor_state": 3,
"contactor_error": 0,
"allowed_charging_current": 32000,
"error_state": 0,
"lock_state": 0,
"dc_fault_current_state": 0
}
| Name | Description |
|---|---|
iec61851_stateint | The current state according to IEC 61851
|
charger_stateint | The current state, processed by the charge controller
|
contactor_stateint | State of the contactor monitoring.
|
contactor_errorint | Error code of the contactor monitoring. A value other than 0 indicates an error.
|
allowed_charging_currentint (mA) | Maximum allowed charging current provided to the vehicle. This current is the minimum of the current limits of all charge slots. |
error_stateint | The current error state. See manual for details
|
lock_stateint | State of the cable lock (only relevant for chargers with Type 2 socket; as of now, no WARP Charger with Type 2 socket has been manufactured)
|
dc_fault_current_stateint | (Only WARP 2 and WARP 3) The state of the DC residual current protection module. If a DC fault occurs, charging is no longer possible until the protection module has been reset. Before resetting, the cause of the fault must be fixed!
|
evse/hardware_configuration
The hardware configuration of the charge controller.
{
"jumper_configuration": 6,
"has_lock_switch": false,
"evse_version": 30,
"energy_meter_type": 6
}
| Name | Description |
|---|---|
jumper_configurationint | The maximum current of the incoming cable. This current is configured on the charge controller via jumpers or a circuit board with switches.
|
has_lock_switchbool | Indicates whether the charger has a cable lock.
|
evse_versionint | Hardware version of the charge controller
|
energy_meter_typeint | (Only WARP 2 and WARP 3) Type of the installed energy meter. Not every energy meter is supported by every charger!
|
evse/slots
The state of the charging current limits. The allowed charging current allowed_charging_current from evse/state is the minimum of all charge slots that are active. See TODO LINK for details.
[
// Slot is active, but allows charging without limit (= 32 A).
{ "max_current": 32000, "active": true, "clear_on_disconnect": false },
{ "max_current": 32000, "active": true, "clear_on_disconnect": false },
{ "max_current": 32000, "active": true, "clear_on_disconnect": false },
// Slot is not active, but would still allow charging.
{ "max_current": 32000, "active": false, "clear_on_disconnect": false },
{ "max_current": 32000, "active": true, "clear_on_disconnect": false },
// Slot limits charging to 19 A.
{ "max_current": 19000, "active": true, "clear_on_disconnect": false },
{ "max_current": 32000, "active": false, "clear_on_disconnect": true },
// Slot is not active, would otherwise block charging.
{ "max_current": 0, "active": false, "clear_on_disconnect": true },
{ "max_current": 32000, "active": false, "clear_on_disconnect": false },
{ "max_current": 32000, "active": true, "clear_on_disconnect": false },
{ "max_current": 32000, "active": true, "clear_on_disconnect": false },
{ "max_current": 32000, "active": false, "clear_on_disconnect": false },
{ "max_current": 32000, "active": true, "clear_on_disconnect": false },
{ "max_current": 32000, "active": true, "clear_on_disconnect": false },
{ "max_current": 32000, "active": false, "clear_on_disconnect": false }
]
| Index | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|
[0..14]object | A charge slot
|
evse/button_state
The state of the button in the front panel.
| Name | Description |
|---|---|
button_press_timeint (ms) | Time at which the button was last pressed. 0 if the button has not been pressed since the charge controller started. |
button_release_timeint (ms) | Time at which the button was last released. 0 if the button has not been pressed since the charge controller started. |
button_pressedbool | true if the button is currently pressed, otherwise false |
evse/indicator_led
The state of the LED in the button. Can be written if LED control via API (see evse/led_configuration) has been enabled. The LED color can only be controlled on WARP3.
# $HOST e.g. warp3-AbCd
Read
curl http://$HOST/evse/indicator_led
{ "indication": -1, "duration": 0, "color_h": 0, "color_s": 0, "color_v": 0 }
Write
curl http://$HOST/evse/indicator_led -d '{
"indication": 2003,
"duration": 20000,
"color_h": 120,
"color_s": 255,
"color_v": 255
}'
Zeigt 20 Sekunden lang das Blinkmuster 3xBlinken+längere Pause in Grün auf der LED im Fronttaster an.
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp3/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/indicator_led
{ "indication": -1, "duration": 0, "color_h": 0, "color_s": 0, "color_v": 0 }
Write
With MQTT on $PREFIX/evse/indicator_led_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/indicator_led_update -m '{
"indication": 2003,
"duration": 20000,
"color_h": 120,
"color_s": 255,
"color_v": 255
}'
Zeigt 20 Sekunden lang das Blinkmuster 3xBlinken+längere Pause in Grün auf der LED im Fronttaster an.
| Name | Description |
|---|---|
indicationint | Currently set state.
|
durationint (ms) | Duration for which the set state is maintained. |
color_hint (°) | Hue value of the LED in HSV color space. Allowed values are from 0 to 359 |
color_sint | Saturation of the LED in HSV color space. Allowed values are from 0 to 255 |
color_vint | Brightness of the LED in HSV color space. A brightness of 0 uses the default color of the |
evse/low_level_state
The low-level state of the charge controller.
{
"led_state": 4,
"cp_pwm_duty_cycle": 533,
"adc_values": [3911, 3034, 176, 228, 1029, 3749, 169],
"voltages": [12013, 6359, -12071, -11717, 829, 12084, -12110],
"resistances": [921, 220],
"gpio": [
false, false, false, true,
false, false, false, false,
false, true, true, false,
true, false, false, true,
false, true, true, false,
false, false, false, false
],
"charging_time": 8908109,
"time_since_state_change": 8908109,
"uptime": 866814264,
"time_since_dc_fault_check": 22533556,
"temperature": 3900,
"phases_current": 1,
"phases_requested": 1,
"phases_state": 0,
"phases_info": 0,
"dc_fault_pins": 0,
"dc_fault_sensor_type": 1
}
| Name | Description |
|---|---|
led_stateint | The state of the LED connected to the charge controller
|
cp_pwm_duty_cycleint (%/10) | Duty cycle of the pulse width modulation on the CP signal. |
adc_valuesint[7] | 16-bit ADC raw values of the voltage measurements
|
voltagesint[7] (mV) | Voltages calculated from ADC values
|
resistancesint[2] (Ω) | Resistances calculated from voltages
|
gpiobool[24] | Signals on the GPIOs
|
charging_timeint (ms) | Approximate duration of the charging process. Only to be used for load management purposes! |
time_since_state_changeint (ms) | Time since the last IEC 61851 state change. If the state is 2 (= B: Charging), this value corresponds to the charging time. |
uptimeint (ms) | Time since the charge controller started. |
time_since_dc_fault_checkint (ms) | (Only WARP 2 and WARP 3) Time since the last test of the DC residual current protection module. Warning: This time is measured directly via the processor clock. The accuracy is therefore only sufficient for time measurements in the range of minutes to a few hours. The time measurement overflows after approximately 50 days and starts again at 0. |
dc_fault_sensor_typeint | (Only WARP 2 and WARP 3) Type of DC residual current sensor
|
dc_fault_pinsint | (Only WARP 2 and WARP 3) State of the DC protection module pins at the last error, if an error occurred. Calibration error code, if a calibration error occurred. |
phases_currentint | (Only WARP 3) Current state of phase switching
|
phases_requestedint | (Only WARP 3) Requested state of phase switching
|
phases_stateint | (Only WARP 3) State of phase switching
|
phases_infoint | (Only WARP 3) Additional information about phase switching
|
temperatureint (°/100) | (Only WARP 3) Temperature of the charge controller |
evse/external_current
The charging current specified by the external control.
# $HOST e.g. warp3-AbCd
Read
curl http://$HOST/evse/external_current
{ "current": 16000 }
Write
curl http://$HOST/evse/external_current -d '{ "current": 16000 }'
or abbreviated:
curl http://$HOST/evse/external_current -d '16000'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp3/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/external_current
{ "current": 16000 }
Write
With MQTT on $PREFIX/evse/external_current_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/external_current_update -m '{ "current": 16000 }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/external_current_update -m '16000'
| Name | Description |
|---|---|
currentint (mA) | The charging current specified by the external control. 6000 (=6 amperes) to 32000 (=32 amperes) or 0 if the slot is blocked. |
evse/external_clear_on_disconnect
Indicates whether the charging current specified by the external charging control should be automatically set to 0 when a vehicle is disconnected.
# $HOST e.g. warp3-AbCd
Read
curl http://$HOST/evse/external_clear_on_disconnect
{ "clear_on_disconnect": true }
Write
curl http://$HOST/evse/external_clear_on_disconnect -d '{ "clear_on_disconnect": true }'
or abbreviated:
curl http://$HOST/evse/external_clear_on_disconnect -d 'true'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp3/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/external_clear_on_disconnect
{ "clear_on_disconnect": true }
Write
With MQTT on $PREFIX/evse/external_clear_on_disconnect_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/external_clear_on_disconnect_update -m '{ "clear_on_disconnect": true }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/external_clear_on_disconnect_update -m 'true'
| Name | Description |
|---|---|
clear_on_disconnectbool | Indicates whether the charging current of this slot is set to 0 when a vehicle is disconnected.
|
evse/management_current
The charging current specified by load management.
| Name | Description |
|---|---|
currentint (mA) | 6000 (=6 amperes) to 32000 (=32 amperes) or 0 if the slot should be blocked. |
evse/auto_start_charging
Configures whether a connected vehicle is charged automatically.
# $HOST e.g. warp3-AbCd
Read
curl http://$HOST/evse/auto_start_charging
{ "auto_start_charging": true }
Write
curl http://$HOST/evse/auto_start_charging -d '{ "auto_start_charging": true }'
or abbreviated:
curl http://$HOST/evse/auto_start_charging -d 'true'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp3/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/auto_start_charging
{ "auto_start_charging": true }
Write
With MQTT on $PREFIX/evse/auto_start_charging_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/auto_start_charging_update -m '{ "auto_start_charging": true }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/auto_start_charging_update -m 'true'
| Name | Description |
|---|---|
auto_start_chargingbool | Configures whether a connected vehicle is charged automatically. If enabled, charging starts immediately when the vehicle is connected. If disabled, charging can be started with |
evse/global_current
The charging current specified via the web interface. Warning: This current is stored persistently on the charge controller. For frequent changes, evse/external_current should be used instead to preserve the charge controller's flash memory!
# $HOST e.g. warp3-AbCd
Read
curl http://$HOST/evse/global_current
{ "current": 16000 }
Write
curl http://$HOST/evse/global_current -d '{ "current": 16000 }'
or abbreviated:
curl http://$HOST/evse/global_current -d '16000'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp3/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/global_current
{ "current": 16000 }
Write
With MQTT on $PREFIX/evse/global_current_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/global_current_update -m '{ "current": 16000 }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/global_current_update -m '16000'
| Name | Description |
|---|---|
currentint (mA) | The charging current specified via the web interface. 6000 (=6 amperes) to 32000 (=32 amperes) or 0 if the slot is blocked. |
evse/management_enabled
Indicates whether the load management charge slot is active.
# $HOST e.g. warp3-AbCd
Read
curl http://$HOST/evse/management_enabled
{ "enabled": true }
Write
curl http://$HOST/evse/management_enabled -d '{ "enabled": true }'
or abbreviated:
curl http://$HOST/evse/management_enabled -d 'true'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp3/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/management_enabled
{ "enabled": true }
Write
With MQTT on $PREFIX/evse/management_enabled_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/management_enabled_update -m '{ "enabled": true }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/management_enabled_update -m 'true'
| Name | Description |
|---|---|
enabledbool | true if load management is enabled, otherwise false |
evse/user_current
The charging current allowed by user authorization.
| Name | Description |
|---|---|
currentint (mA) | The charging current allowed by user authorization. 6000 (=6 amperes) to 32000 (=32 amperes) or 0 if the slot is blocked. |
evse/user_enabled
Indicates whether the user authorization charge slot is active.
# $HOST e.g. warp3-AbCd
Read
curl http://$HOST/evse/user_enabled
{ "enabled": true }
Write
curl http://$HOST/evse/user_enabled -d '{ "enabled": true }'
or abbreviated:
curl http://$HOST/evse/user_enabled -d 'true'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp3/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/user_enabled
{ "enabled": true }
Write
With MQTT on $PREFIX/evse/user_enabled_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/user_enabled_update -m '{ "enabled": true }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/user_enabled_update -m 'true'
| Name | Description |
|---|---|
enabledbool | true if user authorization is enabled, otherwise false |
evse/external_enabled
Indicates whether the external control charge slot is active.
# $HOST e.g. warp3-AbCd
Read
curl http://$HOST/evse/external_enabled
{ "enabled": true }
Write
curl http://$HOST/evse/external_enabled -d '{ "enabled": true }'
or abbreviated:
curl http://$HOST/evse/external_enabled -d 'true'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp3/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/external_enabled
{ "enabled": true }
Write
With MQTT on $PREFIX/evse/external_enabled_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/external_enabled_update -m '{ "enabled": true }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/external_enabled_update -m 'true'
| Name | Description |
|---|---|
enabledbool | true if external control is enabled, otherwise false |
evse/external_defaults
The settings of the external control charge slot adopted after a restart of the charge controller.
# $HOST e.g. warp3-AbCd
Read
curl http://$HOST/evse/external_defaults
{ "current": 32000, "clear_on_disconnect": false }
Write
curl http://$HOST/evse/external_defaults -d '{ "current": 32000, "clear_on_disconnect": false }'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp3/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/external_defaults
{ "current": 32000, "clear_on_disconnect": false }
Write
With MQTT on $PREFIX/evse/external_defaults_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/external_defaults_update -m '{ "current": 32000, "clear_on_disconnect": false }'
| Name | Description |
|---|---|
currentint (mA) | The maximum current in the external control charge slot adopted after a restart. 6000 (=6 amperes) to 32000 (=32 amperes) or 0 if the slot is blocked. |
clear_on_disconnectbool | Indicates whether the charging current of this slot is set to 0 when a vehicle is disconnected.
|
evse/modbus_tcp_enabled
Indicates whether the charge slots for Modbus TCP are active (and thus whether Modbus TCP write access has been granted).
# $HOST e.g. warp3-AbCd
Read
curl http://$HOST/evse/modbus_tcp_enabled
{ "enabled": true }
Write
curl http://$HOST/evse/modbus_tcp_enabled -d '{ "enabled": true }'
or abbreviated:
curl http://$HOST/evse/modbus_tcp_enabled -d 'true'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp3/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/modbus_tcp_enabled
{ "enabled": true }
Write
With MQTT on $PREFIX/evse/modbus_tcp_enabled_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/modbus_tcp_enabled_update -m '{ "enabled": true }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/modbus_tcp_enabled_update -m 'true'
| Name | Description |
|---|---|
enabledbool | true if the charge slots for Modbus TCP are enabled, otherwise false |
evse/ocpp_enabled
Indicates whether the charge slot for OCPP is active.
# $HOST e.g. warp3-AbCd
Read
curl http://$HOST/evse/ocpp_enabled
{ "enabled": true }
Write
curl http://$HOST/evse/ocpp_enabled -d '{ "enabled": true }'
or abbreviated:
curl http://$HOST/evse/ocpp_enabled -d 'true'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp3/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/ocpp_enabled
{ "enabled": true }
Write
With MQTT on $PREFIX/evse/ocpp_enabled_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/ocpp_enabled_update -m '{ "enabled": true }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/ocpp_enabled_update -m 'true'
| Name | Description |
|---|---|
enabledbool | true if OCPP is enabled, otherwise false |
evse/automation_current
The charging current allowed by automation.
# $HOST e.g. warp3-AbCd
Read
curl http://$HOST/evse/automation_current
{ "current": 14000 }
Write
curl http://$HOST/evse/automation_current -d '{ "current": 14000 }'
or abbreviated:
curl http://$HOST/evse/automation_current -d '14000'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp3/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/automation_current
{ "current": 14000 }
Write
With MQTT on $PREFIX/evse/automation_current_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/automation_current_update -m '{ "current": 14000 }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/automation_current_update -m '14000'
| Name | Description |
|---|---|
currentint (mA) | The charging current allowed by automation. 6000 (=6 amperes) to 32000 (=32 amperes) or 0 if the slot is blocked. |
evse/gpio_configuration
The configuration of the configurable inputs and outputs.
# $HOST e.g. warp3-AbCd
Read
curl http://$HOST/evse/gpio_configuration
{ "shutdown_input": 4, "input": 0, "output": 1 }
Write
curl http://$HOST/evse/gpio_configuration -d '{ "shutdown_input": 4, "input": 0, "output": 1 }'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp3/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/gpio_configuration
{ "shutdown_input": 4, "input": 0, "output": 1 }
Write
With MQTT on $PREFIX/evse/gpio_configuration_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/gpio_configuration_update -m '{ "shutdown_input": 4, "input": 0, "output": 1 }'
| Name | Description |
|---|---|
shutdown_inputint | The configuration of the shutdown input.
|
inputint | The configuration of the configurable input. Ignored on WARP3.
|
outputint | The configuration of the configurable output. Ignored on WARP3.
|
evse/button_configuration
The configuration of the button in the front panel. Requires the feature "button_configuration"
# $HOST e.g. warp3-AbCd
Read
curl http://$HOST/evse/button_configuration
{ "button": 2 }
Write
curl http://$HOST/evse/button_configuration -d '{ "button": 2 }'
or abbreviated:
curl http://$HOST/evse/button_configuration -d '2'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp3/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/button_configuration
{ "button": 2 }
Write
With MQTT on $PREFIX/evse/button_configuration_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/button_configuration_update -m '{ "button": 2 }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/button_configuration_update -m '2'
| Name | Description |
|---|---|
buttonint | The configuration of the button in the front panel.
|
evse/led_configuration
The configuration of the LED in the front panel button.
# $HOST e.g. warp3-AbCd
Read
curl http://$HOST/evse/led_configuration
{ "enable_api": false }
Write
curl http://$HOST/evse/led_configuration -d '{ "enable_api": false }'
or abbreviated:
curl http://$HOST/evse/led_configuration -d 'false'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp3/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/led_configuration
{ "enable_api": false }
Write
With MQTT on $PREFIX/evse/led_configuration_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/led_configuration_update -m '{ "enable_api": false }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/led_configuration_update -m 'false'
| Name | Description |
|---|---|
enable_apibool | Determines whether the LED may be controlled via the
|
evse/ev_wakeup
Indicates whether the EVSE automatically attempts to wake the vehicle's charging electronics from power saving mode by simulating unplugging and plugging in the charging cable. (Control Pilot disconnect/CP disconnect) Requires the feature "cp_disconnect"
# $HOST e.g. warp3-AbCd
Read
curl http://$HOST/evse/ev_wakeup
{ "enabled": true }
Write
curl http://$HOST/evse/ev_wakeup -d '{ "enabled": true }'
or abbreviated:
curl http://$HOST/evse/ev_wakeup -d 'true'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp3/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/ev_wakeup
{ "enabled": true }
Write
With MQTT on $PREFIX/evse/ev_wakeup_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/ev_wakeup_update -m '{ "enabled": true }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/ev_wakeup_update -m 'true'
| Name | Description |
|---|---|
enabledbool | true if the vehicle's charging electronics should be woken up |
evse/control_pilot_disconnect
Indicates whether unplugging and plugging in the charging cable is simulated. (Control Pilot disconnect/CP disconnect) Updates are ignored if load management is enabled. See evse/management_enabled. Requires the feature "cp_disconnect"
# $HOST e.g. warp3-AbCd
Read
curl http://$HOST/evse/control_pilot_disconnect
{ "disconnect": true }
Write
curl http://$HOST/evse/control_pilot_disconnect -d '{ "disconnect": true }'
or abbreviated:
curl http://$HOST/evse/control_pilot_disconnect -d 'true'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp3/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/control_pilot_disconnect
{ "disconnect": true }
Write
With MQTT on $PREFIX/evse/control_pilot_disconnect_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/control_pilot_disconnect_update -m '{ "disconnect": true }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/control_pilot_disconnect_update -m 'true'
| Name | Description |
|---|---|
disconnectbool | true if CP is disconnected, otherwise false |
evse/boost_mode
Indicates whether the EVSE specifies a slightly higher charging current (+ 0.24 A) to the vehicle's charging electronics to compensate for measurement errors in the charging electronics. Only use if a vehicle charges with a lower than the allowed charging current!
# $HOST e.g. warp3-AbCd
Read
curl http://$HOST/evse/boost_mode
{ "enabled": true }
Write
curl http://$HOST/evse/boost_mode -d '{ "enabled": true }'
or abbreviated:
curl http://$HOST/evse/boost_mode -d 'true'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp3/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/boost_mode
{ "enabled": true }
Write
With MQTT on $PREFIX/evse/boost_mode_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/boost_mode_update -m '{ "enabled": true }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/boost_mode_update -m 'true'
| Name | Description |
|---|---|
enabledbool | true if boost mode is enabled, otherwise false |
evse/phase_auto_switch
Configures whether a WARP3 Charger Pro should automatically switch from three-phase to single-phase charging when a vehicle is connected that only draws current on L1.
# $HOST e.g. warp3-AbCd
Read
curl http://$HOST/evse/phase_auto_switch
{ "enabled": true }
Write
curl http://$HOST/evse/phase_auto_switch -d '{ "enabled": true }'
or abbreviated:
curl http://$HOST/evse/phase_auto_switch -d 'true'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp3/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/phase_auto_switch
{ "enabled": true }
Write
With MQTT on $PREFIX/evse/phase_auto_switch_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/phase_auto_switch_update -m '{ "enabled": true }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/phase_auto_switch_update -m 'true'
| Name | Description |
|---|---|
enabledbool | true if automatic switching is enabled, otherwise false |
evse/phases_connected
Configures whether the charger is permanently connected single-phase or three-phase. This is used to calculate the 4200 W limitation according to §14 EnWG
# $HOST e.g. warp3-AbCd
Read
curl http://$HOST/evse/phases_connected
{ "phases": 1 }
Write
curl http://$HOST/evse/phases_connected -d '{ "phases": 1 }'
or abbreviated:
curl http://$HOST/evse/phases_connected -d '1'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp3/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/phases_connected
{ "phases": 1 }
Write
With MQTT on $PREFIX/evse/phases_connected_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/phases_connected_update -m '{ "phases": 1 }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/phases_connected_update -m '1'
| Name | Description |
|---|---|
phasesint | Maximum number of connected phases. A charger behind a phase switching contactor (e.g. with the WARP Energy Manager) is connected three-phase.
|
evse/reset_dc_fault_current_state
Resets the DC residual current protection module. Before resetting, the cause of the fault must be fixed!
# $HOST e.g. warp3-AbCd
Write
curl http://$HOST/evse/reset_dc_fault_current_state -d '{ "password": 3695376931 }'
or abbreviated:
curl http://$HOST/evse/reset_dc_fault_current_state -d '3695376931'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp3/AbCd
Write
mosquitto_pub -h $BROKER -t $PREFIX/evse/reset_dc_fault_current_state -m '{ "password": 3695376931 }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/reset_dc_fault_current_state -m '3695376931'
| Name | Description |
|---|---|
passwordint | Password required for reset. The password is 0xDC42FA23. |
evse/trigger_dc_fault_test
Starts a test of the DC residual current protection module.
Empty payload. One of the following values must be passed: null, "", false, 0, [] or {}
evse/stop_charging
Stops the current charging process. Calling this function is equivalent to stopping via the button on the charger: TODO LINK Slot 4 is blocked. Charging can be restarted with evse/start_charging.
Empty payload. One of the following values must be passed: null, "", false, 0, [] or {}
evse/start_charging
Starts a charging process. Calling this function is equivalent to starting via the button on the charger: TODO LINK Slot 4 is released. Charging can be stopped again with evse/stop_charging.
Empty payload. One of the following values must be passed: null, "", false, 0, [] or {}
evse/meter_config
Indicates which energy meter should be considered as the energy meter installed in the WARP Charger, e.g. for charge tracker, charge limits, etc. This allows, for example, an external meter to be used for recording charging processes.
For PV excess charging, a different meter must be used that measures the values at the grid connection point. The ID of this meter is not set here, but with meter_slot_grid_power in power_manager/config
# $HOST e.g. warp3-AbCd
Read
curl http://$HOST/evse/meter_config
{ "slot": 0 }
Write
curl http://$HOST/evse/meter_config -d '{ "slot": 0 }'
or abbreviated:
curl http://$HOST/evse/meter_config -d '0'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp3/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/meter_config
{ "slot": 0 }
Write
With MQTT on $PREFIX/evse/meter_config_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/meter_config_update -m '{ "slot": 0 }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/meter_config_update -m '0'
| Name | Description |
|---|---|
slotint | Energy meter slot to be used |
Not supported on this hardware!
Not supported on this hardware!
evse/state
The state of the charge controller.
{
"iec61851_state": 2,
"charger_state": 3,
"contactor_state": 3,
"contactor_error": 0,
"allowed_charging_current": 32000,
"error_state": 0,
"lock_state": 0
}
| Name | Description |
|---|---|
iec61851_stateint | The current state according to IEC 61851
|
charger_stateint | The current state, processed by the charge controller
|
contactor_stateint | State of the contactor monitoring. (Only WARP 1 and WARP 2)
|
contactor_errorint | Error code of the contactor monitoring. A value other than 0 indicates an error.
|
allowed_charging_currentint (mA) | Maximum allowed charging current provided to the vehicle. This current is the minimum of the current limits of all charge slots. |
error_stateint | The current error state. See manual for details
|
lock_stateint | State of the cable lock (only relevant for chargers with Type 2 socket; as of now, no WARP Charger with Type 2 socket has been manufactured)
|
dc_fault_current_stateint | (Only WARP 2 and WARP 3) The state of the DC residual current protection module. If a DC fault occurs, charging is no longer possible until the protection module has been reset. Before resetting, the cause of the fault must be fixed!
|
evse/hardware_configuration
The hardware configuration of the charge controller.
| Name | Description |
|---|---|
jumper_configurationint | The maximum current of the incoming cable. This current is configured on the charge controller via jumpers or a circuit board with switches.
|
has_lock_switchbool | Indicates whether the charger has a cable lock.
|
evse_versionint | Hardware version of the charge controller (Only WARP 1)
|
energy_meter_typeint | (Only WARP 2 and WARP 3) Type of the installed energy meter. Not every energy meter is supported by every charger!
|
evse/slots
The state of the charging current limits. The allowed charging current allowed_charging_current from evse/state is the minimum of all charge slots that are active. See TODO LINK for details.
[
// Slot is active, but allows charging without limit (= 32 A).
{ "max_current": 32000, "active": true, "clear_on_disconnect": false },
{ "max_current": 32000, "active": true, "clear_on_disconnect": false },
{ "max_current": 32000, "active": true, "clear_on_disconnect": false },
// Slot is not active, but would still allow charging.
{ "max_current": 32000, "active": false, "clear_on_disconnect": false },
{ "max_current": 32000, "active": true, "clear_on_disconnect": false },
// Slot limits charging to 19 A.
{ "max_current": 19000, "active": true, "clear_on_disconnect": false },
{ "max_current": 32000, "active": false, "clear_on_disconnect": true },
// Slot is not active, would otherwise block charging.
{ "max_current": 0, "active": false, "clear_on_disconnect": true },
{ "max_current": 32000, "active": false, "clear_on_disconnect": false },
{ "max_current": 32000, "active": true, "clear_on_disconnect": false },
{ "max_current": 32000, "active": true, "clear_on_disconnect": false },
{ "max_current": 32000, "active": false, "clear_on_disconnect": false },
{ "max_current": 32000, "active": true, "clear_on_disconnect": false },
{ "max_current": 32000, "active": true, "clear_on_disconnect": false },
{ "max_current": 32000, "active": false, "clear_on_disconnect": false }
]
| Index | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|
[0..14]object | A charge slot
|
evse/button_state
The state of the button in the front panel.
| Name | Description |
|---|---|
button_press_timeint (ms) | Time at which the button was last pressed. 0 if the button has not been pressed since the charge controller started. |
button_release_timeint (ms) | Time at which the button was last released. 0 if the button has not been pressed since the charge controller started. |
button_pressedbool | true if the button is currently pressed, otherwise false |
evse/indicator_led
The state of the LED in the button. Can be written if LED control via API (see evse/led_configuration) has been enabled. The LED color can only be controlled on WARP3.
# $HOST e.g. warp-AbCd
Read
curl http://$HOST/evse/indicator_led
{ "indication": -1, "duration": 0, "color_h": 0, "color_s": 0, "color_v": 0 }
Write
curl http://$HOST/evse/indicator_led -d '{ "indication": -1, "duration": 0, "color_h": 0, "color_s": 0, "color_v": 0 }'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/indicator_led
{ "indication": -1, "duration": 0, "color_h": 0, "color_s": 0, "color_v": 0 }
Write
With MQTT on $PREFIX/evse/indicator_led_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/indicator_led_update -m '{ "indication": -1, "duration": 0, "color_h": 0, "color_s": 0, "color_v": 0 }'
| Name | Description |
|---|---|
indicationint | Currently set state.
|
durationint (ms) | Duration for which the set state is maintained. |
color_hint (°) | Hue value of the LED in HSV color space. Allowed values are from 0 to 359 |
color_sint | Saturation of the LED in HSV color space. Allowed values are from 0 to 255 |
color_vint | Brightness of the LED in HSV color space. A brightness of 0 uses the default color of the |
evse/low_level_state
The low-level state of the charge controller.
{
"led_state": 4,
"cp_pwm_duty_cycle": 533,
"adc_values": [16356, 7198],
"voltages": [-2646, 899, 5915],
"resistances": [850, 219],
"gpio": [false, false, true, true, true],
"charging_time": 9341087,
"time_since_state_change": 9341087,
"uptime": 876032107
}
| Name | Description |
|---|---|
led_stateint | The state of the LED connected to the charge controller
|
cp_pwm_duty_cycleint (%/10) | Duty cycle of the pulse width modulation on the CP signal. |
adc_valuesint[..] | 16-bit ADC raw values of the voltage measurements (Only WARP 1)
|
voltagesint[..] (mV) | Voltages calculated from ADC values (Only WARP 1)
|
resistancesint[2] (Ω) | Resistances calculated from voltages
|
gpiobool[..] | Signals on the GPIOs (Only WARP 1)
|
charging_timeint (ms) | Approximate duration of the charging process. Only to be used for load management purposes! |
time_since_state_changeint (ms) | Time since the last IEC 61851 state change. If the state is 2 (= B: Charging), this value corresponds to the charging time. |
uptimeint (ms) | Time since the charge controller started. |
time_since_dc_fault_checkint (ms) | (Only WARP 2 and WARP 3) Time since the last test of the DC residual current protection module. Warning: This time is measured directly via the processor clock. The accuracy is therefore only sufficient for time measurements in the range of minutes to a few hours. The time measurement overflows after approximately 50 days and starts again at 0. |
dc_fault_sensor_typeint | (Only WARP 2 and WARP 3) Type of DC residual current sensor
|
dc_fault_pinsint | (Only WARP 2 and WARP 3) State of the DC protection module pins at the last error, if an error occurred. Calibration error code, if a calibration error occurred. |
phases_currentint | (Only WARP 3) Current state of phase switching
|
phases_requestedint | (Only WARP 3) Requested state of phase switching
|
phases_stateint | (Only WARP 3) State of phase switching
|
phases_infoint | (Only WARP 3) Additional information about phase switching
|
temperatureint (°/100) | (Only WARP 3) Temperature of the charge controller |
evse/external_current
The charging current specified by the external control.
# $HOST e.g. warp-AbCd
Read
curl http://$HOST/evse/external_current
{ "current": 16000 }
Write
curl http://$HOST/evse/external_current -d '{ "current": 16000 }'
or abbreviated:
curl http://$HOST/evse/external_current -d '16000'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/external_current
{ "current": 16000 }
Write
With MQTT on $PREFIX/evse/external_current_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/external_current_update -m '{ "current": 16000 }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/external_current_update -m '16000'
| Name | Description |
|---|---|
currentint (mA) | The charging current specified by the external control. 6000 (=6 amperes) to 32000 (=32 amperes) or 0 if the slot is blocked. |
evse/external_clear_on_disconnect
Indicates whether the charging current specified by the external charging control should be automatically set to 0 when a vehicle is disconnected.
# $HOST e.g. warp-AbCd
Read
curl http://$HOST/evse/external_clear_on_disconnect
{ "clear_on_disconnect": true }
Write
curl http://$HOST/evse/external_clear_on_disconnect -d '{ "clear_on_disconnect": true }'
or abbreviated:
curl http://$HOST/evse/external_clear_on_disconnect -d 'true'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/external_clear_on_disconnect
{ "clear_on_disconnect": true }
Write
With MQTT on $PREFIX/evse/external_clear_on_disconnect_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/external_clear_on_disconnect_update -m '{ "clear_on_disconnect": true }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/external_clear_on_disconnect_update -m 'true'
| Name | Description |
|---|---|
clear_on_disconnectbool | Indicates whether the charging current of this slot is set to 0 when a vehicle is disconnected.
|
evse/management_current
The charging current specified by load management.
| Name | Description |
|---|---|
currentint (mA) | 6000 (=6 amperes) to 32000 (=32 amperes) or 0 if the slot should be blocked. |
evse/auto_start_charging
Configures whether a connected vehicle is charged automatically.
# $HOST e.g. warp-AbCd
Read
curl http://$HOST/evse/auto_start_charging
{ "auto_start_charging": true }
Write
curl http://$HOST/evse/auto_start_charging -d '{ "auto_start_charging": true }'
or abbreviated:
curl http://$HOST/evse/auto_start_charging -d 'true'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/auto_start_charging
{ "auto_start_charging": true }
Write
With MQTT on $PREFIX/evse/auto_start_charging_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/auto_start_charging_update -m '{ "auto_start_charging": true }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/auto_start_charging_update -m 'true'
| Name | Description |
|---|---|
auto_start_chargingbool | Configures whether a connected vehicle is charged automatically. If enabled, charging starts immediately when the vehicle is connected. If disabled, charging can be started with |
evse/global_current
The charging current specified via the web interface. Warning: This current is stored persistently on the charge controller. For frequent changes, evse/external_current should be used instead to preserve the charge controller's flash memory!
# $HOST e.g. warp-AbCd
Read
curl http://$HOST/evse/global_current
{ "current": 16000 }
Write
curl http://$HOST/evse/global_current -d '{ "current": 16000 }'
or abbreviated:
curl http://$HOST/evse/global_current -d '16000'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/global_current
{ "current": 16000 }
Write
With MQTT on $PREFIX/evse/global_current_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/global_current_update -m '{ "current": 16000 }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/global_current_update -m '16000'
| Name | Description |
|---|---|
currentint (mA) | The charging current specified via the web interface. 6000 (=6 amperes) to 32000 (=32 amperes) or 0 if the slot is blocked. |
evse/management_enabled
Indicates whether the load management charge slot is active.
# $HOST e.g. warp-AbCd
Read
curl http://$HOST/evse/management_enabled
{ "enabled": true }
Write
curl http://$HOST/evse/management_enabled -d '{ "enabled": true }'
or abbreviated:
curl http://$HOST/evse/management_enabled -d 'true'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/management_enabled
{ "enabled": true }
Write
With MQTT on $PREFIX/evse/management_enabled_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/management_enabled_update -m '{ "enabled": true }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/management_enabled_update -m 'true'
| Name | Description |
|---|---|
enabledbool | true if load management is enabled, otherwise false |
evse/user_current
The charging current allowed by user authorization.
| Name | Description |
|---|---|
currentint (mA) | The charging current allowed by user authorization. 6000 (=6 amperes) to 32000 (=32 amperes) or 0 if the slot is blocked. |
evse/user_enabled
Indicates whether the user authorization charge slot is active.
# $HOST e.g. warp-AbCd
Read
curl http://$HOST/evse/user_enabled
{ "enabled": true }
Write
curl http://$HOST/evse/user_enabled -d '{ "enabled": true }'
or abbreviated:
curl http://$HOST/evse/user_enabled -d 'true'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/user_enabled
{ "enabled": true }
Write
With MQTT on $PREFIX/evse/user_enabled_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/user_enabled_update -m '{ "enabled": true }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/user_enabled_update -m 'true'
| Name | Description |
|---|---|
enabledbool | true if user authorization is enabled, otherwise false |
evse/external_enabled
Indicates whether the external control charge slot is active.
# $HOST e.g. warp-AbCd
Read
curl http://$HOST/evse/external_enabled
{ "enabled": true }
Write
curl http://$HOST/evse/external_enabled -d '{ "enabled": true }'
or abbreviated:
curl http://$HOST/evse/external_enabled -d 'true'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/external_enabled
{ "enabled": true }
Write
With MQTT on $PREFIX/evse/external_enabled_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/external_enabled_update -m '{ "enabled": true }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/external_enabled_update -m 'true'
| Name | Description |
|---|---|
enabledbool | true if external control is enabled, otherwise false |
evse/external_defaults
The settings of the external control charge slot adopted after a restart of the charge controller.
# $HOST e.g. warp-AbCd
Read
curl http://$HOST/evse/external_defaults
{ "current": 32000, "clear_on_disconnect": false }
Write
curl http://$HOST/evse/external_defaults -d '{ "current": 32000, "clear_on_disconnect": false }'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/external_defaults
{ "current": 32000, "clear_on_disconnect": false }
Write
With MQTT on $PREFIX/evse/external_defaults_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/external_defaults_update -m '{ "current": 32000, "clear_on_disconnect": false }'
| Name | Description |
|---|---|
currentint (mA) | The maximum current in the external control charge slot adopted after a restart. 6000 (=6 amperes) to 32000 (=32 amperes) or 0 if the slot is blocked. |
clear_on_disconnectbool | Indicates whether the charging current of this slot is set to 0 when a vehicle is disconnected.
|
evse/modbus_tcp_enabled
Indicates whether the charge slots for Modbus TCP are active (and thus whether Modbus TCP write access has been granted).
# $HOST e.g. warp-AbCd
Read
curl http://$HOST/evse/modbus_tcp_enabled
{ "enabled": true }
Write
curl http://$HOST/evse/modbus_tcp_enabled -d '{ "enabled": true }'
or abbreviated:
curl http://$HOST/evse/modbus_tcp_enabled -d 'true'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/modbus_tcp_enabled
{ "enabled": true }
Write
With MQTT on $PREFIX/evse/modbus_tcp_enabled_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/modbus_tcp_enabled_update -m '{ "enabled": true }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/modbus_tcp_enabled_update -m 'true'
| Name | Description |
|---|---|
enabledbool | true if the charge slots for Modbus TCP are enabled, otherwise false |
evse/ocpp_enabled
Indicates whether the charge slot for OCPP is active.
# $HOST e.g. warp-AbCd
Read
curl http://$HOST/evse/ocpp_enabled
{ "enabled": true }
Write
curl http://$HOST/evse/ocpp_enabled -d '{ "enabled": true }'
or abbreviated:
curl http://$HOST/evse/ocpp_enabled -d 'true'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/ocpp_enabled
{ "enabled": true }
Write
With MQTT on $PREFIX/evse/ocpp_enabled_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/ocpp_enabled_update -m '{ "enabled": true }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/ocpp_enabled_update -m 'true'
| Name | Description |
|---|---|
enabledbool | true if OCPP is enabled, otherwise false |
evse/automation_current
The charging current allowed by automation.
# $HOST e.g. warp-AbCd
Read
curl http://$HOST/evse/automation_current
{ "current": 14000 }
Write
curl http://$HOST/evse/automation_current -d '{ "current": 14000 }'
or abbreviated:
curl http://$HOST/evse/automation_current -d '14000'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/automation_current
{ "current": 14000 }
Write
With MQTT on $PREFIX/evse/automation_current_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/automation_current_update -m '{ "current": 14000 }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/automation_current_update -m '14000'
| Name | Description |
|---|---|
currentint (mA) | The charging current allowed by automation. 6000 (=6 amperes) to 32000 (=32 amperes) or 0 if the slot is blocked. |
evse/gpio_configuration
(Only WARP 2 and WARP 3) The configuration of the configurable inputs and outputs.
# $HOST e.g. warp2-AbCd
Read
curl http://$HOST/evse/gpio_configuration
{ "shutdown_input": 4, "input": 0, "output": 1 }
Write
curl http://$HOST/evse/gpio_configuration -d '{ "shutdown_input": 4, "input": 0, "output": 1 }'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp2/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/gpio_configuration
{ "shutdown_input": 4, "input": 0, "output": 1 }
Write
With MQTT on $PREFIX/evse/gpio_configuration_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/gpio_configuration_update -m '{ "shutdown_input": 4, "input": 0, "output": 1 }'
| Name | Description |
|---|---|
shutdown_inputint | The configuration of the shutdown input.
|
inputint | The configuration of the configurable input. Ignored on WARP3.
|
outputint | The configuration of the configurable output. Ignored on WARP3.
|
evse/button_configuration
(Only WARP 2 and WARP 3)
The configuration of the button in the front panel. Requires the feature "button_configuration"
# $HOST e.g. warp2-AbCd
Read
curl http://$HOST/evse/button_configuration
{ "button": 2 }
Write
curl http://$HOST/evse/button_configuration -d '{ "button": 2 }'
or abbreviated:
curl http://$HOST/evse/button_configuration -d '2'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp2/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/button_configuration
{ "button": 2 }
Write
With MQTT on $PREFIX/evse/button_configuration_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/button_configuration_update -m '{ "button": 2 }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/button_configuration_update -m '2'
| Name | Description |
|---|---|
buttonint | The configuration of the button in the front panel.
|
evse/led_configuration
The configuration of the LED in the front panel button.
# $HOST e.g. warp-AbCd
Read
curl http://$HOST/evse/led_configuration
{ "enable_api": false }
Write
curl http://$HOST/evse/led_configuration -d '{ "enable_api": false }'
or abbreviated:
curl http://$HOST/evse/led_configuration -d 'false'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/led_configuration
{ "enable_api": false }
Write
With MQTT on $PREFIX/evse/led_configuration_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/led_configuration_update -m '{ "enable_api": false }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/led_configuration_update -m 'false'
| Name | Description |
|---|---|
enable_apibool | Determines whether the LED may be controlled via the
|
evse/user_calibration
(Only WARP 1) Allows reading and overwriting the factory calibration of the EVSE. To reset the calibration to factory state, a payload with user_calibration_active set to false can be sent. The other values are then ignored.
# $HOST e.g. warp-AbCd
Read
curl http://$HOST/evse/user_calibration
{
"user_calibration_active": false,
"voltage_diff": -95,
"voltage_mul": 12205,
"voltage_div": 12157,
"resistance_2700": 312,
"resistance_880": [
1517, 984, 870, 795,
803, 769, 671, 748,
691, 588, 598, 549,
537, 606
]
}
Write
curl http://$HOST/evse/user_calibration -d '{
"user_calibration_active": false,
"voltage_diff": -95,
"voltage_mul": 12205,
"voltage_div": 12157,
"resistance_2700": 312,
"resistance_880": [
1517, 984, 870, 795,
803, 769, 671, 748,
691, 588, 598, 549,
537, 606
]
}'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/user_calibration
{
"user_calibration_active": false,
"voltage_diff": -95,
"voltage_mul": 12205,
"voltage_div": 12157,
"resistance_2700": 312,
"resistance_880": [
1517, 984, 870, 795,
803, 769, 671, 748,
691, 588, 598, 549,
537, 606
]
}
Write
With MQTT on $PREFIX/evse/user_calibration_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/user_calibration_update -m '{
"user_calibration_active": false,
"voltage_diff": -95,
"voltage_mul": 12205,
"voltage_div": 12157,
"resistance_2700": 312,
"resistance_880": [
1517, 984, 870, 795,
803, 769, 671, 748,
691, 588, 598, 549,
537, 606
]
}'
| Name | Description |
|---|---|
user_calibration_activebool | Indicates whether the factory calibration has been overwritten. |
voltage_diffint | One of the calibration parameters. |
voltage_mulint | One of the calibration parameters. |
voltage_divint | One of the calibration parameters. |
resistance_2700int | One of the calibration parameters. |
resistance_880int[..] | One of the calibration parameters. |
evse/ev_wakeup
(Only WARP 2 and WARP 3)
Indicates whether the EVSE automatically attempts to wake the vehicle's charging electronics from power saving mode by simulating unplugging and plugging in the charging cable. (Control Pilot disconnect/CP disconnect) Requires the feature "cp_disconnect"
# $HOST e.g. warp2-AbCd
Read
curl http://$HOST/evse/ev_wakeup
{ "enabled": true }
Write
curl http://$HOST/evse/ev_wakeup -d '{ "enabled": true }'
or abbreviated:
curl http://$HOST/evse/ev_wakeup -d 'true'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp2/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/ev_wakeup
{ "enabled": true }
Write
With MQTT on $PREFIX/evse/ev_wakeup_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/ev_wakeup_update -m '{ "enabled": true }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/ev_wakeup_update -m 'true'
| Name | Description |
|---|---|
enabledbool | true if the vehicle's charging electronics should be woken up |
evse/control_pilot_disconnect
(Only WARP 2 and WARP 3)
Indicates whether unplugging and plugging in the charging cable is simulated. (Control Pilot disconnect/CP disconnect) Updates are ignored if load management is enabled. See evse/management_enabled. Requires the feature "cp_disconnect"
# $HOST e.g. warp2-AbCd
Read
curl http://$HOST/evse/control_pilot_disconnect
{ "disconnect": true }
Write
curl http://$HOST/evse/control_pilot_disconnect -d '{ "disconnect": true }'
or abbreviated:
curl http://$HOST/evse/control_pilot_disconnect -d 'true'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp2/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/control_pilot_disconnect
{ "disconnect": true }
Write
With MQTT on $PREFIX/evse/control_pilot_disconnect_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/control_pilot_disconnect_update -m '{ "disconnect": true }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/control_pilot_disconnect_update -m 'true'
| Name | Description |
|---|---|
disconnectbool | true if CP is disconnected, otherwise false |
evse/boost_mode
Indicates whether the EVSE specifies a slightly higher charging current (+ 0.24 A) to the vehicle's charging electronics to compensate for measurement errors in the charging electronics. Only use if a vehicle charges with a lower than the allowed charging current!
# $HOST e.g. warp-AbCd
Read
curl http://$HOST/evse/boost_mode
{ "enabled": true }
Write
curl http://$HOST/evse/boost_mode -d '{ "enabled": true }'
or abbreviated:
curl http://$HOST/evse/boost_mode -d 'true'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/boost_mode
{ "enabled": true }
Write
With MQTT on $PREFIX/evse/boost_mode_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/boost_mode_update -m '{ "enabled": true }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/boost_mode_update -m 'true'
| Name | Description |
|---|---|
enabledbool | true if boost mode is enabled, otherwise false |
evse/phase_auto_switch
(Only WARP 3) Configures whether a WARP3 Charger Pro should automatically switch from three-phase to single-phase charging when a vehicle is connected that only draws current on L1.
# $HOST e.g. warp3-AbCd
Read
curl http://$HOST/evse/phase_auto_switch
{ "enabled": true }
Write
curl http://$HOST/evse/phase_auto_switch -d '{ "enabled": true }'
or abbreviated:
curl http://$HOST/evse/phase_auto_switch -d 'true'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp3/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/phase_auto_switch
{ "enabled": true }
Write
With MQTT on $PREFIX/evse/phase_auto_switch_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/phase_auto_switch_update -m '{ "enabled": true }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/phase_auto_switch_update -m 'true'
| Name | Description |
|---|---|
enabledbool | true if automatic switching is enabled, otherwise false |
evse/phases_connected
(Only WARP 2 and WARP 3) Configures whether the charger is permanently connected single-phase or three-phase. This is used to calculate the 4200 W limitation according to §14 EnWG
# $HOST e.g. warp2-AbCd
Read
curl http://$HOST/evse/phases_connected
{ "phases": 1 }
Write
curl http://$HOST/evse/phases_connected -d '{ "phases": 1 }'
or abbreviated:
curl http://$HOST/evse/phases_connected -d '1'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp2/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/phases_connected
{ "phases": 1 }
Write
With MQTT on $PREFIX/evse/phases_connected_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/phases_connected_update -m '{ "phases": 1 }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/phases_connected_update -m '1'
| Name | Description |
|---|---|
phasesint | Maximum number of connected phases. A charger behind a phase switching contactor (e.g. with the WARP Energy Manager) is connected three-phase.
|
evse/reset_dc_fault_current_state
(Only WARP 2 and WARP 3) Resets the DC residual current protection module. Before resetting, the cause of the fault must be fixed!
# $HOST e.g. warp2-AbCd
Write
curl http://$HOST/evse/reset_dc_fault_current_state -d '{ "password": 3695376931 }'
or abbreviated:
curl http://$HOST/evse/reset_dc_fault_current_state -d '3695376931'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp2/AbCd
Write
mosquitto_pub -h $BROKER -t $PREFIX/evse/reset_dc_fault_current_state -m '{ "password": 3695376931 }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/reset_dc_fault_current_state -m '3695376931'
| Name | Description |
|---|---|
passwordint | Password required for reset. The password is 0xDC42FA23. |
evse/trigger_dc_fault_test
(Only WARP 2 and WARP 3)
Starts a test of the DC residual current protection module.
Empty payload. One of the following values must be passed: null, "", false, 0, [] or {}
evse/gp_output
(Only WARP 2) The current value of the configurable output.
# $HOST e.g. warp2-AbCd
Read
curl http://$HOST/evse/gp_output
{ "gp_output": 1 }
Write
curl http://$HOST/evse/gp_output -d '{ "gp_output": 1 }'
or abbreviated:
curl http://$HOST/evse/gp_output -d '1'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp2/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/gp_output
{ "gp_output": 1 }
Write
With MQTT on $PREFIX/evse/gp_output_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/gp_output_update -m '{ "gp_output": 1 }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/gp_output_update -m '1'
| Name | Description |
|---|---|
gp_outputint | The current value of the configurable output.
|
evse/stop_charging
Stops the current charging process. Calling this function is equivalent to stopping via the button on the charger: TODO LINK Slot 4 is blocked. Charging can be restarted with evse/start_charging.
Empty payload. One of the following values must be passed: null, "", false, 0, [] or {}
evse/start_charging
Starts a charging process. Calling this function is equivalent to starting via the button on the charger: TODO LINK Slot 4 is released. Charging can be stopped again with evse/stop_charging.
Empty payload. One of the following values must be passed: null, "", false, 0, [] or {}
evse/meter_config
Indicates which energy meter should be considered as the energy meter installed in the WARP Charger, e.g. for charge tracker, charge limits, etc. This allows, for example, an external meter to be used for recording charging processes.
For PV excess charging, a different meter must be used that measures the values at the grid connection point. The ID of this meter is not set here, but with meter_slot_grid_power in power_manager/config
# $HOST e.g. warp-AbCd
Read
curl http://$HOST/evse/meter_config
{ "slot": 0 }
Write
curl http://$HOST/evse/meter_config -d '{ "slot": 0 }'
or abbreviated:
curl http://$HOST/evse/meter_config -d '0'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/evse/meter_config
{ "slot": 0 }
Write
With MQTT on $PREFIX/evse/meter_config_update
mosquitto_pub -h $BROKER -t $PREFIX/evse/meter_config_update -m '{ "slot": 0 }'
or abbreviated:
mosquitto_pub -h $BROKER -t $PREFIX/evse/meter_config_update -m '0'
| Name | Description |
|---|---|
slotint | Energy meter slot to be used |