looking into the possibilty of using and RFID-enabled doorlock
we have 3 readers of the "touchatag" kind and a bunch of tags ...
who will come
- you ??
Followed the install from joren (exept didn't check out teh svn.. downloaded the binary package and untarred & ran install script
#!/bin/bash # using the #! trick you can execute with whatever you like # Example "generic" tag event script for tagEventor from autelic # See http://www.autelic.org for more on autelic # See http://code.google.com/p/tc-squared for more on tagEventor # parameters passed are: # $1 = SAM (unique ID of the SAM chip in the smart card reader if exists, "NoSAM" otherwise # $2 = UID (unique ID of the tag, as later we may use wildcard naming) # $3 = Event Type (IN for new tag placed on reader, OUT for tag removed from reader) d=$(date) # show a message in a dialog on the screen if $3 = "IN" then export DISPLAY=:0.0 #/usr/bin/X11/xmessage -center -timeout 5 "Helo script Event $3, SAM=$1, UID=$2"& echo "$d UID $2" else # exit 0 = SUCCESS to show no problem was found exit 0 fi