Skip to content

Commit 2af5c24

Browse files
committed
Extra errorlevel for inverter unreachable and sun is very down, so wait long
1 parent 59c64eb commit 2af5c24

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

run.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ while true; do
2727
elif [ ${error_level} -eq 3 ]; then
2828
# inverter unreachable and sun is up, so try again soon
2929
sleep_interval=30
30+
elif [ ${error_level} -eq 4 ]; then
31+
# inverter unreachable and sun is very down, so wait long
32+
sleep_interval=600
3033
else
3134
# default, sun is (almost) up or inverter is reachable
3235
sleep_interval=60

0 commit comments

Comments
 (0)