Domotys WTS
  • Installation
  • Views
  • Application
  • Datasheet
  • Installation
  • Receive Node
  • Send Node
  • Protocols
  • Variables
  • Requests
  • Events
  • English
  • Français
  • Installation
  • Views
  • Application
  • Datasheet
  • Installation
  • Receive Node
  • Send Node
  • 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

view_list

This domain contains variables related to the list view.

{
	"views":[
        {
            "id":"view-id",
            "name":"View Name",
            "text":"",
            "items":[
                {
                    "id":"view-item-id",
                    "icon_set":[
                        0,
                        ""
                    ],
                    "text":"",
                    "subtext_init":"",
                    "right_mode":0,
                    "val_init":"",
                    "btn1": [
                        0,
                        ""
                    ],
                    "btn2": [
                        0,
                        ""
                    ],
                    "btn3": [
                        0,
                        ""
                    ],
                    "req1": [
                        "",
                        0,
                        "",
                        ""
                    ],
                    "req2": [
                        "",
                        0,
                        "",
                        ""
                    ],
                    "req3": [
                        "",
                        0,
                        "",
                        ""
                    ],
                    "icon": "",
                    "subtext": "",
                    "val": ""
                }
            ]
        }
    ]
}

views

List of view list.

  • Type: Array of view-list-object
  • Attribute: Read/Write/Save

view-list-object

id

Unique ID of the view.

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

name

Name of the view.

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

text

Text displayed on the bottom bar on list view screen.

  • Type: String
  • Attribute: Read/Write

items

Items of the view.

  • Type: Array of view-list-item-object
  • Attribute: Read/Write/Save

view-list-item-object

id

Unique ID of the item.

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

icon_set

Icon settings.

  • Type: Array
  • Size: 2
  • Attribute: Read/Write/Save

Item 0 : Icon Active

  • Type: Integer
  • Value:
    0 : Disable
    1 : Enable

Item 1 : Initialization value of icon

  • Type: Integer or String
  • Value Type Integer : image-id
  • Value Type String : Image path
    For image from Micro SD Card : sd://folder/img.jpg

icon

Current icon.

  • 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

text

Item text.

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

subtext

Item subtext.

  • Type: String
  • Attribute: Read/Write

subtext_init

Initialization value of item subtext.

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

right_mode

Content type to the right of the item.

  • Type: Integer
  • Attribute: Read/Write/Save
  • Value:
    0 : Disable
    1 : Text
    2 : Square Buttons
    3 : Transparent Buttons

val

Text when right_mode is in text mode.

  • Type: String
  • Attribute: Read/Write

val_init

Initialization value of text when right_mode is in text mode.

  • Type: String
  • Attribute: Read/Write

btn1

Button 1 settings.

  • Type: Array
  • Size: 2
  • Attribute: Read/Write/Save

Item 0 : Button state/type

  • Type: Integer
  • Value:
    0 : Disable
    1 : Text button
    2 : Intergated icon button
    3 : Custom icon button

Item 1 : Button content

  • Type: Integer or String
  • Value Type Integer : image-id
  • Value Type String : Text button or image path
    For image from Micro SD Card : sd://folder/img.jpg

btn2

Button 2 settings.

  • Type: Array
  • Size: 2
  • Attribute: Read/Write/Save

Item 0 : Button state/type

  • Type: Integer
  • Value:
    0 : Disable
    1 : Text button
    2 : Intergated icon button
    3 : Custom icon button

Item 1 : Button content

  • Type: Integer or String
  • Value Type Integer : image-id
  • Value Type String : Text button or image path
    For image from Micro SD Card : sd://folder/img.jpg

btn3

Button 3 settings.

  • Type: Array
  • Size: 2
  • Attribute: Read/Write/Save

Item 0 : Button state/type

  • Type: Integer
  • Value:
    0 : Disable
    1 : Text button
    2 : Intergated icon button
    3 : Custom icon button

Item 1 : Button content

  • Type: Integer or String
  • Value Type Integer : image-id
  • Value Type String : Text button or image path
    For image from Micro SD Card : sd://folder/img.jpg

req1

Request executed when button 1 is pressed.

  • Type: request-array
  • Attribute: Read/Write/Save

req2

Request executed when button 2 is pressed.

  • Type: request-array
  • Attribute: Read/Write/Save

req3

Request executed when button 3 is pressed.

  • Type: request-array
  • Attribute: Read/Write/Save
Prev
update