The virtual Puzzle Button is a small web application, that allows you to let your colleagues know when ever you're waiting at your virtual or physical break space and want to have company.
You can find the whole idea and how we're using the virtual Coffee and Beer button at Puzzle in the German Blogpost
The two buttons basically once clicked send post requests to backend urls.
| Environmentvariable | Description | Example |
|---|---|---|
| APPLICATION_BACKENDURLBEER | Backend url | https://homeassistantserver/api/services/script/turn_on or https://myrocketchat.ch/hooks/DKC4GeDPWYnjKEb5g/jDKAB5zbaG2tHx94cQny7epqAg2QBaE3QFdyBGmYoy3tekgi or what ever ULR you'd like to send a post request to, when the button was clicked |
| APPLICATION_AUTHTOKENBEER (optional) | The BearerToken to be sent to the backend | |
| APPLICATION_PAYLOADBEER (optional) | The Payload that will be sent to the backend in the request | {"entity_id": "script.notify_remote_fyrabebier"} |
| Environmentvariable | Description | Example |
|---|---|---|
| APPLICATION_BACKENDURLCOFFEE | Backend url | https://homeassistantserver/api/services/script/turn_on or https://myrocketchat.ch/hooks/DKC4GeDPWYnjKEb5g/jDKAB5zbaG2tHx94cQny7epqAg2QBaE3QFdyBGmYoy3tekgi or what ever ULR you'd like to send a post request to, when the button was clicked |
| APPLICATION_AUTHTOKENCOFFEE (optional) | The BearerToken to be sent to the backend | |
| APPLICATION_PAYLOADCOFFEE (optional) | The Payload that will be sent to the backend in the request | { "icon_emoji": ":ghost:", "text": "Let's have a coffee, join me please Meetingroom" } |
To build the Springboot application just run
./gradlew build
Or build the docker image
docker build -it virtual-puzzle-button .
get the image from Docker Hub docker pull puzzle/virtual-beerbutton
Content type
Image
Digest
Size
438.6 MB
Last updated
over 5 years ago
docker pull puzzle/virtual-beerbutton