1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-12-22 18:34:25 +01:00
doorlockd-mirror/etc/doorlockd.cfg
Thomas Schmid 4825c7346e Refactor pydoorlock to support multiple backends
Signed-off-by: Thomas Schmid <tom@lfence.de>
2022-11-16 21:03:55 +01:00

45 lines
840 B
INI

[doorlockd]
DEBUG = False
SIMULATE_SERIAL = False
SIMULATE_AUTH = False
RUN_HOOKS = True
SIMULATE_BACKEND = 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
[backend]
BACKEND_TYPE = avr
SERIAL_PORT = /dev/ttyAMA0
# Simulation Backend for testing
#BACKEND_TYPE = simulation
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 =