implement some features of Venus OS
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-02-19 15:37:41 +11:00
parent d72e88ab7b
commit e8153e2953
21 changed files with 4143 additions and 90 deletions

View File

@@ -45,6 +45,18 @@ views:
name: Target Standby
- entity: script.victron_mqtt_set_remote_panel_standby
name: Apply Standby
- type: entities
title: ESS Guide-Style Control (MQTT)
show_header_toggle: false
entities:
- entity: number.victron_ess_grid_setpoint
name: Grid Setpoint (W)
- entity: number.victron_ess_max_charge_power
name: Max Charge Power (W)
- entity: number.victron_ess_max_discharge_power
name: Max Discharge Power (W)
- entity: switch.victron_ess_optimized_mode
name: Optimized Mode (10 on / 9 off)
- type: grid
columns: 3

View File

@@ -4,6 +4,11 @@
# Requirements:
# - invertergui started with MQTT publishing enabled.
# - invertergui MQTT discovery disabled (`--mqtt.ha.enabled=false`) when using this package.
# - for guide-style ESS controls below, enable:
# `MQTT_VENUS_ENABLED=true`
# `MQTT_VENUS_GUIDE_COMPAT=true`
# `MQTT_VENUS_TOPIC_PREFIX=victron`
# `MQTT_VENUS_PORTAL_ID=invertergui`
mqtt:
sensor:
@@ -205,6 +210,42 @@ mqtt:
max: 100
step: 0.1
icon: mdi:current-ac
- name: Victron ESS Grid Setpoint
unique_id: invertergui_mqtt_ess_grid_setpoint
state_topic: victron/N/invertergui/settings/0/Settings/CGwacs/AcPowerSetPoint
value_template: "{{ value_json.value | float(0) }}"
command_topic: victron/W/invertergui/settings/0/Settings/CGwacs/AcPowerSetPoint
command_template: '{"value":{{ value | float(0) | round(0) }}}'
unit_of_measurement: W
mode: box
min: -20000
max: 20000
step: 1
icon: mdi:transmission-tower-export
- name: Victron ESS Max Charge Power
unique_id: invertergui_mqtt_ess_max_charge_power
state_topic: victron/N/invertergui/settings/0/Settings/CGwacs/MaxChargePower
value_template: "{{ value_json.value | float(0) }}"
command_topic: victron/W/invertergui/settings/0/Settings/CGwacs/MaxChargePower
command_template: '{"value":{{ value | float(0) | round(0) }}}'
unit_of_measurement: W
mode: box
min: 0
max: 20000
step: 1
icon: mdi:battery-plus
- name: Victron ESS Max Discharge Power
unique_id: invertergui_mqtt_ess_max_discharge_power
state_topic: victron/N/invertergui/settings/0/Settings/CGwacs/MaxDischargePower
value_template: "{{ value_json.value | float(0) }}"
command_topic: victron/W/invertergui/settings/0/Settings/CGwacs/MaxDischargePower
command_template: '{"value":{{ value | float(0) | round(0) }}}'
unit_of_measurement: W
mode: box
min: 0
max: 20000
step: 1
icon: mdi:battery-minus
switch:
- name: Victron Remote Panel Standby
@@ -216,6 +257,16 @@ mqtt:
state_on: "ON"
state_off: "OFF"
icon: mdi:power-sleep
- name: Victron ESS Optimized Mode
unique_id: invertergui_mqtt_ess_optimized_mode
state_topic: victron/N/invertergui/settings/0/Settings/CGwacs/BatteryLife/State
value_template: "{{ value_json.value | int(9) }}"
command_topic: victron/W/invertergui/settings/0/Settings/CGwacs/BatteryLife/State
payload_on: '{"value":10}'
payload_off: '{"value":9}'
state_on: "10"
state_off: "9"
icon: mdi:battery-sync
input_select:
victron_remote_panel_mode_target: