Valdur Kana 7cc479f468 Use f-string literal.
DoorController init call has now named parameters.
2022-03-11 19:48:52 +02:00
2022-02-22 09:44:57 +02:00
2022-02-22 09:44:57 +02:00
2020-11-03 21:18:35 +02:00
2022-02-22 09:44:57 +02:00
2022-02-22 09:44:57 +02:00
2022-02-22 09:44:57 +02:00
2022-03-11 19:48:52 +02:00
2020-11-03 21:18:35 +02:00
2020-11-03 21:18:35 +02:00
2020-11-03 21:18:35 +02:00
2022-03-11 19:48:52 +02:00

K-Door-Pi

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 run.sh.example by copying it to run.sh and changing variables inside it.

Description
Door controller software that runs on the Raspberry Pi
Readme 38 KiB
Languages
Python 93.7%
Shell 5.1%
Dockerfile 1.2%