File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -38,8 +38,8 @@ SLAVE_SOCKET_HARDWIRED=130
3838MASTER_MAC_ID=$1
3939SLAVE_MAC_ID=$2
4040
41- MASTER=" smartevse-" $1 " .local"
42- SLAVE=" smartevse-" $2 " .local"
41+ MASTER=" http:// smartevse-" $1 " .local"
42+ SLAVE=" http:// smartevse-" $2 " .local"
4343
4444control_c ()
4545# run if user hits control-c
@@ -75,11 +75,15 @@ ABORT=0
7575
7676init_devices () {
7777for device in $SLAVE $MASTER ; do
78+ printf " Rebooting $device \n"
7879 # go to Normal Mode for init
7980 $CURLPOST $device /reboot
81+ printf " Setting $device loadbl and mainsmeter\n"
8082 sleep 1
8183 $CURLPOST " $device /automated_testing?loadbl=0&mainsmeter=1"
84+ printf " Setting $device to NORMAL mode\n"
8285 $CURLPOST $device /settings? mode=1
86+ printf " Done $device \n"
8387done
8488read -p " Make sure all EVSE's are set to NOT CHARGING, then press <ENTER>" dummy
8589sleep 5
You can’t perform that action at this time.
0 commit comments