Skip to content

Commit 3baa7b6

Browse files
openhabianopenhabian
openhabian
authored and
openhabian
committed
fix Logikfehler SKI und MODBUS entkommentieren
Signed-off-by: openhabian <openhabian@openHABian>
1 parent a115a6b commit 3baa7b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

functions/storm.house.bash

+2-2
Original file line numberDiff line numberDiff line change
@@ -304,10 +304,10 @@ setup_wb_config() {
304304
if ! grep -Eq "[[:space:]]certificate" "${evccConfig}"; then
305305
evcc eebus-cert -c "${evccConfig}" | tail +6 >> "$evccConfig"
306306
fi
307-
if [[ ${5:-${wallboxid}} != "" && ${5:-${wallboxid}} != "1234567890abcdef" ]] || [[ ${1:-${wallboxtype}} == "eebus" || ${1:-${wallboxtype}} == "elliconnect" || ${1:-${wallboxtype}} == "ellipro" ]]; then
307+
if [[ ${5:-${wallboxid}} != "" && ${5:-${wallboxid}} != "1234567890abcdef" ]] && [[ ${1:-${wallboxtype}} == "eebus" || ${1:-${wallboxtype}} == "elliconnect" || ${1:-${wallboxtype}} == "ellipro" ]]; then
308308
uncomment "#SKI" "${evccConfig}"
309309
fi
310-
if [[ ${5:-${wallboxid}} != "" && ${5:-${wallboxid}} != "1234567890abcdef" ]] || [[ ${1:-${wallboxtype}} == "abb" || ${1:-${wallboxtype}} == "abl-em4" || ${1:-${wallboxtype}} == "ac-elwa-2" || ${1:-${wallboxtype}} == "ac-thor" || ${1:-${wallboxtype}} == "alfen" || ${1:-${wallboxtype}} == "amperfied" || ${1:-${wallboxtype}} == "amperfied-solar" || ${1:-${wallboxtype}} == "dadapower" || ${1:-${wallboxtype}} == "delta" || ${1:-${wallboxtype}} == "hesotec" || ${1:-${wallboxtype}} == "idm" || ${1:-${wallboxtype}} == "innogy-ebox" || ${1:-${wallboxtype}} == "keba-modbus" || ${1:-${wallboxtype}} == "lambda-zewotherm" || ${1:-${wallboxtype}} == "mennekes-hcc3" || ${1:-${wallboxtype}} == "nrggen2" || ${1:-${wallboxtype}} == "obo" || ${1:-${wallboxtype}} == "peblar" || ${1:-${wallboxtype}} == "phoenix-charx" || ${1:-${wallboxtype}} == "phoenix-em-eth" || ${1:-${wallboxtype}} == "phoenix-ev-eth" || ${1:-${wallboxtype}} == "pracht-alpha" || ${1:-${wallboxtype}} == "schneider-evlink-v3" || ${1:-${wallboxtype}} == "stiebel-lwa" || ${1:-${wallboxtype}} == "stiebel-wpm" || ${1:-${wallboxtype}} == "sungrow" || ${1:-${wallboxtype}} == "versicharge" || ${1:-${wallboxtype}} == "vestel" || ${1:-${wallboxtype}} == "victron" || ${1:-${wallboxtype}} == "victron-evcs" ]]; then
310+
if [[ ${5:-${wallboxid}} != "" && ${5:-${wallboxid}} != "1234567890abcdef" ]] && [[ ${1:-${wallboxtype}} == "abb" || ${1:-${wallboxtype}} == "abl-em4" || ${1:-${wallboxtype}} == "ac-elwa-2" || ${1:-${wallboxtype}} == "ac-thor" || ${1:-${wallboxtype}} == "alfen" || ${1:-${wallboxtype}} == "amperfied" || ${1:-${wallboxtype}} == "amperfied-solar" || ${1:-${wallboxtype}} == "dadapower" || ${1:-${wallboxtype}} == "delta" || ${1:-${wallboxtype}} == "hesotec" || ${1:-${wallboxtype}} == "idm" || ${1:-${wallboxtype}} == "innogy-ebox" || ${1:-${wallboxtype}} == "keba-modbus" || ${1:-${wallboxtype}} == "lambda-zewotherm" || ${1:-${wallboxtype}} == "mennekes-hcc3" || ${1:-${wallboxtype}} == "nrggen2" || ${1:-${wallboxtype}} == "obo" || ${1:-${wallboxtype}} == "peblar" || ${1:-${wallboxtype}} == "phoenix-charx" || ${1:-${wallboxtype}} == "phoenix-em-eth" || ${1:-${wallboxtype}} == "phoenix-ev-eth" || ${1:-${wallboxtype}} == "pracht-alpha" || ${1:-${wallboxtype}} == "schneider-evlink-v3" || ${1:-${wallboxtype}} == "stiebel-lwa" || ${1:-${wallboxtype}} == "stiebel-wpm" || ${1:-${wallboxtype}} == "sungrow" || ${1:-${wallboxtype}} == "versicharge" || ${1:-${wallboxtype}} == "vestel" || ${1:-${wallboxtype}} == "victron" || ${1:-${wallboxtype}} == "victron-evcs" ]]; then
311311
uncomment "#TCPMODBUS" "${evccConfig}"
312312
fi
313313
if [[ ${3:-${wallboxuser}} != "" && ${3:-${wallboxuser}} != "NULL" ]]; then

0 commit comments

Comments
 (0)