Domotys WTS
  • Installation
  • Vues
  • Application
  • Fiche Technique
  • Installation
  • Nœud Réception
  • Nœud Envoi
  • Protocols
  • Variables
  • Requests
  • Events
  • English
  • Français
  • Installation
  • Vues
  • Application
  • Fiche Technique
  • Installation
  • Nœud Réception
  • Nœud Envoi
  • Protocols
  • Variables
  • Requests
  • Events
  • English
  • Français
  • Protocols
  • Variables
    • Domains
      • action
      • alarm
      • buzzer
      • config
      • date_time
      • domotys
      • heat
      • home
      • home_action
      • information
      • lighting
      • message
      • network
      • opening
      • screen
      • sd
      • theme
      • update
      • view_list
    • Type Definitions
    • ID Definitions
  • Requests
    • Get JSON
    • Set JSON
    • Set States
    • Set States View List
    • Get Files
    • Get Files List
    • Get Screenshot
    • Diverse
  • Events

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 : Disable
    1 : Wifi state
    2 : Alarm state
    3 : Custom integrated icon
    4 : 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 : Disable
    1 : Wifi state
    2 : Alarm state
    3 : Custom integrated icon
    4 : 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 : No
    1 : 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 : No
    1 : 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 : No
    1 : 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