Page 1 of 1

RFID allowed list

Posted: Tuesday 21 March 2017 8:58
by lucalg
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?

Thank you very much,
Luca
:geek:

Re: RFID allowed list

Posted: Tuesday 21 March 2017 9:25
by emme
ciao,

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'?

Re: RFID allowed list

Posted: Tuesday 21 March 2017 9:40
by lucalg
Thank you very much for the answer.
Do you have some code to share with a NotProgrammer Domoticz addicted?
Thank you very much,
Luca

(Scratch is that part on events creation without coding, but using visual boxes and so on)

Re: RFID allowed list

Posted: Tuesday 21 March 2017 10:08
by emme
aah.. blocky :oops: :oops:
scusa! :P

on ESP i'm not so skilled... (not even on python or lua to be honest :lol: :lol: )
but we could make a try....

if you want to send me a PM with the exact structure you have, we could try to face it....
ciao
M

Re: RFID allowed list

Posted: Friday 24 November 2017 5:22
by serengeti76
Hi lucalg,
I wanted to PM you but I am a new member and not allowed yet.
Would you explain how you got Domoticz to read RFID tags?
Thanks.