evcc: move grid-price topic out of evcc/# to energy/tariff/grid #110

Merged
k.renner merged 1 commits from feat/evcc-tariff-topic-move into master 2026-07-04 20:08:18 +00:00
2 changed files with 17 additions and 14 deletions
File diff suppressed because one or more lines are too long
@@ -59,9 +59,11 @@ spec:
# and later subscribes to `open3e/cmnd` in listener mode (HA
# reads via the full-access homeassistant user).
# `evcc` is the (cross-namespace) EV charge controller — reads
# `open3e/#` to consume the VX3 grid/PV/battery/SoC datapoints,
# and publishes its own state under `evcc/#` (consumed by HA via
# the full-access homeassistant user; see the evcc HA package).
# `open3e/#` (VX3 grid/PV/battery/SoC datapoints), publishes its
# own state under `evcc/#`, and reads the grid price from
# `energy/#` (HA republishes input_number.strompreis to
# energy/tariff/grid; kept OUTSIDE evcc/# so evcc's own retained-
# topic management can't wipe it).
cat > /mosquitto/auth/acl <<'EOF'
user homeassistant
topic readwrite #
@@ -82,6 +84,7 @@ spec:
user evcc
topic read open3e/#
topic readwrite evcc/#
topic read energy/#
EOF
chown 1883:1883 /mosquitto/auth/passwd /mosquitto/auth/acl
chmod 0600 /mosquitto/auth/passwd /mosquitto/auth/acl