You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Syfaro 91f2de11a6 Make spacing more consistent. 1 year ago Fix formatting. 1 year ago
requirements.txt Initial commit. 1 year ago Make spacing more consistent. 1 year ago


Web API for RGBD.


Environment variables that should be set:

  • RGBD_AUTH_ENABLED - Set to a truthy value to enable authentication
  • RGBD_AUTH_TOKEN - Token that must be present to authorize a request

Requests are authenticated by checking the Authorization header against the token provided in the configuration.


POST /brightness

Set brightness of strip.

    "brightness": 255

POST /pixel

Set single pixel color.

    "zone": "name",
    "pos": 0,
    "color": "#ff00ff"

POST /reload

Reloads configuration.

POST /deliver

Sends arbitrary data to zone.

    "zone": "name",
    "deliver": {
        "your": "data"