mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-12-22 10:24:26 +01:00
49 lines
957 B
INI
49 lines
957 B
INI
[doorlockd]
|
|
|
|
DEBUG = 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
|
|
SECRET_KEY = foobar
|
|
|
|
[backend]
|
|
|
|
BACKEND_TYPE = avr
|
|
SERIAL_PORT = /dev/ttyAMA0
|
|
# Simulation Backend for testing
|
|
#BACKEND_TYPE = simulation
|
|
#
|
|
# Backend for Nuki Bridge over http api
|
|
#BACKEND_TYPE = nuki
|
|
#NUKI_ENDPOINT = http://172.23.15.12:8080
|
|
#NUKI_APITOKEN = SECRET
|
|
#NUKI_DEVICE = Binary Kitchen Auweg
|
|
|
|
[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 =
|