Devices & room

List devices

GET/api/devices
Open. Open to everyone who can reach Tempolight.

Your devices, each with health: the last check. Hue user names and client keys and Nanoleaf tokens never leave the server.

Responses

200OKapplication/json
object[]
idstringrequired

d…

namestringrequired
hoststringrequired

Its address (virtual for a virtual room).

kindstring

Left out for WLED.

One of "govee" "openrgb" "hue" "nanoleaf" "lifx" "wiz" "kasa" "yeelight" "twinkly" "dmx"
ledsinteger
ddpPortinteger
enabledboolean
virtualboolean
protocolstring
One of "ddp" "e131" "artnet"
universeinteger
maxAmpsnumber
0 to 500
mAperLednumber
5 to 200
goveeModestring
One of "color" "segments"
goveeSegmentsinteger
lightLatencyMsinteger

This light's own delay set by hand, 0-500 ms (light timing). Left out: estimated.

0 to 500
lightobject

Smart lights: what was found (for example zones) and their options.

hueobject

Hue bridges only.

nanoleafobject

Nanoleaf only.

fixturesobject[]

DMX devices only.

healthobject | null
Request
curl 'http://localhost:8080/api/devices'
Response
[
  {
    "id": "d4k2x9",
    "name": "Desk strip",
    "host": "192.168.1.42",
    "ddpPort": 4048,
    "leds": 120,
    "enabled": true
  }
]
Edit on GitHub