This commit is contained in:
Edward Firmo
2023-12-07 01:37:57 +01:00
98 changed files with 442 additions and 883 deletions

15
advanced/.gitignore vendored Normal file
View File

@@ -0,0 +1,15 @@
# Ignore Mac DS_Store files
.DS_Store
**/.DS_Store
Nextion2Text.*
*.cmd
*.bat
# Ignore IntelliJ IDEA project directory
.idea
# Ignore dev folder
dev
nspanel_esphome_prebuilt.yaml

View File

@@ -7,13 +7,14 @@
substitutions:
##### DON'T CHANGE THIS #####
version: "4.1.4"
version: "4.2dev"
#############################
#external_components:
# - source: github://pr#5825 # Remove this when that pr is merged and released
# components:
# - nextion
external_components:
- source: github://pr#5825 #5683 # Remove this when that pr is merged and released
components:
- nextion
refresh: 1s
##### ESPHOME CONFIGURATION #####
esphome:
@@ -32,8 +33,8 @@ esphome:
timeout: 60s
- wait_until:
condition:
- lambda: !lambda return disp1->is_setup();
timeout: 20s
- lambda: !lambda return disp1->is_detected();
timeout: 45s
- script.execute: exit_reparse
- wait_until:
condition:
@@ -190,9 +191,8 @@ api:
variables:
component: string
foreground: int[]
background: int[]
then:
- lambda: set_component_color->execute(component, foreground, background);
- lambda: set_component_color->execute(component, foreground, {});
##### Service to play a rtttl tones #####
# Example tones : https://codebender.cc/sketch:109888#RTTTL%20Songs.ino
@@ -492,30 +492,37 @@ api:
#### Service to set the buttons ####
- service: set_button
variables:
btn_id: string
btn_pic: int
btn_bg: int[]
btn_icon_font: int[]
btn_txt_font: int[]
btn_bri_font: int[]
btn_icon: string
btn_label: string
btn_bri_txt: string
page: string
id: string
pic: int
bg: int[]
icon: string
icon_color: int[]
bri: string
bri_color: int[]
label: string
label_color: int[]
then:
- lambda: |-
std::string btnicon = btn_id.c_str() + std::string("icon");
std::string btntext = btn_id.c_str() + std::string("text");
std::string btnbri = btn_id.c_str() + std::string("bri");
disp1->send_command_printf("%spic.pic=%" PRIu32, btn_id.c_str(), btn_pic);
set_component_color->execute(btnicon.c_str(), btn_icon_font, btn_bg);
set_component_color->execute(btntext.c_str(), btn_txt_font, btn_bg);
set_component_color->execute(btnbri.c_str(), btn_bri_font, btn_bg);
disp1->set_component_text_printf(btnicon.c_str(), "%s", btn_icon.c_str());
display_wrapped_text->execute(btntext.c_str(), btn_label.c_str(), 10);
if (strcmp(btn_bri_txt.c_str(), "0") != 0)
disp1->set_component_text_printf(btnbri.c_str(), "%s", btn_bri_txt.c_str());
else
disp1->set_component_text_printf(btnbri.c_str(), " ");
static const char *const TAG = "service.set_button";
if (page == current_page->state) {
std::string btnicon = id.c_str() + std::string("icon");
std::string btntext = id.c_str() + std::string("text");
std::string btnbri = id.c_str() + std::string("bri");
disp1->send_command_printf("%spic.pic=%" PRIu32, id.c_str(), pic);
set_component_color->execute(btnicon.c_str(), icon_color, bg);
set_component_color->execute(btntext.c_str(), label_color, bg);
set_component_color->execute(btnbri.c_str(), bri_color, bg);
disp1->set_component_text_printf(btnicon.c_str(), "%s", icon.c_str());
display_wrapped_text->execute(btntext.c_str(), label.c_str(), 10);
if (strcmp(bri.c_str(), "0") != 0)
disp1->set_component_text_printf(btnbri.c_str(), "%s", bri.c_str());
else
disp1->set_component_text_printf(btnbri.c_str(), " ");
} else {
ESP_LOGW(TAG, "Skipping button `%s.%s` as page has changed to %s.", page.c_str(), id.c_str(), current_page->state.c_str());
}
##### SERVICE TO WAKE UP THE DISPLAY #####
- service: wake_up
@@ -753,11 +760,14 @@ display:
platform: nextion
uart_id: tf_uart
start_up_page: 8
on_page: # This requires `sendme` to be executed on Nextion side
on_page:
lambda: |-
static const char *const TAG = "display.disp1.on_page";
ESP_LOGD(TAG, "Nextion page changed");
ESP_LOGD(TAG, "New page: %s (%i)" , id(page_names)[x].c_str(), x);
current_page->publish_state(id(page_names)[x].c_str());
page_changed->execute(id(page_names)[x].c_str());
on_setup:
- script.execute: boot_sequence
@@ -1403,25 +1413,25 @@ text_sensor:
##### Current page name #####
- name: ${device_name} Current page
id: current_page
#platform: template
platform: nextion
nextion_id: disp1
component_name: currentpage
platform: template
#platform: nextion
#nextion_id: disp1
#component_name: currentpage
icon: mdi:tablet-dashboard
internal: false
disabled_by_default: false
filters:
- lambda: |-
x = x.c_str();
x.shrink_to_fit();
return x;
on_value:
then:
- lambda: |-
static const char *const TAG = "text_sensor.current_page";
// Construct new page
ESP_LOGV(TAG, "Construct new page");
page_changed->execute(x.c_str());
#filters:
# - lambda: |-
# x = x.c_str();
# x.shrink_to_fit();
# return x;
#on_value:
# then:
# - lambda: |-
# static const char *const TAG = "text_sensor.current_page";
# // Construct new page
# ESP_LOGV(TAG, "Construct new page");
# page_changed->execute(x.c_str());
- name: ${device_name} Notification Label
platform: template

Binary file not shown.

View File

@@ -3,7 +3,7 @@ Page blank
ID : 0
Scope : local
Dragging : 0
Send Component ID : disabled
Send Component ID : on press and release
Locked : no
Swide up page ID : disabled
Swide down page ID : disabled
@@ -22,7 +22,7 @@ Page blank
printh 92
prints "nspanelevent",0
printh 00
prints "{\"page\": \"blank\", \"component\": \"currentpage\", \"value\": \"pagechange\", \"version\": \"2023.11.0\"}",0
prints "{\"page\": \"blank\", \"component\": \"currentpage\", \"value\": \"pagechange\", \"version\": \"2023.11.1\"}",0
printh 00
printh FF FF FF
covx baud,baud_rate.txt,0,0
@@ -48,7 +48,7 @@ Text file_name
ID : 4
Scope : local
Dragging : 0
Send Component ID : disabled
Send Component ID : on press and release
Associated Keyboard: none
Text : nspanel_blank.tft
Max. Text Size : 20
@@ -67,7 +67,7 @@ Text baud_rate
ID : 5
Scope : local
Dragging : 0
Send Component ID : disabled
Send Component ID : on press and release
Associated Keyboard: none
Text :
Max. Text Size : 20
@@ -95,7 +95,7 @@ Text tft_version
ID : 6
Scope : local
Dragging : 0
Send Component ID : disabled
Send Component ID : on press and release
Associated Keyboard: none
Text : TFT: v2023.11.2
Max. Text Size : 20
@@ -133,7 +133,7 @@ Text esp_version
ID : 8
Scope : local
Dragging : 0
Send Component ID : disabled
Send Component ID : on press and release
Associated Keyboard: none
Text : ESP: Waiting...
Max. Text Size : 20
@@ -152,7 +152,7 @@ QR Code qr0
ID : 1
Scope : local
Dragging : 0
Send Component ID: disabled
Send Component ID: on press and release
Text : https://github.com/Blackymas/NSPanel_HA_Blueprint/blob/main/docs/en/nspanel_blank.md#what-to-do-after-installing-nspanel_blanktft
Max. Text Size : 150

Binary file not shown.

View File

@@ -17,12 +17,7 @@ Page alarm
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "alarm",0
printh 00
printh FF FF FF
sendme
vis bt_home,0
vis bt_away,0
vis bt_night,0

View File

@@ -12,12 +12,7 @@ Page boot
Events
Preinitialize Event
printh 92
prints "currentpage",0
printh 00
prints "boot",0
printh 00
printh FF FF FF
sendme
dim=0
vis bt_reboot,0
covx baud,baud_rate.txt,0,0
@@ -142,7 +137,7 @@ Text tft_version
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 4.1.4
Text : 4.2dev
Max. Text Size : 9
Text esph_version

View File

@@ -17,12 +17,16 @@ Page buttonpage01
page home
}else
{
<<<<<<<< HEAD:advanced/hmi/nspanel_us_land_code/buttonpage01.txt
printh 92
prints "currentpage",0
printh 00
prints "buttonpage01",0
printh 00
printh FF FF FF
========
sendme
>>>>>>>> 0565f5f522cb55b813ff949b082a11b1f2bd35dd:advanced/hmi/nspanel_eu_code/buttonpage01.txt
vis 255,0
vis button_back,1
vis page_index,1

View File

@@ -17,12 +17,16 @@ Page buttonpage02
page home
}else
{
<<<<<<<< HEAD:advanced/hmi/nspanel_us_land_code/buttonpage02.txt
printh 92
prints "currentpage",0
printh 00
prints "buttonpage02",0
printh 00
printh FF FF FF
========
sendme
>>>>>>>> 0565f5f522cb55b813ff949b082a11b1f2bd35dd:advanced/hmi/nspanel_eu_code/buttonpage02.txt
vis 255,0
vis button_back,1
vis page_index,1

View File

@@ -17,12 +17,16 @@ Page buttonpage03
page home
}else
{
<<<<<<<< HEAD:advanced/hmi/nspanel_us_land_code/buttonpage03.txt
printh 92
prints "currentpage",0
printh 00
prints "buttonpage03",0
printh 00
printh FF FF FF
========
sendme
>>>>>>>> 0565f5f522cb55b813ff949b082a11b1f2bd35dd:advanced/hmi/nspanel_eu_code/buttonpage03.txt
vis 255,0
vis button_back,1
vis page_index,1

View File

@@ -17,12 +17,16 @@ Page buttonpage04
page home
}else
{
<<<<<<<< HEAD:advanced/hmi/nspanel_us_land_code/buttonpage04.txt
printh 92
prints "currentpage",0
printh 00
prints "buttonpage04",0
printh 00
printh FF FF FF
========
sendme
>>>>>>>> 0565f5f522cb55b813ff949b082a11b1f2bd35dd:advanced/hmi/nspanel_eu_code/buttonpage04.txt
vis 255,0
vis button_back,1
vis page_index,1

View File

@@ -14,12 +14,7 @@ Page climate
Preinitialize Event
if(api==1||embedded.val==1)
{
printh 92
prints "currentpage",0
printh 00
prints "climate",0
printh 00
printh FF FF FF
sendme
vis target_icon,0
vis target_temp,0
vis current_temp,0

View File

@@ -17,12 +17,7 @@ Page confirm
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "confirm",0
printh 00
printh FF FF FF
sendme
}
Touch Press Event

View File

@@ -17,12 +17,7 @@ Page cover
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "cover",0
printh 00
printh FF FF FF
sendme
}
Touch Press Event

View File

@@ -17,12 +17,16 @@ Page entitypage01
page home
}else
{
<<<<<<<< HEAD:advanced/hmi/nspanel_us_land_code/entitypage01.txt
printh 92
prints "currentpage",0
printh 00
prints "entitypage01",0
printh 00
printh FF FF FF
========
sendme
>>>>>>>> 0565f5f522cb55b813ff949b082a11b1f2bd35dd:advanced/hmi/nspanel_eu_code/entitypage01.txt
}
Touch Press Event

View File

@@ -17,12 +17,16 @@ Page entitypage02
page home
}else
{
<<<<<<<< HEAD:advanced/hmi/nspanel_us_land_code/entitypage02.txt
printh 92
prints "currentpage",0
printh 00
prints "entitypage02",0
printh 00
printh FF FF FF
========
sendme
>>>>>>>> 0565f5f522cb55b813ff949b082a11b1f2bd35dd:advanced/hmi/nspanel_eu_code/entitypage02.txt
}
Touch Press Event

View File

@@ -17,12 +17,16 @@ Page entitypage03
page home
}else
{
<<<<<<<< HEAD:advanced/hmi/nspanel_us_land_code/entitypage03.txt
printh 92
prints "currentpage",0
printh 00
prints "entitypage03",0
printh 00
printh FF FF FF
========
sendme
>>>>>>>> 0565f5f522cb55b813ff949b082a11b1f2bd35dd:advanced/hmi/nspanel_eu_code/entitypage03.txt
}
Touch Press Event

View File

@@ -17,12 +17,16 @@ Page entitypage04
page home
}else
{
<<<<<<<< HEAD:advanced/hmi/nspanel_us_land_code/entitypage04.txt
printh 92
prints "currentpage",0
printh 00
prints "entitypage04",0
printh 00
printh FF FF FF
========
sendme
>>>>>>>> 0565f5f522cb55b813ff949b082a11b1f2bd35dd:advanced/hmi/nspanel_eu_code/entitypage04.txt
}
Touch Press Event

View File

@@ -17,12 +17,7 @@ Page fan
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "fan",0
printh 00
printh FF FF FF
sendme
}
Touch Press Event

View File

@@ -12,12 +12,16 @@ Page home
Events
Preinitialize Event
<<<<<<<< HEAD:advanced/hmi/nspanel_us_land_code/home.txt
printh 92
prints "currentpage",0
printh 00
prints "home",0
printh 00
printh FF FF FF
========
sendme
>>>>>>>> 0565f5f522cb55b813ff949b082a11b1f2bd35dd:advanced/hmi/nspanel_eu_code/home.txt
vis bt_notific,is_notification
vis bt_qrcode,is_qrcode
vis bt_entities,is_entities

View File

@@ -17,12 +17,7 @@ Page keyb_num
page page_id.val
}else
{
printh 92
prints "currentpage",0
printh 00
prints "keyb_num",0
printh 00
printh FF FF FF
sendme
}
Touch Press Event

View File

@@ -17,12 +17,7 @@ Page light
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "light",0
printh 00
printh FF FF FF
sendme
vis light_b_press,1
vis lightslider,1
vis light_value,1

View File

@@ -17,12 +17,7 @@ Page media_player
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "media_player",0
printh 00
printh FF FF FF
sendme
}
Touch Press Event

View File

@@ -17,12 +17,7 @@ Page notification
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "notification",0
printh 00
printh FF FF FF
sendme
}
Touch Press Event

View File

@@ -12,12 +12,7 @@ Page qrcode
Events
Preinitialize Event
printh 92
prints "currentpage",0
printh 00
prints "qrcode",0
printh 00
printh FF FF FF
sendme
Touch Press Event
printh 91

View File

@@ -12,12 +12,7 @@ Page screensaver
Events
Preinitialize Event
printh 92
prints "currentpage",0
printh 00
prints "screensaver",0
printh 00
printh FF FF FF
sendme
dim=0
Touch Release Event

View File

@@ -12,12 +12,16 @@ Page settings
Events
Preinitialize Event
<<<<<<<< HEAD:advanced/hmi/nspanel_us_land_code/settings.txt
printh 92
prints "currentpage",0
printh 00
prints "settings",0
printh 00
printh FF FF FF
========
sendme
>>>>>>>> 0565f5f522cb55b813ff949b082a11b1f2bd35dd:advanced/hmi/nspanel_eu_code/settings.txt
covx brightslider.val,bright_text.txt,0,0
bright_text.txt+="%"
covx dimslider.val,dim_text.txt,0,0

View File

@@ -17,12 +17,16 @@ Page weather01
page home
}else
{
<<<<<<<< HEAD:advanced/hmi/nspanel_us_land_code/weather01.txt
printh 92
prints "currentpage",0
printh 00
prints "weather01",0
printh 00
printh FF FF FF
========
sendme
>>>>>>>> 0565f5f522cb55b813ff949b082a11b1f2bd35dd:advanced/hmi/nspanel_eu_code/weather01.txt
}
Touch Press Event

View File

@@ -17,12 +17,16 @@ Page weather02
page home
}else
{
<<<<<<<< HEAD:advanced/hmi/nspanel_us_land_code/weather02.txt
printh 92
prints "currentpage",0
printh 00
prints "weather02",0
printh 00
printh FF FF FF
========
sendme
>>>>>>>> 0565f5f522cb55b813ff949b082a11b1f2bd35dd:advanced/hmi/nspanel_eu_code/weather02.txt
}
Touch Press Event

View File

@@ -17,12 +17,16 @@ Page weather03
page home
}else
{
<<<<<<<< HEAD:advanced/hmi/nspanel_us_land_code/weather03.txt
printh 92
prints "currentpage",0
printh 00
prints "weather03",0
printh 00
printh FF FF FF
========
sendme
>>>>>>>> 0565f5f522cb55b813ff949b082a11b1f2bd35dd:advanced/hmi/nspanel_eu_code/weather03.txt
}
Touch Press Event

View File

@@ -17,12 +17,16 @@ Page weather04
page home
}else
{
<<<<<<<< HEAD:advanced/hmi/nspanel_us_land_code/weather04.txt
printh 92
prints "currentpage",0
printh 00
prints "weather04",0
printh 00
printh FF FF FF
========
sendme
>>>>>>>> 0565f5f522cb55b813ff949b082a11b1f2bd35dd:advanced/hmi/nspanel_eu_code/weather04.txt
}
Touch Press Event

View File

@@ -17,12 +17,16 @@ Page weather05
page home
}else
{
<<<<<<<< HEAD:advanced/hmi/nspanel_us_land_code/weather05.txt
printh 92
prints "currentpage",0
printh 00
prints "weather05",0
printh 00
printh FF FF FF
========
sendme
>>>>>>>> 0565f5f522cb55b813ff949b082a11b1f2bd35dd:advanced/hmi/nspanel_eu_code/weather05.txt
}
Touch Press Event

Binary file not shown.

View File

@@ -17,12 +17,7 @@ Page alarm
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "alarm",0
printh 00
printh FF FF FF
sendme
vis bt_home,0
vis bt_away,0
vis bt_night,0

View File

@@ -12,12 +12,7 @@ Page boot
Events
Preinitialize Event
printh 92
prints "currentpage",0
printh 00
prints "boot",0
printh 00
printh FF FF FF
sendme
dim=0
vis bt_reboot,0
covx baud,baud_rate.txt,0,0
@@ -142,7 +137,7 @@ Text tft_version
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 4.1.4
Text : 4.2dev
Max. Text Size : 9
Text esph_version

View File

@@ -17,12 +17,7 @@ Page buttonpage01
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "buttonpage01",0
printh 00
printh FF FF FF
sendme
vis 255,0
vis button_back,1
vis page_index,1

View File

@@ -17,12 +17,7 @@ Page buttonpage02
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "buttonpage02",0
printh 00
printh FF FF FF
sendme
vis 255,0
vis button_back,1
vis page_index,1

View File

@@ -17,12 +17,7 @@ Page buttonpage03
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "buttonpage03",0
printh 00
printh FF FF FF
sendme
vis 255,0
vis button_back,1
vis page_index,1

View File

@@ -17,12 +17,7 @@ Page buttonpage04
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "buttonpage04",0
printh 00
printh FF FF FF
sendme
vis 255,0
vis button_back,1
vis page_index,1

View File

@@ -14,12 +14,7 @@ Page climate
Preinitialize Event
if(api==1||embedded.val==1)
{
printh 92
prints "currentpage",0
printh 00
prints "climate",0
printh 00
printh FF FF FF
sendme
vis target_icon,0
vis target_temp,0
vis current_temp,0

View File

@@ -17,12 +17,7 @@ Page confirm
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "confirm",0
printh 00
printh FF FF FF
sendme
}
Touch Press Event

View File

@@ -17,12 +17,7 @@ Page cover
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "cover",0
printh 00
printh FF FF FF
sendme
}
Touch Press Event

View File

@@ -17,12 +17,7 @@ Page entitypage01
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "entitypage01",0
printh 00
printh FF FF FF
sendme
}
Touch Press Event

View File

@@ -17,12 +17,7 @@ Page entitypage02
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "entitypage02",0
printh 00
printh FF FF FF
sendme
}
Touch Press Event

View File

@@ -17,12 +17,7 @@ Page entitypage03
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "entitypage03",0
printh 00
printh FF FF FF
sendme
}
Touch Press Event

View File

@@ -17,12 +17,7 @@ Page entitypage04
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "entitypage04",0
printh 00
printh FF FF FF
sendme
}
Touch Press Event

View File

@@ -17,12 +17,7 @@ Page fan
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "fan",0
printh 00
printh FF FF FF
sendme
}
Touch Press Event

View File

@@ -12,12 +12,7 @@ Page home
Events
Preinitialize Event
printh 92
prints "currentpage",0
printh 00
prints "home",0
printh 00
printh FF FF FF
sendme
vis bt_notific,is_notification
vis bt_qrcode,is_qrcode
vis bt_entities,is_entities

View File

@@ -17,12 +17,7 @@ Page keyb_num
page page_id.val
}else
{
printh 92
prints "currentpage",0
printh 00
prints "keyb_num",0
printh 00
printh FF FF FF
sendme
}
Touch Press Event

View File

@@ -17,12 +17,7 @@ Page light
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "light",0
printh 00
printh FF FF FF
sendme
vis light_b_press,1
vis lightslider,1
vis light_value,1

View File

@@ -17,12 +17,7 @@ Page media_player
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "media_player",0
printh 00
printh FF FF FF
sendme
}
Touch Press Event

View File

@@ -17,12 +17,7 @@ Page notification
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "notification",0
printh 00
printh FF FF FF
sendme
}
Touch Press Event

View File

@@ -12,12 +12,7 @@ Page qrcode
Events
Preinitialize Event
printh 92
prints "currentpage",0
printh 00
prints "qrcode",0
printh 00
printh FF FF FF
sendme
Touch Press Event
printh 91

View File

@@ -12,12 +12,7 @@ Page screensaver
Events
Preinitialize Event
printh 92
prints "currentpage",0
printh 00
prints "screensaver",0
printh 00
printh FF FF FF
sendme
dim=0
Touch Release Event

View File

@@ -12,12 +12,7 @@ Page settings
Events
Preinitialize Event
printh 92
prints "currentpage",0
printh 00
prints "settings",0
printh 00
printh FF FF FF
sendme
covx brightslider.val,bright_text.txt,0,0
bright_text.txt+="%"
covx dimslider.val,dim_text.txt,0,0

View File

@@ -17,12 +17,7 @@ Page weather01
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "weather01",0
printh 00
printh FF FF FF
sendme
}
Touch Press Event

View File

@@ -17,12 +17,7 @@ Page weather02
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "weather02",0
printh 00
printh FF FF FF
sendme
}
Touch Press Event

View File

@@ -17,12 +17,7 @@ Page weather03
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "weather03",0
printh 00
printh FF FF FF
sendme
}
Touch Press Event

View File

@@ -17,12 +17,7 @@ Page weather04
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "weather04",0
printh 00
printh FF FF FF
sendme
}
Touch Press Event

View File

@@ -17,12 +17,7 @@ Page weather05
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "weather05",0
printh 00
printh FF FF FF
sendme
}
Touch Press Event

Binary file not shown.

View File

@@ -17,12 +17,7 @@ Page alarm
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "alarm",0
printh 00
printh FF FF FF
sendme
vis bt_home,0
vis bt_away,0
vis bt_night,0

View File

@@ -12,12 +12,7 @@ Page boot
Events
Preinitialize Event
printh 92
prints "currentpage",0
printh 00
prints "boot",0
printh 00
printh FF FF FF
sendme
dim=0
vis bt_reboot,0
covx baud,baud_rate.txt,0,0
@@ -142,7 +137,7 @@ Text tft_version
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 4.1.4
Text : 4.2dev
Max. Text Size : 9
Text esph_version

View File

@@ -17,12 +17,7 @@ Page buttonpage01
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "buttonpage01",0
printh 00
printh FF FF FF
sendme
vis 255,0
vis button_back,1
vis page_index,1

View File

@@ -17,12 +17,7 @@ Page buttonpage02
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "buttonpage02",0
printh 00
printh FF FF FF
sendme
vis 255,0
vis button_back,1
vis page_index,1

View File

@@ -17,12 +17,7 @@ Page buttonpage03
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "buttonpage03",0
printh 00
printh FF FF FF
sendme
vis 255,0
vis button_back,1
vis page_index,1

View File

@@ -17,12 +17,7 @@ Page buttonpage04
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "buttonpage04",0
printh 00
printh FF FF FF
sendme
vis 255,0
vis button_back,1
vis page_index,1

View File

@@ -14,12 +14,7 @@ Page climate
Preinitialize Event
if(api==1||embedded.val==1)
{
printh 92
prints "currentpage",0
printh 00
prints "climate",0
printh 00
printh FF FF FF
sendme
vis target_icon,0
vis target_temp,0
vis current_temp,0

View File

@@ -17,12 +17,7 @@ Page confirm
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "confirm",0
printh 00
printh FF FF FF
sendme
}
Touch Press Event

View File

@@ -17,12 +17,7 @@ Page cover
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "cover",0
printh 00
printh FF FF FF
sendme
}
Touch Press Event

View File

@@ -17,12 +17,7 @@ Page entitypage01
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "entitypage01",0
printh 00
printh FF FF FF
sendme
}
Touch Press Event

View File

@@ -17,12 +17,7 @@ Page entitypage02
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "entitypage02",0
printh 00
printh FF FF FF
sendme
}
Touch Press Event

View File

@@ -17,12 +17,7 @@ Page entitypage03
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "entitypage03",0
printh 00
printh FF FF FF
sendme
}
Touch Press Event

View File

@@ -17,12 +17,7 @@ Page entitypage04
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "entitypage04",0
printh 00
printh FF FF FF
sendme
}
Touch Press Event

View File

@@ -17,12 +17,7 @@ Page fan
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "fan",0
printh 00
printh FF FF FF
sendme
}
Touch Press Event

View File

@@ -12,12 +12,7 @@ Page home
Events
Preinitialize Event
printh 92
prints "currentpage",0
printh 00
prints "home",0
printh 00
printh FF FF FF
sendme
vis bt_notific,is_notification
vis bt_qrcode,is_qrcode
vis bt_entities,is_entities

View File

@@ -17,12 +17,7 @@ Page keyb_num
page page_id.val
}else
{
printh 92
prints "currentpage",0
printh 00
prints "keyb_num",0
printh 00
printh FF FF FF
sendme
}
Touch Press Event

View File

@@ -17,12 +17,7 @@ Page light
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "light",0
printh 00
printh FF FF FF
sendme
vis light_b_press,1
vis lightslider,1
vis light_value,1

View File

@@ -17,12 +17,7 @@ Page media_player
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "media_player",0
printh 00
printh FF FF FF
sendme
}
Touch Press Event

View File

@@ -17,12 +17,7 @@ Page notification
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "notification",0
printh 00
printh FF FF FF
sendme
}
Touch Press Event

View File

@@ -12,12 +12,7 @@ Page qrcode
Events
Preinitialize Event
printh 92
prints "currentpage",0
printh 00
prints "qrcode",0
printh 00
printh FF FF FF
sendme
Touch Press Event
printh 91

View File

@@ -12,12 +12,7 @@ Page screensaver
Events
Preinitialize Event
printh 92
prints "currentpage",0
printh 00
prints "screensaver",0
printh 00
printh FF FF FF
sendme
dim=0
Touch Release Event

View File

@@ -12,12 +12,7 @@ Page settings
Events
Preinitialize Event
printh 92
prints "currentpage",0
printh 00
prints "settings",0
printh 00
printh FF FF FF
sendme
covx brightslider.val,bright_text.txt,0,0
bright_text.txt+="%"
covx dimslider.val,dim_text.txt,0,0

View File

@@ -17,12 +17,7 @@ Page weather01
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "weather01",0
printh 00
printh FF FF FF
sendme
}
Touch Press Event

View File

@@ -17,12 +17,7 @@ Page weather02
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "weather02",0
printh 00
printh FF FF FF
sendme
}
Touch Press Event

View File

@@ -17,12 +17,7 @@ Page weather03
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "weather03",0
printh 00
printh FF FF FF
sendme
}
Touch Press Event

View File

@@ -17,12 +17,7 @@ Page weather04
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "weather04",0
printh 00
printh FF FF FF
sendme
}
Touch Press Event

View File

@@ -17,12 +17,7 @@ Page weather05
page home
}else
{
printh 92
prints "currentpage",0
printh 00
prints "weather05",0
printh 00
printh FF FF FF
sendme
}
Touch Press Event