Looking for doors location or access/keycards? → Wiki homepage
Slack commands operate as a webhook to its API endpoint. WebUI for remotely opening doors, editing keycards, and displaying logs.
On opening a door:
Deployed from kube:hackerspace
Server for door Pi-s. Monitors mongo logs for opens, and actions on them. Logs swipe opens to mongo.
Deployed from kube:hackerpsace/doorboy.yml
Software on the Pi-s. 'Remotes in to doorboy-proxy'
Maintains an (offline) list of allowed card hashes for the current door.
Deployed from kube:ansible/doors.yml
(planning; todo)
PIR outside (ordered) 'laser'-gate sensor: doorbell (datasheet)
(Rasmus-provided) Door sensor: count leaves
(depo) 1-button switch (impulsslüliti) for 'turn off all' / server room panik
Proper box with photoelectric/microswitch sensor
Currently door system contains 3 services
(Ping Arti for more info)
Old system used upgrid.
Takes 12V and has a MOSFET for door solenoid and inputs for Wiegand data pins
We use AY-H6255 NFC Card Reader in Wiegand mode. There are 4 spare: https://inventory.k-space.ee/m/inventory/66d1c2f40f807b50c4e1293e/view
Wire Color | Function |
---|---|
Red | Power |
Black | Ground |
Green | Data 0 / Data |
White | Data 1 / Clock |
Orange | Green LED Control* |
Brown | Red LED Control* |
Purple | Tamper Output |
Yellow | Buzzer Control* |
Blue | RS-485 – A / OSDP** |
Gray | RS-485 – B / OSDP** |
* These wires have programmable functions that may be adjusted by presenting
a configuration card within 10 seconds upon powering on the unit. See the
CS-CCT Configuration Card Tool for the DR-6255 Software Manual for how
you can create a configuration card.
** RS-485 is used for firmware update
Previously used for adding cards by UID. It spits out UID in reverse. Python 2 script to normalize the output:
import struct
import sys
while True:
buf = sys.stdin.readline().decode("ascii")
print(" ".join([j.encode("hex") for j in struct.pack("I",int(buf))]).upper())