Türschloss

From CCC Basel Wiki
Revision as of 19:59, 19 September 2020 by S3lph (talk | contribs) (Created page with " == Hardware == * Raspberry Pi Zero W * «Eqiva BLUETOOTH SMART» Türschlossantrieb ** Bluetooth-Chip vom PCB gerissen ** Steuerung durch Knopfdruck-Simulation via MOSFETs *...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Hardware

  • Raspberry Pi Zero W
  • «Eqiva BLUETOOTH SMART» Türschlossantrieb
    • Bluetooth-Chip vom PCB gerissen
    • Steuerung durch Knopfdruck-Simulation via MOSFETs
  • Lichtschranke im Türrahmen
  • Pogopin-«Kontaktsensor»

Software

  • Python-Skript zum öffnen/schliessen via Raspi-GPIO-Pins
  • Ansteuerung via SSH Pubkey + ForceCommand
    • ssh open@door ⇒ öffnet das Schloss
    • ssh close@door ⇒ schliesst das Schloss
    • ssh status@door ⇒ Status-Abfrage des Schlosses
  • Ansteuerung via TLS Client Certificate + HTTP cgi-bin