Entities¶
All entities are optional. Add only the ones your device sends; fields a device does not send stay unknown.
The VE.Direct label is the field name in the protocol, the key is the name in your ESPHome configuration.
Every entity accepts the standard ESPHome options of its platform (name, id, filters, icon, unit_of_measurement, …): sensor, binary sensor, text sensor.
Binary sensors¶
platform: victron under binary_sensor:
| Key | VE.Direct label |
|---|---|
load_state |
LOAD |
relay_state |
Relay |
Sensors¶
platform: victron under sensor:
Show all 54 sensors
| Key | VE.Direct label | Unit |
|---|---|---|
battery_voltage |
V |
V |
max_power_yesterday |
H23 |
W |
max_power_today |
H21 |
W |
yield_total |
H19 |
Wh |
yield_yesterday |
H22 |
Wh |
yield_today |
H20 |
Wh |
panel_voltage |
VPV |
V |
panel_power |
PPV |
W |
battery_voltage_2 |
V2 |
V |
battery_voltage_3 |
V3 |
V |
auxiliary_battery_voltage |
VS |
V |
midpoint_voltage_of_the_battery_bank |
VM |
V |
midpoint_deviation_of_the_battery_bank |
DM |
% |
battery_current |
I |
A |
battery_current_2 |
I2 |
A |
battery_current_3 |
I3 |
A |
ac_out_voltage |
AC_OUT_V |
V |
ac_out_current |
AC_OUT_I |
A |
ac_out_apparent_power |
AC_OUT_S |
W |
day_number |
HSDS |
– |
charging_mode_id |
CS |
– |
error_code |
ERR |
– |
warning_code |
WARN |
– |
tracking_mode_id |
MPPT |
– |
device_mode_id |
MODE |
– |
load_current |
IL |
A |
battery_temperature |
T |
°C |
instantaneous_power |
P |
W |
consumed_amp_hours |
CE |
Ah |
state_of_charge |
SOC |
% |
time_to_go |
TTG |
min |
depth_of_the_deepest_discharge |
H1 |
Ah |
depth_of_the_last_discharge |
H2 |
Ah |
depth_of_the_average_discharge |
H3 |
Ah |
number_of_charge_cycles |
H4 |
– |
number_of_full_discharges |
H5 |
– |
cumulative_amp_hours_drawn |
H6 |
Ah |
min_battery_voltage |
H7 |
V |
max_battery_voltage |
H8 |
V |
last_full_charge |
H9 |
min |
number_of_automatic_synchronizations |
H10 |
– |
number_of_low_main_voltage_alarms |
H11 |
– |
number_of_high_main_voltage_alarms |
H12 |
– |
number_of_low_auxiliary_voltage_alarms |
H13 |
– |
number_of_high_auxiliary_voltage_alarms |
H14 |
– |
min_auxiliary_battery_voltage |
H15 |
V |
max_auxiliary_battery_voltage |
H16 |
V |
amount_of_discharged_energy |
H17 |
Wh |
amount_of_charged_energy |
H18 |
Wh |
dc_monitor_mode_id |
MON |
– |
off_reason_bitmask |
OR |
– |
dc_input_voltage |
DC_IN_V |
V |
dc_input_current |
DC_IN_I |
A |
dc_input_power |
DC_IN_P |
W |
Text sensors¶
platform: victron under text_sensor:
| Key | VE.Direct label |
|---|---|
charging_mode |
CS |
error |
ERR |
warning |
WARN |
tracking_mode |
MPPT |
device_mode |
MODE |
firmware_version |
FW |
firmware_version_24bit |
FWE |
device_type |
PID |
serial_number |
SER# |
hardware_revision |
HC# |
alarm_condition_active |
Alarm |
alarm_reason |
AR |
model_description |
BMV |
dc_monitor_mode |
MON |
off_reason |
OR |
Numeric and text variants
Several fields exist as a numeric sensor and a text sensor, e.g. CS as charging_mode_id (number) and charging_mode (human-readable text). Use the numeric one for automations and the text one for dashboards.