-
Add the hostname
- in settings.py to ALLOWED_HOSTS
- in nginx.conf to server_name
-
./set-secrets.sh
-
./create-superuser.sh
-
./launch-containers.sh
-
Login to http://127.0.0.1:80
-
Open the admin interface
-
Create a door
-
Start ./mqtt_dump_all_messages.sh in a separate terminal
-
Open the application home page
-
Click the button
-
Watch the listener receiving the mqtt message
-
You can update a door's status with the following command (fill in your door's mqtt id)
(. secrets.env ; mosquitto_pub -h localhost -u controller -P "${MQTT_PASSWD_CONTROLLER}" -p 1883 -d -t 'door/f16f33d2-7d87-45d3-937d-f5d64d957e8f/presence' -m 'true')
forked from zam-haus/door_commander
-
Notifications
You must be signed in to change notification settings - Fork 0
License
unaimed/door_commander
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Python 64.4%
- Open Policy Agent 15.3%
- HTML 8.7%
- Shell 8.3%
- Dockerfile 3.3%