Door lock: Difference between revisions

From NURDspace
mNo edit summary
Line 41: Line 41:
=== Running ===
=== Running ===


* Wemos D1 reachable via d00rl0ck.local
* Wemos D1 reachable via d00rl0ck.local (Needs update due to MQTT BROKER ISSUES)
 
 
=== ToDo ===
 
* Upgrade ESP-RFID to 1.3.3 HOTFIX [https://github.com/esprfid/esp-rfid/releases/tag/1.3.3]
* Test out the scanner
* Hack that SBOARD?

Revision as of 15:10, 12 June 2022

Door lock
Door lock.jpg
Participants
Skills Electronics
Status Active
Niche Electronics
Purpose Infra
Tool No
Location Front Door
Cost
Tool category Electronics

Door lock Property "Tool Image" (as page type) with input value "File:{{{Picture}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. {{{Picture}}} {{#if:No | [[Tool Owner::{{{ProjectParticipants}}} | }} {{#if:No | [[Tool Cost::{{{Cost}}} | }}

Introduction

This page describes the hardware used to create the new door lock of the space. Basically there is a RFID-reader that can read blue keychain tokens and some types of RFID-cards (like OV-chipkaart and WUR-cards). The code of the token/card needs to be read once to match it to a user and then grants access to the front door. Zarya can do this for you when needed.

Hardware used

Pics

Doordaemon script

  • doordaemon
    • responds to offering a RFID tag (mifare and others) at the doorsensor

Now running in a docker container on docker.vm.nurd.space

Seeing the logs: docker logs -f doordeamon

Restarting: docker restart doordeamon


** runs on the nurdbot VM

      • reads an imap box
      • sends metrics to mqtt
      • Installed under /home/nurdbot/doordaemon
      • configured via /home/nurdbot/doordaemon/config.json
      • Management via /etc/init.d/doordaemon
      • Logging in /var/log/doordaemon.log

Restarting:

/etc/init.d/doordaemon restart


Next generation

Reader and WEMOS have been ordered, will make a test setup with this software: https://github.com/esprfid/esp-rfid when it's all in the reader supports MiFare and 125khz tags.

Running

  • Wemos D1 reachable via d00rl0ck.local (Needs update due to MQTT BROKER ISSUES)


ToDo

  • Upgrade ESP-RFID to 1.3.3 HOTFIX [1]
  • Test out the scanner
  • Hack that SBOARD?