evanugarte/my-arcam-remote

Add Server to Take Arcam Commands

Closed this issue · 0 comments

We need a server in flask to server static HTML content and accept GET and POST requests for controlling the device.

GET  "/"
GET  "/<path:path>"
GET  "/api/health-check"
POST "/api/mute"
POST "/api/power"
POST "/api/volume"
POST "/api/source"

All post requests set the related field with the query parameter value. The values will be active high, meaning
GET /api/power?value=1 will turn the device on and 0 will turn it off.