Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 744 Bytes

README.md

File metadata and controls

28 lines (24 loc) · 744 Bytes

StreamDeckStatus

This application is designed to run in a container and be able to be to get / update a status that will be displayed on a magic mirror.

Pre-requisites:

The following will run to install the requirements:

pip install -r ./app/requirements.txt

To confirm run the following:

pip list

Running in the devcontainer:

The following command will run the app in the devcontainer:

python3 ./app/status-api.py 

This command will execute a post to create a status message:

curl -X POST http://127.0.0.1:5000/api/status -H "Content-Type: application/json" -d '{"status_message":"test"}'

This command will retrieve the status:

curl -X GET http://127.0.0.1:5000/api/status