Logo
Program smart lights API Documentation

Write

PUT http://{{ipAddress}}/api/v1/:auth_token/effects

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

{"animName":"Northern Lights","loop":true,"palette":[{"hue":227,"saturation":100,"brightness":99},{"hue":182,"saturation":100,"brightness":100},{"hue":125,"saturation":100,"brightness":93},{"hue":62,"saturation":100,"brightness":100},{"hue":31,"saturation":100,"brightness":100},{"hue":2,"saturation":100,"brightness":100},{"hue":307,"saturation":100,"brightness":100}],"version":"1.0","transTime":{"maxValue":20,"minValue":20},"windowSize":2,"flowFactor":0,"delayTime":{"maxValue":20,"minValue":5},"colorType":"HSB","animType":"wheel","explodeFactor":0,"brightnessRange":{"maxValue":0,"minValue":0},"direction":"left"}



Curl
curl -X PUT 'http://ipAddress/api/v1/:auth_token/effects' -d '{"write":{"command":"request","animName":"Northern Lights"}}'

ENDPOINTS