Skip to content

Commit

Permalink
tests.sh: adapt test1024 to new timing
Browse files Browse the repository at this point in the history
  • Loading branch information
dingo35 committed Feb 13, 2024
1 parent 6c83bcd commit 3158c3a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions SmartEVSE-3/test/tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,6 @@ if [ $((SEL & NR)) -ne 0 ]; then
printf "Starting $TESTSTRING test #$NR:\n"
#the margin for which we will accept the lowering/upping of the charge current, in dA
MARGIN=20
#make mains_overload feed mains_current with 3A per phase to the grid
TESTVALUE=-3
TESTVALUE10=$((TESTVALUE*10))
#note that startcurrent shown as -4A on the display is stored as 4A !
Expand Down Expand Up @@ -646,7 +645,7 @@ if [ $((SEL & NR)) -ne 0 ]; then
printf "Feeding total of 18A....chargecurrent should drop to 6A, then triggers stoptimer and when it expires, stops charging because over import limit of 15A\r"
TESTSTRING="SolarStopTimer should have been activated on overload on ImportCurrent"
echo 60 >feed_mains_$MASTER
sleep 60
sleep 40
for device in $MASTER $SLAVE; do
TIMER=$(curl -s -X GET $device/settings | jq ".evse.solar_stop_timer")
print_results2 "$TIMER" "26" "5" "SOLAR_STOP_TIMER"
Expand Down

0 comments on commit 3158c3a

Please sign in to comment.