From 9dfd46a86f0d38a31e81cedeb72c661190066bbf Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 28 Jan 2020 08:42:42 +0100 Subject: [PATCH] small fix in autolock.sh --- processautolock.sh | 7 ------- 1 file changed, 7 deletions(-) diff --git a/processautolock.sh b/processautolock.sh index 913358cfa..0e00090f9 100755 --- a/processautolock.sh +++ b/processautolock.sh @@ -77,7 +77,6 @@ if [ "$second" -lt "10" ]; then if [ "$lpenabled" = "1" ]; then # if the charge point is enabled, check for auto disabling if [ $timeOfDay = "$lockTime" ]; then - #echo "${now} autolock time for LP${chargePoint} is up" # auto lock time is now, set flag echo "1" > $flagFilename fi @@ -95,9 +94,6 @@ function checkDisableLp { # and disable charge point mqttTopic="openWB/set/lp$chargePoint/ChargePointEnabled" mosquitto_pub -r -t $mqttTopic -m 0 - #echo "${now} autolock charge point #${chargePoint}" - else - #echo "${now} no autolock charge point #${chargePoint}, still charging: ${!powerVarName} W" fi } @@ -132,10 +128,8 @@ do waitFlag=$(<$flagFilename) # read ramdisk value for autolock wait flag if [ "$waitFlag" = "1" ]; then # charge point waiting for lock - #echo "${now} charge point #${chargePoint} waiting for autolock" if [ $timeOfDay = "$unlockTime" ]; then # but auto unlock time is now, so delete possible wait-to-lock-flag - #echo "${now} unlock time for charge point #${chargePoint}: disable wait for autolock" echo "0" > $flagFilename else # unlock time not now and waiting for auto lock @@ -147,7 +141,6 @@ do # unlock time is now, so enable charge point mqttTopic="openWB/set/lp$chargePoint/ChargePointEnabled" mosquitto_pub -r -t $mqttTopic -m 1 - #echo "${now} auto unlock charge point #${chargePoint}" fi fi done