disguise developers

Lighting API

GET ledstrip

Summary

Get the current settings of the rear LED strip at the back of the disguise server.

URL

GET    /api/ledstrip

Description

Get the current settings of the rear LED strip at the back of the disguise server:

Responses

Response Body

{
  "ledMode": "static",
  "ledR": 255,
  "ledG": 0,
  "ledB": 0
}

POST ledstrip

Summary

Set the colour and mode of the rear LED strip at the back of the disguise server.

URL

POST    /api/ledstrip

Description

Set the colour and mode of the rear LED strip at the back of the disguise server:

Request Body

{
  "ledMode": "static",
  "ledR": 255,
  "ledG": 0,
  "ledB": 0
}

Responses

Response Body

{
  "message": "ok"
}