RFID card access controls
Moderators: leecollings, remb0
-
- Posts: 10
- Joined: Saturday 12 August 2017 6:48
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
RFID card access controls
I have set up an access controls system in my house using Domoticz and an ESP8226 board running ESP Easy as an interface to several Wiegrand RFID card readers in the house. It's pretty slick! I use Blockey logic to control it. It's fairly cumbersome, because I have to have a logic statement for each card on each reader. I haven't figured out a good way to do a log either. It would be neat if Domoticz had a front end for this so I could assign a card to a person, and assign cardholders access levels that have access on selected readers, during scheduled times. Also It would need to have a way of choosing a binary output for each card reader. Logs of who swiped their card where and when, and weather or not access was granted too. I've managed to do all of this except the logs with Blockey logic, so I bet it's not too far fetched to make a front end page just for this. The problem is that programming eludes me, so this isn't a job for me!
-
- Posts: 229
- Joined: Wednesday 30 April 2014 20:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: The Netherlands
- Contact:
Re: RFID card access controls
I am also looking for a good solution for this. Unfortunately, I do not have the skills to achieve my goal. Previously I found this post viewtopic.php?f=38&t=8582&p=141892&hilit=rfid#p169378 The plan described by D'rMorris fits but is still a bridge too far for me. Perhaps your question leads to a solution that I can use. I am very interested in the solution
-
- Posts: 10
- Joined: Saturday 12 August 2017 6:48
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: RFID card access controls
It wasn't too difficult. You need to get an ESP 8226 board. Get one that's recomended on the ESP Easy page. Hook up an RFID reader to the pins you assigned on the ESP 8226 board with a resistor voltage devider, and make a dummy sensor in domoticz. You then have to put the IDX into the ESP board via the web interface. Then Scan your RFID card. Go to the ESP web interface, and get the number. Domoticz won't display it. Then write a blockey statement that says"If RFID reader = 123456789 then open door." then you may want another statement to lock the door that reads "If door is unlocked wait 4 seconds then lock door." Let me know how it goes.
-
- Posts: 229
- Joined: Wednesday 30 April 2014 20:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: The Netherlands
- Contact:
Re: RFID card access controls
I prefer a wired solution (RFID-RC522> Nano> ethernet shield ENC28J60> Domoticz) instead an ESPboard. My problem is to send the TAG ID via wire to a Domoticz sensor. It is the first time that I want to connect a sensor via Ethernet to Domoticz. That is a challenge in itself.
I can connect the hardware and I have the necessary libraries (UIPEthernet.h, SPI.h and MFRC522.h). However, I do not get beyond the first beginning of a sketch with which I can send the TAG ID to Domoticz.
I spent a lot of time searching for a solution on the web, unfortunately no success. Here and there you can find a sketch. People who want to use such a sketch then run into an SPI problem.
I hope someone has a solution.
thank you in advance!
Jan
Who is online
Users browsing this forum: No registered users and 1 guest