diff --git a/modules/soc_i3/main.sh b/modules/soc_i3/main.sh index a4e18df5d..116d3984a 100755 --- a/modules/soc_i3/main.sh +++ b/modules/soc_i3/main.sh @@ -91,7 +91,7 @@ if (( soctimer < (6 * intervall) )); then ARGSB64=$(echo -n $ARGS | base64 --wrap=0) - sudo python3 "$MODULEDIR/manual.py" "$ARGSB64" &>> $LOGFILE & + python3 "$MODULEDIR/manual.py" "$ARGSB64" &>> $LOGFILE & soclevel=$(<"$socfile") openwbDebugLog ${DMOD} 1 "Lp$CHARGEPOINT: SoC: $soclevel" @@ -113,7 +113,7 @@ else ARGSB64=$(echo -n $ARGS | base64 --wrap=0) - sudo python3 "$MODULEDIR/i3soc.py" "$ARGSB64" &>> $LOGFILE & + python3 "$MODULEDIR/i3soc.py" "$ARGSB64" &>> $LOGFILE & soclevel=$(<"$socfile") openwbDebugLog ${DMOD} 1 "Lp$CHARGEPOINT: SoC: $soclevel"