Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion modules/soc_ovms/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion modules/soc_ovms/soc_ovms.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Loading