Skip to content

unaimed/door_commander

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  1. Add the hostname

    1. in settings.py to ALLOWED_HOSTS
    2. in nginx.conf to server_name
  2. ./set-secrets.sh

  3. ./create-superuser.sh

  4. ./launch-containers.sh

  5. Login to http://127.0.0.1:80

  6. Open the admin interface

  7. Create a door

  8. Start ./mqtt_dump_all_messages.sh in a separate terminal

  9. Open the application home page

  10. Click the button

  11. Watch the listener receiving the mqtt message

  12. 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')

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 64.4%
  • Open Policy Agent 15.3%
  • HTML 8.7%
  • Shell 8.3%
  • Dockerfile 3.3%