2019-06-15 19:54:37 +02:00
|
|
|
[doorlockd]
|
2018-03-18 16:17:03 +01:00
|
|
|
|
2019-06-14 22:02:59 +02:00
|
|
|
DEBUG = False
|
|
|
|
SIMULATE_SERIAL = False
|
|
|
|
SIMULATE_AUTH = False
|
|
|
|
RUN_HOOKS = True
|
|
|
|
SOUNDS = True
|
|
|
|
|
2018-10-08 02:40:36 +02:00
|
|
|
# LDAP
|
|
|
|
# LDAP_URI = ldaps://ldap1.binary.kitchen
|
|
|
|
# LDAP_BINDDN = cn=%%s,ou=people,dc=binary-kitchen,dc=de
|
2018-03-23 00:32:34 +01:00
|
|
|
|
2019-02-22 20:11:36 +01:00
|
|
|
# Authentication Backends
|
|
|
|
|
2018-10-08 02:40:36 +02:00
|
|
|
# Local
|
2018-10-16 21:43:49 +02:00
|
|
|
# LOCAL_USER_DB = /etc/doorlockd.passwd
|
2018-03-18 16:35:09 +01:00
|
|
|
|
2018-10-08 02:40:36 +02:00
|
|
|
TITLE = Binary Kitchen Doorlock
|
|
|
|
ROOM = Hauptraum
|
|
|
|
WELCOME = Willkommen in der Binary Kitchen
|
2018-09-18 00:25:21 +02:00
|
|
|
|
2018-10-08 02:40:36 +02:00
|
|
|
SERIAL_PORT = /dev/ttyAMA0
|
|
|
|
|
|
|
|
SECRET_KEY = foobar
|
2019-06-15 22:27:36 +02:00
|
|
|
|
|
|
|
[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 =
|