Replace sendme by current_page text sensor

Solves #1900
This commit is contained in:
Edward Firmo
2024-03-14 22:38:22 +01:00
parent ce04dd7b99
commit 79363673d3
95 changed files with 549 additions and 127 deletions

View File

@@ -136,13 +136,12 @@ script:
- lambda: |- - lambda: |-
ESP_LOGD("addon_upload_tft.script.open_upload_dialog", "Showing upload dialog page"); ESP_LOGD("addon_upload_tft.script.open_upload_dialog", "Showing upload dialog page");
disp1->goto_page("confirm"); disp1->goto_page("confirm");
page_id->update();
- wait_until: - wait_until:
condition: condition:
- lambda: return (page_id->state == 26); - lambda: return (current_page->state == "confirm");
timeout: 2s timeout: 2s
- lambda: |- - lambda: |-
if (page_id->state == 26) { if (current_page->state == "confirm") {
disp1->hide_component("bclose"); disp1->hide_component("bclose");
disp1->hide_component("bt_accept"); disp1->hide_component("bt_accept");
disp1->hide_component("bt_clear"); disp1->hide_component("bt_clear");
@@ -152,7 +151,6 @@ script:
#elif defined(USE_ESP_IDF) #elif defined(USE_ESP_IDF)
disp1->set_component_text_printf("confirm.title", "Upload TFT\\rESP-IDF"); disp1->set_component_text_printf("confirm.title", "Upload TFT\\rESP-IDF");
#endif #endif
page_id->update();
- id: report_upload_progress - id: report_upload_progress
mode: restart mode: restart
@@ -162,7 +160,7 @@ script:
- lambda: |- - lambda: |-
ESP_LOGD("addon_upload_tft.script.report_upload_progress", "%s", message.c_str()); ESP_LOGD("addon_upload_tft.script.report_upload_progress", "%s", message.c_str());
if (id(tft_is_valid)) { if (id(tft_is_valid)) {
if (page_id->state != 26) { if (current_page->state != "confirm") {
open_upload_dialog->execute(); open_upload_dialog->execute();
} }
display_wrapped_text->execute("confirm.body", message.c_str(), 18); display_wrapped_text->execute("confirm.body", message.c_str(), 18);
@@ -207,10 +205,9 @@ script:
- delay: 2s - delay: 2s
- script.execute: open_upload_dialog - script.execute: open_upload_dialog
- script.wait: open_upload_dialog - script.wait: open_upload_dialog
- lambda: page_id->update();
- wait_until: - wait_until:
condition: condition:
- lambda: return (page_id->state == 26); - lambda: return (current_page->state == "confirm");
timeout: 2s timeout: 2s
- script.execute: - script.execute:
id: report_upload_progress id: report_upload_progress

View File

@@ -859,12 +859,8 @@ display:
- script.execute: setup_sequence - script.execute: setup_sequence
on_page: on_page:
lambda: |- lambda: |-
if (!id(is_uploading_tft)) { if (current_page->state != page_names[x] or x == 9) {
page_id->update(); current_page->publish_state(page_names[x]);
if (current_page->state != page_names[x] or x == 9) {
current_page->publish_state(page_names[x]);
page_changed->execute(page_names[x]);
}
} }
on_touch: on_touch:
@@ -1528,23 +1524,6 @@ sensor:
internal: false internal: false
disabled_by_default: 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) ##### Display mode (1 = EU, 2 = US, 3 = US Landscape)
- id: display_mode - id: display_mode
name: Display mode name: Display mode
@@ -1666,10 +1645,17 @@ text_sensor:
##### Current page name ##### ##### Current page name #####
- id: current_page - id: current_page
name: Current Page name: Current Page
platform: template platform: nextion
component_name: current_page
icon: mdi:tablet-dashboard icon: mdi:tablet-dashboard
internal: false internal: false
disabled_by_default: false disabled_by_default: false
on_value:
then:
- lambda: |-
if (!id(is_uploading_tft)) {
page_changed->execute(x.c_str());
}
- id: notification_label - id: notification_label
name: Notification Label name: Notification Label
@@ -2646,12 +2632,6 @@ script:
- id: setup_sequence - id: setup_sequence
mode: restart mode: restart
then: then:
- lambda: |-
page_id->update();
- wait_until:
condition:
- lambda: !lambda return (not isnan(page_id->state));
timeout: 15s
- lambda: display_charset->update(); - lambda: display_charset->update();
- wait_until: - wait_until:
condition: condition:

View File

@@ -12,7 +12,12 @@ Page blank
Events Events
Preinitialize Event Preinitialize Event
sendme printh 92
prints "current_page",0
printh 00
prints "blank",0
printh 00
printh FF FF FF
dim=100 dim=100
covx baud,baud_rate.txt,0,0 covx baud,baud_rate.txt,0,0
baud_rate.txt+=" bps" baud_rate.txt+=" bps"
@@ -83,7 +88,7 @@ Text tft_version
Dragging : 0 Dragging : 0
Send Component ID : on press and release Send Component ID : on press and release
Associated Keyboard: none Associated Keyboard: none
Text : TFT: v2024.1.2 Text : TFT: v2024.3.0
Max. Text Size : 20 Max. Text Size : 20
Events Events
@@ -189,7 +194,12 @@ Timer tm_esphome
{ {
rest rest
} }
sendme printh 92
prints "current_page",0
printh 00
prints "blank",0
printh 00
printh FF FF FF
printh 91 printh 91
prints "display_mode",0 prints "display_mode",0
printh 00 printh 00

View File

@@ -24,7 +24,12 @@ Page alarm
vis bt_bypass,0 vis bt_bypass,0
} }
vis unavailable,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 Variable (string) lastclick
Attributes Attributes

View File

@@ -16,7 +16,12 @@ Page boot
covx baud,baud_rate.txt,0,0 covx baud,baud_rate.txt,0,0
baud_rate.txt+=" bps" baud_rate.txt+=" bps"
vis unavailable,0 vis unavailable,0
sendme printh 92
prints "current_page",0
printh 00
prints "boot",0
printh 00
printh FF FF FF
Page Exit Event Page Exit Event
dim=0 dim=0
@@ -185,7 +190,12 @@ Timer tm_esphome
{ {
rest rest
} }
sendme printh 92
prints "current_page",0
printh 00
prints "boot",0
printh 00
printh FF FF FF
printh 91 printh 91
prints "display_mode",0 prints "display_mode",0
printh 00 printh 00

View File

@@ -39,7 +39,12 @@ Page buttonpage01
vis page_index,1 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 Variable (string) lastclick
Attributes Attributes

View File

@@ -39,7 +39,12 @@ Page buttonpage02
vis page_index,1 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 Variable (string) lastclick
Attributes Attributes

View File

@@ -39,7 +39,12 @@ Page buttonpage03
vis page_index,1 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 Variable (string) lastclick
Attributes Attributes

View File

@@ -39,7 +39,12 @@ Page buttonpage04
vis page_index,1 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 Variable (string) lastclick
Attributes Attributes

View File

@@ -33,7 +33,12 @@ Page climate
page home page home
} }
vis unavailable,0 vis unavailable,0
sendme printh 92
prints "current_page",0
printh 00
prints "climate",0
printh 00
printh FF FF FF
Page Exit Event Page Exit Event
covx embedded.val,va2.txt,0,0 covx embedded.val,va2.txt,0,0

View File

@@ -17,7 +17,12 @@ Page confirm
page home page home
} }
vis unavailable,0 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 Variable (int32) page_id
Attributes Attributes

View File

@@ -17,7 +17,12 @@ Page cover
page home page home
} }
vis unavailable,0 vis unavailable,0
sendme printh 92
prints "current_page",0
printh 00
prints "cover",0
printh 00
printh FF FF FF
Variable (string) va1 Variable (string) va1
Attributes Attributes

View File

@@ -37,7 +37,12 @@ Page entitypage01
{ {
vis page_index,0 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 Text value01_label
Attributes Attributes

View File

@@ -37,7 +37,12 @@ Page entitypage02
{ {
vis page_index,0 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 Text value01_label
Attributes Attributes

View File

@@ -37,7 +37,12 @@ Page entitypage03
{ {
vis page_index,0 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 Text value01_label
Attributes Attributes

View File

@@ -37,7 +37,12 @@ Page entitypage04
{ {
vis page_index,0 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 Text value01_label
Attributes Attributes

View File

@@ -18,7 +18,12 @@ Page fan
} }
vis unavailable,0 vis unavailable,0
vis bt_oscillate,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 Variable (string) fansetting
Attributes Attributes

View File

@@ -12,6 +12,12 @@ Page home
Events Events
Preinitialize Event Preinitialize Event
printh 92
prints "current_page",0
printh 00
prints "home",0
printh 00
printh FF FF FF
back_page_id=0 back_page_id=0
if(qrcode.qrcode_value.txt=="") if(qrcode.qrcode_value.txt=="")
{ {
@@ -31,7 +37,6 @@ Page home
vis right_bt_text,0 vis right_bt_text,0
} }
vis unavailable,0 vis unavailable,0
sendme
Variable (string) lastclick Variable (string) lastclick
Attributes Attributes

View File

@@ -17,7 +17,12 @@ Page keyb_num
page page_id.val page page_id.val
} }
vis unavailable,0 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 Variable (int32) page_id
Attributes Attributes

View File

@@ -37,7 +37,12 @@ Page light
vis color_button,0 vis color_button,0
} }
vis unavailable,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 Variable (int32) rgb565
Attributes Attributes

View File

@@ -17,7 +17,12 @@ Page media_player
page home page home
} }
vis unavailable,0 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 Variable (string) lastclick
Attributes Attributes

View File

@@ -17,7 +17,12 @@ Page notification
page home page home
} }
vis unavailable,0 vis unavailable,0
sendme printh 92
prints "current_page",0
printh 00
prints "notification",0
printh 00
printh FF FF FF
Variable (string) lastclick Variable (string) lastclick
Attributes Attributes

View File

@@ -13,7 +13,12 @@ Page qrcode
Events Events
Preinitialize Event Preinitialize Event
vis unavailable,0 vis unavailable,0
sendme printh 92
prints "current_page",0
printh 00
prints "qrcode",0
printh 00
printh FF FF FF
Text qrcode_label Text qrcode_label
Attributes Attributes

View File

@@ -15,7 +15,12 @@ Page screensaver
vis text,0 vis text,0
dim=brightness_sleep dim=brightness_sleep
vis unavailable,0 vis unavailable,0
sendme printh 92
prints "current_page",0
printh 00
prints "screensaver",0
printh 00
printh FF FF FF
Touch Release Event Touch Release Event
page back_page_id page back_page_id

View File

@@ -19,7 +19,12 @@ Page settings
vis lbl_sleep,0 vis lbl_sleep,0
vis bt_sleep,0 vis bt_sleep,0
vis unavailable,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 Text bright_text
Attributes Attributes

View File

@@ -20,7 +20,12 @@ Page utilities
vis title_icon,1 vis title_icon,1
vis title,1 vis title,1
vis button_back,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 Variable (int32) line_main_d
Attributes Attributes

View File

@@ -17,7 +17,12 @@ Page weather01
page home page home
} }
vis unavailable,0 vis unavailable,0
sendme printh 92
prints "current_page",0
printh 00
prints "weather01",0
printh 00
printh FF FF FF
Text day Text day
Attributes Attributes

View File

@@ -17,7 +17,12 @@ Page weather02
page home page home
} }
vis unavailable,0 vis unavailable,0
sendme printh 92
prints "current_page",0
printh 00
prints "weather02",0
printh 00
printh FF FF FF
Text day Text day
Attributes Attributes

View File

@@ -17,7 +17,12 @@ Page weather03
page home page home
} }
vis unavailable,0 vis unavailable,0
sendme printh 92
prints "current_page",0
printh 00
prints "weather03",0
printh 00
printh FF FF FF
Text day Text day
Attributes Attributes

View File

@@ -17,7 +17,12 @@ Page weather04
page home page home
} }
vis unavailable,0 vis unavailable,0
sendme printh 92
prints "current_page",0
printh 00
prints "weather04",0
printh 00
printh FF FF FF
Text day Text day
Attributes Attributes

View File

@@ -17,7 +17,12 @@ Page weather05
page home page home
} }
vis unavailable,0 vis unavailable,0
sendme printh 92
prints "current_page",0
printh 00
prints "weather05",0
printh 00
printh FF FF FF
Text day Text day
Attributes Attributes

View File

@@ -24,7 +24,12 @@ Page alarm
vis bt_bypass,0 vis bt_bypass,0
} }
vis unavailable,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 Variable (string) lastclick
Attributes Attributes

View File

@@ -16,7 +16,12 @@ Page boot
covx baud,baud_rate.txt,0,0 covx baud,baud_rate.txt,0,0
baud_rate.txt+=" bps" baud_rate.txt+=" bps"
vis unavailable,0 vis unavailable,0
sendme printh 92
prints "current_page",0
printh 00
prints "boot",0
printh 00
printh FF FF FF
Page Exit Event Page Exit Event
dim=0 dim=0
@@ -192,7 +197,12 @@ Timer tm_esphome
{ {
rest rest
} }
sendme printh 92
prints "current_page",0
printh 00
prints "boot",0
printh 00
printh FF FF FF
printh 91 printh 91
prints "display_mode",0 prints "display_mode",0
printh 00 printh 00

View File

@@ -39,7 +39,12 @@ Page buttonpage01
vis page_index,1 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 Variable (string) lastclick
Attributes Attributes

View File

@@ -39,7 +39,12 @@ Page buttonpage02
vis page_index,1 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 Variable (string) lastclick
Attributes Attributes

View File

@@ -39,7 +39,12 @@ Page buttonpage03
vis page_index,1 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 Variable (string) lastclick
Attributes Attributes

View File

@@ -39,7 +39,12 @@ Page buttonpage04
vis page_index,1 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 Variable (string) lastclick
Attributes Attributes

View File

@@ -33,7 +33,12 @@ Page climate
page home page home
} }
vis unavailable,0 vis unavailable,0
sendme printh 92
prints "current_page",0
printh 00
prints "climate",0
printh 00
printh FF FF FF
Page Exit Event Page Exit Event
covx embedded.val,va2.txt,0,0 covx embedded.val,va2.txt,0,0

View File

@@ -17,7 +17,12 @@ Page confirm
page home page home
} }
vis unavailable,0 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 Variable (int32) page_id
Attributes Attributes

View File

@@ -17,7 +17,12 @@ Page cover
page home page home
} }
vis unavailable,0 vis unavailable,0
sendme printh 92
prints "current_page",0
printh 00
prints "cover",0
printh 00
printh FF FF FF
Variable (string) va1 Variable (string) va1
Attributes Attributes

View File

@@ -37,7 +37,12 @@ Page entitypage01
{ {
vis page_index,0 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 Text value01_label
Attributes Attributes

View File

@@ -37,7 +37,12 @@ Page entitypage02
{ {
vis page_index,0 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 Text value01_label
Attributes Attributes

View File

@@ -37,7 +37,12 @@ Page entitypage03
{ {
vis page_index,0 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 Text value01_label
Attributes Attributes

View File

@@ -37,7 +37,12 @@ Page entitypage04
{ {
vis page_index,0 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 Text value01_label
Attributes Attributes

View File

@@ -18,7 +18,12 @@ Page fan
} }
vis unavailable,0 vis unavailable,0
vis bt_oscillate,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 Variable (string) fansetting
Attributes Attributes

View File

@@ -12,6 +12,12 @@ Page home
Events Events
Preinitialize Event Preinitialize Event
printh 92
prints "current_page",0
printh 00
prints "home",0
printh 00
printh FF FF FF
back_page_id=0 back_page_id=0
if(qrcode.qrcode_value.txt=="") if(qrcode.qrcode_value.txt=="")
{ {
@@ -31,7 +37,6 @@ Page home
vis right_bt_text,0 vis right_bt_text,0
} }
vis unavailable,0 vis unavailable,0
sendme
Variable (string) lastclick Variable (string) lastclick
Attributes Attributes

View File

@@ -17,7 +17,12 @@ Page keyb_num
page page_id.val page page_id.val
} }
vis unavailable,0 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 Variable (int32) page_id
Attributes Attributes

View File

@@ -37,7 +37,12 @@ Page light
vis color_button,0 vis color_button,0
} }
vis unavailable,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 Variable (int32) rgb565
Attributes Attributes

View File

@@ -17,7 +17,12 @@ Page media_player
page home page home
} }
vis unavailable,0 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 Variable (string) lastclick
Attributes Attributes

View File

@@ -17,7 +17,12 @@ Page notification
page home page home
} }
vis unavailable,0 vis unavailable,0
sendme printh 92
prints "current_page",0
printh 00
prints "notification",0
printh 00
printh FF FF FF
Variable (string) lastclick Variable (string) lastclick
Attributes Attributes

View File

@@ -13,7 +13,12 @@ Page qrcode
Events Events
Preinitialize Event Preinitialize Event
vis unavailable,0 vis unavailable,0
sendme printh 92
prints "current_page",0
printh 00
prints "qrcode",0
printh 00
printh FF FF FF
Text qrcode_label Text qrcode_label
Attributes Attributes

View File

@@ -15,7 +15,12 @@ Page screensaver
vis text,0 vis text,0
dim=brightness_sleep dim=brightness_sleep
vis unavailable,0 vis unavailable,0
sendme printh 92
prints "current_page",0
printh 00
prints "screensaver",0
printh 00
printh FF FF FF
Touch Release Event Touch Release Event
page back_page_id page back_page_id

View File

@@ -19,7 +19,12 @@ Page settings
vis lbl_sleep,0 vis lbl_sleep,0
vis bt_sleep,0 vis bt_sleep,0
vis unavailable,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 Text bright_text
Attributes Attributes

View File

@@ -20,7 +20,12 @@ Page utilities
vis title_icon,1 vis title_icon,1
vis title,1 vis title,1
vis button_back,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 Variable (int32) line_main_d
Attributes Attributes

View File

@@ -17,7 +17,12 @@ Page weather01
page home page home
} }
vis unavailable,0 vis unavailable,0
sendme printh 92
prints "current_page",0
printh 00
prints "weather01",0
printh 00
printh FF FF FF
Text day Text day
Attributes Attributes

View File

@@ -17,7 +17,12 @@ Page weather02
page home page home
} }
vis unavailable,0 vis unavailable,0
sendme printh 92
prints "current_page",0
printh 00
prints "weather02",0
printh 00
printh FF FF FF
Text day Text day
Attributes Attributes

View File

@@ -17,7 +17,12 @@ Page weather03
page home page home
} }
vis unavailable,0 vis unavailable,0
sendme printh 92
prints "current_page",0
printh 00
prints "weather03",0
printh 00
printh FF FF FF
Text day Text day
Attributes Attributes

View File

@@ -17,7 +17,12 @@ Page weather04
page home page home
} }
vis unavailable,0 vis unavailable,0
sendme printh 92
prints "current_page",0
printh 00
prints "weather04",0
printh 00
printh FF FF FF
Text day Text day
Attributes Attributes

View File

@@ -17,7 +17,12 @@ Page weather05
page home page home
} }
vis unavailable,0 vis unavailable,0
sendme printh 92
prints "current_page",0
printh 00
prints "weather05",0
printh 00
printh FF FF FF
Text day Text day
Attributes Attributes

View File

@@ -24,7 +24,12 @@ Page alarm
vis bt_bypass,0 vis bt_bypass,0
} }
vis unavailable,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 Variable (string) lastclick
Attributes Attributes

View File

@@ -16,7 +16,12 @@ Page boot
covx baud,baud_rate.txt,0,0 covx baud,baud_rate.txt,0,0
baud_rate.txt+=" bps" baud_rate.txt+=" bps"
vis unavailable,0 vis unavailable,0
sendme printh 92
prints "current_page",0
printh 00
prints "boot",0
printh 00
printh FF FF FF
Page Exit Event Page Exit Event
dim=0 dim=0
@@ -185,7 +190,12 @@ Timer tm_esphome
{ {
rest rest
} }
sendme printh 92
prints "current_page",0
printh 00
prints "boot",0
printh 00
printh FF FF FF
printh 91 printh 91
prints "display_mode",0 prints "display_mode",0
printh 00 printh 00

View File

@@ -39,7 +39,12 @@ Page buttonpage01
vis page_index,1 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 Variable (string) lastclick
Attributes Attributes

View File

@@ -39,7 +39,12 @@ Page buttonpage02
vis page_index,1 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 Variable (string) lastclick
Attributes Attributes

View File

@@ -39,7 +39,12 @@ Page buttonpage03
vis page_index,1 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 Variable (string) lastclick
Attributes Attributes

View File

@@ -39,7 +39,12 @@ Page buttonpage04
vis page_index,1 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 Variable (string) lastclick
Attributes Attributes

View File

@@ -33,7 +33,12 @@ Page climate
page home page home
} }
vis unavailable,0 vis unavailable,0
sendme printh 92
prints "current_page",0
printh 00
prints "climate",0
printh 00
printh FF FF FF
Page Exit Event Page Exit Event
covx embedded.val,va2.txt,0,0 covx embedded.val,va2.txt,0,0

View File

@@ -17,7 +17,12 @@ Page confirm
page home page home
} }
vis unavailable,0 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 Variable (int32) page_id
Attributes Attributes

View File

@@ -17,7 +17,12 @@ Page cover
page home page home
} }
vis unavailable,0 vis unavailable,0
sendme printh 92
prints "current_page",0
printh 00
prints "cover",0
printh 00
printh FF FF FF
Variable (string) va1 Variable (string) va1
Attributes Attributes

View File

@@ -37,7 +37,12 @@ Page entitypage01
{ {
vis page_index,0 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 Text value01_label
Attributes Attributes

View File

@@ -37,7 +37,12 @@ Page entitypage02
{ {
vis page_index,0 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 Text value01_label
Attributes Attributes

View File

@@ -37,7 +37,12 @@ Page entitypage03
{ {
vis page_index,0 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 Text value01_label
Attributes Attributes

View File

@@ -37,7 +37,12 @@ Page entitypage04
{ {
vis page_index,0 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 Text value01_label
Attributes Attributes

View File

@@ -18,7 +18,12 @@ Page fan
} }
vis unavailable,0 vis unavailable,0
vis bt_oscillate,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 Variable (string) fansetting
Attributes Attributes

View File

@@ -12,6 +12,12 @@ Page home
Events Events
Preinitialize Event Preinitialize Event
printh 92
prints "current_page",0
printh 00
prints "home",0
printh 00
printh FF FF FF
back_page_id=0 back_page_id=0
if(qrcode.qrcode_value.txt=="") if(qrcode.qrcode_value.txt=="")
{ {
@@ -31,7 +37,6 @@ Page home
vis right_bt_text,0 vis right_bt_text,0
} }
vis unavailable,0 vis unavailable,0
sendme
Variable (string) lastclick Variable (string) lastclick
Attributes Attributes

View File

@@ -17,7 +17,12 @@ Page keyb_num
page page_id.val page page_id.val
} }
vis unavailable,0 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 Variable (int32) page_id
Attributes Attributes

View File

@@ -37,7 +37,12 @@ Page light
vis color_button,0 vis color_button,0
} }
vis unavailable,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 Variable (int32) rgb565
Attributes Attributes

View File

@@ -17,7 +17,12 @@ Page media_player
page home page home
} }
vis unavailable,0 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 Variable (string) lastclick
Attributes Attributes

View File

@@ -17,7 +17,12 @@ Page notification
page home page home
} }
vis unavailable,0 vis unavailable,0
sendme printh 92
prints "current_page",0
printh 00
prints "notification",0
printh 00
printh FF FF FF
Variable (string) lastclick Variable (string) lastclick
Attributes Attributes

View File

@@ -13,7 +13,12 @@ Page qrcode
Events Events
Preinitialize Event Preinitialize Event
vis unavailable,0 vis unavailable,0
sendme printh 92
prints "current_page",0
printh 00
prints "qrcode",0
printh 00
printh FF FF FF
Text qrcode_label Text qrcode_label
Attributes Attributes

View File

@@ -15,7 +15,12 @@ Page screensaver
vis text,0 vis text,0
dim=brightness_sleep dim=brightness_sleep
vis unavailable,0 vis unavailable,0
sendme printh 92
prints "current_page",0
printh 00
prints "screensaver",0
printh 00
printh FF FF FF
Touch Release Event Touch Release Event
page back_page_id page back_page_id

View File

@@ -19,7 +19,12 @@ Page settings
vis lbl_sleep,0 vis lbl_sleep,0
vis bt_sleep,0 vis bt_sleep,0
vis unavailable,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 Text bright_text
Attributes Attributes

View File

@@ -20,7 +20,12 @@ Page utilities
vis title_icon,1 vis title_icon,1
vis title,1 vis title,1
vis button_back,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 Variable (int32) line_main_d
Attributes Attributes

View File

@@ -17,7 +17,12 @@ Page weather01
page home page home
} }
vis unavailable,0 vis unavailable,0
sendme printh 92
prints "current_page",0
printh 00
prints "weather01",0
printh 00
printh FF FF FF
Text day Text day
Attributes Attributes

View File

@@ -17,7 +17,12 @@ Page weather02
page home page home
} }
vis unavailable,0 vis unavailable,0
sendme printh 92
prints "current_page",0
printh 00
prints "weather02",0
printh 00
printh FF FF FF
Text day Text day
Attributes Attributes

View File

@@ -17,7 +17,12 @@ Page weather03
page home page home
} }
vis unavailable,0 vis unavailable,0
sendme printh 92
prints "current_page",0
printh 00
prints "weather03",0
printh 00
printh FF FF FF
Text day Text day
Attributes Attributes

View File

@@ -17,7 +17,12 @@ Page weather04
page home page home
} }
vis unavailable,0 vis unavailable,0
sendme printh 92
prints "current_page",0
printh 00
prints "weather04",0
printh 00
printh FF FF FF
Text day Text day
Attributes Attributes

View File

@@ -17,7 +17,12 @@ Page weather05
page home page home
} }
vis unavailable,0 vis unavailable,0
sendme printh 92
prints "current_page",0
printh 00
prints "weather05",0
printh 00
printh FF FF FF
Text day Text day
Attributes 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.