home
This domain contains variables related to the home view.
{
"ribbon_bg": 11287,
"ribbon_text": 65535,
"icon1": 1,
"icon2": 2,
"icon1_custom": 0,
"icon2_custom": 0,
"text3_show": 1,
"text1_date": 1,
"text1_time": 1,
"text1_init": "",
"text2_init": "",
"text3_init": "",
"text2_small_init": "",
"text3_small_init": "",
"text1": "",
"text2": "",
"text3": "",
"text2_small": "",
"text3_small": ""
}
ribbon_bg
Background color of home ribbon.
- Type:
Integer - Attribute:
Read/Write/Save - Format:
RGB565 - Interval:
0 ~ 65535
ribbon_text
Text color of home ribbon.
- Type:
Integer - Attribute:
Read/Write/Save - Format:
RGB565 - Interval:
0 ~ 65535
icon1
Icon on home screen at top right, most to the right.
- Type:
Integer - Attribute:
Read/Write/Save - Value:
0 : Disable1 : Wifi state2 : Alarm state3 : Custom integrated icon4 : Custom Micro SD card icon
icon2
Icon on home screen at top right, most to the left.
- Type:
Integer - Attribute:
Read/Write/Save - Value:
0 : Disable1 : Wifi state2 : Alarm state3 : Custom integrated icon4 : Custom Micro SD card icon
icon1_custom
Custom icon on home screen at top right, most to the right. If the variable icon1 has the value 3, the variable type is Integer. If the variable icon1 has the value 4, then the variable type is String.
- Type:
Integer or String - Attribute:
Read/Write - Value Type Integer :
image-id - Value Type String : Image path
For image from Micro SD Card :sd://folder/img.jpg
icon2_custom
Custom icon on home screen at top right, most to the left. If the variable icon2 has the value 3, the variable type is Integer. If the variable icon2 has the value 4, then the variable type is String.
- Type:
Integer or String - Attribute:
Read/Write - Value Type Integer :
image-id - Value Type String : Image path
For image from Micro SD Card :sd://folder/img.jpg
text3_show
Show the text3. Text located on the right side of the ribbon in the home view. If text3 is disabled, text2 takes up the entire width of the ribbon.
- Type:
Integer - Attribute:
Read/Write/Save - Value:
0 : No1 : Yes
text1_date
Add the current date to text1, the date is added at the beginning of the text.
- Type:
Integer - Attribute:
Read/Write/Save - Value:
0 : No1 : Yes
text1_time
Add the current time to text1, the time is added at the beginning of the text and after the date if text1_date is activated.
- Type:
Integer - Attribute:
Read/Write/Save - Value:
0 : No1 : Yes
text1_init
Initialization value of text1, the value will be applied at the startup of the screen.
- Type:
String - Attribute:
Read/Write/Save
text2_init
Initialization value of text2, the value will be applied at the startup of the screen.
- Type:
String - Attribute:
Read/Write/Save
text3_init
Initialization value of text3, the value will be applied at the startup of the screen.
- Type:
String - Attribute:
Read/Write/Save
text2_small_init
Initialization value of text2_small, the value will be applied at the startup of the screen.
- Type:
String - Attribute:
Read/Write/Save
text3_small_init
Initialization value of text3_small, the value will be applied at the startup of the screen.
- Type:
String - Attribute:
Read/Write/Save
text1
Text on home screen at top left.
- Type:
String - Attribute:
Read/Write
text2
Text at left on ribbon on home screen.
- Type:
String - Attribute:
Read/Write
text3
Text at right on ribbon on home screen.
- Type:
String - Attribute:
Read/Write
text2_small
Text at left above text2 on ribbon on home screen.
- Type:
String - Attribute:
Read/Write
text3_small
Text at right above text3 on ribbon on home screen.
- Type:
String - Attribute:
Read/Write