mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-12-22 10:24:26 +01:00
42 lines
772 B
INI
42 lines
772 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
|
|
|
|
# USER_BLACKLIST = /etc/doorlockd.blacklist
|
|
|
|
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 =
|