Page home
    Attributes
        ID                 : 0
        Scope              : local
        Dragging           : 0
        Send Component ID  : disabled
        Opacity            : 127
        Width              : 320
        Effect             : load
        Effect Priority    : 0
        Effect Time        : 300
        Locked             : no
        Swide up page ID   : disabled
        Swide down page ID : disabled
        Swide left page ID : disabled
        Swide right page ID: disabled
        Fill               : picture
        Back. Picture ID   : 103
    
    Events
        Preinitialize Event
            dim=brightness.val
            dimtimer.en=1
            sleeptimer.en=1
            printh 92
            prints "nspanelevent",0
            printh 00
            prints "{\"page\": \"home\", \"component\": \"currentpage\", \"value\": \"pagechange\"}",0
            printh 00
            printh FF FF FF
            vis 255,0
            vis settings_click,1
        
Variable (int32) brightness
    Attributes
        ID   : 2
        Scope: global
        Value: 100
    
Variable (int32) brightdd
    Attributes
        ID   : 3
        Scope: global
        Value: 40
    
Variable (int32) disdim
    Attributes
        ID   : 4
        Scope: global
        Value: 0
    
Variable (int32) sleepmodus
    Attributes
        ID   : 16
        Scope: global
        Value: 0
    
Variable (string) lastclick
    Attributes
        ID            : 54
        Scope         : local
        Text          : 
        Max. Text Size: 100
    
Text time
    Attributes
        ID                      : 7
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 111
        y coordinate            : 50
        Width                   : 160
        Height                  : 62
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 6
        Cropped Back. Picture ID: 103
        Horizontal Alignment    : right
        Vertical Alignment      : center
        Input Type              : character
        Text                    : 
        Max. Text Size          : 5
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text current_temp
    Attributes
        ID                      : 8
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 191
        y coordinate            : 169
        Width                   : 100
        Height                  : 40
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 4
        Cropped Back. Picture ID: 103
        Horizontal Alignment    : left
        Vertical Alignment      : bottom
        Input Type              : character
        Text                    : 
        Max. Text Size          : 8
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text outdoor_temp
    Attributes
        ID                      : 9
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 30
        y coordinate            : 264
        Width                   : 87
        Height                  : 37
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 4
        Cropped Back. Picture ID: 103
        Horizontal Alignment    : left
        Vertical Alignment      : top
        Input Type              : character
        Text                    : 
        Max. Text Size          : 8
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text date
    Attributes
        ID                      : 10
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 41
        y coordinate            : 117
        Width                   : 230
        Height                  : 30
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 3
        Cropped Back. Picture ID: 103
        Horizontal Alignment    : right
        Vertical Alignment      : bottom
        Input Type              : character
        Text                    : 
        Max. Text Size          : 25
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text value01_state
    Attributes
        ID                      : 12
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 188
        y coordinate            : 213
        Width                   : 120
        Height                  : 25
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 3
        Cropped Back. Picture ID: 103
        Horizontal Alignment    : left
        Vertical Alignment      : top
        Input Type              : character
        Text                    : 
        Max. Text Size          : 10
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text left_bt_text
    Attributes
        ID                      : 17
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 16
        y coordinate            : 444
        Width                   : 120
        Height                  : 20
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 1
        Cropped Back. Picture ID: 103
        Horizontal Alignment    : center
        Vertical Alignment      : center
        Input Type              : character
        Text                    : 
        Max. Text Size          : 20
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text right_bt_text
    Attributes
        ID                      : 18
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 184
        y coordinate            : 441
        Width                   : 120
        Height                  : 20
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 1
        Cropped Back. Picture ID: 103
        Horizontal Alignment    : center
        Vertical Alignment      : center
        Input Type              : character
        Text                    : 
        Max. Text Size          : 20
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text icon_top_01
    Attributes
        ID                      : 21
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 16
        y coordinate            : 5
        Width                   : 25
        Height                  : 25
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 7
        Cropped Back. Picture ID: 103
        Horizontal Alignment    : center
        Vertical Alignment      : center
        Input Type              : character
        Text                    : 
        Max. Text Size          : 10
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text icon_top_02
    Attributes
        ID                      : 22
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 45
        y coordinate            : 5
        Width                   : 25
        Height                  : 25
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 7
        Cropped Back. Picture ID: 103
        Horizontal Alignment    : center
        Vertical Alignment      : center
        Input Type              : character
        Text                    : 
        Max. Text Size          : 10
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text icon_top_03
    Attributes
        ID                      : 23
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 74
        y coordinate            : 5
        Width                   : 25
        Height                  : 25
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 7
        Cropped Back. Picture ID: 103
        Horizontal Alignment    : center
        Vertical Alignment      : center
        Input Type              : character
        Text                    : 
        Max. Text Size          : 10
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text icon_top_04
    Attributes
        ID                      : 24
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 103
        y coordinate            : 5
        Width                   : 25
        Height                  : 25
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 7
        Cropped Back. Picture ID: 103
        Horizontal Alignment    : center
        Vertical Alignment      : center
        Input Type              : character
        Text                    : 
        Max. Text Size          : 10
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text icon_top_05
    Attributes
        ID                      : 25
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 132
        y coordinate            : 5
        Width                   : 25
        Height                  : 25
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 7
        Cropped Back. Picture ID: 103
        Horizontal Alignment    : center
        Vertical Alignment      : center
        Input Type              : character
        Text                    : 
        Max. Text Size          : 10
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text icon_top_06
    Attributes
        ID                      : 26
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 161
        y coordinate            : 5
        Width                   : 25
        Height                  : 25
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 7
        Cropped Back. Picture ID: 103
        Horizontal Alignment    : center
        Vertical Alignment      : center
        Input Type              : character
        Text                    : 
        Max. Text Size          : 10
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text icon_top_07
    Attributes
        ID                      : 27
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 190
        y coordinate            : 5
        Width                   : 25
        Height                  : 25
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 7
        Cropped Back. Picture ID: 103
        Horizontal Alignment    : center
        Vertical Alignment      : center
        Input Type              : character
        Text                    : 
        Max. Text Size          : 10
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text icon_top_08
    Attributes
        ID                      : 28
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 219
        y coordinate            : 5
        Width                   : 25
        Height                  : 25
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 7
        Cropped Back. Picture ID: 103
        Horizontal Alignment    : center
        Vertical Alignment      : center
        Input Type              : character
        Text                    : 
        Max. Text Size          : 10
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text icon_top_09
    Attributes
        ID                      : 29
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 248
        y coordinate            : 5
        Width                   : 25
        Height                  : 25
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 7
        Cropped Back. Picture ID: 103
        Horizontal Alignment    : center
        Vertical Alignment      : center
        Input Type              : character
        Text                    : 
        Max. Text Size          : 10
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text icon_top_10
    Attributes
        ID                      : 30
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 277
        y coordinate            : 5
        Width                   : 25
        Height                  : 25
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 7
        Cropped Back. Picture ID: 103
        Horizontal Alignment    : center
        Vertical Alignment      : center
        Input Type              : character
        Text                    : 
        Max. Text Size          : 10
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text value01_icon
    Attributes
        ID                      : 31
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 161
        y coordinate            : 211
        Width                   : 25
        Height                  : 25
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 7
        Cropped Back. Picture ID: 103
        Horizontal Alignment    : center
        Vertical Alignment      : center
        Input Type              : character
        Text                    : 
        Max. Text Size          : 10
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text value03_state
    Attributes
        ID                      : 32
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 188
        y coordinate            : 264
        Width                   : 120
        Height                  : 25
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 3
        Cropped Back. Picture ID: 103
        Horizontal Alignment    : left
        Vertical Alignment      : center
        Input Type              : character
        Text                    : 
        Max. Text Size          : 10
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text value03_icon
    Attributes
        ID                      : 33
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 161
        y coordinate            : 262
        Width                   : 25
        Height                  : 25
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 8
        Cropped Back. Picture ID: 103
        Horizontal Alignment    : center
        Vertical Alignment      : center
        Input Type              : character
        Text                    : 
        Max. Text Size          : 10
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text value02_icon
    Attributes
        ID                      : 34
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 161
        y coordinate            : 236
        Width                   : 25
        Height                  : 25
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 7
        Cropped Back. Picture ID: 103
        Horizontal Alignment    : center
        Vertical Alignment      : center
        Input Type              : character
        Text                    : 
        Max. Text Size          : 10
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text value02_state
    Attributes
        ID                      : 35
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 188
        y coordinate            : 238
        Width                   : 120
        Height                  : 25
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 3
        Cropped Back. Picture ID: 103
        Horizontal Alignment    : left
        Vertical Alignment      : top
        Input Type              : character
        Text                    : 
        Max. Text Size          : 10
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text wifi_icon
    Attributes
        ID                      : 36
        Scope                   : global
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 284
        y coordinate            : 58
        Width                   : 25
        Height                  : 25
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 7
        Cropped Back. Picture ID: 103
        Horizontal Alignment    : center
        Vertical Alignment      : center
        Input Type              : character
        Text                    : 
        Max. Text Size          : 5
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text indoortempicon
    Attributes
        ID                      : 37
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 156
        y coordinate            : 175
        Width                   : 35
        Height                  : 35
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 8
        Cropped Back. Picture ID: 103
        Horizontal Alignment    : center
        Vertical Alignment      : center
        Input Type              : character
        Text                    : 
        Max. Text Size          : 10
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text button01_icon
    Attributes
        ID                      : 38
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 156
        y coordinate            : 325
        Width                   : 35
        Height                  : 35
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 8
        Cropped Back. Picture ID: 103
        Horizontal Alignment    : center
        Vertical Alignment      : center
        Input Type              : character
        Text                    : 
        Max. Text Size          : 10
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text button02_icon
    Attributes
        ID                      : 39
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 203
        y coordinate            : 325
        Width                   : 35
        Height                  : 35
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 8
        Cropped Back. Picture ID: 103
        Horizontal Alignment    : center
        Vertical Alignment      : center
        Input Type              : character
        Text                    : 
        Max. Text Size          : 10
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text button03_icon
    Attributes
        ID                      : 40
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 250
        y coordinate            : 325
        Width                   : 35
        Height                  : 35
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 8
        Cropped Back. Picture ID: 103
        Horizontal Alignment    : center
        Vertical Alignment      : center
        Input Type              : character
        Text                    : 
        Max. Text Size          : 10
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text button04_icon
    Attributes
        ID                      : 41
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 109
        y coordinate            : 373
        Width                   : 35
        Height                  : 35
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 8
        Cropped Back. Picture ID: 103
        Horizontal Alignment    : center
        Vertical Alignment      : center
        Input Type              : character
        Text                    : 
        Max. Text Size          : 10
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text button05_icon
    Attributes
        ID                      : 42
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 156
        y coordinate            : 373
        Width                   : 35
        Height                  : 35
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 8
        Cropped Back. Picture ID: 103
        Horizontal Alignment    : center
        Vertical Alignment      : center
        Input Type              : character
        Text                    : 
        Max. Text Size          : 10
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text button06_icon
    Attributes
        ID                      : 43
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 203
        y coordinate            : 373
        Width                   : 35
        Height                  : 35
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 8
        Cropped Back. Picture ID: 103
        Horizontal Alignment    : center
        Vertical Alignment      : center
        Input Type              : character
        Text                    : 
        Max. Text Size          : 10
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text button07_icon
    Attributes
        ID                      : 44
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 250
        y coordinate            : 373
        Width                   : 35
        Height                  : 35
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 8
        Cropped Back. Picture ID: 103
        Horizontal Alignment    : center
        Vertical Alignment      : center
        Input Type              : character
        Text                    : 
        Max. Text Size          : 10
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Text meridiem
    Attributes
        ID                      : 53
        Scope                   : local
        Dragging                : 0
        Send Component ID       : disabled
        Opacity                 : 127
        x coordinate            : 274
        y coordinate            : 92
        Width                   : 35
        Height                  : 20
        Effect                  : load
        Effect Priority         : 0
        Effect Time             : 300
        Fill                    : crop image
        Associated Keyboard     : none
        Font ID                 : 2
        Cropped Back. Picture ID: 103
        Horizontal Alignment    : center
        Vertical Alignment      : bottom
        Input Type              : character
        Text                    : 
        Max. Text Size          : 2
        Word wrap               : disabled
        Horizontal Spacing      : 0
        Vertical Spacing        : 0
    
Picture weather
    Attributes
        ID               : 11
        Scope            : global
        Dragging         : 0
        Send Component ID: disabled
        Opacity          : 127
        x coordinate     : 20
        y coordinate     : 163
        Width            : 100
        Height           : 100
        Effect           : load
        Effect Priority  : 0
        Effect Time      : 300
        Picture ID       : 13
    
Picture left_bt_pic
    Attributes
        ID               : 19
        Scope            : local
        Dragging         : 0
        Send Component ID: disabled
        Opacity          : 127
        x coordinate     : 16
        y coordinate     : 466
        Width            : 120
        Height           : 3
        Effect           : load
        Effect Priority  : 0
        Effect Time      : 300
        Picture ID       : 77
    
Picture right_bt_pic
    Attributes
        ID               : 20
        Scope            : local
        Dragging         : 0
        Send Component ID: disabled
        Opacity          : 127
        x coordinate     : 183
        y coordinate     : 466
        Width            : 120
        Height           : 3
        Effect           : load
        Effect Priority  : 0
        Effect Time      : 300
        Picture ID       : 77
    
Hotspot fc_weather
    Attributes
        ID               : 13
        Scope            : local
        Dragging         : 0
        Send Component ID: on press and release
        Opacity          : 127
        x coordinate     : 20
        y coordinate     : 163
        Width            : 100
        Height           : 100
        Effect           : load
        Effect Priority  : 0
        Effect Time      : 300
    
    Events
        Touch Press Event
            lastclick.txt="{\"page\": \"home\", \"component\": \"weather\", \"value\": \"press\"}"
            printh 92
            prints "nspanelevent",0
            printh 00
            prints lastclick.txt,0
            printh 00
            printh FF FF FF
        
        Touch Release Event
            lastclick.txt="{\"page\": \"home\", \"component\": \"weather\", \"value\": \"release\"}"
            printh 92
            prints "nspanelevent",0
            printh 00
            prints lastclick.txt,0
            printh 00
            printh FF FF FF
        
Hotspot jump_climate
    Attributes
        ID               : 14
        Scope            : local
        Dragging         : 0
        Send Component ID: on press and release
        Opacity          : 127
        x coordinate     : 187
        y coordinate     : 157
        Width            : 108
        Height           : 51
        Effect           : load
        Effect Priority  : 0
        Effect Time      : 300
    
    Events
        Touch Press Event
            lastclick.txt="{\"page\": \"home\", \"component\": \"climate\", \"value\": \"press\"}"
            printh 92
            prints "nspanelevent",0
            printh 00
            prints lastclick.txt,0
            printh 00
            printh FF FF FF
        
        Touch Release Event
            lastclick.txt="{\"page\": \"home\", \"component\": \"climate\", \"value\": \"release\"}"
            printh 92
            prints "nspanelevent",0
            printh 00
            prints lastclick.txt,0
            printh 00
            printh FF FF FF
        
Hotspot button01
    Attributes
        ID               : 45
        Scope            : local
        Dragging         : 0
        Send Component ID: disabled
        Opacity          : 127
        x coordinate     : 156
        y coordinate     : 325
        Width            : 35
        Height           : 35
        Effect           : load
        Effect Priority  : 0
        Effect Time      : 300
    
    Events
        Touch Release Event
            lastclick.txt="{\"page\": \"home\", \"component\": \"button01\", \"value\": \"release\"}"
            printh 92
            prints "nspanelevent",0
            printh 00
            prints lastclick.txt,0
            printh 00
            printh FF FF FF
        
Hotspot button02
    Attributes
        ID               : 46
        Scope            : local
        Dragging         : 0
        Send Component ID: disabled
        Opacity          : 127
        x coordinate     : 203
        y coordinate     : 325
        Width            : 35
        Height           : 35
        Effect           : load
        Effect Priority  : 0
        Effect Time      : 300
    
    Events
        Touch Release Event
            lastclick.txt="{\"page\": \"home\", \"component\": \"button02\", \"value\": \"release\"}"
            printh 92
            prints "nspanelevent",0
            printh 00
            prints lastclick.txt,0
            printh 00
            printh FF FF FF
        
Hotspot button03
    Attributes
        ID               : 47
        Scope            : local
        Dragging         : 0
        Send Component ID: disabled
        Opacity          : 127
        x coordinate     : 250
        y coordinate     : 325
        Width            : 35
        Height           : 35
        Effect           : load
        Effect Priority  : 0
        Effect Time      : 300
    
    Events
        Touch Release Event
            lastclick.txt="{\"page\": \"home\", \"component\": \"button03\", \"value\": \"release\"}"
            printh 92
            prints "nspanelevent",0
            printh 00
            prints lastclick.txt,0
            printh 00
            printh FF FF FF
        
Hotspot button04
    Attributes
        ID               : 48
        Scope            : local
        Dragging         : 0
        Send Component ID: disabled
        Opacity          : 127
        x coordinate     : 109
        y coordinate     : 373
        Width            : 35
        Height           : 35
        Effect           : load
        Effect Priority  : 0
        Effect Time      : 300
    
    Events
        Touch Release Event
            lastclick.txt="{\"page\": \"home\", \"component\": \"button04\", \"value\": \"release\"}"
            printh 92
            prints "nspanelevent",0
            printh 00
            prints lastclick.txt,0
            printh 00
            printh FF FF FF
        
Hotspot button05
    Attributes
        ID               : 49
        Scope            : local
        Dragging         : 0
        Send Component ID: disabled
        Opacity          : 127
        x coordinate     : 156
        y coordinate     : 373
        Width            : 35
        Height           : 35
        Effect           : load
        Effect Priority  : 0
        Effect Time      : 300
    
    Events
        Touch Release Event
            lastclick.txt="{\"page\": \"home\", \"component\": \"button05\", \"value\": \"release\"}"
            printh 92
            prints "nspanelevent",0
            printh 00
            prints lastclick.txt,0
            printh 00
            printh FF FF FF
        
Hotspot button06
    Attributes
        ID               : 50
        Scope            : local
        Dragging         : 0
        Send Component ID: disabled
        Opacity          : 127
        x coordinate     : 203
        y coordinate     : 373
        Width            : 35
        Height           : 35
        Effect           : load
        Effect Priority  : 0
        Effect Time      : 300
    
    Events
        Touch Release Event
            lastclick.txt="{\"page\": \"home\", \"component\": \"button06\", \"value\": \"release\"}"
            printh 92
            prints "nspanelevent",0
            printh 00
            prints lastclick.txt,0
            printh 00
            printh FF FF FF
        
Hotspot button07
    Attributes
        ID               : 51
        Scope            : local
        Dragging         : 0
        Send Component ID: disabled
        Opacity          : 127
        x coordinate     : 250
        y coordinate     : 373
        Width            : 35
        Height           : 35
        Effect           : load
        Effect Priority  : 0
        Effect Time      : 300
    
    Events
        Touch Release Event
            lastclick.txt="{\"page\": \"home\", \"component\": \"button07\", \"value\": \"release\"}"
            printh 92
            prints "nspanelevent",0
            printh 00
            prints lastclick.txt,0
            printh 00
            printh FF FF FF
        
Hotspot settings_click
    Attributes
        ID               : 52
        Scope            : local
        Dragging         : 0
        Send Component ID: on press and release
        Opacity          : 127
        x coordinate     : 103
        y coordinate     : 39
        Width            : 167
        Height           : 86
        Effect           : load
        Effect Priority  : 0
        Effect Time      : 300
    
Timer dimtimer
    Attributes
        ID         : 1
        Scope      : global
        Period (ms): 50000
        Enabled    : yes
    
    Events
        Timer Event
            if(disdim.val==0)
            {
                dim=brightdd.val // Dim down screen to val set from HA
            }
        
Timer swipestore
    Attributes
        ID         : 6
        Scope      : local
        Period (ms): 50
        Enabled    : no
    
    Events
        Timer Event
            swipex=tch0
            swipey=tch1
        
Timer sleeptimer
    Attributes
        ID         : 15
        Scope      : local
        Period (ms): 65000
        Enabled    : no
    
    Events
        Timer Event
            if(sleepmodus.val==1)
            {
                screensaver.orign.val=0
                // Go to screensaver page
                page screensaver
            }
        
TouchCap swipe
    Attributes
        ID   : 5
        Scope: local
        Value: 0
    
    Events
        Touch Press Event
            swipestore.en=1 // Start swipestore timer
            dim=brightness.val // Set brightness to saved value (from HA)
            dimtimer.en=1 // Enable timer to calc down for dimming screen
            sleeptimer.en=1
        
        Touch Release Event
            swipestore.en=0
            // Touch has ended, x
            if(tch0==0)
            {
                swipec=swipex-tch2
                // From Left to Right
                if(swipec>swipedx)
                {
                    page buttonpage04
                }
                // Right to Left
                swipec2=0-swipedx
                if(swipec<swipec2)
                {
                    page buttonpage01
                }
            }
            // Touch has ended, y
            if(tch1==0)
            {
                swipec=swipey-tch3
                // From Up to Down
                if(swipec>100)
                {
                    page buttonpage02
                }
                // Down to Up
                swipec2=0-swipedy
                if(swipec<-100)
                {
                    page buttonpage03
                }
            }
        
