You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Arti Zirk ef67faf6f8 Add systemd service 2 years ago
contrib init 2 years ago
kdoorpi Add more exception handling 2 years ago
.gitignore init 2 years ago init 2 years ago
kdoorpi.service Add systemd service 2 years ago
pyproject.toml init 2 years ago init 2 years ago init 2 years ago


Client for K-Space door system. Run on Raspberry Pi and controlls the doors

Running it

export KDOORPI_DOOR="name"  # Door name
export KDOORPI_API_ALLOWED="http://server/allowed"  # Used to fetch allowed cards
export KDOORPI_API_LONGPOLL="http://server/longpoll"  # Open door now and force allowed cards sync endpoint
export KDOORPI_API_SWIPE="http://server/swipe"  # On card swipe post log line here
export KDOORPI_API_KEY="keykeykey"  # api key for accessing allowed and longpoll api endpoints
export KDOORPI_UID_SALT="saltsaltsalt"  # shared slat used to hash card uid bytes

python3 -m kdoorpi

You can also use the by copying it to and changing variables inside it.