Skip to content

Commit 28ca87c

Browse files
authored
Merge pull request #2770 from LKuemmel/fix
remove obsolet simcount modules from loadvars
2 parents 7fe0915 + e62228d commit 28ca87c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

loadvars.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1092,7 +1092,7 @@ loadvars(){
10921092
fi
10931093
echo $hausverbrauch > /var/www/html/openWB/ramdisk/hausverbrauch
10941094
usesimbezug=0
1095-
if [[ $wattbezugmodul == "bezug_solarwatt" ]]|| [[ $wattbezugmodul == "bezug_rct" ]]|| [[ $wattbezugmodul == "bezug_kostalplenticoreem300haus" ]] || [[ $wattbezugmodul == "bezug_solarlog" ]] ; then
1095+
if [[ $wattbezugmodul == "bezug_rct" ]]|| [[ $wattbezugmodul == "bezug_kostalplenticoreem300haus" ]] ; then
10961096
usesimbezug=1
10971097
fi
10981098
if ((usesimbezug == 1)); then
@@ -1134,7 +1134,7 @@ loadvars(){
11341134
if [[ $speichermodul == "speicher_kostalplenticore" ]] && [[ $pvwattmodul == "wr_plenticore" ]]; then
11351135
usesimpv=1
11361136
fi
1137-
if [[ $pvwattmodul == "wr_rct" ]]|| [[ $pvwattmodul == "wr_solarwatt" ]] || [[ $pvwattmodul == "wr_kostalpikovar2" ]]; then
1137+
if [[ $pvwattmodul == "wr_rct" ]] || [[ $pvwattmodul == "wr_kostalpikovar2" ]] ; then
11381138
usesimpv=1
11391139
fi
11401140
if ((usesimpv == 1)); then
@@ -1182,7 +1182,7 @@ loadvars(){
11821182
echo "$pvallwh" > /var/www/html/openWB/ramdisk/pvallwh
11831183
fi
11841184

1185-
if [[ $speichermodul == "speicher_tesvoltsma" ]] || [[ $speichermodul == "speicher_solarwatt" ]] || [[ $speichermodul == "speicher_rct" ]]|| [[ $speichermodul == "speicher_kostalplenticore" ]] ; then
1185+
if [[ $speichermodul == "speicher_tesvoltsma" ]] || [[ $speichermodul == "speicher_rct" ]] || [[ $speichermodul == "speicher_kostalplenticore" ]] ; then
11861186
ra='^-?[0-9]+$'
11871187
watt2=$(</var/www/html/openWB/ramdisk/speicherleistung)
11881188
if [[ -e /var/www/html/openWB/ramdisk/speicherwatt0pos ]]; then

0 commit comments

Comments
 (0)