Elgato Stream Deck
With a general HTTP plugin every key of your Stream Deck becomes a timer button. "API Ninja" and "Web Requests" from the Stream Deck Store both work; no dedicated plugin is needed.
- Under Settings, API and devices, add a device of the kind "Stream Deck" and copy the token.
- Install the plugin "API Ninja" (or "Web Requests") from the Stream Deck Store.
- Drag the action "API Ninja" onto a key and enter the values below.
- Add one key per project; each key gets its own project ID or alias in the body.
API Ninja, key "toggle project":
Request URL: https://api.horaka.com/v1/track/toggle
Method: POST
Content Type: application/json
Headers: Authorization: Bearer YOUR_TOKEN
Body: {"project": "PROJECT"}
Web Requests, key "stop" (action "HTTP Request"):
URL: https://api.horaka.com/v1/track/stop
Method: POST
Headers: Authorization: Bearer YOUR_TOKEN
Content-Type: application/json
Body: {}
API Ninja shows a tick or a cross after the press. Status 200 means it worked; 401 means a wrong token, 403 means the device may not book on this project or the device limit of your plan is reached.