From 686b6529d7311eadc73e0a1fcd670dfbad71c82d Mon Sep 17 00:00:00 2001 From: rleidner Date: Mon, 29 Apr 2024 22:41:51 +0200 Subject: [PATCH] soc BMW: fix env issue in main.sh --- modules/soc_i3/main.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"