set_light_color: Change light color

Description Usage Arguments

Description

This function does not check if the light actually has the capability to change color, Lamp metadata, obtainable by get_light_data should contain that information.

Usage

1
set_light_color(bridge_url, user, light_id, color)

Arguments

bridge_url

Hue bridge URL E.g. "http://192.168.1.100"

user

user id, to be obtained by create_user

light_id

used to address a specific light. Can be looked up by dump_lights_data

color

hex-encoded color, e.g. "#FF0000"


acartauchenius/rhue documentation built on May 8, 2019, 9:28 a.m.