mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-10-31 22:47:05 +01:00
Ralf Ramsauer
07a0ac5307
Furthermore, add initial support for the alarm topic. Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
40 lines
727 B
INI
40 lines
727 B
INI
[doorlockd]
|
|
|
|
DEBUG = False
|
|
SIMULATE_SERIAL = False
|
|
SIMULATE_AUTH = False
|
|
RUN_HOOKS = True
|
|
SOUNDS = True
|
|
|
|
# LDAP
|
|
# LDAP_URI = ldaps://ldap1.binary.kitchen
|
|
# LDAP_BINDDN = cn=%%s,ou=people,dc=binary-kitchen,dc=de
|
|
|
|
# Authentication Backends
|
|
|
|
# Local
|
|
# LOCAL_USER_DB = /etc/doorlockd.passwd
|
|
|
|
TITLE = Binary Kitchen Doorlock
|
|
ROOM = Hauptraum
|
|
WELCOME = Willkommen in der Binary Kitchen
|
|
|
|
SERIAL_PORT = /dev/ttyAMA0
|
|
|
|
SECRET_KEY = foobar
|
|
|
|
[dooralarm]
|
|
|
|
GPIO_CHIP = /dev/gpiochip0
|
|
GPIO_PIN = 22
|
|
|
|
TOPIC_ALARM = kitchen/alarm
|
|
TOPIC_DOORSTATE = kitchen/doorlock/frontdoor/doorstate
|
|
TOPIC_LOCKSTATE = kitchen/doorlock/frontdoor/lockstate
|
|
|
|
DOORSTATE_ALARM_TIMEOUT = 2
|
|
|
|
MQTT_HOST = pizza.binary.kitchen
|
|
MQTT_USERNAME = doorlock
|
|
MQTT_PASSWORD =
|