You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
continuous-integration/drone Build is failing Details
|6 months ago|
|app||6 months ago|
|.drone.yml||6 months ago|
|.flake8||1 year ago|
|.gitignore||2 years ago|
|.gitlint||1 year ago|
|.pre-commit-config.yaml||1 year ago|
|Dockerfile||6 months ago|
|README.md||1 year ago|
|docker-compose.yml||1 year ago|
|mongo-init.sh||1 year ago|
This component serves allowed list of keyfob UID hashes from MongoDB and pushes open door commands to door controllers.
For manually testing something like this might help:
curl -f http://127.0.0.1:5000/allowed -H "KEY: 0123456789"
When updating doorboy proxy, members site or kdoorpi verify follwing:
- Swiping unknown card shows up as unknown, it can be claimed on members site and it immediately can be used after claiming
- Card enable/disable on members site works and has effect
- Opening door via buttons at https://members.k-space.ee/m/doorboy works and has effect
- Opening door via
/open-back-doorcommands in Slack channel #members works
- TODO: Keep door open via members site works and has effect
When testing changes prefer using the back door and use a brick or something to keep it open to prevent interfering with other members entering and exiting.
The easiest is to obtain VM from Proxmox cluster with public IP address. To run development instance:
docker-compose -f docker-compose.yml up --build
On kdoorpi override
KDOORPI_API_LONGPOLL environment variables
to redirect requests to your dev instance.