diff --git a/modules/soc_ovms/main.sh b/modules/soc_ovms/main.sh index ddb010b14..5d9d7b27b 100755 --- a/modules/soc_ovms/main.sh +++ b/modules/soc_ovms/main.sh @@ -71,7 +71,6 @@ incrementTimer(){ getAndWriteSoc(){ openwbDebugLog ${DMOD} 2 "Lp$CHARGEPOINT: Requesting SoC" echo 0 > $soctimerfile - echo $($MODULEDIR/soc_ovms.py --server "$server" --user "$username" --password "$password" --vehicleId "$vehicleId" --chargepoint "$CHARGEPOINT" 2>>$RAMDISKDIR/soc.log) answer=$($MODULEDIR/soc_ovms.py --server "$server" --user "$username" --password "$password" --vehicleId "$vehicleId" --chargepoint "$CHARGEPOINT" 2>>$RAMDISKDIR/soc.log) if [ $? -eq 0 ]; then # we got a valid answer diff --git a/modules/soc_ovms/soc_ovms.py b/modules/soc_ovms/soc_ovms.py index 93629a8a9..2d93ed196 100755 --- a/modules/soc_ovms/soc_ovms.py +++ b/modules/soc_ovms/soc_ovms.py @@ -231,7 +231,7 @@ def get_status(user_id: str) -> Union[int, dict]: return int(status_code), respDict -# async function to fetch soc, range, soc_ts +# function to fetch soc, range, soc_ts def _fetch_soc(user_id: str, password: str, chargepoint: int) -> int: global log, session, token, vehicleId