Logo
Program smart lights API Documentation

State

Number of APIs: 8


1. On/Off

GET http://{{ipAddress}}/api/v1/:auth_token/state/on



2. Brightness

GET http://{{ipAddress}}/api/v1/:auth_token/state/brightness



3. Hue

GET http://{{ipAddress}}/api/v1/:auth_token/state/hue



4. Saturation

GET http://{{ipAddress}}/api/v1/:auth_token/state/sat



5. Saturation - update

PUT http://{{ipAddress}}/api/v1/:auth_token/state/sat



6. Color Temperature

GET http://{{ipAddress}}/api/v1/:auth_token/state/ct

1.5.0:

  • Min and max values returned for ct are wrong. They should be 1200-6500, but are returned 0-100.



7. Color Temperature - update

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

1.5.0:

  • Min and max values returned for ct are wrong. They should be 1200-6500, but are returned 0-100.



8. Color Mode

GET http://{{ipAddress}}/api/v1/:auth_token/state/colorMode



ENDPOINTS