Philips Hue
communitySmart lighting system with color bulbs, light strips, and automation via local and cloud API.
This is a community-generated spec
This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.
GET
https://{bridge_ip}/api/{username}/lightsList all lights
Parameters
usernameAPI username (stringrequiredbridge_ipbridge IP (stringrequiredReturns
lights with id: {state.on, state.bri, state.hue, state.sat, state.ct, name, type, modelid, manufacturername}PUT
https://{bridge_ip}/api/{username}/lights/{id}/stateControl a light
Parameters
ctcolor temp 153-500 (integeroptionalidlight ID (stringrequiredontrue|false (booleanoptionalbribrightness 0-254 (integeroptionalhuecolor hue 0-65535 (integeroptionalsatsaturation 0-254 (integeroptionalReturns
success[] with updated state attributesGET
https://{bridge_ip}/api/{username}/groupsList light groups/rooms
Returns
groups with id: {name, lights[], type, state.all_on, state.any_on, action}