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

theme

This domain contains variables related to the screen theme.

{
	"theme": 0,
	"color1": 2217,
	"color2": 68,
	"color1_txt": 0,
	"color2_txt": 0,
	"element": 0,
	"element_txt": 0,
	"image_background": "",
	"image_background_home": "",
	"bottom_bar": 1
}

theme

Theme type.

  • Type: Integer
  • Attribute: Read/Write/Save
  • Value:
    0 : Dark
    1 : Light
    2 : Custom

color1

Background color for custom theme.

  • Type: Integer
  • Attribute: Read/Write/Save
  • Format: RGB565
  • Interval: 0 ~ 65535

color2

Bar color for custom theme.

  • Type: Integer
  • Attribute: Read/Write/Save
  • Format: RGB565
  • Interval: 0 ~ 65535

color1_txt

Text/Icon color for text on background for custom theme.

  • Type: Integer
  • Attribute: Read/Write/Save
  • Value:
    0 : Light
    1 : Dark

color2_txt

Text/Icon color for text on bar for custom theme.

  • Type: Integer
  • Attribute: Read/Write/Save
  • Value:
    0 : Light
    1 : Dark

element

Background color for element for custom theme.

  • Type: Integer
  • Attribute: Read/Write/Save
  • Value:
    0 : Light
    1 : Dark

element_txt

Text color for element for custom theme.

  • Type: Integer
  • Attribute: Read/Write/Save
  • Value:
    0 : Light
    1 : Dark

image_background

Name of the image file to display as the background for all views (except for the home view) when the custom theme is in use. The image must be located in the image_background folder at the root of the microSD card.

  • Type: String
  • Attribute: Read/Write/Save

image_background_home

Name of the image file to display as the background for home view when the custom theme is in use. The image must be located in the image_background folder at the root of the microSD card.

  • Type: String
  • Attribute: Read/Write/Save

bottom_bar

Active bottom bar for all views when cutom theme use.

  • Type: Integer
  • Attribute: Read/Write/Save
  • Value:
    0 : No
    1 : Yes