Rearrange custom buttons on page Home
To be closer to what was before
This commit is contained in:
Binary file not shown.
@@ -25,14 +25,14 @@ Page home
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
ID : 36
|
||||
ID : 33
|
||||
Scope : local
|
||||
Text :
|
||||
Max. Text Size: 100
|
||||
|
||||
Variable (string) click_comp
|
||||
Attributes
|
||||
ID : 44
|
||||
ID : 41
|
||||
Scope : local
|
||||
Text :
|
||||
Max. Text Size: 8
|
||||
@@ -47,6 +47,13 @@ Text time
|
||||
Text :
|
||||
Max. Text Size : 5
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
settings_timer.en=1
|
||||
|
||||
Touch Release Event
|
||||
settings_timer.en=0
|
||||
|
||||
Text current_temp
|
||||
Attributes
|
||||
ID : 4
|
||||
@@ -57,6 +64,15 @@ Text current_temp
|
||||
Text :
|
||||
Max. Text Size : 8
|
||||
|
||||
Events
|
||||
Touch Release Event
|
||||
printh 92
|
||||
prints "localevent",0
|
||||
printh 00
|
||||
prints "{\"page\": \"home\", \"component\": \"climate\", \"event\": \"click\"}",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text outdoor_temp
|
||||
Attributes
|
||||
ID : 5
|
||||
@@ -77,6 +93,13 @@ Text date
|
||||
Text :
|
||||
Max. Text Size : 25
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
settings_timer.en=1
|
||||
|
||||
Touch Release Event
|
||||
settings_timer.en=0
|
||||
|
||||
Text value01_state
|
||||
Attributes
|
||||
ID : 8
|
||||
@@ -89,7 +112,7 @@ Text value01_state
|
||||
|
||||
Text left_bt_text
|
||||
Attributes
|
||||
ID : 11
|
||||
ID : 9
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -99,7 +122,7 @@ Text left_bt_text
|
||||
|
||||
Text right_bt_text
|
||||
Attributes
|
||||
ID : 12
|
||||
ID : 10
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -109,7 +132,7 @@ Text right_bt_text
|
||||
|
||||
Text icon_top_01
|
||||
Attributes
|
||||
ID : 13
|
||||
ID : 11
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -119,7 +142,7 @@ Text icon_top_01
|
||||
|
||||
Text icon_top_02
|
||||
Attributes
|
||||
ID : 14
|
||||
ID : 12
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -129,7 +152,7 @@ Text icon_top_02
|
||||
|
||||
Text icon_top_03
|
||||
Attributes
|
||||
ID : 15
|
||||
ID : 13
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -139,7 +162,7 @@ Text icon_top_03
|
||||
|
||||
Text icon_top_04
|
||||
Attributes
|
||||
ID : 16
|
||||
ID : 14
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -149,7 +172,7 @@ Text icon_top_04
|
||||
|
||||
Text icon_top_05
|
||||
Attributes
|
||||
ID : 17
|
||||
ID : 15
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -159,7 +182,7 @@ Text icon_top_05
|
||||
|
||||
Text icon_top_06
|
||||
Attributes
|
||||
ID : 18
|
||||
ID : 16
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -169,7 +192,7 @@ Text icon_top_06
|
||||
|
||||
Text icon_top_07
|
||||
Attributes
|
||||
ID : 19
|
||||
ID : 17
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -179,7 +202,7 @@ Text icon_top_07
|
||||
|
||||
Text icon_top_08
|
||||
Attributes
|
||||
ID : 20
|
||||
ID : 18
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -189,7 +212,7 @@ Text icon_top_08
|
||||
|
||||
Text icon_top_09
|
||||
Attributes
|
||||
ID : 21
|
||||
ID : 19
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -199,7 +222,7 @@ Text icon_top_09
|
||||
|
||||
Text icon_top_10
|
||||
Attributes
|
||||
ID : 22
|
||||
ID : 20
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -209,7 +232,7 @@ Text icon_top_10
|
||||
|
||||
Text value01_icon
|
||||
Attributes
|
||||
ID : 23
|
||||
ID : 21
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -219,7 +242,7 @@ Text value01_icon
|
||||
|
||||
Text value03_state
|
||||
Attributes
|
||||
ID : 24
|
||||
ID : 22
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -229,7 +252,7 @@ Text value03_state
|
||||
|
||||
Text value03_icon
|
||||
Attributes
|
||||
ID : 25
|
||||
ID : 23
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -239,7 +262,7 @@ Text value03_icon
|
||||
|
||||
Text value02_icon
|
||||
Attributes
|
||||
ID : 26
|
||||
ID : 24
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -249,7 +272,7 @@ Text value02_icon
|
||||
|
||||
Text value02_state
|
||||
Attributes
|
||||
ID : 27
|
||||
ID : 25
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -259,7 +282,7 @@ Text value02_state
|
||||
|
||||
Text wifi_icon
|
||||
Attributes
|
||||
ID : 28
|
||||
ID : 26
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -267,9 +290,16 @@ Text wifi_icon
|
||||
Text :
|
||||
Max. Text Size : 5
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
settings_timer.en=1
|
||||
|
||||
Touch Release Event
|
||||
settings_timer.en=0
|
||||
|
||||
Text indoortempicon
|
||||
Attributes
|
||||
ID : 29
|
||||
ID : 27
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -277,9 +307,18 @@ Text indoortempicon
|
||||
Text :
|
||||
Max. Text Size : 3
|
||||
|
||||
Events
|
||||
Touch Release Event
|
||||
printh 92
|
||||
prints "localevent",0
|
||||
printh 00
|
||||
prints "{\"page\": \"home\", \"component\": \"climate\", \"event\": \"click\"}",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text bt_notific
|
||||
Attributes
|
||||
ID : 30
|
||||
ID : 28
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -296,7 +335,7 @@ Text bt_notific
|
||||
|
||||
Text bt_qrcode
|
||||
Attributes
|
||||
ID : 31
|
||||
ID : 29
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -310,7 +349,7 @@ Text bt_qrcode
|
||||
|
||||
Text bt_entities
|
||||
Attributes
|
||||
ID : 32
|
||||
ID : 30
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -327,7 +366,7 @@ Text bt_entities
|
||||
|
||||
Text bt_alarm
|
||||
Attributes
|
||||
ID : 33
|
||||
ID : 31
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -344,7 +383,7 @@ Text bt_alarm
|
||||
|
||||
Text meridiem
|
||||
Attributes
|
||||
ID : 35
|
||||
ID : 32
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -352,9 +391,16 @@ Text meridiem
|
||||
Text :
|
||||
Max. Text Size : 10
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
settings_timer.en=1
|
||||
|
||||
Touch Release Event
|
||||
settings_timer.en=0
|
||||
|
||||
Text button01
|
||||
Attributes
|
||||
ID : 41
|
||||
ID : 38
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -382,7 +428,7 @@ Text button01
|
||||
|
||||
Text button02
|
||||
Attributes
|
||||
ID : 42
|
||||
ID : 39
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -410,7 +456,7 @@ Text button02
|
||||
|
||||
Text button03
|
||||
Attributes
|
||||
ID : 43
|
||||
ID : 40
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -438,7 +484,7 @@ Text button03
|
||||
|
||||
Text button04
|
||||
Attributes
|
||||
ID : 46
|
||||
ID : 43
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -466,7 +512,7 @@ Text button04
|
||||
|
||||
Text button05
|
||||
Attributes
|
||||
ID : 47
|
||||
ID : 44
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -494,7 +540,7 @@ Text button05
|
||||
|
||||
Text button06
|
||||
Attributes
|
||||
ID : 48
|
||||
ID : 45
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -527,9 +573,16 @@ Picture weather
|
||||
Dragging : 0
|
||||
Send Component ID: on press and release
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
if(api==1)
|
||||
{
|
||||
page weather01
|
||||
}
|
||||
|
||||
Dual-state Button left_bt_pic
|
||||
Attributes
|
||||
ID : 38
|
||||
ID : 35
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID: on press and release
|
||||
@@ -539,7 +592,7 @@ Dual-state Button left_bt_pic
|
||||
|
||||
Dual-state Button right_bt_pic
|
||||
Attributes
|
||||
ID : 39
|
||||
ID : 36
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID: on press and release
|
||||
@@ -547,50 +600,6 @@ Dual-state Button right_bt_pic
|
||||
Text :
|
||||
Max. Text Size : 0
|
||||
|
||||
Hotspot fc_weather
|
||||
Attributes
|
||||
ID : 9
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID: on press and release
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
if(api==1)
|
||||
{
|
||||
page weather01
|
||||
}
|
||||
|
||||
Hotspot jump_climate
|
||||
Attributes
|
||||
ID : 10
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Send Component ID: on press and release
|
||||
|
||||
Events
|
||||
Touch Release Event
|
||||
printh 92
|
||||
prints "localevent",0
|
||||
printh 00
|
||||
prints "{\"page\": \"home\", \"component\": \"climate\", \"event\": \"click\"}",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Hotspot settings_click
|
||||
Attributes
|
||||
ID : 34
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Send Component ID: on press and release
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
settings_timer.en=1
|
||||
|
||||
Touch Release Event
|
||||
settings_timer.en=0
|
||||
|
||||
Timer swipestore
|
||||
Attributes
|
||||
ID : 2
|
||||
@@ -605,7 +614,7 @@ Timer swipestore
|
||||
|
||||
Timer settings_timer
|
||||
Attributes
|
||||
ID : 37
|
||||
ID : 34
|
||||
Scope : local
|
||||
Period (ms): 1000
|
||||
Enabled : no
|
||||
@@ -616,7 +625,7 @@ Timer settings_timer
|
||||
|
||||
Timer wakeup_timer
|
||||
Attributes
|
||||
ID : 40
|
||||
ID : 37
|
||||
Scope : local
|
||||
Period (ms): 50
|
||||
Enabled : yes
|
||||
@@ -639,7 +648,7 @@ Timer wakeup_timer
|
||||
|
||||
Timer click_timer
|
||||
Attributes
|
||||
ID : 45
|
||||
ID : 42
|
||||
Scope : local
|
||||
Period (ms): 800
|
||||
Enabled : no
|
||||
|
||||
Binary file not shown.
@@ -25,14 +25,14 @@ Page home
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
ID : 36
|
||||
ID : 33
|
||||
Scope : local
|
||||
Text :
|
||||
Max. Text Size: 100
|
||||
|
||||
Variable (string) click_comp
|
||||
Attributes
|
||||
ID : 44
|
||||
ID : 41
|
||||
Scope : local
|
||||
Text :
|
||||
Max. Text Size: 8
|
||||
@@ -47,6 +47,13 @@ Text time
|
||||
Text :
|
||||
Max. Text Size : 5
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
settings_timer.en=1
|
||||
|
||||
Touch Release Event
|
||||
settings_timer.en=0
|
||||
|
||||
Text current_temp
|
||||
Attributes
|
||||
ID : 4
|
||||
@@ -57,6 +64,15 @@ Text current_temp
|
||||
Text :
|
||||
Max. Text Size : 8
|
||||
|
||||
Events
|
||||
Touch Release Event
|
||||
printh 92
|
||||
prints "localevent",0
|
||||
printh 00
|
||||
prints "{\"page\": \"home\", \"component\": \"climate\", \"event\": \"click\"}",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text outdoor_temp
|
||||
Attributes
|
||||
ID : 5
|
||||
@@ -77,6 +93,13 @@ Text date
|
||||
Text :
|
||||
Max. Text Size : 25
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
settings_timer.en=1
|
||||
|
||||
Touch Release Event
|
||||
settings_timer.en=0
|
||||
|
||||
Text value01_state
|
||||
Attributes
|
||||
ID : 8
|
||||
@@ -89,7 +112,7 @@ Text value01_state
|
||||
|
||||
Text left_bt_text
|
||||
Attributes
|
||||
ID : 11
|
||||
ID : 9
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -99,7 +122,7 @@ Text left_bt_text
|
||||
|
||||
Text right_bt_text
|
||||
Attributes
|
||||
ID : 12
|
||||
ID : 10
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -109,7 +132,7 @@ Text right_bt_text
|
||||
|
||||
Text icon_top_01
|
||||
Attributes
|
||||
ID : 13
|
||||
ID : 11
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -119,7 +142,7 @@ Text icon_top_01
|
||||
|
||||
Text icon_top_02
|
||||
Attributes
|
||||
ID : 14
|
||||
ID : 12
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -129,7 +152,7 @@ Text icon_top_02
|
||||
|
||||
Text icon_top_03
|
||||
Attributes
|
||||
ID : 15
|
||||
ID : 13
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -139,7 +162,7 @@ Text icon_top_03
|
||||
|
||||
Text icon_top_04
|
||||
Attributes
|
||||
ID : 16
|
||||
ID : 14
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -149,7 +172,7 @@ Text icon_top_04
|
||||
|
||||
Text icon_top_05
|
||||
Attributes
|
||||
ID : 17
|
||||
ID : 15
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -159,7 +182,7 @@ Text icon_top_05
|
||||
|
||||
Text icon_top_06
|
||||
Attributes
|
||||
ID : 18
|
||||
ID : 16
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -169,7 +192,7 @@ Text icon_top_06
|
||||
|
||||
Text icon_top_07
|
||||
Attributes
|
||||
ID : 19
|
||||
ID : 17
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -179,7 +202,7 @@ Text icon_top_07
|
||||
|
||||
Text icon_top_08
|
||||
Attributes
|
||||
ID : 20
|
||||
ID : 18
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -189,7 +212,7 @@ Text icon_top_08
|
||||
|
||||
Text icon_top_09
|
||||
Attributes
|
||||
ID : 21
|
||||
ID : 19
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -199,7 +222,7 @@ Text icon_top_09
|
||||
|
||||
Text icon_top_10
|
||||
Attributes
|
||||
ID : 22
|
||||
ID : 20
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -209,7 +232,7 @@ Text icon_top_10
|
||||
|
||||
Text value01_icon
|
||||
Attributes
|
||||
ID : 23
|
||||
ID : 21
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -219,7 +242,7 @@ Text value01_icon
|
||||
|
||||
Text value03_state
|
||||
Attributes
|
||||
ID : 24
|
||||
ID : 22
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -229,7 +252,7 @@ Text value03_state
|
||||
|
||||
Text value03_icon
|
||||
Attributes
|
||||
ID : 25
|
||||
ID : 23
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -239,7 +262,7 @@ Text value03_icon
|
||||
|
||||
Text value02_icon
|
||||
Attributes
|
||||
ID : 26
|
||||
ID : 24
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -249,7 +272,7 @@ Text value02_icon
|
||||
|
||||
Text value02_state
|
||||
Attributes
|
||||
ID : 27
|
||||
ID : 25
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -259,7 +282,7 @@ Text value02_state
|
||||
|
||||
Text wifi_icon
|
||||
Attributes
|
||||
ID : 28
|
||||
ID : 26
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -267,9 +290,16 @@ Text wifi_icon
|
||||
Text :
|
||||
Max. Text Size : 5
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
settings_timer.en=1
|
||||
|
||||
Touch Release Event
|
||||
settings_timer.en=0
|
||||
|
||||
Text indoortempicon
|
||||
Attributes
|
||||
ID : 29
|
||||
ID : 27
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -277,9 +307,18 @@ Text indoortempicon
|
||||
Text :
|
||||
Max. Text Size : 3
|
||||
|
||||
Events
|
||||
Touch Release Event
|
||||
printh 92
|
||||
prints "localevent",0
|
||||
printh 00
|
||||
prints "{\"page\": \"home\", \"component\": \"climate\", \"event\": \"click\"}",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text bt_notific
|
||||
Attributes
|
||||
ID : 30
|
||||
ID : 28
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -296,7 +335,7 @@ Text bt_notific
|
||||
|
||||
Text bt_qrcode
|
||||
Attributes
|
||||
ID : 31
|
||||
ID : 29
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -310,7 +349,7 @@ Text bt_qrcode
|
||||
|
||||
Text bt_entities
|
||||
Attributes
|
||||
ID : 32
|
||||
ID : 30
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -327,7 +366,7 @@ Text bt_entities
|
||||
|
||||
Text bt_alarm
|
||||
Attributes
|
||||
ID : 33
|
||||
ID : 31
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -344,7 +383,7 @@ Text bt_alarm
|
||||
|
||||
Text meridiem
|
||||
Attributes
|
||||
ID : 35
|
||||
ID : 32
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -352,9 +391,16 @@ Text meridiem
|
||||
Text :
|
||||
Max. Text Size : 2
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
settings_timer.en=1
|
||||
|
||||
Touch Release Event
|
||||
settings_timer.en=0
|
||||
|
||||
Text button01
|
||||
Attributes
|
||||
ID : 41
|
||||
ID : 38
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -382,7 +428,7 @@ Text button01
|
||||
|
||||
Text button02
|
||||
Attributes
|
||||
ID : 42
|
||||
ID : 39
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -410,7 +456,7 @@ Text button02
|
||||
|
||||
Text button03
|
||||
Attributes
|
||||
ID : 43
|
||||
ID : 40
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -438,7 +484,7 @@ Text button03
|
||||
|
||||
Text button04
|
||||
Attributes
|
||||
ID : 46
|
||||
ID : 43
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -466,7 +512,7 @@ Text button04
|
||||
|
||||
Text button05
|
||||
Attributes
|
||||
ID : 47
|
||||
ID : 44
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -494,7 +540,7 @@ Text button05
|
||||
|
||||
Text button06
|
||||
Attributes
|
||||
ID : 48
|
||||
ID : 45
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -527,9 +573,16 @@ Picture weather
|
||||
Dragging : 0
|
||||
Send Component ID: on press and release
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
if(api==1)
|
||||
{
|
||||
page weather01
|
||||
}
|
||||
|
||||
Dual-state Button left_bt_pic
|
||||
Attributes
|
||||
ID : 38
|
||||
ID : 35
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID: on press and release
|
||||
@@ -539,7 +592,7 @@ Dual-state Button left_bt_pic
|
||||
|
||||
Dual-state Button right_bt_pic
|
||||
Attributes
|
||||
ID : 39
|
||||
ID : 36
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID: on press and release
|
||||
@@ -547,50 +600,6 @@ Dual-state Button right_bt_pic
|
||||
Text :
|
||||
Max. Text Size : 0
|
||||
|
||||
Hotspot fc_weather
|
||||
Attributes
|
||||
ID : 9
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID: on press and release
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
if(api==1)
|
||||
{
|
||||
page weather01
|
||||
}
|
||||
|
||||
Hotspot jump_climate
|
||||
Attributes
|
||||
ID : 10
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Send Component ID: on press and release
|
||||
|
||||
Events
|
||||
Touch Release Event
|
||||
printh 92
|
||||
prints "localevent",0
|
||||
printh 00
|
||||
prints "{\"page\": \"home\", \"component\": \"climate\", \"event\": \"click\"}",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Hotspot settings_click
|
||||
Attributes
|
||||
ID : 34
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Send Component ID: on press and release
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
settings_timer.en=1
|
||||
|
||||
Touch Release Event
|
||||
settings_timer.en=0
|
||||
|
||||
Timer swipestore
|
||||
Attributes
|
||||
ID : 2
|
||||
@@ -605,7 +614,7 @@ Timer swipestore
|
||||
|
||||
Timer settings_timer
|
||||
Attributes
|
||||
ID : 37
|
||||
ID : 34
|
||||
Scope : local
|
||||
Period (ms): 1000
|
||||
Enabled : no
|
||||
@@ -616,7 +625,7 @@ Timer settings_timer
|
||||
|
||||
Timer wakeup_timer
|
||||
Attributes
|
||||
ID : 40
|
||||
ID : 37
|
||||
Scope : local
|
||||
Period (ms): 50
|
||||
Enabled : yes
|
||||
@@ -639,7 +648,7 @@ Timer wakeup_timer
|
||||
|
||||
Timer click_timer
|
||||
Attributes
|
||||
ID : 45
|
||||
ID : 42
|
||||
Scope : local
|
||||
Period (ms): 800
|
||||
Enabled : no
|
||||
|
||||
Binary file not shown.
@@ -16,10 +16,12 @@ Page climate
|
||||
{
|
||||
sendme
|
||||
vis target_icon,0
|
||||
vis target_temp,0
|
||||
vis target_high,0
|
||||
vis target_low,0
|
||||
vis current_temp,0
|
||||
vis current_icon,0
|
||||
vis climateslider,0
|
||||
vis slider_high,0
|
||||
vis slider_low,0
|
||||
vis button01,0
|
||||
vis button02,0
|
||||
vis button03,0
|
||||
@@ -76,62 +78,74 @@ Variable (string) climatesetting
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
ID : 34
|
||||
ID : 27
|
||||
Scope : local
|
||||
Text :
|
||||
Max. Text Size: 255
|
||||
|
||||
Variable (int32) temp_offset
|
||||
Attributes
|
||||
ID : 36
|
||||
ID : 29
|
||||
Scope: local
|
||||
Value: 0
|
||||
|
||||
Variable (int32) temp_step
|
||||
Attributes
|
||||
ID : 37
|
||||
ID : 30
|
||||
Scope: local
|
||||
Value: 0
|
||||
|
||||
Variable (int32) temp_number
|
||||
Attributes
|
||||
ID : 43
|
||||
ID : 34
|
||||
Scope: local
|
||||
Value: 0
|
||||
|
||||
Variable (int32) va0
|
||||
Attributes
|
||||
ID : 44
|
||||
ID : 35
|
||||
Scope: local
|
||||
Value: 0
|
||||
|
||||
Variable (string) back_page
|
||||
Attributes
|
||||
ID : 45
|
||||
ID : 36
|
||||
Scope : local
|
||||
Text : home
|
||||
Max. Text Size: 15
|
||||
|
||||
Variable (int32) embedded
|
||||
Attributes
|
||||
ID : 46
|
||||
ID : 37
|
||||
Scope: global
|
||||
Value: 0
|
||||
|
||||
Variable (string) va2
|
||||
Attributes
|
||||
ID : 47
|
||||
ID : 38
|
||||
Scope : local
|
||||
Text :
|
||||
Max. Text Size: 10
|
||||
|
||||
Variable (string) click_comp
|
||||
Attributes
|
||||
ID : 49
|
||||
ID : 40
|
||||
Scope : local
|
||||
Text :
|
||||
Max. Text Size: 8
|
||||
|
||||
Variable (int32) single_slider
|
||||
Attributes
|
||||
ID : 44
|
||||
Scope: local
|
||||
Value: 1
|
||||
|
||||
Variable (int32) active_slider
|
||||
Attributes
|
||||
ID : 45
|
||||
Scope: local
|
||||
Value: 1
|
||||
|
||||
Text current_temp
|
||||
Attributes
|
||||
ID : 3
|
||||
@@ -348,99 +362,271 @@ Text value04
|
||||
prints rand,0
|
||||
printh FF FF FF
|
||||
|
||||
Text button01_icon
|
||||
Text button01
|
||||
Attributes
|
||||
ID : 18
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Send Component ID : disabled
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 10
|
||||
|
||||
Text button02_icon
|
||||
Events
|
||||
Touch Press Event
|
||||
printh 91
|
||||
prints "touchevent",0
|
||||
printh 00
|
||||
prints rand,0
|
||||
printh FF FF FF
|
||||
|
||||
Touch Release Event
|
||||
covx embedded.val,va2.txt,0,0
|
||||
lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"auto\", \"embedded\": "+va2.txt+"}"
|
||||
printh 92
|
||||
prints "localevent",0
|
||||
printh 00
|
||||
prints lastclick.txt,0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text button02
|
||||
Attributes
|
||||
ID : 19
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Send Component ID : disabled
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 10
|
||||
|
||||
Text button03_icon
|
||||
Events
|
||||
Touch Press Event
|
||||
printh 91
|
||||
prints "touchevent",0
|
||||
printh 00
|
||||
prints rand,0
|
||||
printh FF FF FF
|
||||
|
||||
Touch Release Event
|
||||
covx embedded.val,va2.txt,0,0
|
||||
lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"heat_cool\", \"embedded\": "+va2.txt+"}"
|
||||
printh 92
|
||||
prints "localevent",0
|
||||
printh 00
|
||||
prints lastclick.txt,0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text button03
|
||||
Attributes
|
||||
ID : 20
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Send Component ID : disabled
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 10
|
||||
|
||||
Text button04_icon
|
||||
Events
|
||||
Touch Press Event
|
||||
printh 91
|
||||
prints "touchevent",0
|
||||
printh 00
|
||||
prints rand,0
|
||||
printh FF FF FF
|
||||
|
||||
Touch Release Event
|
||||
covx embedded.val,va2.txt,0,0
|
||||
lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"heat\", \"embedded\": "+va2.txt+"}"
|
||||
printh 92
|
||||
prints "localevent",0
|
||||
printh 00
|
||||
prints lastclick.txt,0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text button04
|
||||
Attributes
|
||||
ID : 21
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Send Component ID : disabled
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 10
|
||||
|
||||
Text button05_icon
|
||||
Events
|
||||
Touch Press Event
|
||||
printh 91
|
||||
prints "touchevent",0
|
||||
printh 00
|
||||
prints rand,0
|
||||
printh FF FF FF
|
||||
|
||||
Touch Release Event
|
||||
covx embedded.val,va2.txt,0,0
|
||||
lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"cool\", \"embedded\": "+va2.txt+"}"
|
||||
printh 92
|
||||
prints "localevent",0
|
||||
printh 00
|
||||
prints lastclick.txt,0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text button05
|
||||
Attributes
|
||||
ID : 22
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Send Component ID : disabled
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 10
|
||||
|
||||
Text button06_icon
|
||||
Events
|
||||
Touch Press Event
|
||||
printh 91
|
||||
prints "touchevent",0
|
||||
printh 00
|
||||
prints rand,0
|
||||
printh FF FF FF
|
||||
|
||||
Touch Release Event
|
||||
covx embedded.val,va2.txt,0,0
|
||||
lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"dry\", \"embedded\": "+va2.txt+"}"
|
||||
printh 92
|
||||
prints "localevent",0
|
||||
printh 00
|
||||
prints lastclick.txt,0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text button06
|
||||
Attributes
|
||||
ID : 23
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Send Component ID : disabled
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 10
|
||||
|
||||
Text button07_icon
|
||||
Events
|
||||
Touch Press Event
|
||||
printh 91
|
||||
prints "touchevent",0
|
||||
printh 00
|
||||
prints rand,0
|
||||
printh FF FF FF
|
||||
|
||||
Touch Release Event
|
||||
covx embedded.val,va2.txt,0,0
|
||||
lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"fan_only\", \"embedded\": "+va2.txt+"}"
|
||||
printh 92
|
||||
prints "localevent",0
|
||||
printh 00
|
||||
prints lastclick.txt,0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text button07
|
||||
Attributes
|
||||
ID : 24
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Send Component ID : disabled
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 10
|
||||
|
||||
Text button08_icon
|
||||
Events
|
||||
Touch Press Event
|
||||
printh 91
|
||||
prints "touchevent",0
|
||||
printh 00
|
||||
prints rand,0
|
||||
printh FF FF FF
|
||||
|
||||
Touch Release Event
|
||||
covx embedded.val,va2.txt,0,0
|
||||
lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"off\", \"embedded\": "+va2.txt+"}"
|
||||
printh 92
|
||||
prints "localevent",0
|
||||
printh 00
|
||||
prints lastclick.txt,0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text button08
|
||||
Attributes
|
||||
ID : 38
|
||||
ID : 31
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Send Component ID : disabled
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 10
|
||||
|
||||
Text button09_icon
|
||||
Events
|
||||
Touch Press Event
|
||||
printh 91
|
||||
prints "touchevent",0
|
||||
printh 00
|
||||
prints rand,0
|
||||
printh FF FF FF
|
||||
click_comp.txt="button08"
|
||||
click_timer.en=1
|
||||
|
||||
Touch Release Event
|
||||
if(click_timer.en==1)
|
||||
{
|
||||
click_timer.en=0
|
||||
lastclick.txt="{\"page\": \"climate\", \"event\": \"short_click\", \"component\": \""+click_comp.txt+"\"}"
|
||||
printh 92
|
||||
prints "localevent",0
|
||||
printh 00
|
||||
prints lastclick.txt,0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
}
|
||||
|
||||
Text button09
|
||||
Attributes
|
||||
ID : 40
|
||||
ID : 32
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Send Component ID : disabled
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 10
|
||||
|
||||
Text target_temp
|
||||
Events
|
||||
Touch Press Event
|
||||
printh 91
|
||||
prints "touchevent",0
|
||||
printh 00
|
||||
prints rand,0
|
||||
printh FF FF FF
|
||||
click_comp.txt="button09"
|
||||
click_timer.en=1
|
||||
|
||||
Touch Release Event
|
||||
if(click_timer.en==1)
|
||||
{
|
||||
click_timer.en=0
|
||||
lastclick.txt="{\"page\": \"climate\", \"event\": \"short_click\", \"component\": \""+click_comp.txt+"\"}"
|
||||
printh 92
|
||||
prints "localevent",0
|
||||
printh 00
|
||||
prints lastclick.txt,0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
}
|
||||
|
||||
Text target_high
|
||||
Attributes
|
||||
ID : 42
|
||||
ID : 33
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Send Component ID : disabled
|
||||
@@ -456,7 +642,25 @@ Text target_temp
|
||||
prints rand,0
|
||||
printh FF FF FF
|
||||
|
||||
Slider climateslider
|
||||
Text target_low
|
||||
Attributes
|
||||
ID : 46
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Send Component ID : disabled
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 10
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
printh 91
|
||||
prints "touchevent",0
|
||||
printh 00
|
||||
prints rand,0
|
||||
printh FF FF FF
|
||||
|
||||
Slider slider_high
|
||||
Attributes
|
||||
ID : 7
|
||||
Scope : local
|
||||
@@ -475,13 +679,46 @@ Slider climateslider
|
||||
printh FF FF FF
|
||||
|
||||
Touch Release Event
|
||||
temp_number.val=climateslider.val*temp_step.val
|
||||
temp_number.val=slider_high.val*temp_step.val
|
||||
temp_number.val+=temp_offset.val
|
||||
va0.val=temp_number.val/10
|
||||
covx va0.val,target_temp.txt,0,0
|
||||
covx va0.val,target_high.txt,0,0
|
||||
va0.val=temp_number.val%10
|
||||
covx va0.val,va1.txt,0,0
|
||||
target_temp.txt+="."+va1.txt
|
||||
target_high.txt+="."+va1.txt
|
||||
timer01.en=1
|
||||
printh 91
|
||||
prints "touchevent",0
|
||||
printh 00
|
||||
prints rand,0
|
||||
printh FF FF FF
|
||||
|
||||
Slider slider_low
|
||||
Attributes
|
||||
ID : 43
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Send Component ID: disabled
|
||||
Position : 20
|
||||
Upper range limit: 40
|
||||
Lower range limit: 0
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
printh 91
|
||||
prints "touchevent",0
|
||||
printh 00
|
||||
prints rand,0
|
||||
printh FF FF FF
|
||||
|
||||
Touch Release Event
|
||||
temp_number.val=slider_high.val*temp_step.val
|
||||
temp_number.val+=temp_offset.val
|
||||
va0.val=temp_number.val/10
|
||||
covx va0.val,target_high.txt,0,0
|
||||
va0.val=temp_number.val%10
|
||||
covx va0.val,va1.txt,0,0
|
||||
target_high.txt+="."+va1.txt
|
||||
timer01.en=1
|
||||
printh 91
|
||||
prints "touchevent",0
|
||||
@@ -491,7 +728,7 @@ Slider climateslider
|
||||
|
||||
Button button_back
|
||||
Attributes
|
||||
ID : 48
|
||||
ID : 39
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Send Component ID: disabled
|
||||
@@ -532,16 +769,16 @@ Hotspot decrease_temp
|
||||
printh 00
|
||||
prints rand,0
|
||||
printh FF FF FF
|
||||
if(climateslider.val>0)
|
||||
if(slider_high.val>0)
|
||||
{
|
||||
climateslider.val--
|
||||
temp_number.val=climateslider.val*temp_step.val
|
||||
slider_high.val--
|
||||
temp_number.val=slider_high.val*temp_step.val
|
||||
temp_number.val+=temp_offset.val
|
||||
va0.val=temp_number.val/10
|
||||
covx va0.val,target_temp.txt,0,0
|
||||
covx va0.val,target_high.txt,0,0
|
||||
va0.val=temp_number.val%10
|
||||
covx va0.val,va1.txt,0,0
|
||||
target_temp.txt+="."+va1.txt
|
||||
target_high.txt+="."+va1.txt
|
||||
}
|
||||
|
||||
Touch Release Event
|
||||
@@ -561,256 +798,21 @@ Hotspot increase_temp
|
||||
printh 00
|
||||
prints rand,0
|
||||
printh FF FF FF
|
||||
if(climateslider.val<climateslider.maxval)
|
||||
if(slider_high.val<slider_high.maxval)
|
||||
{
|
||||
climateslider.val++
|
||||
temp_number.val=climateslider.val*temp_step.val
|
||||
slider_high.val++
|
||||
temp_number.val=slider_high.val*temp_step.val
|
||||
temp_number.val+=temp_offset.val
|
||||
va0.val=temp_number.val/10
|
||||
covx va0.val,target_temp.txt,0,0
|
||||
covx va0.val,target_high.txt,0,0
|
||||
va0.val=temp_number.val%10
|
||||
covx va0.val,va1.txt,0,0
|
||||
target_temp.txt+="."+va1.txt
|
||||
target_high.txt+="."+va1.txt
|
||||
}
|
||||
|
||||
Touch Release Event
|
||||
timer01.en=1
|
||||
|
||||
Hotspot button01
|
||||
Attributes
|
||||
ID : 27
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Send Component ID: disabled
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
printh 91
|
||||
prints "touchevent",0
|
||||
printh 00
|
||||
prints rand,0
|
||||
printh FF FF FF
|
||||
|
||||
Touch Release Event
|
||||
covx embedded.val,va2.txt,0,0
|
||||
lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"auto\", \"embedded\": "+va2.txt+"}"
|
||||
printh 92
|
||||
prints "localevent",0
|
||||
printh 00
|
||||
prints lastclick.txt,0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Hotspot button02
|
||||
Attributes
|
||||
ID : 28
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Send Component ID: disabled
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
printh 91
|
||||
prints "touchevent",0
|
||||
printh 00
|
||||
prints rand,0
|
||||
printh FF FF FF
|
||||
|
||||
Touch Release Event
|
||||
covx embedded.val,va2.txt,0,0
|
||||
lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"heat_cool\", \"embedded\": "+va2.txt+"}"
|
||||
printh 92
|
||||
prints "localevent",0
|
||||
printh 00
|
||||
prints lastclick.txt,0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Hotspot button03
|
||||
Attributes
|
||||
ID : 29
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Send Component ID: disabled
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
printh 91
|
||||
prints "touchevent",0
|
||||
printh 00
|
||||
prints rand,0
|
||||
printh FF FF FF
|
||||
|
||||
Touch Release Event
|
||||
covx embedded.val,va2.txt,0,0
|
||||
lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"heat\", \"embedded\": "+va2.txt+"}"
|
||||
printh 92
|
||||
prints "localevent",0
|
||||
printh 00
|
||||
prints lastclick.txt,0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Hotspot button04
|
||||
Attributes
|
||||
ID : 30
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Send Component ID: disabled
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
printh 91
|
||||
prints "touchevent",0
|
||||
printh 00
|
||||
prints rand,0
|
||||
printh FF FF FF
|
||||
|
||||
Touch Release Event
|
||||
covx embedded.val,va2.txt,0,0
|
||||
lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"cool\", \"embedded\": "+va2.txt+"}"
|
||||
printh 92
|
||||
prints "localevent",0
|
||||
printh 00
|
||||
prints lastclick.txt,0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Hotspot button05
|
||||
Attributes
|
||||
ID : 31
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Send Component ID: disabled
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
printh 91
|
||||
prints "touchevent",0
|
||||
printh 00
|
||||
prints rand,0
|
||||
printh FF FF FF
|
||||
|
||||
Touch Release Event
|
||||
covx embedded.val,va2.txt,0,0
|
||||
lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"dry\", \"embedded\": "+va2.txt+"}"
|
||||
printh 92
|
||||
prints "localevent",0
|
||||
printh 00
|
||||
prints lastclick.txt,0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Hotspot button06
|
||||
Attributes
|
||||
ID : 32
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Send Component ID: disabled
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
printh 91
|
||||
prints "touchevent",0
|
||||
printh 00
|
||||
prints rand,0
|
||||
printh FF FF FF
|
||||
|
||||
Touch Release Event
|
||||
covx embedded.val,va2.txt,0,0
|
||||
lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"fan_only\", \"embedded\": "+va2.txt+"}"
|
||||
printh 92
|
||||
prints "localevent",0
|
||||
printh 00
|
||||
prints lastclick.txt,0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Hotspot button07
|
||||
Attributes
|
||||
ID : 33
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Send Component ID: disabled
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
printh 91
|
||||
prints "touchevent",0
|
||||
printh 00
|
||||
prints rand,0
|
||||
printh FF FF FF
|
||||
|
||||
Touch Release Event
|
||||
covx embedded.val,va2.txt,0,0
|
||||
lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"off\", \"embedded\": "+va2.txt+"}"
|
||||
printh 92
|
||||
prints "localevent",0
|
||||
printh 00
|
||||
prints lastclick.txt,0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Hotspot button08
|
||||
Attributes
|
||||
ID : 39
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Send Component ID: disabled
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
printh 91
|
||||
prints "touchevent",0
|
||||
printh 00
|
||||
prints rand,0
|
||||
printh FF FF FF
|
||||
click_comp.txt="button08"
|
||||
click_timer.en=1
|
||||
|
||||
Touch Release Event
|
||||
if(click_timer.en==1)
|
||||
{
|
||||
click_timer.en=0
|
||||
lastclick.txt="{\"page\": \"climate\", \"event\": \"short_click\", \"component\": \""+click_comp.txt+"\"}"
|
||||
printh 92
|
||||
prints "localevent",0
|
||||
printh 00
|
||||
prints lastclick.txt,0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
}
|
||||
|
||||
Hotspot button09
|
||||
Attributes
|
||||
ID : 41
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Send Component ID: disabled
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
printh 91
|
||||
prints "touchevent",0
|
||||
printh 00
|
||||
prints rand,0
|
||||
printh FF FF FF
|
||||
click_comp.txt="button09"
|
||||
click_timer.en=1
|
||||
|
||||
Touch Release Event
|
||||
if(click_timer.en==1)
|
||||
{
|
||||
click_timer.en=0
|
||||
lastclick.txt="{\"page\": \"climate\", \"event\": \"short_click\", \"component\": \""+click_comp.txt+"\"}"
|
||||
printh 92
|
||||
prints "localevent",0
|
||||
printh 00
|
||||
prints lastclick.txt,0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
}
|
||||
|
||||
Timer swipestore
|
||||
Attributes
|
||||
ID : 2
|
||||
@@ -825,7 +827,7 @@ Timer swipestore
|
||||
|
||||
Timer timer01
|
||||
Attributes
|
||||
ID : 35
|
||||
ID : 28
|
||||
Scope : local
|
||||
Period (ms): 1000
|
||||
Enabled : no
|
||||
@@ -845,7 +847,7 @@ Timer timer01
|
||||
|
||||
Timer click_timer
|
||||
Attributes
|
||||
ID : 50
|
||||
ID : 41
|
||||
Scope : local
|
||||
Period (ms): 800
|
||||
Enabled : no
|
||||
@@ -863,7 +865,7 @@ Timer click_timer
|
||||
|
||||
Timer wakeup_timer
|
||||
Attributes
|
||||
ID : 51
|
||||
ID : 42
|
||||
Scope : local
|
||||
Period (ms): 100
|
||||
Enabled : yes
|
||||
|
||||
@@ -25,14 +25,14 @@ Page home
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
ID : 36
|
||||
ID : 33
|
||||
Scope : local
|
||||
Text :
|
||||
Max. Text Size: 100
|
||||
|
||||
Variable (string) click_comp
|
||||
Attributes
|
||||
ID : 44
|
||||
ID : 41
|
||||
Scope : local
|
||||
Text :
|
||||
Max. Text Size: 8
|
||||
@@ -47,6 +47,13 @@ Text time
|
||||
Text :
|
||||
Max. Text Size : 5
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
settings_timer.en=1
|
||||
|
||||
Touch Release Event
|
||||
settings_timer.en=0
|
||||
|
||||
Text current_temp
|
||||
Attributes
|
||||
ID : 4
|
||||
@@ -57,6 +64,15 @@ Text current_temp
|
||||
Text :
|
||||
Max. Text Size : 8
|
||||
|
||||
Events
|
||||
Touch Release Event
|
||||
printh 92
|
||||
prints "localevent",0
|
||||
printh 00
|
||||
prints "{\"page\": \"home\", \"component\": \"climate\", \"event\": \"click\"}",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text outdoor_temp
|
||||
Attributes
|
||||
ID : 5
|
||||
@@ -77,6 +93,13 @@ Text date
|
||||
Text :
|
||||
Max. Text Size : 25
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
settings_timer.en=1
|
||||
|
||||
Touch Release Event
|
||||
settings_timer.en=0
|
||||
|
||||
Text value01_state
|
||||
Attributes
|
||||
ID : 8
|
||||
@@ -89,7 +112,7 @@ Text value01_state
|
||||
|
||||
Text left_bt_text
|
||||
Attributes
|
||||
ID : 11
|
||||
ID : 9
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -99,7 +122,7 @@ Text left_bt_text
|
||||
|
||||
Text right_bt_text
|
||||
Attributes
|
||||
ID : 12
|
||||
ID : 10
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -109,7 +132,7 @@ Text right_bt_text
|
||||
|
||||
Text icon_top_01
|
||||
Attributes
|
||||
ID : 13
|
||||
ID : 11
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -119,7 +142,7 @@ Text icon_top_01
|
||||
|
||||
Text icon_top_02
|
||||
Attributes
|
||||
ID : 14
|
||||
ID : 12
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -129,7 +152,7 @@ Text icon_top_02
|
||||
|
||||
Text icon_top_03
|
||||
Attributes
|
||||
ID : 15
|
||||
ID : 13
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -139,7 +162,7 @@ Text icon_top_03
|
||||
|
||||
Text icon_top_04
|
||||
Attributes
|
||||
ID : 16
|
||||
ID : 14
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -149,7 +172,7 @@ Text icon_top_04
|
||||
|
||||
Text icon_top_05
|
||||
Attributes
|
||||
ID : 17
|
||||
ID : 15
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -159,7 +182,7 @@ Text icon_top_05
|
||||
|
||||
Text icon_top_06
|
||||
Attributes
|
||||
ID : 18
|
||||
ID : 16
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -169,7 +192,7 @@ Text icon_top_06
|
||||
|
||||
Text icon_top_07
|
||||
Attributes
|
||||
ID : 19
|
||||
ID : 17
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -179,7 +202,7 @@ Text icon_top_07
|
||||
|
||||
Text icon_top_08
|
||||
Attributes
|
||||
ID : 20
|
||||
ID : 18
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -189,7 +212,7 @@ Text icon_top_08
|
||||
|
||||
Text icon_top_09
|
||||
Attributes
|
||||
ID : 21
|
||||
ID : 19
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -199,7 +222,7 @@ Text icon_top_09
|
||||
|
||||
Text icon_top_10
|
||||
Attributes
|
||||
ID : 22
|
||||
ID : 20
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -209,7 +232,7 @@ Text icon_top_10
|
||||
|
||||
Text value01_icon
|
||||
Attributes
|
||||
ID : 23
|
||||
ID : 21
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -219,7 +242,7 @@ Text value01_icon
|
||||
|
||||
Text value03_state
|
||||
Attributes
|
||||
ID : 24
|
||||
ID : 22
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -229,7 +252,7 @@ Text value03_state
|
||||
|
||||
Text value03_icon
|
||||
Attributes
|
||||
ID : 25
|
||||
ID : 23
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -239,7 +262,7 @@ Text value03_icon
|
||||
|
||||
Text value02_icon
|
||||
Attributes
|
||||
ID : 26
|
||||
ID : 24
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -249,7 +272,7 @@ Text value02_icon
|
||||
|
||||
Text value02_state
|
||||
Attributes
|
||||
ID : 27
|
||||
ID : 25
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -259,7 +282,7 @@ Text value02_state
|
||||
|
||||
Text wifi_icon
|
||||
Attributes
|
||||
ID : 28
|
||||
ID : 26
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -267,9 +290,16 @@ Text wifi_icon
|
||||
Text :
|
||||
Max. Text Size : 5
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
settings_timer.en=1
|
||||
|
||||
Touch Release Event
|
||||
settings_timer.en=0
|
||||
|
||||
Text indoortempicon
|
||||
Attributes
|
||||
ID : 29
|
||||
ID : 27
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -277,9 +307,18 @@ Text indoortempicon
|
||||
Text :
|
||||
Max. Text Size : 3
|
||||
|
||||
Events
|
||||
Touch Release Event
|
||||
printh 92
|
||||
prints "localevent",0
|
||||
printh 00
|
||||
prints "{\"page\": \"home\", \"component\": \"climate\", \"event\": \"click\"}",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text bt_notific
|
||||
Attributes
|
||||
ID : 30
|
||||
ID : 28
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -296,7 +335,7 @@ Text bt_notific
|
||||
|
||||
Text bt_qrcode
|
||||
Attributes
|
||||
ID : 31
|
||||
ID : 29
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -310,7 +349,7 @@ Text bt_qrcode
|
||||
|
||||
Text bt_entities
|
||||
Attributes
|
||||
ID : 32
|
||||
ID : 30
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -327,7 +366,7 @@ Text bt_entities
|
||||
|
||||
Text bt_alarm
|
||||
Attributes
|
||||
ID : 33
|
||||
ID : 31
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -344,7 +383,7 @@ Text bt_alarm
|
||||
|
||||
Text meridiem
|
||||
Attributes
|
||||
ID : 35
|
||||
ID : 32
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -352,9 +391,16 @@ Text meridiem
|
||||
Text :
|
||||
Max. Text Size : 10
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
settings_timer.en=1
|
||||
|
||||
Touch Release Event
|
||||
settings_timer.en=0
|
||||
|
||||
Text button01
|
||||
Attributes
|
||||
ID : 41
|
||||
ID : 38
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -382,7 +428,7 @@ Text button01
|
||||
|
||||
Text button02
|
||||
Attributes
|
||||
ID : 42
|
||||
ID : 39
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -410,7 +456,7 @@ Text button02
|
||||
|
||||
Text button03
|
||||
Attributes
|
||||
ID : 43
|
||||
ID : 40
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -438,7 +484,7 @@ Text button03
|
||||
|
||||
Text button04
|
||||
Attributes
|
||||
ID : 46
|
||||
ID : 43
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -466,7 +512,7 @@ Text button04
|
||||
|
||||
Text button05
|
||||
Attributes
|
||||
ID : 47
|
||||
ID : 44
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -494,7 +540,7 @@ Text button05
|
||||
|
||||
Text button06
|
||||
Attributes
|
||||
ID : 48
|
||||
ID : 45
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
@@ -527,9 +573,16 @@ Picture weather
|
||||
Dragging : 0
|
||||
Send Component ID: on press and release
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
if(api==1)
|
||||
{
|
||||
page weather01
|
||||
}
|
||||
|
||||
Dual-state Button left_bt_pic
|
||||
Attributes
|
||||
ID : 38
|
||||
ID : 35
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID: on press and release
|
||||
@@ -539,7 +592,7 @@ Dual-state Button left_bt_pic
|
||||
|
||||
Dual-state Button right_bt_pic
|
||||
Attributes
|
||||
ID : 39
|
||||
ID : 36
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID: on press and release
|
||||
@@ -547,50 +600,6 @@ Dual-state Button right_bt_pic
|
||||
Text :
|
||||
Max. Text Size : 0
|
||||
|
||||
Hotspot fc_weather
|
||||
Attributes
|
||||
ID : 9
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID: on press and release
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
if(api==1)
|
||||
{
|
||||
page weather01
|
||||
}
|
||||
|
||||
Hotspot jump_climate
|
||||
Attributes
|
||||
ID : 10
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Send Component ID: on press and release
|
||||
|
||||
Events
|
||||
Touch Release Event
|
||||
printh 92
|
||||
prints "localevent",0
|
||||
printh 00
|
||||
prints "{\"page\": \"home\", \"component\": \"climate\", \"event\": \"click\"}",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Hotspot settings_click
|
||||
Attributes
|
||||
ID : 34
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Send Component ID: on press and release
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
settings_timer.en=1
|
||||
|
||||
Touch Release Event
|
||||
settings_timer.en=0
|
||||
|
||||
Timer swipestore
|
||||
Attributes
|
||||
ID : 2
|
||||
@@ -605,7 +614,7 @@ Timer swipestore
|
||||
|
||||
Timer settings_timer
|
||||
Attributes
|
||||
ID : 37
|
||||
ID : 34
|
||||
Scope : local
|
||||
Period (ms): 1000
|
||||
Enabled : no
|
||||
@@ -616,7 +625,7 @@ Timer settings_timer
|
||||
|
||||
Timer wakeup_timer
|
||||
Attributes
|
||||
ID : 40
|
||||
ID : 37
|
||||
Scope : local
|
||||
Period (ms): 50
|
||||
Enabled : yes
|
||||
@@ -639,7 +648,7 @@ Timer wakeup_timer
|
||||
|
||||
Timer click_timer
|
||||
Attributes
|
||||
ID : 45
|
||||
ID : 42
|
||||
Scope : local
|
||||
Period (ms): 800
|
||||
Enabled : no
|
||||
|
||||
BIN
nspanel_eu.tft
BIN
nspanel_eu.tft
Binary file not shown.
BIN
nspanel_us.tft
BIN
nspanel_us.tft
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user