Schliesssystem: Unterschied zwischen den Versionen
Marvin (Diskussion | Beiträge) (→Mode) |
Marvin (Diskussion | Beiträge) |
||
Zeile 8: | Zeile 8: | ||
====mode set==== | ====mode set==== | ||
doorctl mode set ''<mode>'' | doorctl mode set ''<mode>'' | ||
sets the mode [[#Mode]]. | sets the mode [[#Mode]]. Once you issued this command, you will have to wait a short amount of time before <code>doorctl mode set</code> and <code>doorctl inner door open</code> are enabled again. | ||
====mode get==== | ====mode get==== | ||
Zeile 15: | Zeile 15: | ||
====inner door open==== | ====inner door open==== | ||
doorctl inner door open | doorctl inner door open. Once you issued this command, you will have to wait a short amount of time before <code>doorctl mode set</code> and <code>doorctl inner door open</code> are enabled again. | ||
retracts the safety catch of the inner door. | retracts the safety catch of the inner door. | ||
Version vom 30. März 2011, 10:02 Uhr
Schema
{Laptop,Handy,Tablet} <-> WRT <-> ethernet GPIO device <-> {Keymatic, Sprechanlage}
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. Once you issued this command, you will have to wait a short amount of time beforedoorctl mode set
anddoorctl inner door open
are enabled again.
retracts the safety catch of the inner door.
? 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 |
unlocked
|
OO-----
|
door is unlocked | nothing | |
unlocked+ert
|
-----GG
|
door is unlocked | retract safety catch | |
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: 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-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
neuen Schliesszylinder installierenGPIO device installierenkeymatic verkabeln und an GPIO device anschliessensprechanlage an GPIO device anschliessen- auth-system
- netzwerkconfig
- GPIO-Device korrekt aufhaengen
- Gemeinsame Stromversorgung
- Fritzbox (?)
- brickme (?)
- Keymatic (12V)
- DING (5V)
- Telefon (?)
- Tuermagnet
- Temperatursensor
- Stromzaehlerleser
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.