@@ -136,13 +136,12 @@ script:
|
||||
- lambda: |-
|
||||
ESP_LOGD("addon_upload_tft.script.open_upload_dialog", "Showing upload dialog page");
|
||||
disp1->goto_page("confirm");
|
||||
page_id->update();
|
||||
- wait_until:
|
||||
condition:
|
||||
- lambda: return (page_id->state == 26);
|
||||
- lambda: return (current_page->state == "confirm");
|
||||
timeout: 2s
|
||||
- lambda: |-
|
||||
if (page_id->state == 26) {
|
||||
if (current_page->state == "confirm") {
|
||||
disp1->hide_component("bclose");
|
||||
disp1->hide_component("bt_accept");
|
||||
disp1->hide_component("bt_clear");
|
||||
@@ -152,7 +151,6 @@ script:
|
||||
#elif defined(USE_ESP_IDF)
|
||||
disp1->set_component_text_printf("confirm.title", "Upload TFT\\rESP-IDF");
|
||||
#endif
|
||||
page_id->update();
|
||||
|
||||
- id: report_upload_progress
|
||||
mode: restart
|
||||
@@ -162,7 +160,7 @@ script:
|
||||
- lambda: |-
|
||||
ESP_LOGD("addon_upload_tft.script.report_upload_progress", "%s", message.c_str());
|
||||
if (id(tft_is_valid)) {
|
||||
if (page_id->state != 26) {
|
||||
if (current_page->state != "confirm") {
|
||||
open_upload_dialog->execute();
|
||||
}
|
||||
display_wrapped_text->execute("confirm.body", message.c_str(), 18);
|
||||
@@ -207,10 +205,9 @@ script:
|
||||
- delay: 2s
|
||||
- script.execute: open_upload_dialog
|
||||
- script.wait: open_upload_dialog
|
||||
- lambda: page_id->update();
|
||||
- wait_until:
|
||||
condition:
|
||||
- lambda: return (page_id->state == 26);
|
||||
- lambda: return (current_page->state == "confirm");
|
||||
timeout: 2s
|
||||
- script.execute:
|
||||
id: report_upload_progress
|
||||
|
||||
@@ -859,12 +859,8 @@ display:
|
||||
- script.execute: setup_sequence
|
||||
on_page:
|
||||
lambda: |-
|
||||
if (!id(is_uploading_tft)) {
|
||||
page_id->update();
|
||||
if (current_page->state != page_names[x] or x == 9) {
|
||||
current_page->publish_state(page_names[x]);
|
||||
page_changed->execute(page_names[x]);
|
||||
}
|
||||
if (current_page->state != page_names[x] or x == 9) {
|
||||
current_page->publish_state(page_names[x]);
|
||||
}
|
||||
|
||||
on_touch:
|
||||
@@ -1528,23 +1524,6 @@ sensor:
|
||||
internal: false
|
||||
disabled_by_default: false
|
||||
|
||||
###### Page Id - Current #####
|
||||
- id: page_id
|
||||
name: Page Id
|
||||
platform: nextion
|
||||
variable_name: dp
|
||||
precision: 0
|
||||
accuracy_decimals: 0
|
||||
internal: true
|
||||
entity_category: diagnostic
|
||||
on_value:
|
||||
then:
|
||||
- lambda: |-
|
||||
if (!id(is_uploading_tft) and current_page->state != page_names[x]) {
|
||||
current_page->publish_state(page_names[x]);
|
||||
page_changed->execute(page_names[x]);
|
||||
}
|
||||
|
||||
##### Display mode (1 = EU, 2 = US, 3 = US Landscape)
|
||||
- id: display_mode
|
||||
name: Display mode
|
||||
@@ -1666,10 +1645,17 @@ text_sensor:
|
||||
##### Current page name #####
|
||||
- id: current_page
|
||||
name: Current Page
|
||||
platform: template
|
||||
platform: nextion
|
||||
component_name: current_page
|
||||
icon: mdi:tablet-dashboard
|
||||
internal: false
|
||||
disabled_by_default: false
|
||||
on_value:
|
||||
then:
|
||||
- lambda: |-
|
||||
if (!id(is_uploading_tft)) {
|
||||
page_changed->execute(x.c_str());
|
||||
}
|
||||
|
||||
- id: notification_label
|
||||
name: Notification Label
|
||||
@@ -2646,12 +2632,6 @@ script:
|
||||
- id: setup_sequence
|
||||
mode: restart
|
||||
then:
|
||||
- lambda: |-
|
||||
page_id->update();
|
||||
- wait_until:
|
||||
condition:
|
||||
- lambda: !lambda return (not isnan(page_id->state));
|
||||
timeout: 15s
|
||||
- lambda: display_charset->update();
|
||||
- wait_until:
|
||||
condition:
|
||||
|
||||
@@ -12,7 +12,12 @@ Page blank
|
||||
|
||||
Events
|
||||
Preinitialize Event
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "blank",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
dim=100
|
||||
covx baud,baud_rate.txt,0,0
|
||||
baud_rate.txt+=" bps"
|
||||
@@ -83,7 +88,7 @@ Text tft_version
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text : TFT: v2024.1.2
|
||||
Text : TFT: v2024.3.0
|
||||
Max. Text Size : 20
|
||||
|
||||
Events
|
||||
@@ -189,7 +194,12 @@ Timer tm_esphome
|
||||
{
|
||||
rest
|
||||
}
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "blank",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
printh 91
|
||||
prints "display_mode",0
|
||||
printh 00
|
||||
|
||||
@@ -24,7 +24,12 @@ Page alarm
|
||||
vis bt_bypass,0
|
||||
}
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "alarm",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
|
||||
@@ -16,7 +16,12 @@ Page boot
|
||||
covx baud,baud_rate.txt,0,0
|
||||
baud_rate.txt+=" bps"
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "boot",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Page Exit Event
|
||||
dim=0
|
||||
@@ -185,7 +190,12 @@ Timer tm_esphome
|
||||
{
|
||||
rest
|
||||
}
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "boot",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
printh 91
|
||||
prints "display_mode",0
|
||||
printh 00
|
||||
|
||||
@@ -39,7 +39,12 @@ Page buttonpage01
|
||||
vis page_index,1
|
||||
}
|
||||
}
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "buttonpage01",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
|
||||
@@ -39,7 +39,12 @@ Page buttonpage02
|
||||
vis page_index,1
|
||||
}
|
||||
}
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "buttonpage02",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
|
||||
@@ -39,7 +39,12 @@ Page buttonpage03
|
||||
vis page_index,1
|
||||
}
|
||||
}
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "buttonpage03",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
|
||||
@@ -39,7 +39,12 @@ Page buttonpage04
|
||||
vis page_index,1
|
||||
}
|
||||
}
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "buttonpage04",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
|
||||
@@ -33,7 +33,12 @@ Page climate
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "climate",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Page Exit Event
|
||||
covx embedded.val,va2.txt,0,0
|
||||
|
||||
@@ -17,7 +17,12 @@ Page confirm
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "confirm",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Variable (int32) page_id
|
||||
Attributes
|
||||
|
||||
@@ -17,7 +17,12 @@ Page cover
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "cover",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Variable (string) va1
|
||||
Attributes
|
||||
|
||||
@@ -37,7 +37,12 @@ Page entitypage01
|
||||
{
|
||||
vis page_index,0
|
||||
}
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "entitypage01",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text value01_label
|
||||
Attributes
|
||||
|
||||
@@ -37,7 +37,12 @@ Page entitypage02
|
||||
{
|
||||
vis page_index,0
|
||||
}
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "entitypage02",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text value01_label
|
||||
Attributes
|
||||
|
||||
@@ -37,7 +37,12 @@ Page entitypage03
|
||||
{
|
||||
vis page_index,0
|
||||
}
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "entitypage03",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text value01_label
|
||||
Attributes
|
||||
|
||||
@@ -37,7 +37,12 @@ Page entitypage04
|
||||
{
|
||||
vis page_index,0
|
||||
}
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "entitypage04",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text value01_label
|
||||
Attributes
|
||||
|
||||
@@ -18,7 +18,12 @@ Page fan
|
||||
}
|
||||
vis unavailable,0
|
||||
vis bt_oscillate,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "fan",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Variable (string) fansetting
|
||||
Attributes
|
||||
|
||||
@@ -12,6 +12,12 @@ Page home
|
||||
|
||||
Events
|
||||
Preinitialize Event
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "home",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
back_page_id=0
|
||||
if(qrcode.qrcode_value.txt=="")
|
||||
{
|
||||
@@ -31,7 +37,6 @@ Page home
|
||||
vis right_bt_text,0
|
||||
}
|
||||
vis unavailable,0
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
|
||||
@@ -17,7 +17,12 @@ Page keyb_num
|
||||
page page_id.val
|
||||
}
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "keyb_num",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Variable (int32) page_id
|
||||
Attributes
|
||||
|
||||
@@ -37,7 +37,12 @@ Page light
|
||||
vis color_button,0
|
||||
}
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "light",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Variable (int32) rgb565
|
||||
Attributes
|
||||
|
||||
@@ -17,7 +17,12 @@ Page media_player
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "media_player",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
|
||||
@@ -17,7 +17,12 @@ Page notification
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "notification",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
|
||||
@@ -13,7 +13,12 @@ Page qrcode
|
||||
Events
|
||||
Preinitialize Event
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "qrcode",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text qrcode_label
|
||||
Attributes
|
||||
|
||||
@@ -15,7 +15,12 @@ Page screensaver
|
||||
vis text,0
|
||||
dim=brightness_sleep
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "screensaver",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Touch Release Event
|
||||
page back_page_id
|
||||
|
||||
@@ -19,7 +19,12 @@ Page settings
|
||||
vis lbl_sleep,0
|
||||
vis bt_sleep,0
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "settings",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text bright_text
|
||||
Attributes
|
||||
|
||||
@@ -20,7 +20,12 @@ Page utilities
|
||||
vis title_icon,1
|
||||
vis title,1
|
||||
vis button_back,1
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "utilities",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Variable (int32) line_main_d
|
||||
Attributes
|
||||
|
||||
@@ -17,7 +17,12 @@ Page weather01
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "weather01",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text day
|
||||
Attributes
|
||||
|
||||
@@ -17,7 +17,12 @@ Page weather02
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "weather02",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text day
|
||||
Attributes
|
||||
|
||||
@@ -17,7 +17,12 @@ Page weather03
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "weather03",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text day
|
||||
Attributes
|
||||
|
||||
@@ -17,7 +17,12 @@ Page weather04
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "weather04",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text day
|
||||
Attributes
|
||||
|
||||
@@ -17,7 +17,12 @@ Page weather05
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "weather05",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text day
|
||||
Attributes
|
||||
|
||||
@@ -24,7 +24,12 @@ Page alarm
|
||||
vis bt_bypass,0
|
||||
}
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "alarm",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
|
||||
@@ -16,7 +16,12 @@ Page boot
|
||||
covx baud,baud_rate.txt,0,0
|
||||
baud_rate.txt+=" bps"
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "boot",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Page Exit Event
|
||||
dim=0
|
||||
@@ -192,7 +197,12 @@ Timer tm_esphome
|
||||
{
|
||||
rest
|
||||
}
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "boot",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
printh 91
|
||||
prints "display_mode",0
|
||||
printh 00
|
||||
|
||||
@@ -39,7 +39,12 @@ Page buttonpage01
|
||||
vis page_index,1
|
||||
}
|
||||
}
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "buttonpage01",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
|
||||
@@ -39,7 +39,12 @@ Page buttonpage02
|
||||
vis page_index,1
|
||||
}
|
||||
}
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "buttonpage02",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
|
||||
@@ -39,7 +39,12 @@ Page buttonpage03
|
||||
vis page_index,1
|
||||
}
|
||||
}
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "buttonpage03",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
|
||||
@@ -39,7 +39,12 @@ Page buttonpage04
|
||||
vis page_index,1
|
||||
}
|
||||
}
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "buttonpage04",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
|
||||
@@ -33,7 +33,12 @@ Page climate
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "climate",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Page Exit Event
|
||||
covx embedded.val,va2.txt,0,0
|
||||
|
||||
@@ -17,7 +17,12 @@ Page confirm
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "confirm",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Variable (int32) page_id
|
||||
Attributes
|
||||
|
||||
@@ -17,7 +17,12 @@ Page cover
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "cover",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Variable (string) va1
|
||||
Attributes
|
||||
|
||||
@@ -37,7 +37,12 @@ Page entitypage01
|
||||
{
|
||||
vis page_index,0
|
||||
}
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "entitypage01",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text value01_label
|
||||
Attributes
|
||||
|
||||
@@ -37,7 +37,12 @@ Page entitypage02
|
||||
{
|
||||
vis page_index,0
|
||||
}
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "entitypage02",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text value01_label
|
||||
Attributes
|
||||
|
||||
@@ -37,7 +37,12 @@ Page entitypage03
|
||||
{
|
||||
vis page_index,0
|
||||
}
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "entitypage03",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text value01_label
|
||||
Attributes
|
||||
|
||||
@@ -37,7 +37,12 @@ Page entitypage04
|
||||
{
|
||||
vis page_index,0
|
||||
}
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "entitypage04",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text value01_label
|
||||
Attributes
|
||||
|
||||
@@ -18,7 +18,12 @@ Page fan
|
||||
}
|
||||
vis unavailable,0
|
||||
vis bt_oscillate,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "fan",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Variable (string) fansetting
|
||||
Attributes
|
||||
|
||||
@@ -12,6 +12,12 @@ Page home
|
||||
|
||||
Events
|
||||
Preinitialize Event
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "home",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
back_page_id=0
|
||||
if(qrcode.qrcode_value.txt=="")
|
||||
{
|
||||
@@ -31,7 +37,6 @@ Page home
|
||||
vis right_bt_text,0
|
||||
}
|
||||
vis unavailable,0
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
|
||||
@@ -17,7 +17,12 @@ Page keyb_num
|
||||
page page_id.val
|
||||
}
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "keyb_num",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Variable (int32) page_id
|
||||
Attributes
|
||||
|
||||
@@ -37,7 +37,12 @@ Page light
|
||||
vis color_button,0
|
||||
}
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "light",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Variable (int32) rgb565
|
||||
Attributes
|
||||
|
||||
@@ -17,7 +17,12 @@ Page media_player
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "media_player",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
|
||||
@@ -17,7 +17,12 @@ Page notification
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "notification",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
|
||||
@@ -13,7 +13,12 @@ Page qrcode
|
||||
Events
|
||||
Preinitialize Event
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "qrcode",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text qrcode_label
|
||||
Attributes
|
||||
|
||||
@@ -15,7 +15,12 @@ Page screensaver
|
||||
vis text,0
|
||||
dim=brightness_sleep
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "screensaver",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Touch Release Event
|
||||
page back_page_id
|
||||
|
||||
@@ -19,7 +19,12 @@ Page settings
|
||||
vis lbl_sleep,0
|
||||
vis bt_sleep,0
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "settings",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text bright_text
|
||||
Attributes
|
||||
|
||||
@@ -20,7 +20,12 @@ Page utilities
|
||||
vis title_icon,1
|
||||
vis title,1
|
||||
vis button_back,1
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "utilities",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Variable (int32) line_main_d
|
||||
Attributes
|
||||
|
||||
@@ -17,7 +17,12 @@ Page weather01
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "weather01",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text day
|
||||
Attributes
|
||||
|
||||
@@ -17,7 +17,12 @@ Page weather02
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "weather02",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text day
|
||||
Attributes
|
||||
|
||||
@@ -17,7 +17,12 @@ Page weather03
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "weather03",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text day
|
||||
Attributes
|
||||
|
||||
@@ -17,7 +17,12 @@ Page weather04
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "weather04",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text day
|
||||
Attributes
|
||||
|
||||
@@ -17,7 +17,12 @@ Page weather05
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "weather05",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text day
|
||||
Attributes
|
||||
|
||||
@@ -24,7 +24,12 @@ Page alarm
|
||||
vis bt_bypass,0
|
||||
}
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "alarm",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
|
||||
@@ -16,7 +16,12 @@ Page boot
|
||||
covx baud,baud_rate.txt,0,0
|
||||
baud_rate.txt+=" bps"
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "boot",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Page Exit Event
|
||||
dim=0
|
||||
@@ -185,7 +190,12 @@ Timer tm_esphome
|
||||
{
|
||||
rest
|
||||
}
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "boot",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
printh 91
|
||||
prints "display_mode",0
|
||||
printh 00
|
||||
|
||||
@@ -39,7 +39,12 @@ Page buttonpage01
|
||||
vis page_index,1
|
||||
}
|
||||
}
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "buttonpage01",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
|
||||
@@ -39,7 +39,12 @@ Page buttonpage02
|
||||
vis page_index,1
|
||||
}
|
||||
}
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "buttonpage02",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
|
||||
@@ -39,7 +39,12 @@ Page buttonpage03
|
||||
vis page_index,1
|
||||
}
|
||||
}
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "buttonpage03",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
|
||||
@@ -39,7 +39,12 @@ Page buttonpage04
|
||||
vis page_index,1
|
||||
}
|
||||
}
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "buttonpage04",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
|
||||
@@ -33,7 +33,12 @@ Page climate
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "climate",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Page Exit Event
|
||||
covx embedded.val,va2.txt,0,0
|
||||
|
||||
@@ -17,7 +17,12 @@ Page confirm
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "confirm",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Variable (int32) page_id
|
||||
Attributes
|
||||
|
||||
@@ -17,7 +17,12 @@ Page cover
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "cover",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Variable (string) va1
|
||||
Attributes
|
||||
|
||||
@@ -37,7 +37,12 @@ Page entitypage01
|
||||
{
|
||||
vis page_index,0
|
||||
}
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "entitypage01",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text value01_label
|
||||
Attributes
|
||||
|
||||
@@ -37,7 +37,12 @@ Page entitypage02
|
||||
{
|
||||
vis page_index,0
|
||||
}
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "entitypage02",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text value01_label
|
||||
Attributes
|
||||
|
||||
@@ -37,7 +37,12 @@ Page entitypage03
|
||||
{
|
||||
vis page_index,0
|
||||
}
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "entitypage03",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text value01_label
|
||||
Attributes
|
||||
|
||||
@@ -37,7 +37,12 @@ Page entitypage04
|
||||
{
|
||||
vis page_index,0
|
||||
}
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "entitypage04",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text value01_label
|
||||
Attributes
|
||||
|
||||
@@ -18,7 +18,12 @@ Page fan
|
||||
}
|
||||
vis unavailable,0
|
||||
vis bt_oscillate,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "fan",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Variable (string) fansetting
|
||||
Attributes
|
||||
|
||||
@@ -12,6 +12,12 @@ Page home
|
||||
|
||||
Events
|
||||
Preinitialize Event
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "home",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
back_page_id=0
|
||||
if(qrcode.qrcode_value.txt=="")
|
||||
{
|
||||
@@ -31,7 +37,6 @@ Page home
|
||||
vis right_bt_text,0
|
||||
}
|
||||
vis unavailable,0
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
|
||||
@@ -17,7 +17,12 @@ Page keyb_num
|
||||
page page_id.val
|
||||
}
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "keyb_num",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Variable (int32) page_id
|
||||
Attributes
|
||||
|
||||
@@ -37,7 +37,12 @@ Page light
|
||||
vis color_button,0
|
||||
}
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "light",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Variable (int32) rgb565
|
||||
Attributes
|
||||
|
||||
@@ -17,7 +17,12 @@ Page media_player
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "media_player",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
|
||||
@@ -17,7 +17,12 @@ Page notification
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "notification",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
|
||||
@@ -13,7 +13,12 @@ Page qrcode
|
||||
Events
|
||||
Preinitialize Event
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "qrcode",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text qrcode_label
|
||||
Attributes
|
||||
|
||||
@@ -15,7 +15,12 @@ Page screensaver
|
||||
vis text,0
|
||||
dim=brightness_sleep
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "screensaver",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Touch Release Event
|
||||
page back_page_id
|
||||
|
||||
@@ -19,7 +19,12 @@ Page settings
|
||||
vis lbl_sleep,0
|
||||
vis bt_sleep,0
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "settings",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text bright_text
|
||||
Attributes
|
||||
|
||||
@@ -20,7 +20,12 @@ Page utilities
|
||||
vis title_icon,1
|
||||
vis title,1
|
||||
vis button_back,1
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "utilities",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Variable (int32) line_main_d
|
||||
Attributes
|
||||
|
||||
@@ -17,7 +17,12 @@ Page weather01
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "weather01",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text day
|
||||
Attributes
|
||||
|
||||
@@ -17,7 +17,12 @@ Page weather02
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "weather02",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text day
|
||||
Attributes
|
||||
|
||||
@@ -17,7 +17,12 @@ Page weather03
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "weather03",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text day
|
||||
Attributes
|
||||
|
||||
@@ -17,7 +17,12 @@ Page weather04
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "weather04",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text day
|
||||
Attributes
|
||||
|
||||
@@ -17,7 +17,12 @@ Page weather05
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
sendme
|
||||
printh 92
|
||||
prints "current_page",0
|
||||
printh 00
|
||||
prints "weather05",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Text day
|
||||
Attributes
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user