Schliesssystem: Unterschied zwischen den Versionen
Hefee (Diskussion | Beiträge) (Auch Kategorie Space) |
(→Pinout) |
||
Zeile 76: | Zeile 76: | ||
* relais 3: siedle.open | * relais 3: siedle.open | ||
* relais 4: ''do not connect this relay!'' | * relais 4: ''do not connect this relay!'' | ||
* relais | * relais ?: siedle.ring | ||
* relais | * relais 5: keymatic.open | ||
==Connector pinout== | ==Connector pinout== |
Version vom 22. Oktober 2011, 16:00 Uhr
Schema
{Laptop,Handy,Tablet} <-> WRT <-> ethernet GPIO device <-> {Keymatic <-> Schloss, Sprechanlage <-> Aussentuer, ERT}
DING
Command Interface
The DING listens on *:2701/tcp for incoming connections. The protocol is ECMD with doorctl extensions.
mode set
doorctl mode set <mode>
sets the mode #Mode. Once you issued this command, you will have to wait a short amount of time before doorctl mode set
and doorctl inner door open
are enabled again.
mode get
doorctl mode get
returns the currently selected #Mode.
inner door open
doorctl inner door open.
retracts the safety catch of the inner door. Once you issued this command, you will have to wait a short amount of time before doorctl mode set
and doorctl inner door open
are enabled again.
? inner door open
doorctl ? inner door open
checks if the inner door is currently opened. This does not mean, that the safety catch is retracted but that the door is really standing open.
outer door open
doorctl outer door open
opens the outer door.
Mode
The DING has a mode register for the inner door that is always set to one of the following values:
Mode | Default | LED value | Comment | ERT effect |
---|---|---|---|---|
locked
|
X | --R-R--
|
door is locked | nothing if door is closed, switch to unlocked if door is opened |
unlocked
|
OO-----
|
door is unlocked | nothing if door is closed, switch to unlocked+ert if door is opened | |
unlocked+ert
|
-----GG
|
door is unlocked | retract safety catch if door is closed, switch to primed mode if door is opened | |
primed
|
OORRRGG
|
door will be locked a few seconds after it has been closed | nothing | |
any | ***R***
|
keymatic is currently performing an action | nothing |
Led colors: R: Red, O: Orange, G: Green, *: Any color, italic: blinking
To modify modes use the #mode set or #mode get commands. Also, you can cycle through modes using the pushbutton on the DING.
Pinout
- relais 1: keymatic.lock
- relais 2: keymatic.unlock
- relais 3: siedle.open
- relais 4: do not connect this relay!
- relais ?: siedle.ring
- relais 5: keymatic.open
Connector pinout
These are the pinouts of the two flat cables coming from entryphone and keymatic.
Siedle entryphone
- Pin 1: door opener connector a
- Pin 2: door opener connector b
- Pin 3: ERT connector a
- Pin 4: ERT connector b
- Pin 5: Siedle ERT input a
- Pin 6: Siedle ERT input b
- Pin 7-10: not used
Keymatic
- Pin 1: Pushbutton lock/unlock (?)
- Pin 2: Pushbutton common
- Pin 3: Pushbutton lock/unlock (?)
- Pin 4: RI common
- Pin 5: RI dooropener
- Pin 6: RI lock/unlock (?)
- Pin 7: RI lock/unlock (?)
- Pin 8: unused
- Pin 9: RI power supply
- Pin 10: RI power supply
Todo
- Gemeinsame Stromversorgung
- Fritzbox (12 V/ 100 mA)
- brickme (12 V / 2.5 A)
- Keymatic (12 V / 100 mA)
- DING (5V / 500 mA)
- Telefon (6 V / 300 mA)
- Motorola-Box (5 V / 3 A)
- Spacemaster 6000 (5 V / 400 mA)
Graphische Benutzeroberfläche
- Alles über Public Key Kryptografie lernen.
- Key Paar erzeugen und Public Key einreichen.
- ssh door@brickme -p 42
- Das komplizierte Menü lesen und verstehen
- Tür auf und zu machen
Bedingungen für die Benutzung des Keys
- Der key ist mit einer Passphrase geschützt
- Der Key ist mein persönlicher Key, ich gebe ihn nicht weiter
- Für Missbrauch dieses Keys hafte ich.
Bedingungen für die Benutzung des Keys auf einem Smartphone
- Das Smartphone ist mit einem Passwort geschützt
- Das Smartphone aktiviert automatisch einen "locked Screen" innerhalb von max. 5 Minuten
- Wenn das Smartphone verloren/geklaut/verschenkt geht werde ich sofort beim CTG Bescheid sagen, damit der Key gesperrt wird
Bedingungen für die Benutzung des Keys auf einem Computer
- Der Computer ist meiner.
- Das Dateisystem auf dem der Key gespeichert wird ist gecrypted.
- Rest wie bei Smartphone.
N900
Fuer N900 gibts ein Skript mit auto-connect und auto-ssh-agent: Raum/Schliesssystem/N900-Skript