Scripts helper_hue - thica/ORCA-Remote GitHub Wiki
This is a helper script for HUE commands
Attribute | Description |
---|---|
cmd_type | The requested helper function: can be "evaluate_status","evaluate_light","RGB2XY" or XY2RGB |
result | The result of a request (in for "evaluate_status","evaluate_light". This should be the raw result of either the status request to the bridge hue, or from a single lights status |
index | For "evaluate_light": The Hue Light index of the light |
x | For "XY2RGB": the X Value of the light color to convert |
y | For "XY2RGB": the Y Value of the light color to convert |
r | For "RGB2XY": the Red Value of the light color to convert |
g | For "RGB2XY": the Green Value of the light color to convert |
b | For "RGB2XY": the Blue Value of the light color to convert |
retvar | The variable prefix where the result variable will get set |
Remarks: "evaluate_status" will set a list a variables according to list of all lamps and groups in the following format (as an array) "evaluate_light" will set a list a variables in the same format as "evalutae status" but not as an array