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
RFID allowed list
Moderators: leecollings, remb0
- emme
- Posts: 909
- Joined: Monday 27 June 2016 11:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Location: Milano, Italy
- Contact:
Re: RFID allowed list
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'?
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"
"We always done this way"
-
- Posts: 8
- Joined: Monday 31 August 2015 17:24
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: RFID allowed list
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)
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)
- emme
- Posts: 909
- Joined: Monday 27 June 2016 11:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Location: Milano, Italy
- Contact:
Re: RFID allowed list
aah.. blocky
scusa!
on ESP i'm not so skilled... (not even on python or lua to be honest )
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
scusa!
on ESP i'm not so skilled... (not even on python or lua to be honest )
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
The most dangerous phrase in any language is:
"We always done this way"
"We always done this way"
-
- Posts: 2
- Joined: Thursday 23 November 2017 19:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: RFID allowed list
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.
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.
Who is online
Users browsing this forum: No registered users and 1 guest