lighting
This domain contains variables related to the lighting view.
{
"light_length": 0,
"light": {},
"subtext_init": {},
"subtext": {},
"state": {},
"level": {},
"on": {},
"off": {},
"luminosity": {},
"color": {},
"custom_color": [
0,
20000,
40000,
50000,
65535
],
"text": "",
"color_hsv": 0,
"color_xyz": 0,
"url_prefix": "",
"url_suffix": "",
"post_suffix": ""
}
light_length
Length of lighting variables array / object-array.
- Type:
Integer - Attribute:
Read/Write/Save - Min:
0
light
Lights configurations.
- Type:
object-arrayoflight-array - Attribute:
Read/Write/Save - Size:
light_length
subtext_init
Initialization value of subtext, the value will be applied at the startup of the screen.
- Type:
object-arrayofString - Attribute:
Read/Write/Save - Size:
light_length
subtext
Subtext value displayed below the name.
- Type:
object-arrayofString - Attribute:
Read/Write - Size:
light_length
state
Lights states.
- Type:
object-arrayofInteger - Attribute:
Read/Write - Size:
light_length - Value:
0 : OFF1 : ON
on
HTTP requests for turn ON lights.
- Type:
object-arrayofrequest-array - Attribute:
Read/Write/Save - Size:
light_length
off
HTTP requests for turn OFF lights.
- Type:
object-arrayofrequest-array - Attribute:
Read/Write/Save - Size:
light_length
luminosity
HTTP request for change lights luminosity level.
- Type:
object-arrayofrequest-array - Attribute:
Read/Write/Save - Size:
light_length - Note:
^^will be be replace by the luminosity level in request URL/POST Data.
color
HTTP request for change lights color.
- Type:
object-arrayofrequest-array - Attribute:
Read/Write/Save - Size:
light_length - Note: Substring will be be replace by color data in request URL/POST Data :
^rgb^: RGB 565 color^hex^: Hex Color^r^: red color (RGB 888)^g^: green color (RGB 888)^b^: blue color (RGB 888)^x^: X coordinate (CIE color)^y^: Y coordinate (CIE color)^z^: Z coordinate (CIE color)^h^: hue value (HSV)^s^: Saturation value (HSV)^v^: Value (HSV)
level
Lights luminosity level.
- Type:
object-arrayofInteger - Attribute:
Read/Write - Size:
light_length - Interval:
0 ~ 100
custom_color
Custom color for light color screen.
- Type:
array of Integer - Attribute:
Read/Write/Save - Size:
5 - Format:
RGB565 - Interval:
0 ~ 65535
text
Text displayed on the bottom bar on lighting screen.
- Type:
String - Attribute:
Read/Write
color_hsv
HSV color value mode.
- Type:
Integer - Attribute:
Read/Write/Save - Value:
0 : Saturation / Value 0 to 1001 : Saturation / Value 0 to 255
color_xyz
CIE 1931 color mode.
- Type:
Integer - Attribute:
Read/Write/Save - Value:
0 : CIE XYZ1 : CIE xyY
url_prefix
Text add before url for lighting http request.
- Type:
String - Attribute:
Read/Write/Save
url_suffix
Text add after url for lighting http request.
- Type:
String - Attribute:
Read/Write/Save
post_suffix
Text add after post string for lighting http request.
- Type:
String - Attribute:
Read/Write/Save