Compare commits
26 Commits
191d1227b9
...
e9aa032f66
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e9aa032f66 | ||
|
|
299633ebf9 | ||
|
|
1e3ba659cf | ||
|
|
c8686cc379 | ||
|
|
f2f137789d | ||
|
|
8b45ec7a85 | ||
|
|
79a82f764a | ||
|
|
e79dad99c8 | ||
|
|
9b0faffbf2 | ||
|
|
9da0744d80 | ||
|
|
599d05ec7d | ||
|
|
0b6d8e0fd1 | ||
|
|
19ecf80f45 | ||
|
|
78ee28bc6d | ||
|
|
f453bcffd4 | ||
|
|
32457fcbff | ||
|
|
34a69def42 | ||
|
|
e1ddf3e43a | ||
|
|
eec369dbe6 | ||
|
|
0565f5a997 | ||
|
|
7282c23ffd | ||
|
|
4d4c869f45 | ||
|
|
f26afa06a8 | ||
|
|
eb2f5c987a | ||
|
|
7b5af70a4f | ||
|
|
dd3f3457c4 |
1
.github/workflows/validate_esphome.yml
vendored
1
.github/workflows/validate_esphome.yml
vendored
@@ -195,6 +195,7 @@ jobs:
|
||||
name: Prebuilt Firmware
|
||||
runs-on: ubuntu-latest
|
||||
needs: build_core # Ensure this job runs after the core build job
|
||||
if: github.ref == 'refs/heads/dev' || github.base_ref == 'dev'
|
||||
steps:
|
||||
- uses: actions/checkout@main
|
||||
with:
|
||||
|
||||
1
.github/workflows/validate_esphome_beta.yml
vendored
1
.github/workflows/validate_esphome_beta.yml
vendored
@@ -184,6 +184,7 @@ jobs:
|
||||
name: Prebuilt Firmware
|
||||
runs-on: ubuntu-latest
|
||||
needs: build_core # Ensure this job runs after the core build job
|
||||
if: github.ref == 'refs/heads/dev' || github.base_ref == 'dev'
|
||||
steps:
|
||||
- uses: actions/checkout@main
|
||||
with:
|
||||
|
||||
@@ -202,8 +202,9 @@ It's designed for flexibility, allowing you to customize up to six data points,
|
||||
battery levels, water, and gas consumption, according to what's relevant to your home.
|
||||
This customization ensures that the dashboard only displays the utilities you're monitoring, maintaining a clean and uncluttered interface.
|
||||
|
||||
<< ADD A PICTURE OF THE PAGE ON NSPANEL >>
|
||||
<< ADD A SCREENSHOT OF THE BLUEPRINT >>
|
||||
 
|
||||
|
||||

|
||||
|
||||
### Expanded Support for "Lock" Entities on Buttons and Chips
|
||||
We're enhancing the NSPanel's integration capabilities by extending support for "lock" entities to both buttons and chips.
|
||||
|
||||
@@ -18,8 +18,8 @@ namespace nspanel_ha_blueprint_upload_tft {
|
||||
const std::string& defaultUrl, const std::string& baseUrl) {
|
||||
// Determine the branch based on the input
|
||||
std::string relative_branch = branch;
|
||||
if (branch.find("beta") != std::string::npos) relative_branch = "beta";
|
||||
else if (branch.find("dev") != std::string::npos) relative_branch = "dev";
|
||||
if (branch.find("b") != std::string::npos) relative_branch = "beta";
|
||||
else if (branch.find("d") != std::string::npos) relative_branch = "dev";
|
||||
|
||||
// Mapping model to the corresponding TFT file name
|
||||
std::string file_name;
|
||||
|
||||
@@ -83,7 +83,8 @@ The instructions to upload TFT will vary depending on the version you are instal
|
||||
|
||||
### For Blueprint Component
|
||||
1. Use your preferred code editor to edit the blueprint file under `/homeassistant/blueprints/automation/Blackymas/nspanel_blueprint.yaml`.
|
||||
2. Go to the GitHub repository and select the [branch (`main`, `beta` or `dev`)](https://github.com/Blackymas/NSPanel_HA_Blueprint/branches) or the [tag](https://github.com/Blackymas/NSPanel_HA_Blueprint/tags) (for previous versions) you want to use.
|
||||
2. Go to the GitHub repository and select the [branch (`main`, `beta` or `dev`)](https://github.com/Blackymas/NSPanel_HA_Blueprint/branches)
|
||||
or the [tag](https://github.com/Blackymas/NSPanel_HA_Blueprint/tags) (for previous versions) you want to use.
|
||||
3. Find the file `nspanel_blueprint.yaml` in the root of the branch/tag, then click on it to open the file content visualization.
|
||||
4. Click the button "**Copy raw file**" in the top right area of the code box. This will copy the entire code to the clipboard.
|
||||
5. Go back to your code editor in Home Assistant and replace the entire old code by the one in your clipboard (typically CTRL+A & CTRL+V).
|
||||
|
||||
@@ -72,7 +72,9 @@ You can use this button to force a reboot of your panel. This button is availabl
|
||||
|
||||
### Blueprint is not detected
|
||||
|
||||
**Symptoms:** The ESPHome version is shown, but not the blueprint version.
|
||||
**Symptoms:** The ESPHome version is shown, but not the blueprint version or, the Home page is shown, but the Home Assistant icon is shown in red and typically the functionality is very limited:
|
||||
|
||||

|
||||
|
||||
<!-- markdownlint-disable MD013 MD033 -->
|
||||
| Possible causes | Suggestions |
|
||||
|
||||
BIN
docs/pics/eu_page_utilities.png
Normal file
BIN
docs/pics/eu_page_utilities.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 26 KiB |
BIN
docs/pics/ha_blueprint_utilities.png
Normal file
BIN
docs/pics/ha_blueprint_utilities.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 85 KiB |
BIN
docs/pics/us_home_blueprint_icon_red.png
Normal file
BIN
docs/pics/us_home_blueprint_icon_red.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
BIN
docs/pics/us_page_utilities.png
Normal file
BIN
docs/pics/us_page_utilities.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 23 KiB |
@@ -3,7 +3,7 @@
|
||||
<!-- markdownlint-disable MD013 MD033 -->
|
||||
| NSPanel_HA_Blueprint<br><sub><sup>Version</sup></sub> | Home Assistant<br><sub><sup>Min version</sup></sub> | ESPHome<br><sub><sup>Min version</sup></sub> |
|
||||
| :--: | :--: | :--: |
|
||||
| v4.3 | 2023.12.0 | 2023.12.0 |
|
||||
| v4.3 | 2024.3.0 | 2023.12.0 |
|
||||
| v4.2.2+ | 2023.12.0 | 2023.12.0 |
|
||||
| v4.2.1<br>v4.2 | 2023.9.0 | 2023.12.0 |
|
||||
| v4.1 | 2023.9.0 | 2023.5.0 |
|
||||
|
||||
@@ -19,10 +19,10 @@ external_components:
|
||||
- source:
|
||||
type: git
|
||||
url: https://github.com/Blackymas/NSPanel_HA_Blueprint
|
||||
ref: dev # To do: Change it for releasing
|
||||
ref: beta # To do: Change it for releasing
|
||||
components:
|
||||
- nspanel_ha_blueprint_upload_tft
|
||||
refresh: 3s # To do: Change it for releasing
|
||||
refresh: 300s
|
||||
|
||||
# yamllint disable rule:comments-indentation
|
||||
api:
|
||||
|
||||
@@ -18,7 +18,7 @@ substitutions:
|
||||
temp_units: "°C"
|
||||
invalid_cooldown: "100ms"
|
||||
##### DON'T CHANGE THIS ######
|
||||
version: "4.3dev4"
|
||||
version: "4.3.0b2"
|
||||
##############################
|
||||
|
||||
##### External components #####
|
||||
@@ -28,10 +28,10 @@ external_components:
|
||||
# path: packages/Blackymas/components
|
||||
type: git
|
||||
url: https://github.com/Blackymas/NSPanel_HA_Blueprint
|
||||
ref: dev # To do: Change it for releasing
|
||||
ref: beta # To do: Change it for releasing
|
||||
components:
|
||||
- nspanel_ha_blueprint
|
||||
refresh: 3s # To do: Change it for releasing
|
||||
refresh: 300s
|
||||
- source:
|
||||
type: git
|
||||
url: https://github.com/edwardtfn/esphome
|
||||
@@ -764,6 +764,7 @@ api:
|
||||
then:
|
||||
- lambda: |-
|
||||
if (!id(is_uploading_tft)) {
|
||||
set_component_visibility->execute("home.bt_qrcode", !(qrcode.empty()));
|
||||
disp1->set_component_text_printf("qrcode.qrcode_label", "%s", title.c_str());
|
||||
disp1->set_component_text_printf("qrcode.qrcode_value", "%s", qrcode.c_str());
|
||||
if (show) goto_page->execute("qrcode");
|
||||
|
||||
@@ -9,7 +9,7 @@ Program.s
|
||||
int back_page_id=0
|
||||
int dimdelta=0
|
||||
int api=0 // 0 = disconnected from HA, 1 = connected to HA
|
||||
int is_qrcode=0,is_notification=0,is_utilities=0
|
||||
int is_utilities=0
|
||||
int brightness=100,brightness_dim=40,brightness_sleep=0
|
||||
int display_mode=1 // 1 = EU, 2 = US, 3 = US landscape, 4 = blank
|
||||
int charset=2 // 1 = International (original), 2 = CJK
|
||||
|
||||
@@ -24,8 +24,6 @@ Page alarm
|
||||
vis bt_bypass,0
|
||||
}
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
|
||||
@@ -16,8 +16,6 @@ Page boot
|
||||
covx baud,baud_rate.txt,0,0
|
||||
baud_rate.txt+=" bps"
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Page Exit Event
|
||||
@@ -103,7 +101,7 @@ Text tft_version
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text : 4.3dev3
|
||||
Text : 4.3.0b2
|
||||
Max. Text Size : 9
|
||||
|
||||
Text esph_version
|
||||
|
||||
@@ -35,8 +35,6 @@ Page buttonpage01
|
||||
}
|
||||
vis page_index,1
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
|
||||
@@ -35,8 +35,6 @@ Page buttonpage02
|
||||
}
|
||||
vis page_index,1
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
|
||||
@@ -35,8 +35,6 @@ Page buttonpage03
|
||||
}
|
||||
vis page_index,1
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
|
||||
@@ -35,8 +35,6 @@ Page buttonpage04
|
||||
page_index.txt+="â—"
|
||||
vis page_index,1
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
|
||||
@@ -33,8 +33,6 @@ Page climate
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Page Exit Event
|
||||
|
||||
@@ -17,8 +17,6 @@ Page confirm
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (int32) page_id
|
||||
|
||||
@@ -17,8 +17,6 @@ Page cover
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) va1
|
||||
|
||||
@@ -30,8 +30,6 @@ Page entitypage01
|
||||
{
|
||||
page_index.txt+="â—‹"
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text value01_label
|
||||
|
||||
@@ -30,8 +30,6 @@ Page entitypage02
|
||||
{
|
||||
page_index.txt+="â—‹"
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text value01_label
|
||||
|
||||
@@ -30,8 +30,6 @@ Page entitypage03
|
||||
{
|
||||
page_index.txt+="â—‹"
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text value01_label
|
||||
|
||||
@@ -30,8 +30,6 @@ Page entitypage04
|
||||
page_index.txt+="â—‹"
|
||||
}
|
||||
page_index.txt+="â—"
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text value01_label
|
||||
|
||||
@@ -18,8 +18,6 @@ Page fan
|
||||
}
|
||||
vis unavailable,0
|
||||
vis bt_oscillate,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) fansetting
|
||||
|
||||
@@ -13,6 +13,10 @@ Page home
|
||||
Events
|
||||
Preinitialize Event
|
||||
back_page_id=0
|
||||
if(qrcode.qrcode_value.txt=="")
|
||||
{
|
||||
vis bt_qrcode,0
|
||||
}
|
||||
if(is_entitypage01>0||is_entitypage02>0||is_entitypage03>0||is_entitypage04>0)
|
||||
{
|
||||
vis bt_entities,1
|
||||
@@ -20,8 +24,6 @@ Page home
|
||||
{
|
||||
vis bt_entities,0
|
||||
}
|
||||
vis bt_notific,is_notification
|
||||
vis bt_qrcode,is_qrcode
|
||||
vis bt_utilities,is_utilities
|
||||
if(display_mode==3)
|
||||
{
|
||||
@@ -29,8 +31,6 @@ Page home
|
||||
vis right_bt_text,0
|
||||
}
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
@@ -250,7 +250,7 @@ Text value01_icon
|
||||
Text :
|
||||
Max. Text Size : 3
|
||||
|
||||
Text value03
|
||||
Text value04
|
||||
Attributes
|
||||
ID : 22
|
||||
Scope : global
|
||||
@@ -260,7 +260,7 @@ Text value03
|
||||
Text :
|
||||
Max. Text Size : 10
|
||||
|
||||
Text value03_icon
|
||||
Text value04_icon
|
||||
Attributes
|
||||
ID : 23
|
||||
Scope : global
|
||||
@@ -355,7 +355,10 @@ Text bt_qrcode
|
||||
|
||||
Events
|
||||
Touch Release Event
|
||||
page qrcode
|
||||
if(qrcode.qrcode_value.txt!="")
|
||||
{
|
||||
page qrcode
|
||||
}
|
||||
|
||||
Text bt_entities
|
||||
Attributes
|
||||
@@ -629,6 +632,26 @@ Text bt_utilities
|
||||
page utilities
|
||||
}
|
||||
|
||||
Text value03_icon
|
||||
Attributes
|
||||
ID : 46
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 3
|
||||
|
||||
Text value03
|
||||
Attributes
|
||||
ID : 47
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 10
|
||||
|
||||
Picture weather
|
||||
Attributes
|
||||
ID : 7
|
||||
|
||||
@@ -17,8 +17,6 @@ Page keyb_num
|
||||
page page_id.val
|
||||
}
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (int32) page_id
|
||||
|
||||
@@ -37,8 +37,6 @@ Page light
|
||||
vis color_button,0
|
||||
}
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (int32) rgb565
|
||||
|
||||
@@ -17,8 +17,6 @@ Page media_player
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
|
||||
@@ -17,8 +17,6 @@ Page notification
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
|
||||
@@ -13,8 +13,6 @@ Page qrcode
|
||||
Events
|
||||
Preinitialize Event
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text qrcode_label
|
||||
|
||||
@@ -15,8 +15,6 @@ Page screensaver
|
||||
vis text,0
|
||||
dim=brightness_sleep
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Touch Release Event
|
||||
|
||||
@@ -19,8 +19,6 @@ Page settings
|
||||
vis lbl_sleep,0
|
||||
vis bt_sleep,0
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text bright_text
|
||||
|
||||
@@ -20,8 +20,6 @@ Page utilities
|
||||
vis title_icon,1
|
||||
vis title,1
|
||||
vis button_back,1
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (int32) line_main_d
|
||||
|
||||
@@ -17,8 +17,6 @@ Page weather01
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text day
|
||||
|
||||
@@ -17,8 +17,6 @@ Page weather02
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text day
|
||||
|
||||
@@ -17,8 +17,6 @@ Page weather03
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text day
|
||||
|
||||
@@ -17,8 +17,6 @@ Page weather04
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text day
|
||||
|
||||
@@ -17,8 +17,6 @@ Page weather05
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text day
|
||||
|
||||
@@ -9,7 +9,7 @@ Program.s
|
||||
int back_page_id=0
|
||||
int dimdelta=0
|
||||
int api=0 // 0 = disconnected from HA, 1 = connected to HA
|
||||
int is_qrcode=0,is_notification=0,is_utilities=0
|
||||
int is_utilities=0
|
||||
int brightness=100,brightness_dim=40,brightness_sleep=0
|
||||
int display_mode=2 // 1 = EU, 2 = US, 3 = US landscape, 4 = blank
|
||||
int charset=2 // 1 = International (original), 2 = CJK
|
||||
|
||||
@@ -24,8 +24,6 @@ Page alarm
|
||||
vis bt_bypass,0
|
||||
}
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
|
||||
@@ -16,8 +16,6 @@ Page boot
|
||||
covx baud,baud_rate.txt,0,0
|
||||
baud_rate.txt+=" bps"
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Page Exit Event
|
||||
@@ -103,7 +101,7 @@ Text tft_version
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text : 4.3dev3
|
||||
Text : 4.3.0b2
|
||||
Max. Text Size : 9
|
||||
|
||||
Events
|
||||
|
||||
@@ -35,8 +35,6 @@ Page buttonpage01
|
||||
}
|
||||
vis page_index,1
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
|
||||
@@ -35,8 +35,6 @@ Page buttonpage02
|
||||
}
|
||||
vis page_index,1
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
|
||||
@@ -35,8 +35,6 @@ Page buttonpage03
|
||||
}
|
||||
vis page_index,1
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
|
||||
@@ -22,8 +22,6 @@ Page buttonpage04
|
||||
vis page_index,1
|
||||
vis page_label,1
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
|
||||
@@ -33,8 +33,6 @@ Page climate
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Page Exit Event
|
||||
|
||||
@@ -17,8 +17,6 @@ Page confirm
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (int32) page_id
|
||||
|
||||
@@ -17,8 +17,6 @@ Page cover
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) va1
|
||||
|
||||
@@ -30,8 +30,6 @@ Page entitypage01
|
||||
{
|
||||
page_index.txt+="â—‹"
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text value01_label
|
||||
|
||||
@@ -30,8 +30,6 @@ Page entitypage02
|
||||
{
|
||||
page_index.txt+="â—‹"
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text value01_label
|
||||
|
||||
@@ -30,8 +30,6 @@ Page entitypage03
|
||||
{
|
||||
page_index.txt+="â—‹"
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text value01_label
|
||||
|
||||
@@ -30,8 +30,6 @@ Page entitypage04
|
||||
page_index.txt+="â—‹"
|
||||
}
|
||||
page_index.txt+="â—"
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text value01_label
|
||||
|
||||
@@ -18,8 +18,6 @@ Page fan
|
||||
}
|
||||
vis unavailable,0
|
||||
vis bt_oscillate,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) fansetting
|
||||
|
||||
@@ -13,6 +13,10 @@ Page home
|
||||
Events
|
||||
Preinitialize Event
|
||||
back_page_id=0
|
||||
if(qrcode.qrcode_value.txt=="")
|
||||
{
|
||||
vis bt_qrcode,0
|
||||
}
|
||||
if(is_entitypage01>0||is_entitypage02>0||is_entitypage03>0||is_entitypage04>0)
|
||||
{
|
||||
vis bt_entities,1
|
||||
@@ -20,8 +24,6 @@ Page home
|
||||
{
|
||||
vis bt_entities,0
|
||||
}
|
||||
vis bt_notific,is_notification
|
||||
vis bt_qrcode,is_qrcode
|
||||
vis bt_utilities,is_utilities
|
||||
if(display_mode==3)
|
||||
{
|
||||
@@ -29,8 +31,6 @@ Page home
|
||||
vis right_bt_text,0
|
||||
}
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
@@ -355,7 +355,10 @@ Text bt_qrcode
|
||||
|
||||
Events
|
||||
Touch Release Event
|
||||
page qrcode
|
||||
if(qrcode.qrcode_value.txt!="")
|
||||
{
|
||||
page qrcode
|
||||
}
|
||||
|
||||
Text bt_entities
|
||||
Attributes
|
||||
@@ -629,6 +632,26 @@ Text bt_utilities
|
||||
page utilities
|
||||
}
|
||||
|
||||
Text value04_icon
|
||||
Attributes
|
||||
ID : 46
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 3
|
||||
|
||||
Text value04
|
||||
Attributes
|
||||
ID : 47
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 10
|
||||
|
||||
Picture weather
|
||||
Attributes
|
||||
ID : 7
|
||||
|
||||
@@ -17,8 +17,6 @@ Page keyb_num
|
||||
page page_id.val
|
||||
}
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (int32) page_id
|
||||
|
||||
@@ -37,8 +37,6 @@ Page light
|
||||
vis color_button,0
|
||||
}
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (int32) rgb565
|
||||
|
||||
@@ -17,8 +17,6 @@ Page media_player
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
|
||||
@@ -17,8 +17,6 @@ Page notification
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
|
||||
@@ -13,8 +13,6 @@ Page qrcode
|
||||
Events
|
||||
Preinitialize Event
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text qrcode_label
|
||||
|
||||
@@ -15,8 +15,6 @@ Page screensaver
|
||||
vis text,0
|
||||
dim=brightness_sleep
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Touch Release Event
|
||||
|
||||
@@ -19,8 +19,6 @@ Page settings
|
||||
vis lbl_sleep,0
|
||||
vis bt_sleep,0
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text bright_text
|
||||
|
||||
@@ -20,8 +20,6 @@ Page utilities
|
||||
vis title_icon,1
|
||||
vis title,1
|
||||
vis button_back,1
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (int32) line_main_d
|
||||
|
||||
@@ -17,8 +17,6 @@ Page weather01
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text day
|
||||
|
||||
@@ -17,8 +17,6 @@ Page weather02
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text day
|
||||
|
||||
@@ -17,8 +17,6 @@ Page weather03
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text day
|
||||
|
||||
@@ -17,8 +17,6 @@ Page weather04
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text day
|
||||
|
||||
@@ -17,8 +17,6 @@ Page weather05
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text day
|
||||
|
||||
@@ -9,7 +9,7 @@ Program.s
|
||||
int back_page_id=0
|
||||
int dimdelta=0
|
||||
int api=0 // 0 = disconnected from HA, 1 = connected to HA
|
||||
int is_qrcode=0,is_notification=0,is_utilities=0
|
||||
int is_utilities=0
|
||||
int brightness=100,brightness_dim=40,brightness_sleep=0
|
||||
int display_mode=3 // 1 = EU, 2 = US, 3 = US landscape, 4 = blank
|
||||
int charset=2 // 1 = International (original), 2 = CJK
|
||||
|
||||
@@ -24,8 +24,6 @@ Page alarm
|
||||
vis bt_bypass,0
|
||||
}
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
|
||||
@@ -16,8 +16,6 @@ Page boot
|
||||
covx baud,baud_rate.txt,0,0
|
||||
baud_rate.txt+=" bps"
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Page Exit Event
|
||||
@@ -103,7 +101,7 @@ Text tft_version
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text : 4.3dev3
|
||||
Text : 4.3.0b2
|
||||
Max. Text Size : 9
|
||||
|
||||
Text esph_version
|
||||
|
||||
@@ -35,8 +35,6 @@ Page buttonpage01
|
||||
}
|
||||
vis page_index,1
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
|
||||
@@ -35,8 +35,6 @@ Page buttonpage02
|
||||
}
|
||||
vis page_index,1
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
|
||||
@@ -35,8 +35,6 @@ Page buttonpage03
|
||||
}
|
||||
vis page_index,1
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
|
||||
@@ -35,8 +35,6 @@ Page buttonpage04
|
||||
page_index.txt+="â—"
|
||||
vis page_index,1
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
|
||||
@@ -33,8 +33,6 @@ Page climate
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Page Exit Event
|
||||
|
||||
@@ -17,8 +17,6 @@ Page confirm
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (int32) page_id
|
||||
|
||||
@@ -17,8 +17,6 @@ Page cover
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) va1
|
||||
|
||||
@@ -30,8 +30,6 @@ Page entitypage01
|
||||
{
|
||||
page_index.txt+="â—‹"
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text value01_label
|
||||
|
||||
@@ -30,8 +30,6 @@ Page entitypage02
|
||||
{
|
||||
page_index.txt+="â—‹"
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text value01_label
|
||||
|
||||
@@ -30,8 +30,6 @@ Page entitypage03
|
||||
{
|
||||
page_index.txt+="â—‹"
|
||||
}
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text value01_label
|
||||
|
||||
@@ -30,8 +30,6 @@ Page entitypage04
|
||||
page_index.txt+="â—‹"
|
||||
}
|
||||
page_index.txt+="â—"
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text value01_label
|
||||
|
||||
@@ -18,8 +18,6 @@ Page fan
|
||||
}
|
||||
vis unavailable,0
|
||||
vis bt_oscillate,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) fansetting
|
||||
|
||||
@@ -13,6 +13,10 @@ Page home
|
||||
Events
|
||||
Preinitialize Event
|
||||
back_page_id=0
|
||||
if(qrcode.qrcode_value.txt=="")
|
||||
{
|
||||
vis bt_qrcode,0
|
||||
}
|
||||
if(is_entitypage01>0||is_entitypage02>0||is_entitypage03>0||is_entitypage04>0)
|
||||
{
|
||||
vis bt_entities,1
|
||||
@@ -20,8 +24,6 @@ Page home
|
||||
{
|
||||
vis bt_entities,0
|
||||
}
|
||||
vis bt_notific,is_notification
|
||||
vis bt_qrcode,is_qrcode
|
||||
vis bt_utilities,is_utilities
|
||||
if(display_mode==3)
|
||||
{
|
||||
@@ -29,8 +31,6 @@ Page home
|
||||
vis right_bt_text,0
|
||||
}
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
@@ -250,7 +250,7 @@ Text value01_icon
|
||||
Text :
|
||||
Max. Text Size : 3
|
||||
|
||||
Text value03
|
||||
Text value04
|
||||
Attributes
|
||||
ID : 22
|
||||
Scope : global
|
||||
@@ -260,7 +260,7 @@ Text value03
|
||||
Text :
|
||||
Max. Text Size : 10
|
||||
|
||||
Text value03_icon
|
||||
Text value04_icon
|
||||
Attributes
|
||||
ID : 23
|
||||
Scope : global
|
||||
@@ -355,7 +355,10 @@ Text bt_qrcode
|
||||
|
||||
Events
|
||||
Touch Release Event
|
||||
page qrcode
|
||||
if(qrcode.qrcode_value.txt!="")
|
||||
{
|
||||
page qrcode
|
||||
}
|
||||
|
||||
Text bt_entities
|
||||
Attributes
|
||||
@@ -629,6 +632,26 @@ Text bt_utilities
|
||||
page utilities
|
||||
}
|
||||
|
||||
Text value03_icon
|
||||
Attributes
|
||||
ID : 46
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 3
|
||||
|
||||
Text value03
|
||||
Attributes
|
||||
ID : 47
|
||||
Scope : global
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 10
|
||||
|
||||
Picture weather
|
||||
Attributes
|
||||
ID : 7
|
||||
|
||||
@@ -17,8 +17,6 @@ Page keyb_num
|
||||
page page_id.val
|
||||
}
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (int32) page_id
|
||||
|
||||
@@ -37,8 +37,6 @@ Page light
|
||||
vis color_button,0
|
||||
}
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (int32) rgb565
|
||||
|
||||
@@ -17,8 +17,6 @@ Page media_player
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
|
||||
@@ -17,8 +17,6 @@ Page notification
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (string) lastclick
|
||||
|
||||
@@ -13,8 +13,6 @@ Page qrcode
|
||||
Events
|
||||
Preinitialize Event
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text qrcode_label
|
||||
|
||||
@@ -15,8 +15,6 @@ Page screensaver
|
||||
vis text,0
|
||||
dim=brightness_sleep
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Touch Release Event
|
||||
|
||||
@@ -19,8 +19,6 @@ Page settings
|
||||
vis lbl_sleep,0
|
||||
vis bt_sleep,0
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text bright_text
|
||||
|
||||
@@ -20,8 +20,6 @@ Page utilities
|
||||
vis title_icon,1
|
||||
vis title,1
|
||||
vis button_back,1
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Variable (int32) line_main_d
|
||||
|
||||
@@ -17,8 +17,6 @@ Page weather01
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text day
|
||||
|
||||
@@ -17,8 +17,6 @@ Page weather02
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text day
|
||||
|
||||
@@ -17,8 +17,6 @@ Page weather03
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text day
|
||||
|
||||
@@ -17,8 +17,6 @@ Page weather04
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text day
|
||||
|
||||
@@ -17,8 +17,6 @@ Page weather05
|
||||
page home
|
||||
}
|
||||
vis unavailable,0
|
||||
|
||||
Postinitialize Event
|
||||
sendme
|
||||
|
||||
Text day
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user