Sensors

This page regroups the sensors-related APIs.

Light Level

These are offered by devices with light level sensing capabilities.

List light levels.

get

List all available light levels.

Authorizations
hue-application-keystringRequired
Responses
200

Light Level Success Response

application/json
Responseall of
get
/clip/v2/resource/light_level

Get light

get

Get details of a single light from its given {lightId}.

Authorizations
hue-application-keystringRequired
Path parameters
lightIdstringRequired

ID of the light

Responses
200

Light Level Success Response

application/json
Responseall of
get
/clip/v2/resource/light_level/{lightId}

Update light

put

Update a single light from its given {lightId}.

Authorizations
hue-application-keystringRequired
Path parameters
lightIdstringRequired

ID of the light

Body
typestringOptional

Type of the supported resources (always light_level here)

enabledbooleanOptional

true when sensor is activated, false when deactivated

Responses
200

Success

application/json
Responseall of
put
/clip/v2/resource/light_level/{lightId}

Temperature

These are offered by devices with temperature sensing capabilities.

List temperatures

get

List all temperatures

Authorizations
hue-application-keystringRequired
Responses
200

Temperature Success Response

application/json
Responseall of
get
/clip/v2/resource/temperature

Get temperature sensor information

get

Get details of a single temperature sensor from its given {temperatureId}.

Authorizations
hue-application-keystringRequired
Path parameters
temperatureIdstringRequired

ID of the temperature sensor

Responses
200

Temperature Success Response

application/json
Responseall of
get
/clip/v2/resource/temperature/{temperatureId}

Update temperature sensor

put

Update a temperature sensor from its given {temperatureId}.

Authorizations
hue-application-keystringRequired
Path parameters
temperatureIdstringRequired

ID of the temperature sensor

Body
typestring · enumOptional

Type of the supported resources (always temperature here)

Possible values:
enabledbooleanOptional

true when sensor is activated, false when deactivated

Responses
200

Success

application/json
Responseall of
put
/clip/v2/resource/temperature/{temperatureId}

Last updated

Was this helpful?