Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

Commit

Permalink
Integration
Browse files Browse the repository at this point in the history
  • Loading branch information
dj3mu committed Mar 4, 2021
1 parent e878318 commit 5190223
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rfidtag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ checkTagValidForSocket() {

# leave right away if we have no list of valid RFID tags for the charge point
if [ -z "$rfidlist" ]; then
echo "$NowItIs: Empty 'allowed tags list' for Socket after scan of tag '${lasttag}'"
echo "$NowItIs: Empty 'allowed tags list' for socket after scan of tag '${lasttag}'"
return 1
fi

Expand All @@ -270,13 +270,13 @@ checkTagValidForSocket() {
echo 1 > $SocketActivationFile
fi

echo "$NowItIs: Detected RFID scan of '$lasttag' @ meter value $llkwh as socket-activation request"
echo "$NowItIs: Detected RFID scan of '$lasttag' @ meter value $llkwh as socket control request"

return 0
fi
done

echo "$NowItIs: RFID tag '${lasttag}' is not authorized for socket activation"
echo "$NowItIs: RFID tag '${lasttag}' is not authorized to control socket"

return 1
}
Expand Down

0 comments on commit 5190223

Please sign in to comment.