Door lock: Difference between revisions

From NURDspace
No edit summary
No edit summary
Line 26: Line 26:


</gallery>
</gallery>
== Doordaemon script ==
{{:Doordaemon}}

Revision as of 20:29, 5 May 2019

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