Skip to main content

Nanoleaf driver

This controls the panel of lights under the caravan settee.

endpointmethoddescriptionparams
/ui/api/hexGETchange the hex colour of the panelshex: a hex string without the #
/ui/api/hueGETchange the hue value of the panelshue: int
/ui/api/brightnessGETchange the brightness value of the panelsbrightness: int duration : speed of brightness change in seconds
/ui/api/satGETchange the saturation value of the panelssat: int
/ui/api/ctGETchange the ct (colour) value of the panelsct: int
/ui/api/onGETturn panels on
/ui/api/offGETturn panels off
/ui/apiGETset multiple values at once.hue, brightness, sat, ct, on, duration: descriptions as above