VictronMPPT-ESPHOME/README.md

83 lines
1.3 KiB
Markdown
Raw Normal View History

2022-01-24 17:04:19 +00:00
#Victron solar charge controller
2021-05-30 10:34:11 +00:00
2022-01-24 17:04:19 +00:00
A configured uart component is required.
2021-05-30 10:34:11 +00:00
2022-01-24 17:04:19 +00:00
Example:
2021-05-30 10:34:11 +00:00
```yaml
victron:
2022-01-24 17:04:19 +00:00
uart_id: the_uart
2021-05-30 10:34:11 +00:00
sensor:
- platform: victron
panel_voltage:
2022-01-24 17:04:19 +00:00
id: pv
2021-05-30 10:34:11 +00:00
battery_voltage:
2022-01-24 17:04:19 +00:00
id: bv
2021-05-30 10:34:11 +00:00
battery_current:
2022-01-24 17:04:19 +00:00
id: bc
2021-05-30 10:34:11 +00:00
```
2022-01-24 17:04:19 +00:00
The `uart_id` is optional.
2021-09-05 16:26:53 +00:00
2022-01-24 17:04:19 +00:00
All sensors are optional.
2021-09-05 16:26:53 +00:00
2022-01-24 17:04:19 +00:00
The available numeric sensors are
for MPPT:
2021-05-30 10:34:11 +00:00
- `max_power_yesterday`
- `max_power_today`
- `yield_total`
- `yield_yesterday`
- `yield_today`
- `panel_voltage`
- `panel_power`
2022-01-24 17:04:19 +00:00
- `battery_voltage`
2021-05-30 10:34:11 +00:00
- `battery_current`
- `day_number`
2022-01-24 17:04:19 +00:00
- `charger_status`
2021-05-30 10:34:11 +00:00
- `error_code`
2021-09-05 16:26:53 +00:00
- `tracking_mode_id`
- `load_current`
2021-05-30 10:34:11 +00:00
2022-01-24 17:04:19 +00:00
for inverters:
- `ac_out_voltage`
- `ac_out_current`
- `battery_voltage`
- `warning_code`
- `charger_status` (= State of operation)
- `device_mode_id`
The available text sensors are
for MPPT:
- `device_type`
2021-09-05 16:26:53 +00:00
- `charging_mode`
- `error`
- `tracking_mode`
- `firmware_version`
2022-01-24 17:04:19 +00:00
for inverters:
2021-09-05 16:26:53 +00:00
- `device_type`
2022-01-24 17:04:19 +00:00
- `device_mode`
- `warning`
- `firmware_version`
2021-05-30 10:34:11 +00:00
2022-01-24 17:04:19 +00:00
Example for multiple devices:
```yaml
victron:
- id: victron_mppt
uart_id: the_uart_of_mppt
- id: victron_inverter
uart_id: the_uart_of_inverter
text_sensor:
- platform: victron
victron_id: victron_mppt
device_type:
name: "MPPT device type"
- platform: victron
victron_id: victron_inverter
device_type:
name: "Inverter device type"
```