Add touchevents to page climate

Possibly solves #995
This commit is contained in:
Edward Firmo
2023-09-17 20:20:19 +02:00
parent 60c47ff82c
commit 8362447dac
9 changed files with 524 additions and 0 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -147,6 +147,14 @@ Text current_temp
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Text page_label Text page_label
Attributes Attributes
ID : 6 ID : 6
@@ -157,6 +165,14 @@ Text page_label
Text : Text :
Max. Text Size : 100 Max. Text Size : 100
Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Text current_icon Text current_icon
Attributes Attributes
ID : 8 ID : 8
@@ -167,6 +183,14 @@ Text current_icon
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Text target_icon Text target_icon
Attributes Attributes
ID : 9 ID : 9
@@ -177,6 +201,14 @@ Text target_icon
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Text value01_icon Text value01_icon
Attributes Attributes
ID : 10 ID : 10
@@ -187,6 +219,14 @@ Text value01_icon
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Text value01 Text value01
Attributes Attributes
ID : 11 ID : 11
@@ -197,6 +237,14 @@ Text value01
Text : Text :
Max. Text Size : 6 Max. Text Size : 6
Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Text value02_icon Text value02_icon
Attributes Attributes
ID : 12 ID : 12
@@ -207,6 +255,14 @@ Text value02_icon
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Text value02 Text value02
Attributes Attributes
ID : 13 ID : 13
@@ -217,6 +273,14 @@ Text value02
Text : Text :
Max. Text Size : 6 Max. Text Size : 6
Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Text value03_icon Text value03_icon
Attributes Attributes
ID : 14 ID : 14
@@ -227,6 +291,14 @@ Text value03_icon
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Text value03 Text value03
Attributes Attributes
ID : 15 ID : 15
@@ -237,6 +309,14 @@ Text value03
Text : Text :
Max. Text Size : 6 Max. Text Size : 6
Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Text value04_icon Text value04_icon
Attributes Attributes
ID : 16 ID : 16
@@ -247,6 +327,14 @@ Text value04_icon
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Text value04 Text value04
Attributes Attributes
ID : 17 ID : 17
@@ -257,6 +345,14 @@ Text value04
Text : Text :
Max. Text Size : 6 Max. Text Size : 6
Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Text button01_icon Text button01_icon
Attributes Attributes
ID : 18 ID : 18
@@ -357,6 +453,14 @@ Text target_temp
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Slider climateslider Slider climateslider
Attributes Attributes
ID : 7 ID : 7
@@ -428,6 +532,11 @@ Hotspot decrease_temp
Events Events
Touch Press Event Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
if(climateslider.val>0) if(climateslider.val>0)
{ {
climateslider.val-- climateslider.val--
@@ -452,6 +561,11 @@ Hotspot increase_temp
Events Events
Touch Press Event Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
if(climateslider.val<climateslider.maxval) if(climateslider.val<climateslider.maxval)
{ {
climateslider.val++ climateslider.val++
@@ -475,6 +589,13 @@ Hotspot button01
Send Component ID: disabled Send Component ID: disabled
Events Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Touch Release Event Touch Release Event
covx embedded.val,va2.txt,0,0 covx embedded.val,va2.txt,0,0
lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"auto\", \"embedded\": "+va2.txt+"}" lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"auto\", \"embedded\": "+va2.txt+"}"
@@ -493,6 +614,13 @@ Hotspot button02
Send Component ID: disabled Send Component ID: disabled
Events Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Touch Release Event Touch Release Event
covx embedded.val,va2.txt,0,0 covx embedded.val,va2.txt,0,0
lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"heat_cool\", \"embedded\": "+va2.txt+"}" lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"heat_cool\", \"embedded\": "+va2.txt+"}"
@@ -511,6 +639,13 @@ Hotspot button03
Send Component ID: disabled Send Component ID: disabled
Events Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Touch Release Event Touch Release Event
covx embedded.val,va2.txt,0,0 covx embedded.val,va2.txt,0,0
lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"heat\", \"embedded\": "+va2.txt+"}" lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"heat\", \"embedded\": "+va2.txt+"}"
@@ -529,6 +664,13 @@ Hotspot button04
Send Component ID: disabled Send Component ID: disabled
Events Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Touch Release Event Touch Release Event
covx embedded.val,va2.txt,0,0 covx embedded.val,va2.txt,0,0
lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"cool\", \"embedded\": "+va2.txt+"}" lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"cool\", \"embedded\": "+va2.txt+"}"
@@ -547,6 +689,13 @@ Hotspot button05
Send Component ID: disabled Send Component ID: disabled
Events Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Touch Release Event Touch Release Event
covx embedded.val,va2.txt,0,0 covx embedded.val,va2.txt,0,0
lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"dry\", \"embedded\": "+va2.txt+"}" lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"dry\", \"embedded\": "+va2.txt+"}"
@@ -565,6 +714,13 @@ Hotspot button06
Send Component ID: disabled Send Component ID: disabled
Events Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Touch Release Event Touch Release Event
covx embedded.val,va2.txt,0,0 covx embedded.val,va2.txt,0,0
lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"fan_only\", \"embedded\": "+va2.txt+"}" lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"fan_only\", \"embedded\": "+va2.txt+"}"
@@ -583,6 +739,13 @@ Hotspot button07
Send Component ID: disabled Send Component ID: disabled
Events Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Touch Release Event Touch Release Event
covx embedded.val,va2.txt,0,0 covx embedded.val,va2.txt,0,0
lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"off\", \"embedded\": "+va2.txt+"}" lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"off\", \"embedded\": "+va2.txt+"}"
@@ -602,6 +765,11 @@ Hotspot button08
Events Events
Touch Press Event Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
click_comp.txt="button08" click_comp.txt="button08"
click_timer.en=1 click_timer.en=1
@@ -627,6 +795,11 @@ Hotspot button09
Events Events
Touch Press Event Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
click_comp.txt="button09" click_comp.txt="button09"
click_timer.en=1 click_timer.en=1

Binary file not shown.

Binary file not shown.

View File

@@ -147,6 +147,14 @@ Text current_temp
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Text page_label Text page_label
Attributes Attributes
ID : 6 ID : 6
@@ -157,6 +165,14 @@ Text page_label
Text : Text :
Max. Text Size : 100 Max. Text Size : 100
Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Text current_icon Text current_icon
Attributes Attributes
ID : 8 ID : 8
@@ -167,6 +183,14 @@ Text current_icon
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Text target_icon Text target_icon
Attributes Attributes
ID : 9 ID : 9
@@ -177,6 +201,14 @@ Text target_icon
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Text value01_icon Text value01_icon
Attributes Attributes
ID : 10 ID : 10
@@ -187,6 +219,14 @@ Text value01_icon
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Text value01 Text value01
Attributes Attributes
ID : 11 ID : 11
@@ -197,6 +237,14 @@ Text value01
Text : Text :
Max. Text Size : 6 Max. Text Size : 6
Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Text value02_icon Text value02_icon
Attributes Attributes
ID : 12 ID : 12
@@ -207,6 +255,14 @@ Text value02_icon
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Text value02 Text value02
Attributes Attributes
ID : 13 ID : 13
@@ -217,6 +273,14 @@ Text value02
Text : Text :
Max. Text Size : 6 Max. Text Size : 6
Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Text value03_icon Text value03_icon
Attributes Attributes
ID : 14 ID : 14
@@ -227,6 +291,14 @@ Text value03_icon
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Text value03 Text value03
Attributes Attributes
ID : 15 ID : 15
@@ -237,6 +309,14 @@ Text value03
Text : Text :
Max. Text Size : 6 Max. Text Size : 6
Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Text value04_icon Text value04_icon
Attributes Attributes
ID : 16 ID : 16
@@ -247,6 +327,14 @@ Text value04_icon
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Text value04 Text value04
Attributes Attributes
ID : 17 ID : 17
@@ -257,6 +345,14 @@ Text value04
Text : Text :
Max. Text Size : 6 Max. Text Size : 6
Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Text button01_icon Text button01_icon
Attributes Attributes
ID : 18 ID : 18
@@ -357,6 +453,14 @@ Text target_temp
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Slider climateslider Slider climateslider
Attributes Attributes
ID : 7 ID : 7
@@ -402,6 +506,11 @@ Button button_back
Events Events
Touch Press Event Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
if(back_page.txt=="buttonpage01") if(back_page.txt=="buttonpage01")
{ {
page buttonpage01 page buttonpage01
@@ -428,6 +537,11 @@ Hotspot decrease_temp
Events Events
Touch Press Event Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
if(climateslider.val>0) if(climateslider.val>0)
{ {
climateslider.val-- climateslider.val--
@@ -452,6 +566,11 @@ Hotspot increase_temp
Events Events
Touch Press Event Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
if(climateslider.val<climateslider.maxval) if(climateslider.val<climateslider.maxval)
{ {
climateslider.val++ climateslider.val++
@@ -475,6 +594,13 @@ Hotspot button01
Send Component ID: disabled Send Component ID: disabled
Events Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Touch Release Event Touch Release Event
covx embedded.val,va2.txt,0,0 covx embedded.val,va2.txt,0,0
lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"auto\", \"embedded\": "+va2.txt+"}" lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"auto\", \"embedded\": "+va2.txt+"}"
@@ -493,6 +619,13 @@ Hotspot button02
Send Component ID: disabled Send Component ID: disabled
Events Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Touch Release Event Touch Release Event
covx embedded.val,va2.txt,0,0 covx embedded.val,va2.txt,0,0
lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"heat_cool\", \"embedded\": "+va2.txt+"}" lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"heat_cool\", \"embedded\": "+va2.txt+"}"
@@ -511,6 +644,13 @@ Hotspot button03
Send Component ID: disabled Send Component ID: disabled
Events Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Touch Release Event Touch Release Event
covx embedded.val,va2.txt,0,0 covx embedded.val,va2.txt,0,0
lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"heat\", \"embedded\": "+va2.txt+"}" lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"heat\", \"embedded\": "+va2.txt+"}"
@@ -529,6 +669,13 @@ Hotspot button04
Send Component ID: disabled Send Component ID: disabled
Events Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Touch Release Event Touch Release Event
covx embedded.val,va2.txt,0,0 covx embedded.val,va2.txt,0,0
lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"cool\", \"embedded\": "+va2.txt+"}" lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"cool\", \"embedded\": "+va2.txt+"}"
@@ -547,6 +694,13 @@ Hotspot button05
Send Component ID: disabled Send Component ID: disabled
Events Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Touch Release Event Touch Release Event
covx embedded.val,va2.txt,0,0 covx embedded.val,va2.txt,0,0
lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"dry\", \"embedded\": "+va2.txt+"}" lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"dry\", \"embedded\": "+va2.txt+"}"
@@ -565,6 +719,13 @@ Hotspot button06
Send Component ID: disabled Send Component ID: disabled
Events Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Touch Release Event Touch Release Event
covx embedded.val,va2.txt,0,0 covx embedded.val,va2.txt,0,0
lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"fan_only\", \"embedded\": "+va2.txt+"}" lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"fan_only\", \"embedded\": "+va2.txt+"}"
@@ -583,6 +744,13 @@ Hotspot button07
Send Component ID: disabled Send Component ID: disabled
Events Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Touch Release Event Touch Release Event
covx embedded.val,va2.txt,0,0 covx embedded.val,va2.txt,0,0
lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"off\", \"embedded\": "+va2.txt+"}" lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"off\", \"embedded\": "+va2.txt+"}"
@@ -606,6 +774,11 @@ Hotspot button08
click_timer.en=1 click_timer.en=1
Touch Release Event Touch Release Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
if(click_timer.en==1) if(click_timer.en==1)
{ {
click_timer.en=0 click_timer.en=0
@@ -631,6 +804,11 @@ Hotspot button09
click_timer.en=1 click_timer.en=1
Touch Release Event Touch Release Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
if(click_timer.en==1) if(click_timer.en==1)
{ {
click_timer.en=0 click_timer.en=0

Binary file not shown.

Binary file not shown.

View File

@@ -147,6 +147,14 @@ Text current_temp
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Text page_label Text page_label
Attributes Attributes
ID : 6 ID : 6
@@ -157,6 +165,14 @@ Text page_label
Text : Text :
Max. Text Size : 100 Max. Text Size : 100
Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Text current_icon Text current_icon
Attributes Attributes
ID : 8 ID : 8
@@ -167,6 +183,14 @@ Text current_icon
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Text target_icon Text target_icon
Attributes Attributes
ID : 9 ID : 9
@@ -177,6 +201,14 @@ Text target_icon
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Text value01_icon Text value01_icon
Attributes Attributes
ID : 10 ID : 10
@@ -187,6 +219,14 @@ Text value01_icon
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Text value01 Text value01
Attributes Attributes
ID : 11 ID : 11
@@ -197,6 +237,14 @@ Text value01
Text : Text :
Max. Text Size : 6 Max. Text Size : 6
Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Text value02_icon Text value02_icon
Attributes Attributes
ID : 12 ID : 12
@@ -207,6 +255,14 @@ Text value02_icon
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Text value02 Text value02
Attributes Attributes
ID : 13 ID : 13
@@ -217,6 +273,14 @@ Text value02
Text : Text :
Max. Text Size : 6 Max. Text Size : 6
Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Text value03_icon Text value03_icon
Attributes Attributes
ID : 14 ID : 14
@@ -227,6 +291,14 @@ Text value03_icon
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Text value03 Text value03
Attributes Attributes
ID : 15 ID : 15
@@ -237,6 +309,14 @@ Text value03
Text : Text :
Max. Text Size : 6 Max. Text Size : 6
Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Text value04_icon Text value04_icon
Attributes Attributes
ID : 16 ID : 16
@@ -247,6 +327,14 @@ Text value04_icon
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Text value04 Text value04
Attributes Attributes
ID : 17 ID : 17
@@ -257,6 +345,14 @@ Text value04
Text : Text :
Max. Text Size : 6 Max. Text Size : 6
Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Text button01_icon Text button01_icon
Attributes Attributes
ID : 18 ID : 18
@@ -357,6 +453,14 @@ Text target_temp
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Slider climateslider Slider climateslider
Attributes Attributes
ID : 7 ID : 7
@@ -428,6 +532,11 @@ Hotspot decrease_temp
Events Events
Touch Press Event Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
if(climateslider.val>0) if(climateslider.val>0)
{ {
climateslider.val-- climateslider.val--
@@ -452,6 +561,11 @@ Hotspot increase_temp
Events Events
Touch Press Event Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
if(climateslider.val<climateslider.maxval) if(climateslider.val<climateslider.maxval)
{ {
climateslider.val++ climateslider.val++
@@ -475,6 +589,13 @@ Hotspot button01
Send Component ID: disabled Send Component ID: disabled
Events Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Touch Release Event Touch Release Event
covx embedded.val,va2.txt,0,0 covx embedded.val,va2.txt,0,0
lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"auto\", \"embedded\": "+va2.txt+"}" lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"auto\", \"embedded\": "+va2.txt+"}"
@@ -493,6 +614,13 @@ Hotspot button02
Send Component ID: disabled Send Component ID: disabled
Events Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Touch Release Event Touch Release Event
covx embedded.val,va2.txt,0,0 covx embedded.val,va2.txt,0,0
lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"heat_cool\", \"embedded\": "+va2.txt+"}" lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"heat_cool\", \"embedded\": "+va2.txt+"}"
@@ -511,6 +639,13 @@ Hotspot button03
Send Component ID: disabled Send Component ID: disabled
Events Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Touch Release Event Touch Release Event
covx embedded.val,va2.txt,0,0 covx embedded.val,va2.txt,0,0
lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"heat\", \"embedded\": "+va2.txt+"}" lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"heat\", \"embedded\": "+va2.txt+"}"
@@ -529,6 +664,13 @@ Hotspot button04
Send Component ID: disabled Send Component ID: disabled
Events Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Touch Release Event Touch Release Event
covx embedded.val,va2.txt,0,0 covx embedded.val,va2.txt,0,0
lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"cool\", \"embedded\": "+va2.txt+"}" lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"cool\", \"embedded\": "+va2.txt+"}"
@@ -547,6 +689,13 @@ Hotspot button05
Send Component ID: disabled Send Component ID: disabled
Events Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Touch Release Event Touch Release Event
covx embedded.val,va2.txt,0,0 covx embedded.val,va2.txt,0,0
lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"dry\", \"embedded\": "+va2.txt+"}" lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"dry\", \"embedded\": "+va2.txt+"}"
@@ -565,6 +714,13 @@ Hotspot button06
Send Component ID: disabled Send Component ID: disabled
Events Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Touch Release Event Touch Release Event
covx embedded.val,va2.txt,0,0 covx embedded.val,va2.txt,0,0
lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"fan_only\", \"embedded\": "+va2.txt+"}" lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"fan_only\", \"embedded\": "+va2.txt+"}"
@@ -583,6 +739,13 @@ Hotspot button07
Send Component ID: disabled Send Component ID: disabled
Events Events
Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
Touch Release Event Touch Release Event
covx embedded.val,va2.txt,0,0 covx embedded.val,va2.txt,0,0
lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"off\", \"embedded\": "+va2.txt+"}" lastclick.txt="{\"page\": \"climate\", \"key\": \"hvac_mode\", \"value\": \"off\", \"embedded\": "+va2.txt+"}"
@@ -602,6 +765,11 @@ Hotspot button08
Events Events
Touch Press Event Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
click_comp.txt="button08" click_comp.txt="button08"
click_timer.en=1 click_timer.en=1
@@ -627,6 +795,11 @@ Hotspot button09
Events Events
Touch Press Event Touch Press Event
printh 91
prints "touchevent",0
printh 00
prints rand,0
printh FF FF FF
click_comp.txt="button09" click_comp.txt="button09"
click_timer.en=1 click_timer.en=1