Compare commits
10 Commits
c281a68bee
...
6df5ad0578
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6df5ad0578 | ||
|
|
cf25bb380b | ||
|
|
2473816f34 | ||
|
|
b94b9ffd2e | ||
|
|
13110f9949 | ||
|
|
52aaea3bb5 | ||
|
|
01f5ba93a1 | ||
|
|
c1a0c0991e | ||
|
|
1a20b0cc42 | ||
|
|
a9c36239d8 |
2
.github/workflows/validate_esphome.yml
vendored
2
.github/workflows/validate_esphome.yml
vendored
@@ -7,10 +7,12 @@ on:
|
||||
paths:
|
||||
- "nspanel_esphome*.yaml"
|
||||
- "advanced/esphome/nspanel_esphome*.yaml"
|
||||
- ".test/*.yaml"
|
||||
pull_request:
|
||||
paths:
|
||||
- "nspanel_esphome*.yaml"
|
||||
- "advanced/esphome/nspanel_esphome*.yaml"
|
||||
- ".test/*.yaml"
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
|
||||
2
.gitignore
vendored
2
.gitignore
vendored
@@ -12,4 +12,4 @@ Nextion2Text.*
|
||||
# Ignore dev folder
|
||||
#dev
|
||||
|
||||
nspanel_esphome_prebuilt.bin
|
||||
nspanel_esphome_prebuilt*.bin
|
||||
|
||||
@@ -153,9 +153,9 @@ script:
|
||||
then:
|
||||
- lambda: |-
|
||||
ESP_LOGD("script.set_brightness(custom)", "brightness: %i%%", brightness);
|
||||
uint8_t current_brightness = int(round(display_light->current_values.is_on() ? (display_light->current_values.get_brightness() * 100.0f) : 0.0));
|
||||
ESP_LOGV("script.set_brightness(custom)", "current_brightness: %i%%", current_brightness);
|
||||
if (brightness != current_brightness) {
|
||||
uint8_t current_light_brightness = int(round(display_light->current_values.is_on() ? (display_light->current_values.get_brightness() * 100.0f) : 0.0));
|
||||
ESP_LOGV("script.set_brightness(custom)", "current_light_brightness: %i%%", current_light_brightness);
|
||||
if (brightness != current_light_brightness) {
|
||||
if (current_page->state != "screensaver" and brightness > 0) {
|
||||
auto call = display_light->turn_on();
|
||||
call.set_brightness(static_cast<float>(current_brightness->state) / 100.0f);
|
||||
|
||||
@@ -364,32 +364,40 @@ Special thanks to @PaulAntonDeen and @illuzn for their invaluable contributions
|
||||
Your feedback and support are crucial to our continuous improvement.
|
||||
|
||||
## Patch v4.2.3
|
||||
Bug fixes and minor enhancements.
|
||||
This release focuses on targeted bug fixes and enhancements to enhance system stability and functionality.
|
||||
Major updates include a critical fix for an issue where the panel was getting warmer,
|
||||
potentially affecting temperature measurements, and resolving a crash issue associated with climate entity rendering.
|
||||
Additionally, this update introduces new Dutch/Italian date formats for improved localization,
|
||||
and addresses a minor display issue with the battery indicator on cover pages.
|
||||
|
||||
> [!IMPORTANT]
|
||||
> **Breaking Change**: If you are using the [Customization "Set display as a light"](https://github.com/Blackymas/NSPanel_HA_Blueprint/blob/main/docs/customization.md#set-display-as-a-light)
|
||||
> please change the line `call.set_brightness(static_cast<float>(id(display_last_brightness)) / 100.0f);` to `call.set_brightness(static_cast<float>(current_brightness->state) / 100.0f);`
|
||||
> as that global variable was replaced by a new sensor.
|
||||
> **Breaking Change**: If you are using the [Customization "Set display as a light"](https://github.com/Blackymas/NSPanel_HA_Blueprint/blob/main/docs/customization.md#set-display-as-a-light),
|
||||
> please update the code related to the extension to `script`/`set_brightness` as the global variable `display_last_brightness` was replaced by the new sensor `current_brightness`.
|
||||
|
||||
We encourage all users to update their components to this latest version for the best experience.
|
||||
While this update is compatible with existing v4.2 components, it offers optimized performance and usability when fully updated.
|
||||
We highly recommend all users update their components to this latest version for an optimized and enhanced user experience.
|
||||
While this update is compatible with existing v4.2 components, fully updating ensures the best performance and usability.
|
||||
|
||||
**Overview of Changes:**
|
||||
<!-- markdownlint-disable MD013 MD033 -->
|
||||
| Change | Criticality | Affected Components |
|
||||
| :-- | :--: | :--: |
|
||||
| Fix device temperature gap since v4.2 (#1620) | Critical | `Blueprint`<br>`ESPHome`<br>`TFT` |
|
||||
| Fix crash when rendering a climate entity with no `hvac_action` (#1647) | Critical | `Blueprint` |
|
||||
| Fix crash when rendering a climate entity with no `hvac_action` (#1647) | Critical | `Blueprint` |
|
||||
| Fix battery indicator not showing on cover pages (#1661) | Minor | `Blueprint` |
|
||||
| Add Dutch/Italian date format (#1658) | Enhancement | `Blueprint` |
|
||||
<!-- markdownlint-enable MD013 MD033 -->
|
||||
|
||||
**Key Improvements:**
|
||||
- **Fix for Device Temperature Gap**: Resolved a critical issue with the panel getting warmer on v4.2, potentially affecting its temperature measurements.
|
||||
- **Fix for Crash When Rendering Climate Entities**: Resolves a critical issue where the blueprint was crashing when trying to render icons for climate entities
|
||||
with no `hvac_action` attributes, preventing pages from being fully loaded.
|
||||
- **Fix for Crash When Rendering Climate Entities**: Resolves a critical issue where the blueprint was crashing when trying to render icons for climate entities with no `hvac_action` attributes,
|
||||
preventing pages from being fully loaded.
|
||||
- **Fix for Battery Indicator**: Addressed the issue where the battery indicator was not displayed correctly on cover pages.
|
||||
- **Add Dutch/Italian Date Format**: Expanding the existing pre-listed date formats, we've added the **Weekday, DD-MM (ex. "Friday, 22-03")** format.
|
||||
This enhancement caters to our Dutch and Italian users, adding a touch of local flair to their experience.
|
||||
|
||||
A special thanks to the community for their support and contributions, particularly @andythomas for his useful, informative, and visually appealing temperature trend plots.
|
||||
Your efforts greatly aid in enhancing the quality of our project.
|
||||
|
||||
For support, feedback, or detailed information about this update,
|
||||
visit our [GitHub repository](https://github.com/Blackymas/NSPanel_HA_Blueprint)
|
||||
or our [online documentation](https://github.com/Blackymas/NSPanel_HA_Blueprint/blob/main/docs/README.md).
|
||||
|
||||
@@ -105,7 +105,7 @@ globals:
|
||||
restore_value: true
|
||||
initial_value: '0'
|
||||
|
||||
- id: tft_upload_try
|
||||
- id: tft_upload_attempt
|
||||
type: uint
|
||||
restore_value: false
|
||||
initial_value: '0'
|
||||
@@ -327,6 +327,7 @@ script:
|
||||
|
||||
ESP_LOGD(TAG, " Target upload baud rate: %d bps", id(baud_rate_target));
|
||||
ESP_LOGD(TAG, " Current baud rate: %" PRIu32 " bps", tf_uart->get_baud_rate());
|
||||
ESP_LOGD(TAG, " Valid TFT: %s", id(tft_is_valid) ? "True" : "False");
|
||||
|
||||
// Upload URL
|
||||
ESP_LOGD(TAG, " Upload URL: %s", url.c_str());
|
||||
@@ -382,152 +383,58 @@ script:
|
||||
- lambda: !lambda return (!id(tft_is_valid));
|
||||
timeout: 1s
|
||||
|
||||
### Try twice at the target baud rate
|
||||
- script.execute: nextion_status
|
||||
- script.wait: nextion_status
|
||||
### Attempt twice with upload engine from v4.1.4 (115200bps) when TFT isn't detected
|
||||
# - if:
|
||||
# condition:
|
||||
# - lambda: !lambda return (not id(tft_is_valid));
|
||||
# then:
|
||||
# - script.execute:
|
||||
# id: upload_tft_sequence_attempt_v414
|
||||
# url: !lambda return url.c_str();
|
||||
# baud_rate: 115200
|
||||
# - script.wait: upload_tft_sequence_attempt_v414
|
||||
|
||||
### Attempt twice at the target baud rate
|
||||
- script.execute:
|
||||
id: report_upload_progress
|
||||
message: "Setting baud rate"
|
||||
- script.wait: report_upload_progress
|
||||
- script.execute:
|
||||
id: set_baud_rate
|
||||
id: upload_tft_sequence_attempt
|
||||
baud_rate: !lambda return id(baud_rate_target);
|
||||
definitive: false
|
||||
- script.wait: set_baud_rate
|
||||
- delay: 2s
|
||||
# Try #1
|
||||
- script.execute: upload_tft_try
|
||||
- script.wait: upload_tft_try
|
||||
- delay: 5s
|
||||
# Try #2
|
||||
- script.execute: upload_tft_try
|
||||
- script.wait: upload_tft_try
|
||||
- delay: 5s
|
||||
- script.wait: upload_tft_sequence_attempt
|
||||
|
||||
### Try twice at the original baud rate
|
||||
- script.execute: nextion_status
|
||||
- script.wait: nextion_status
|
||||
### Attempt twice at the original baud rate
|
||||
- script.execute:
|
||||
id: report_upload_progress
|
||||
message: "Setting baud rate"
|
||||
- script.wait: report_upload_progress
|
||||
- script.execute:
|
||||
id: set_baud_rate
|
||||
id: upload_tft_sequence_attempt
|
||||
baud_rate: !lambda return id(baud_rate_original);
|
||||
definitive: false
|
||||
- script.wait: set_baud_rate
|
||||
- delay: 2s
|
||||
# Try #3
|
||||
- script.execute: upload_tft_try
|
||||
- script.wait: upload_tft_try
|
||||
- delay: 5s
|
||||
# Try #4
|
||||
- script.execute: upload_tft_try
|
||||
- script.wait: upload_tft_try
|
||||
- delay: 5s
|
||||
- script.wait: upload_tft_sequence_attempt
|
||||
|
||||
### Try twice at the Nextion's default baud rate (115200bps)
|
||||
- script.execute: nextion_status
|
||||
- script.wait: nextion_status
|
||||
### Attempt twice at the Nextion's default baud rate (115200bps)
|
||||
- script.execute:
|
||||
id: report_upload_progress
|
||||
message: "Setting baud rate"
|
||||
- script.wait: report_upload_progress
|
||||
- script.execute:
|
||||
id: set_baud_rate
|
||||
id: upload_tft_sequence_attempt
|
||||
baud_rate: 115200
|
||||
definitive: false
|
||||
- script.wait: set_baud_rate
|
||||
- delay: 2s
|
||||
# Try #5
|
||||
- script.execute: upload_tft_try
|
||||
- script.wait: upload_tft_try
|
||||
- delay: 5s
|
||||
# Try #6
|
||||
- script.execute: upload_tft_try
|
||||
- script.wait: upload_tft_try
|
||||
- delay: 5s
|
||||
- script.wait: upload_tft_sequence_attempt
|
||||
|
||||
### Try twice with upload engine from v4.1.4 (115200bps)
|
||||
- script.execute: nextion_status
|
||||
- script.wait: nextion_status
|
||||
### Attempt twice with upload engine from v4.1.4 (115200bps)
|
||||
- script.execute:
|
||||
id: report_upload_progress
|
||||
message: "Setting baud rate"
|
||||
- script.wait: report_upload_progress
|
||||
- script.execute:
|
||||
id: set_baud_rate
|
||||
id: upload_tft_sequence_attempt_v414
|
||||
url: !lambda return url.c_str();
|
||||
baud_rate: 115200
|
||||
definitive: false
|
||||
- script.wait: set_baud_rate
|
||||
- delay: 2s
|
||||
# Try #7
|
||||
- script.execute:
|
||||
id: upload_tft_v414
|
||||
url: !lambda return url.c_str();
|
||||
- script.wait: upload_tft_v414
|
||||
- delay: 5s
|
||||
# Try #8
|
||||
- script.execute:
|
||||
id: upload_tft_v414
|
||||
url: !lambda return url.c_str();
|
||||
- script.wait: upload_tft_v414
|
||||
- delay: 5s
|
||||
- script.wait: upload_tft_sequence_attempt_v414
|
||||
|
||||
### Exit reparse and try twice again
|
||||
- script.execute: nextion_status
|
||||
- script.wait: nextion_status
|
||||
### Exit reparse and attempt twice again
|
||||
- script.execute:
|
||||
id: report_upload_progress
|
||||
message: "Exiting reparse mode"
|
||||
- script.wait: report_upload_progress
|
||||
- script.execute: exit_reparse
|
||||
- script.wait: exit_reparse
|
||||
- delay: 5s
|
||||
- script.execute: nextion_status
|
||||
- script.wait: nextion_status
|
||||
- script.execute:
|
||||
id: report_upload_progress
|
||||
message: "Setting baud rate"
|
||||
- script.wait: report_upload_progress
|
||||
- script.execute:
|
||||
id: set_baud_rate
|
||||
id: upload_tft_sequence_attempt
|
||||
baud_rate: 115200
|
||||
definitive: false
|
||||
- script.wait: set_baud_rate
|
||||
- delay: 2s
|
||||
# Try #9
|
||||
- script.execute: upload_tft_try
|
||||
- script.wait: upload_tft_try
|
||||
- delay: 5s
|
||||
# Try #10
|
||||
- script.execute: upload_tft_try
|
||||
- script.wait: upload_tft_try
|
||||
- delay: 5s
|
||||
- script.wait: upload_tft_sequence_attempt
|
||||
|
||||
### Then try twice again at 9600bps
|
||||
- script.execute: nextion_status
|
||||
- script.wait: nextion_status
|
||||
### Then attempt twice again at 9600bps
|
||||
- script.execute:
|
||||
id: report_upload_progress
|
||||
message: "Setting baud rate"
|
||||
- script.wait: report_upload_progress
|
||||
- script.execute:
|
||||
id: set_baud_rate
|
||||
id: upload_tft_sequence_attempt
|
||||
baud_rate: 9600
|
||||
definitive: false
|
||||
- script.wait: set_baud_rate
|
||||
- delay: 2s
|
||||
# Try #11
|
||||
- script.execute: upload_tft_try
|
||||
- script.wait: upload_tft_try
|
||||
- delay: 5s
|
||||
# Try #12
|
||||
- script.execute: upload_tft_try
|
||||
- script.wait: upload_tft_try
|
||||
- delay: 5s
|
||||
- script.wait: upload_tft_sequence_attempt
|
||||
|
||||
### Restart Nextion and try twice again at default baud rate (115200bps)
|
||||
### Restart Nextion and attempt twice again at default baud rate (115200bps)
|
||||
- script.execute:
|
||||
id: report_upload_progress
|
||||
message: "Restarting Nextion display"
|
||||
@@ -540,26 +447,10 @@ script:
|
||||
- delay: 2s
|
||||
- switch.turn_on: screen_power
|
||||
- delay: 5s
|
||||
- script.execute: nextion_status
|
||||
- script.wait: nextion_status
|
||||
- script.execute:
|
||||
id: report_upload_progress
|
||||
message: "Setting baud rate"
|
||||
- script.wait: report_upload_progress
|
||||
- script.execute:
|
||||
id: set_baud_rate
|
||||
id: upload_tft_sequence_attempt
|
||||
baud_rate: 115200
|
||||
definitive: false
|
||||
- script.wait: set_baud_rate
|
||||
- delay: 2s
|
||||
# Try #13
|
||||
- script.execute: upload_tft_try
|
||||
- script.wait: upload_tft_try
|
||||
- delay: 5s
|
||||
# Try #14
|
||||
- script.execute: upload_tft_try
|
||||
- script.wait: upload_tft_try
|
||||
- delay: 5s
|
||||
- script.wait: upload_tft_sequence_attempt
|
||||
|
||||
### All tries failed ###
|
||||
- script.execute:
|
||||
@@ -592,6 +483,63 @@ script:
|
||||
screen_power->publish_state(true);
|
||||
ESP_LOGE(TAG, "TFT upload finished unsuccessfully!");
|
||||
|
||||
- id: upload_tft_sequence_attempt
|
||||
mode: single
|
||||
parameters:
|
||||
baud_rate: uint
|
||||
then:
|
||||
- script.execute: nextion_status
|
||||
- script.wait: nextion_status
|
||||
- script.execute:
|
||||
id: report_upload_progress
|
||||
message: "Setting baud rate"
|
||||
- script.wait: report_upload_progress
|
||||
- script.execute:
|
||||
id: set_baud_rate
|
||||
baud_rate: !lambda return baud_rate;
|
||||
definitive: false
|
||||
- script.wait: set_baud_rate
|
||||
- delay: 2s
|
||||
# First attempt
|
||||
- script.execute: upload_tft_attempt
|
||||
- script.wait: upload_tft_attempt
|
||||
- delay: 5s
|
||||
# Backup attempt
|
||||
- script.execute: upload_tft_attempt
|
||||
- script.wait: upload_tft_attempt
|
||||
- delay: 5s
|
||||
|
||||
- id: upload_tft_sequence_attempt_v414
|
||||
mode: single
|
||||
parameters:
|
||||
url: string
|
||||
baud_rate: uint
|
||||
then:
|
||||
- script.execute: nextion_status
|
||||
- script.wait: nextion_status
|
||||
- script.execute:
|
||||
id: report_upload_progress
|
||||
message: "Setting baud rate"
|
||||
- script.wait: report_upload_progress
|
||||
- script.execute:
|
||||
id: set_baud_rate
|
||||
baud_rate: !lambda return baud_rate;
|
||||
definitive: false
|
||||
- script.wait: set_baud_rate
|
||||
- delay: 2s
|
||||
# Attempt #7
|
||||
- script.execute:
|
||||
id: upload_tft_v414
|
||||
url: !lambda return url.c_str();
|
||||
- script.wait: upload_tft_v414
|
||||
- delay: 5s
|
||||
# Attempt #8
|
||||
- script.execute:
|
||||
id: upload_tft_v414
|
||||
url: !lambda return url.c_str();
|
||||
- script.wait: upload_tft_v414
|
||||
- delay: 5s
|
||||
|
||||
- id: upload_tft_v414
|
||||
mode: single
|
||||
parameters:
|
||||
@@ -599,10 +547,10 @@ script:
|
||||
then:
|
||||
- lambda: |-
|
||||
static const char *const TAG = "addon_upload_tft.script.upload_tft_v414";
|
||||
ESP_LOGD(TAG, "Trying to upload TFT");
|
||||
id(tft_upload_try)++;
|
||||
ESP_LOGD(TAG, "Attempting to upload TFT");
|
||||
id(tft_upload_attempt)++;
|
||||
char update_msg[128];
|
||||
sprintf(update_msg, "Try #%d at %" PRIu32 " bps", id(tft_upload_try), tf_uart->get_baud_rate());
|
||||
sprintf(update_msg, "Attempt #%d at %" PRIu32 " bps", id(tft_upload_attempt), tf_uart->get_baud_rate());
|
||||
report_upload_progress->execute(update_msg);
|
||||
- script.wait: report_upload_progress
|
||||
- wait_until:
|
||||
@@ -725,7 +673,7 @@ script:
|
||||
#endif
|
||||
|
||||
is_updating_ = false;
|
||||
if (!completed) ESP_LOGD(TAG, "Nextion TFT upload will try again");
|
||||
if (!completed) ESP_LOGD(TAG, "Nextion TFT upload will attempt again");
|
||||
return completed;
|
||||
};
|
||||
|
||||
@@ -884,13 +832,13 @@ script:
|
||||
ESP_LOGD(TAG, "Requesting URL: %s", url.c_str());
|
||||
|
||||
http.setReuse(true);
|
||||
// try up to 5 times. DNS sometimes needs a second try or so
|
||||
// attempt up to 5 times. DNS sometimes needs a second attempt or so
|
||||
int tries = 1;
|
||||
int code = http.GET();
|
||||
delay(100);
|
||||
|
||||
while (code != 200 && code != 206 && tries <= 5) {
|
||||
ESP_LOGW(TAG, "HTTP Request failed; URL: %s; Error: %s, retrying (%d/5)", url.c_str(),
|
||||
ESP_LOGW(TAG, "HTTP Request failed; URL: %s; Error: %s, reattempting (%d/5)", url.c_str(),
|
||||
HTTPClient::errorToString(code).c_str(), tries);
|
||||
|
||||
delay(250);
|
||||
@@ -966,8 +914,8 @@ script:
|
||||
ExternalRAMAllocator<uint8_t> allocator(ExternalRAMAllocator<uint8_t>::ALLOW_FAILURE);
|
||||
ESP_LOGD(TAG, "Allocating buffer size %d, Heap size is %" PRIu32, chunk_size, ESP.getFreeHeap());
|
||||
transfer_buffer_ = allocator.allocate(chunk_size);
|
||||
if (transfer_buffer_ == nullptr) { // Try a smaller size
|
||||
ESP_LOGD(TAG, "Could not allocate buffer size: %d trying 4096 instead", chunk_size);
|
||||
if (transfer_buffer_ == nullptr) { // Attempt a smaller size
|
||||
ESP_LOGD(TAG, "Could not allocate buffer size: %d attempting 4096 instead", chunk_size);
|
||||
chunk_size = 4096;
|
||||
ESP_LOGD(TAG, "Allocating %d buffer", chunk_size);
|
||||
transfer_buffer_ = allocator.allocate(chunk_size);
|
||||
@@ -1242,19 +1190,19 @@ script:
|
||||
|
||||
if (upload_tft_(url, 115200)) App.safe_reboot();
|
||||
char update_msg[128];
|
||||
sprintf(update_msg, "Try #%d at %" PRIu32 " bps failed!", id(tft_upload_try), tf_uart->get_baud_rate());
|
||||
sprintf(update_msg, "Attempt #%d at %" PRIu32 " bps failed!", id(tft_upload_attempt), tf_uart->get_baud_rate());
|
||||
report_upload_progress->execute(update_msg);
|
||||
ESP_LOGD(TAG, "Finished!");
|
||||
- script.wait: report_upload_progress
|
||||
|
||||
- id: upload_tft_try
|
||||
- id: upload_tft_attempt
|
||||
mode: single
|
||||
then:
|
||||
- logger.log: "Trying to upload TFT"
|
||||
- lambda: !lambda id(tft_upload_try)++;
|
||||
- logger.log: "Attempting to upload TFT"
|
||||
- lambda: !lambda id(tft_upload_attempt)++;
|
||||
- lambda: |-
|
||||
char update_msg[128];
|
||||
sprintf(update_msg, "Try #%d at %" PRIu32 " bps", id(tft_upload_try), tf_uart->get_baud_rate());
|
||||
sprintf(update_msg, "Attempt #%d at %" PRIu32 " bps", id(tft_upload_attempt), tf_uart->get_baud_rate());
|
||||
report_upload_progress->execute(update_msg);
|
||||
- script.wait: report_upload_progress
|
||||
- wait_until:
|
||||
@@ -1265,7 +1213,7 @@ script:
|
||||
- script.wait: nextion_upload
|
||||
- lambda: |-
|
||||
char update_msg[128];
|
||||
sprintf(update_msg, "Try #%d at %" PRIu32 " bps failed!", id(tft_upload_try), tf_uart->get_baud_rate());
|
||||
sprintf(update_msg, "Attempt #%d at %" PRIu32 " bps failed!", id(tft_upload_attempt), tf_uart->get_baud_rate());
|
||||
report_upload_progress->execute(update_msg);
|
||||
- script.wait: report_upload_progress
|
||||
|
||||
@@ -1314,5 +1262,12 @@ sensor:
|
||||
on_value:
|
||||
then:
|
||||
lambda: |-
|
||||
static const char *const TAG = "addon_upload_tft.sensor.display_mode";
|
||||
id(tft_is_valid) = (display_mode->state > 0 and display_mode->state < 4);
|
||||
if (id(tft_is_valid))
|
||||
ESP_LOGD(TAG, "Valid TFT: True");
|
||||
else {
|
||||
ESP_LOGW(TAG, "Display mode: %i", int(display_mode->state));
|
||||
ESP_LOGW(TAG, "Valid TFT: False");
|
||||
}
|
||||
...
|
||||
|
||||
@@ -2803,6 +2803,7 @@ script:
|
||||
- lambda: |-
|
||||
static const char *const TAG = "script.setup_sequence";
|
||||
ESP_LOGE(TAG, "A non-compatible TFT is installed");
|
||||
ESP_LOGE(TAG, "Display mode: %f", display_mode->state);
|
||||
- lambda: |-
|
||||
static const char *const TAG = "script.setup_sequence";
|
||||
ESP_LOGD(TAG, "Nextion setup sequence finished!");
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -17,7 +17,6 @@ Page alarm
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
vis bt_home,0
|
||||
vis bt_away,0
|
||||
vis bt_night,0
|
||||
@@ -25,6 +24,9 @@ Page alarm
|
||||
vis bt_bypass,0
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
ID : 3
|
||||
|
||||
@@ -12,11 +12,13 @@ Page boot
|
||||
|
||||
Events
|
||||
Preinitialize Event
|
||||
sendme
|
||||
dim=100
|
||||
covx baud,baud_rate.txt,0,0
|
||||
baud_rate.txt+=" bps"
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Page Exit Event
|
||||
dim=0
|
||||
|
||||
|
||||
@@ -17,12 +17,14 @@ Page buttonpage01
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
vis 255,0
|
||||
vis button_back,1
|
||||
vis page_index,1
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
ID : 4
|
||||
|
||||
@@ -17,12 +17,14 @@ Page buttonpage02
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
vis 255,0
|
||||
vis button_back,1
|
||||
vis page_index,1
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
ID : 4
|
||||
|
||||
@@ -17,12 +17,14 @@ Page buttonpage03
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
vis 255,0
|
||||
vis button_back,1
|
||||
vis page_index,1
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
ID : 4
|
||||
|
||||
@@ -17,12 +17,14 @@ Page buttonpage04
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
vis 255,0
|
||||
vis button_back,1
|
||||
vis page_index,1
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
ID : 4
|
||||
|
||||
@@ -14,7 +14,6 @@ Page climate
|
||||
Preinitialize Event
|
||||
if(api==1||embedded.val==1)
|
||||
{
|
||||
sendme
|
||||
vis target_icon,0
|
||||
vis target_high,0
|
||||
vis target_low,0
|
||||
@@ -34,6 +33,9 @@ Page climate
|
||||
page home
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Page Exit Event
|
||||
covx embedded.val,va2.txt,0,0
|
||||
if(timer0.en==1)
|
||||
|
||||
@@ -15,11 +15,11 @@ Page confirm
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (int32) page_id
|
||||
Attributes
|
||||
ID : 3
|
||||
|
||||
@@ -15,11 +15,11 @@ Page cover
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) va1
|
||||
Attributes
|
||||
ID : 7
|
||||
|
||||
@@ -15,11 +15,11 @@ Page entitypage01
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text value01_label
|
||||
Attributes
|
||||
ID : 3
|
||||
|
||||
@@ -15,11 +15,11 @@ Page entitypage02
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text value01_label
|
||||
Attributes
|
||||
ID : 3
|
||||
|
||||
@@ -15,11 +15,11 @@ Page entitypage03
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text value01_label
|
||||
Attributes
|
||||
ID : 3
|
||||
|
||||
@@ -15,11 +15,11 @@ Page entitypage04
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text value01_label
|
||||
Attributes
|
||||
ID : 3
|
||||
|
||||
@@ -15,11 +15,11 @@ Page fan
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) fansetting
|
||||
Attributes
|
||||
ID : 7
|
||||
|
||||
@@ -12,7 +12,6 @@ Page home
|
||||
|
||||
Events
|
||||
Preinitialize Event
|
||||
sendme
|
||||
back_page_id=0
|
||||
vis bt_notific,is_notification
|
||||
vis bt_qrcode,is_qrcode
|
||||
@@ -23,6 +22,9 @@ Page home
|
||||
vis right_bt_text,0
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
ID : 33
|
||||
|
||||
@@ -15,11 +15,11 @@ Page keyb_num
|
||||
if(api==0)
|
||||
{
|
||||
page page_id.val
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (int32) page_id
|
||||
Attributes
|
||||
ID : 17
|
||||
|
||||
@@ -17,7 +17,6 @@ Page light
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
vis light_b_press,1
|
||||
vis lightslider,1
|
||||
vis light_value,1
|
||||
@@ -38,6 +37,9 @@ Page light
|
||||
vis color_button,0
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (int32) rgb565
|
||||
Attributes
|
||||
ID : 22
|
||||
|
||||
@@ -15,11 +15,11 @@ Page media_player
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
ID : 18
|
||||
|
||||
@@ -15,11 +15,11 @@ Page notification
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
ID : 5
|
||||
|
||||
@@ -11,7 +11,7 @@ Page qrcode
|
||||
Swide right page ID: disabled
|
||||
|
||||
Events
|
||||
Preinitialize Event
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text qrcode_label
|
||||
|
||||
@@ -14,6 +14,8 @@ Page screensaver
|
||||
Preinitialize Event
|
||||
vis text,0
|
||||
dim=brightness_sleep
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Touch Release Event
|
||||
|
||||
@@ -12,7 +12,6 @@ Page settings
|
||||
|
||||
Events
|
||||
Preinitialize Event
|
||||
sendme
|
||||
covx brightslider.val,bright_text.txt,0,0
|
||||
bright_text.txt+="%"
|
||||
covx dimslider.val,dim_text.txt,0,0
|
||||
@@ -20,6 +19,9 @@ Page settings
|
||||
vis lbl_sleep,0
|
||||
vis bt_sleep,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text bright_text
|
||||
Attributes
|
||||
ID : 3
|
||||
|
||||
@@ -15,11 +15,11 @@ Page weather01
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text day
|
||||
Attributes
|
||||
ID : 4
|
||||
|
||||
@@ -15,11 +15,11 @@ Page weather02
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text day
|
||||
Attributes
|
||||
ID : 4
|
||||
|
||||
@@ -15,11 +15,11 @@ Page weather03
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text day
|
||||
Attributes
|
||||
ID : 4
|
||||
|
||||
@@ -15,11 +15,11 @@ Page weather04
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text day
|
||||
Attributes
|
||||
ID : 4
|
||||
|
||||
@@ -15,11 +15,11 @@ Page weather05
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text day
|
||||
Attributes
|
||||
ID : 4
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -17,7 +17,6 @@ Page alarm
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
vis bt_home,0
|
||||
vis bt_away,0
|
||||
vis bt_night,0
|
||||
@@ -25,6 +24,9 @@ Page alarm
|
||||
vis bt_bypass,0
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
ID : 3
|
||||
|
||||
@@ -12,11 +12,13 @@ Page boot
|
||||
|
||||
Events
|
||||
Preinitialize Event
|
||||
sendme
|
||||
dim=100
|
||||
covx baud,baud_rate.txt,0,0
|
||||
baud_rate.txt+=" bps"
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Page Exit Event
|
||||
dim=0
|
||||
|
||||
|
||||
@@ -17,12 +17,14 @@ Page buttonpage01
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
vis 255,0
|
||||
vis button_back,1
|
||||
vis page_index,1
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
ID : 4
|
||||
|
||||
@@ -17,12 +17,14 @@ Page buttonpage02
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
vis 255,0
|
||||
vis button_back,1
|
||||
vis page_index,1
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
ID : 4
|
||||
|
||||
@@ -17,12 +17,14 @@ Page buttonpage03
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
vis 255,0
|
||||
vis button_back,1
|
||||
vis page_index,1
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
ID : 4
|
||||
|
||||
@@ -17,12 +17,14 @@ Page buttonpage04
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
vis 255,0
|
||||
vis button_back,1
|
||||
vis page_index,1
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
ID : 4
|
||||
|
||||
@@ -14,7 +14,6 @@ Page climate
|
||||
Preinitialize Event
|
||||
if(api==1||embedded.val==1)
|
||||
{
|
||||
sendme
|
||||
vis target_icon,0
|
||||
vis target_high,0
|
||||
vis target_low,0
|
||||
@@ -34,6 +33,9 @@ Page climate
|
||||
page home
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Page Exit Event
|
||||
covx embedded.val,va2.txt,0,0
|
||||
if(timer0.en==1)
|
||||
|
||||
@@ -15,11 +15,11 @@ Page confirm
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (int32) page_id
|
||||
Attributes
|
||||
ID : 3
|
||||
|
||||
@@ -15,11 +15,11 @@ Page cover
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) va1
|
||||
Attributes
|
||||
ID : 7
|
||||
|
||||
@@ -15,11 +15,11 @@ Page entitypage01
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text value01_label
|
||||
Attributes
|
||||
ID : 3
|
||||
|
||||
@@ -15,11 +15,11 @@ Page entitypage02
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text value01_label
|
||||
Attributes
|
||||
ID : 3
|
||||
|
||||
@@ -15,11 +15,11 @@ Page entitypage03
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text value01_label
|
||||
Attributes
|
||||
ID : 3
|
||||
|
||||
@@ -15,11 +15,11 @@ Page entitypage04
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text value01_label
|
||||
Attributes
|
||||
ID : 3
|
||||
|
||||
@@ -15,11 +15,11 @@ Page fan
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) fansetting
|
||||
Attributes
|
||||
ID : 7
|
||||
|
||||
@@ -12,7 +12,6 @@ Page home
|
||||
|
||||
Events
|
||||
Preinitialize Event
|
||||
sendme
|
||||
back_page_id=0
|
||||
vis bt_notific,is_notification
|
||||
vis bt_qrcode,is_qrcode
|
||||
@@ -23,6 +22,9 @@ Page home
|
||||
vis right_bt_text,0
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
ID : 33
|
||||
|
||||
@@ -15,11 +15,11 @@ Page keyb_num
|
||||
if(api==0)
|
||||
{
|
||||
page page_id.val
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (int32) page_id
|
||||
Attributes
|
||||
ID : 17
|
||||
|
||||
@@ -17,7 +17,6 @@ Page light
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
vis light_b_press,1
|
||||
vis lightslider,1
|
||||
vis light_value,1
|
||||
@@ -38,6 +37,9 @@ Page light
|
||||
vis color_button,0
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (int32) rgb565
|
||||
Attributes
|
||||
ID : 22
|
||||
|
||||
@@ -15,11 +15,11 @@ Page media_player
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
ID : 18
|
||||
|
||||
@@ -15,11 +15,11 @@ Page notification
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
ID : 5
|
||||
|
||||
@@ -11,7 +11,7 @@ Page qrcode
|
||||
Swide right page ID: disabled
|
||||
|
||||
Events
|
||||
Preinitialize Event
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text qrcode_label
|
||||
|
||||
@@ -14,6 +14,8 @@ Page screensaver
|
||||
Preinitialize Event
|
||||
vis text,0
|
||||
dim=brightness_sleep
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Touch Release Event
|
||||
|
||||
@@ -12,7 +12,6 @@ Page settings
|
||||
|
||||
Events
|
||||
Preinitialize Event
|
||||
sendme
|
||||
covx brightslider.val,bright_text.txt,0,0
|
||||
bright_text.txt+="%"
|
||||
covx dimslider.val,dim_text.txt,0,0
|
||||
@@ -20,6 +19,9 @@ Page settings
|
||||
vis lbl_sleep,0
|
||||
vis bt_sleep,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text bright_text
|
||||
Attributes
|
||||
ID : 3
|
||||
|
||||
@@ -15,11 +15,11 @@ Page weather01
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text day
|
||||
Attributes
|
||||
ID : 4
|
||||
|
||||
@@ -15,11 +15,11 @@ Page weather02
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text day
|
||||
Attributes
|
||||
ID : 4
|
||||
|
||||
@@ -15,11 +15,11 @@ Page weather03
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text day
|
||||
Attributes
|
||||
ID : 4
|
||||
|
||||
@@ -15,11 +15,11 @@ Page weather04
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text day
|
||||
Attributes
|
||||
ID : 4
|
||||
|
||||
@@ -15,11 +15,11 @@ Page weather05
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text day
|
||||
Attributes
|
||||
ID : 4
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -17,7 +17,6 @@ Page alarm
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
vis bt_home,0
|
||||
vis bt_away,0
|
||||
vis bt_night,0
|
||||
@@ -25,6 +24,9 @@ Page alarm
|
||||
vis bt_bypass,0
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
ID : 3
|
||||
|
||||
@@ -12,11 +12,13 @@ Page boot
|
||||
|
||||
Events
|
||||
Preinitialize Event
|
||||
sendme
|
||||
dim=100
|
||||
covx baud,baud_rate.txt,0,0
|
||||
baud_rate.txt+=" bps"
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Page Exit Event
|
||||
dim=0
|
||||
|
||||
|
||||
@@ -17,12 +17,14 @@ Page buttonpage01
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
vis 255,0
|
||||
vis button_back,1
|
||||
vis page_index,1
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
ID : 4
|
||||
|
||||
@@ -17,12 +17,14 @@ Page buttonpage02
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
vis 255,0
|
||||
vis button_back,1
|
||||
vis page_index,1
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
ID : 4
|
||||
|
||||
@@ -17,12 +17,14 @@ Page buttonpage03
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
vis 255,0
|
||||
vis button_back,1
|
||||
vis page_index,1
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
ID : 4
|
||||
|
||||
@@ -17,12 +17,14 @@ Page buttonpage04
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
vis 255,0
|
||||
vis button_back,1
|
||||
vis page_index,1
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
ID : 4
|
||||
|
||||
@@ -14,7 +14,6 @@ Page climate
|
||||
Preinitialize Event
|
||||
if(api==1||embedded.val==1)
|
||||
{
|
||||
sendme
|
||||
vis target_icon,0
|
||||
vis target_high,0
|
||||
vis target_low,0
|
||||
@@ -34,6 +33,9 @@ Page climate
|
||||
page home
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Page Exit Event
|
||||
covx embedded.val,va2.txt,0,0
|
||||
if(timer0.en==1)
|
||||
|
||||
@@ -15,11 +15,11 @@ Page confirm
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (int32) page_id
|
||||
Attributes
|
||||
ID : 3
|
||||
|
||||
@@ -15,11 +15,11 @@ Page cover
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) va1
|
||||
Attributes
|
||||
ID : 7
|
||||
|
||||
@@ -15,11 +15,11 @@ Page entitypage01
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text value01_label
|
||||
Attributes
|
||||
ID : 3
|
||||
|
||||
@@ -15,11 +15,11 @@ Page entitypage02
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text value01_label
|
||||
Attributes
|
||||
ID : 3
|
||||
|
||||
@@ -15,11 +15,11 @@ Page entitypage03
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text value01_label
|
||||
Attributes
|
||||
ID : 3
|
||||
|
||||
@@ -15,11 +15,11 @@ Page entitypage04
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text value01_label
|
||||
Attributes
|
||||
ID : 3
|
||||
|
||||
@@ -15,11 +15,11 @@ Page fan
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) fansetting
|
||||
Attributes
|
||||
ID : 7
|
||||
|
||||
@@ -12,7 +12,6 @@ Page home
|
||||
|
||||
Events
|
||||
Preinitialize Event
|
||||
sendme
|
||||
back_page_id=0
|
||||
vis bt_notific,is_notification
|
||||
vis bt_qrcode,is_qrcode
|
||||
@@ -23,6 +22,9 @@ Page home
|
||||
vis right_bt_text,0
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
ID : 33
|
||||
|
||||
@@ -15,11 +15,11 @@ Page keyb_num
|
||||
if(api==0)
|
||||
{
|
||||
page page_id.val
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (int32) page_id
|
||||
Attributes
|
||||
ID : 17
|
||||
|
||||
@@ -17,7 +17,6 @@ Page light
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
vis light_b_press,1
|
||||
vis lightslider,1
|
||||
vis light_value,1
|
||||
@@ -38,6 +37,9 @@ Page light
|
||||
vis color_button,0
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (int32) rgb565
|
||||
Attributes
|
||||
ID : 22
|
||||
|
||||
@@ -15,11 +15,11 @@ Page media_player
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
ID : 18
|
||||
|
||||
@@ -15,11 +15,11 @@ Page notification
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
ID : 5
|
||||
|
||||
@@ -11,7 +11,7 @@ Page qrcode
|
||||
Swide right page ID: disabled
|
||||
|
||||
Events
|
||||
Preinitialize Event
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text qrcode_label
|
||||
|
||||
@@ -14,6 +14,8 @@ Page screensaver
|
||||
Preinitialize Event
|
||||
vis text,0
|
||||
dim=brightness_sleep
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Touch Release Event
|
||||
|
||||
@@ -12,7 +12,6 @@ Page settings
|
||||
|
||||
Events
|
||||
Preinitialize Event
|
||||
sendme
|
||||
covx brightslider.val,bright_text.txt,0,0
|
||||
bright_text.txt+="%"
|
||||
covx dimslider.val,dim_text.txt,0,0
|
||||
@@ -20,6 +19,9 @@ Page settings
|
||||
vis lbl_sleep,0
|
||||
vis bt_sleep,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text bright_text
|
||||
Attributes
|
||||
ID : 3
|
||||
|
||||
@@ -15,11 +15,11 @@ Page weather01
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text day
|
||||
Attributes
|
||||
ID : 4
|
||||
|
||||
@@ -15,11 +15,11 @@ Page weather02
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text day
|
||||
Attributes
|
||||
ID : 4
|
||||
|
||||
@@ -15,11 +15,11 @@ Page weather03
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text day
|
||||
Attributes
|
||||
ID : 4
|
||||
|
||||
@@ -15,11 +15,11 @@ Page weather04
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text day
|
||||
Attributes
|
||||
ID : 4
|
||||
|
||||
@@ -15,11 +15,11 @@ Page weather05
|
||||
if(api==0)
|
||||
{
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text day
|
||||
Attributes
|
||||
ID : 4
|
||||
|
||||
Binary file not shown.
@@ -17,7 +17,6 @@ Page alarm
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
vis bt_home,0
|
||||
vis bt_away,0
|
||||
vis bt_night,0
|
||||
@@ -25,6 +24,9 @@ Page alarm
|
||||
vis bt_bypass,0
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
ID : 3
|
||||
|
||||
@@ -12,11 +12,13 @@ Page boot
|
||||
|
||||
Events
|
||||
Preinitialize Event
|
||||
sendme
|
||||
dim=100
|
||||
covx baud,baud_rate.txt,0,0
|
||||
baud_rate.txt+=" bps"
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Page Exit Event
|
||||
dim=0
|
||||
|
||||
|
||||
@@ -17,12 +17,14 @@ Page buttonpage01
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
vis 255,0
|
||||
vis button_back,1
|
||||
vis page_index,1
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
ID : 4
|
||||
|
||||
@@ -17,12 +17,14 @@ Page buttonpage02
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
vis 255,0
|
||||
vis button_back,1
|
||||
vis page_index,1
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
ID : 4
|
||||
|
||||
@@ -17,12 +17,14 @@ Page buttonpage03
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
vis 255,0
|
||||
vis button_back,1
|
||||
vis page_index,1
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
ID : 4
|
||||
|
||||
@@ -17,12 +17,14 @@ Page buttonpage04
|
||||
page home
|
||||
}else
|
||||
{
|
||||
sendme
|
||||
vis 255,0
|
||||
vis button_back,1
|
||||
vis page_index,1
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
Attributes
|
||||
ID : 4
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user