Good morning,
i want to create different profiles inside my home. I've setted some RFIDS with Esp8266 and they works perfectly, and i want to divide zones to allow some users to open garage (for example) but not the wine room, and some others entrance door. Keys are 30 at the moment but could be more. Actually i've done something working with one key but if i want to make them work i need to create one event for each key. (i'm not able to program so i use events Scratch)
My target is to have an allowed Rfid codes lists (or better, one per profile) so say: If the key the reader is checking is inside this list THEN.....
Is that possible?
I don't know how you structure the RFid key manager... but I assume something like that:
each RFID terminal will be configured with an ID:
ID 00 = ALL
ID 01 = Home
ID 02 = Garage
ID FF = REVOKE / BLACKLIST
put all RFidCodes into a file with the following syntax:
{RFIDCode, Area}
than have a code that reads the tag, browse the file and grab the ID...
check if the ID is equal to 00, or equal to the terminal ID and not equal FF... than open the door
what is 'Event Scratch'?
The most dangerous phrase in any language is:
"We always done this way"