26 Commits

Author SHA1 Message Date
Edward Firmo
e9aa032f66 Compile pre-built on dev only 2024-03-10 23:37:22 +01:00
Edward Firmo
299633ebf9 Merge branch 'dev' of https://github.com/Blackymas/NSPanel_HA_Blueprint into dev 2024-03-10 23:32:59 +01:00
Edward Firmo
1e3ba659cf Merge branch 'beta' of https://github.com/Blackymas/NSPanel_HA_Blueprint into dev 2024-03-10 23:32:00 +01:00
GitHub Actions
c8686cc379 Pre-built firmware for NSPanel - Bump to v4.3.0b2 2024-03-10 22:30:36 +00:00
Edward Firmo
f2f137789d Bump to v4.3.0b2 2024-03-10 23:20:26 +01:00
Edward Firmo
8b45ec7a85 Rebuild utilities page constructor
Solves #1877
2024-03-10 23:13:57 +01:00
Edward Firmo
79a82f764a Do not show QR code icon when disabled
Solves #1876
2024-03-10 22:33:27 +01:00
GitHub Actions
e79dad99c8 Pre-built firmware for NSPanel - Merge pull request #1874 from Blackymas/dev 2024-03-10 19:37:28 +00:00
Edward Firmo
9b0faffbf2 Merge pull request #1874 from Blackymas/dev
v4.3.0b1
2024-03-10 20:28:00 +01:00
Edward Firmo
9da0744d80 lint 2024-03-10 20:18:10 +01:00
Edward Firmo
599d05ec7d Merge branch 'beta' of https://github.com/Blackymas/NSPanel_HA_Blueprint into dev 2024-03-10 20:13:41 +01:00
Edward Firmo
0b6d8e0fd1 bump to v4.3.0b1 2024-03-10 20:06:14 +01:00
Edward Firmo
19ecf80f45 Add pics of utilities page 2024-03-10 19:48:37 +01:00
Edward Firmo
78ee28bc6d Home Assistant icon is shown in red 2024-03-10 19:18:21 +01:00
Edward Firmo
f453bcffd4 Merge pull request #1808 from Blackymas/v4.2.6dev
Update ReleaseNotes.md
2024-02-17 11:19:26 +01:00
Edward Firmo
32457fcbff Update ReleaseNotes.md 2024-02-17 07:59:54 +01:00
Edward Firmo
34a69def42 Merge pull request #1806 from Blackymas/v4.2.6dev
v4.2.6 - Enhancing Stability and User Experience
2024-02-17 00:23:10 +01:00
Edward Firmo
e1ddf3e43a Bump to v4.2.6 2024-02-16 23:55:34 +01:00
Edward Firmo
eec369dbe6 Merge pull request #1788 from Blackymas/dev
No validation to text fields
2024-02-13 08:33:57 +01:00
Edward Firmo
0565f5a997 Merge pull request #1785 from Blackymas/dev
Lint
2024-02-12 12:54:50 +01:00
Edward Firmo
7282c23ffd Merge pull request #1783 from Blackymas/dev
v4.2.5 beta
2024-02-12 10:35:18 +01:00
Edward Firmo
4d4c869f45 Merge pull request #1680 from Blackymas/dev
v4.2.4 to beta
2024-01-18 06:58:13 +01:00
Edward Firmo
f26afa06a8 Merge pull request #1672 from Blackymas/dev
Revert template title
2024-01-17 20:07:28 +01:00
Edward Firmo
eb2f5c987a Merge pull request #1670 from Blackymas/dev
Fix empty title on issues templates
2024-01-17 20:02:11 +01:00
Edward Firmo
7b5af70a4f Merge pull request #1668 from Blackymas/dev
v4.2.3 to beta
2024-01-17 19:30:04 +01:00
Edward Firmo
dd3f3457c4 Merge pull request #1646 from Blackymas/dev
v4.2.2 to Beta
2024-01-16 11:51:02 +01:00
121 changed files with 213 additions and 247 deletions

View File

@@ -195,6 +195,7 @@ jobs:
name: Prebuilt Firmware name: Prebuilt Firmware
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build_core # Ensure this job runs after the core build job needs: build_core # Ensure this job runs after the core build job
if: github.ref == 'refs/heads/dev' || github.base_ref == 'dev'
steps: steps:
- uses: actions/checkout@main - uses: actions/checkout@main
with: with:

View File

@@ -184,6 +184,7 @@ jobs:
name: Prebuilt Firmware name: Prebuilt Firmware
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build_core # Ensure this job runs after the core build job needs: build_core # Ensure this job runs after the core build job
if: github.ref == 'refs/heads/dev' || github.base_ref == 'dev'
steps: steps:
- uses: actions/checkout@main - uses: actions/checkout@main
with: with:

View File

@@ -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. 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. 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 >> ![US model - Utilities Dashboard](docs/pics/us_page_utilities.png) ![EU model - Utilities Dashboard](docs/pics/eu_page_utilities.png)
<< ADD A SCREENSHOT OF THE BLUEPRINT >>
![Blueprint - Utilities](docs/pics/ha_blueprint_utilities.png)
### Expanded Support for "Lock" Entities on Buttons and Chips ### 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. We're enhancing the NSPanel's integration capabilities by extending support for "lock" entities to both buttons and chips.

View File

@@ -18,8 +18,8 @@ namespace nspanel_ha_blueprint_upload_tft {
const std::string& defaultUrl, const std::string& baseUrl) { const std::string& defaultUrl, const std::string& baseUrl) {
// Determine the branch based on the input // Determine the branch based on the input
std::string relative_branch = branch; std::string relative_branch = branch;
if (branch.find("beta") != std::string::npos) relative_branch = "beta"; if (branch.find("b") != std::string::npos) relative_branch = "beta";
else if (branch.find("dev") != std::string::npos) relative_branch = "dev"; else if (branch.find("d") != std::string::npos) relative_branch = "dev";
// Mapping model to the corresponding TFT file name // Mapping model to the corresponding TFT file name
std::string file_name; std::string file_name;

View File

@@ -83,7 +83,8 @@ The instructions to upload TFT will vary depending on the version you are instal
### For Blueprint Component ### For Blueprint Component
1. Use your preferred code editor to edit the blueprint file under `/homeassistant/blueprints/automation/Blackymas/nspanel_blueprint.yaml`. 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. 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. 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). 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).

View File

@@ -72,7 +72,9 @@ You can use this button to force a reboot of your panel. This button is availabl
### Blueprint is not detected ### 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:
![Blueprint icon on red](pics/us_home_blueprint_icon_red.png)
<!-- markdownlint-disable MD013 MD033 --> <!-- markdownlint-disable MD013 MD033 -->
| Possible causes | Suggestions | | Possible causes | Suggestions |

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

View File

@@ -3,7 +3,7 @@
<!-- markdownlint-disable MD013 MD033 --> <!-- 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> | | 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.2+ | 2023.12.0 | 2023.12.0 |
| v4.2.1<br>v4.2 | 2023.9.0 | 2023.12.0 | | v4.2.1<br>v4.2 | 2023.9.0 | 2023.12.0 |
| v4.1 | 2023.9.0 | 2023.5.0 | | v4.1 | 2023.9.0 | 2023.5.0 |

View File

@@ -19,10 +19,10 @@ external_components:
- source: - source:
type: git type: git
url: https://github.com/Blackymas/NSPanel_HA_Blueprint 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: components:
- nspanel_ha_blueprint_upload_tft - nspanel_ha_blueprint_upload_tft
refresh: 3s # To do: Change it for releasing refresh: 300s
# yamllint disable rule:comments-indentation # yamllint disable rule:comments-indentation
api: api:

View File

@@ -18,7 +18,7 @@ substitutions:
temp_units: "°C" temp_units: "°C"
invalid_cooldown: "100ms" invalid_cooldown: "100ms"
##### DON'T CHANGE THIS ###### ##### DON'T CHANGE THIS ######
version: "4.3dev4" version: "4.3.0b2"
############################## ##############################
##### External components ##### ##### External components #####
@@ -28,10 +28,10 @@ external_components:
# path: packages/Blackymas/components # path: packages/Blackymas/components
type: git type: git
url: https://github.com/Blackymas/NSPanel_HA_Blueprint 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: components:
- nspanel_ha_blueprint - nspanel_ha_blueprint
refresh: 3s # To do: Change it for releasing refresh: 300s
- source: - source:
type: git type: git
url: https://github.com/edwardtfn/esphome url: https://github.com/edwardtfn/esphome
@@ -764,6 +764,7 @@ api:
then: then:
- lambda: |- - lambda: |-
if (!id(is_uploading_tft)) { 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_label", "%s", title.c_str());
disp1->set_component_text_printf("qrcode.qrcode_value", "%s", qrcode.c_str()); disp1->set_component_text_printf("qrcode.qrcode_value", "%s", qrcode.c_str());
if (show) goto_page->execute("qrcode"); if (show) goto_page->execute("qrcode");

View File

@@ -9,7 +9,7 @@ Program.s
int back_page_id=0 int back_page_id=0
int dimdelta=0 int dimdelta=0
int api=0 // 0 = disconnected from HA, 1 = connected to HA 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 brightness=100,brightness_dim=40,brightness_sleep=0
int display_mode=1 // 1 = EU, 2 = US, 3 = US landscape, 4 = blank int display_mode=1 // 1 = EU, 2 = US, 3 = US landscape, 4 = blank
int charset=2 // 1 = International (original), 2 = CJK int charset=2 // 1 = International (original), 2 = CJK

View File

@@ -24,8 +24,6 @@ Page alarm
vis bt_bypass,0 vis bt_bypass,0
} }
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Variable (string) lastclick Variable (string) lastclick

View File

@@ -16,8 +16,6 @@ Page boot
covx baud,baud_rate.txt,0,0 covx baud,baud_rate.txt,0,0
baud_rate.txt+=" bps" baud_rate.txt+=" bps"
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Page Exit Event Page Exit Event
@@ -103,7 +101,7 @@ Text tft_version
Dragging : 0 Dragging : 0
Send Component ID : on press and release Send Component ID : on press and release
Associated Keyboard: none Associated Keyboard: none
Text : 4.3dev3 Text : 4.3.0b2
Max. Text Size : 9 Max. Text Size : 9
Text esph_version Text esph_version

View File

@@ -35,8 +35,6 @@ Page buttonpage01
} }
vis page_index,1 vis page_index,1
} }
Postinitialize Event
sendme sendme
Variable (string) lastclick Variable (string) lastclick

View File

@@ -35,8 +35,6 @@ Page buttonpage02
} }
vis page_index,1 vis page_index,1
} }
Postinitialize Event
sendme sendme
Variable (string) lastclick Variable (string) lastclick

View File

@@ -35,8 +35,6 @@ Page buttonpage03
} }
vis page_index,1 vis page_index,1
} }
Postinitialize Event
sendme sendme
Variable (string) lastclick Variable (string) lastclick

View File

@@ -35,8 +35,6 @@ Page buttonpage04
page_index.txt+="●" page_index.txt+="●"
vis page_index,1 vis page_index,1
} }
Postinitialize Event
sendme sendme
Variable (string) lastclick Variable (string) lastclick

View File

@@ -33,8 +33,6 @@ Page climate
page home page home
} }
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Page Exit Event Page Exit Event

View File

@@ -17,8 +17,6 @@ Page confirm
page home page home
} }
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Variable (int32) page_id Variable (int32) page_id

View File

@@ -17,8 +17,6 @@ Page cover
page home page home
} }
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Variable (string) va1 Variable (string) va1

View File

@@ -30,8 +30,6 @@ Page entitypage01
{ {
page_index.txt+="â—‹" page_index.txt+="â—‹"
} }
Postinitialize Event
sendme sendme
Text value01_label Text value01_label

View File

@@ -30,8 +30,6 @@ Page entitypage02
{ {
page_index.txt+="â—‹" page_index.txt+="â—‹"
} }
Postinitialize Event
sendme sendme
Text value01_label Text value01_label

View File

@@ -30,8 +30,6 @@ Page entitypage03
{ {
page_index.txt+="â—‹" page_index.txt+="â—‹"
} }
Postinitialize Event
sendme sendme
Text value01_label Text value01_label

View File

@@ -30,8 +30,6 @@ Page entitypage04
page_index.txt+="â—‹" page_index.txt+="â—‹"
} }
page_index.txt+="●" page_index.txt+="●"
Postinitialize Event
sendme sendme
Text value01_label Text value01_label

View File

@@ -18,8 +18,6 @@ Page fan
} }
vis unavailable,0 vis unavailable,0
vis bt_oscillate,0 vis bt_oscillate,0
Postinitialize Event
sendme sendme
Variable (string) fansetting Variable (string) fansetting

View File

@@ -13,6 +13,10 @@ Page home
Events Events
Preinitialize Event Preinitialize Event
back_page_id=0 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) if(is_entitypage01>0||is_entitypage02>0||is_entitypage03>0||is_entitypage04>0)
{ {
vis bt_entities,1 vis bt_entities,1
@@ -20,8 +24,6 @@ Page home
{ {
vis bt_entities,0 vis bt_entities,0
} }
vis bt_notific,is_notification
vis bt_qrcode,is_qrcode
vis bt_utilities,is_utilities vis bt_utilities,is_utilities
if(display_mode==3) if(display_mode==3)
{ {
@@ -29,8 +31,6 @@ Page home
vis right_bt_text,0 vis right_bt_text,0
} }
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Variable (string) lastclick Variable (string) lastclick
@@ -250,7 +250,7 @@ Text value01_icon
Text : Text :
Max. Text Size : 3 Max. Text Size : 3
Text value03 Text value04
Attributes Attributes
ID : 22 ID : 22
Scope : global Scope : global
@@ -260,7 +260,7 @@ Text value03
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value03_icon Text value04_icon
Attributes Attributes
ID : 23 ID : 23
Scope : global Scope : global
@@ -355,7 +355,10 @@ Text bt_qrcode
Events Events
Touch Release Event Touch Release Event
page qrcode if(qrcode.qrcode_value.txt!="")
{
page qrcode
}
Text bt_entities Text bt_entities
Attributes Attributes
@@ -629,6 +632,26 @@ Text bt_utilities
page 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 Picture weather
Attributes Attributes
ID : 7 ID : 7

View File

@@ -17,8 +17,6 @@ Page keyb_num
page page_id.val page page_id.val
} }
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Variable (int32) page_id Variable (int32) page_id

View File

@@ -37,8 +37,6 @@ Page light
vis color_button,0 vis color_button,0
} }
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Variable (int32) rgb565 Variable (int32) rgb565

View File

@@ -17,8 +17,6 @@ Page media_player
page home page home
} }
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Variable (string) lastclick Variable (string) lastclick

View File

@@ -17,8 +17,6 @@ Page notification
page home page home
} }
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Variable (string) lastclick Variable (string) lastclick

View File

@@ -13,8 +13,6 @@ Page qrcode
Events Events
Preinitialize Event Preinitialize Event
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Text qrcode_label Text qrcode_label

View File

@@ -15,8 +15,6 @@ Page screensaver
vis text,0 vis text,0
dim=brightness_sleep dim=brightness_sleep
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Touch Release Event Touch Release Event

View File

@@ -19,8 +19,6 @@ Page settings
vis lbl_sleep,0 vis lbl_sleep,0
vis bt_sleep,0 vis bt_sleep,0
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Text bright_text Text bright_text

View File

@@ -20,8 +20,6 @@ Page utilities
vis title_icon,1 vis title_icon,1
vis title,1 vis title,1
vis button_back,1 vis button_back,1
Postinitialize Event
sendme sendme
Variable (int32) line_main_d Variable (int32) line_main_d

View File

@@ -17,8 +17,6 @@ Page weather01
page home page home
} }
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Text day Text day

View File

@@ -17,8 +17,6 @@ Page weather02
page home page home
} }
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Text day Text day

View File

@@ -17,8 +17,6 @@ Page weather03
page home page home
} }
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Text day Text day

View File

@@ -17,8 +17,6 @@ Page weather04
page home page home
} }
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Text day Text day

View File

@@ -17,8 +17,6 @@ Page weather05
page home page home
} }
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Text day Text day

View File

@@ -9,7 +9,7 @@ Program.s
int back_page_id=0 int back_page_id=0
int dimdelta=0 int dimdelta=0
int api=0 // 0 = disconnected from HA, 1 = connected to HA 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 brightness=100,brightness_dim=40,brightness_sleep=0
int display_mode=2 // 1 = EU, 2 = US, 3 = US landscape, 4 = blank int display_mode=2 // 1 = EU, 2 = US, 3 = US landscape, 4 = blank
int charset=2 // 1 = International (original), 2 = CJK int charset=2 // 1 = International (original), 2 = CJK

View File

@@ -24,8 +24,6 @@ Page alarm
vis bt_bypass,0 vis bt_bypass,0
} }
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Variable (string) lastclick Variable (string) lastclick

View File

@@ -16,8 +16,6 @@ Page boot
covx baud,baud_rate.txt,0,0 covx baud,baud_rate.txt,0,0
baud_rate.txt+=" bps" baud_rate.txt+=" bps"
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Page Exit Event Page Exit Event
@@ -103,7 +101,7 @@ Text tft_version
Dragging : 0 Dragging : 0
Send Component ID : on press and release Send Component ID : on press and release
Associated Keyboard: none Associated Keyboard: none
Text : 4.3dev3 Text : 4.3.0b2
Max. Text Size : 9 Max. Text Size : 9
Events Events

View File

@@ -35,8 +35,6 @@ Page buttonpage01
} }
vis page_index,1 vis page_index,1
} }
Postinitialize Event
sendme sendme
Variable (string) lastclick Variable (string) lastclick

View File

@@ -35,8 +35,6 @@ Page buttonpage02
} }
vis page_index,1 vis page_index,1
} }
Postinitialize Event
sendme sendme
Variable (string) lastclick Variable (string) lastclick

View File

@@ -35,8 +35,6 @@ Page buttonpage03
} }
vis page_index,1 vis page_index,1
} }
Postinitialize Event
sendme sendme
Variable (string) lastclick Variable (string) lastclick

View File

@@ -22,8 +22,6 @@ Page buttonpage04
vis page_index,1 vis page_index,1
vis page_label,1 vis page_label,1
} }
Postinitialize Event
sendme sendme
Variable (string) lastclick Variable (string) lastclick

View File

@@ -33,8 +33,6 @@ Page climate
page home page home
} }
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Page Exit Event Page Exit Event

View File

@@ -17,8 +17,6 @@ Page confirm
page home page home
} }
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Variable (int32) page_id Variable (int32) page_id

View File

@@ -17,8 +17,6 @@ Page cover
page home page home
} }
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Variable (string) va1 Variable (string) va1

View File

@@ -30,8 +30,6 @@ Page entitypage01
{ {
page_index.txt+="â—‹" page_index.txt+="â—‹"
} }
Postinitialize Event
sendme sendme
Text value01_label Text value01_label

View File

@@ -30,8 +30,6 @@ Page entitypage02
{ {
page_index.txt+="â—‹" page_index.txt+="â—‹"
} }
Postinitialize Event
sendme sendme
Text value01_label Text value01_label

View File

@@ -30,8 +30,6 @@ Page entitypage03
{ {
page_index.txt+="â—‹" page_index.txt+="â—‹"
} }
Postinitialize Event
sendme sendme
Text value01_label Text value01_label

View File

@@ -30,8 +30,6 @@ Page entitypage04
page_index.txt+="â—‹" page_index.txt+="â—‹"
} }
page_index.txt+="●" page_index.txt+="●"
Postinitialize Event
sendme sendme
Text value01_label Text value01_label

View File

@@ -18,8 +18,6 @@ Page fan
} }
vis unavailable,0 vis unavailable,0
vis bt_oscillate,0 vis bt_oscillate,0
Postinitialize Event
sendme sendme
Variable (string) fansetting Variable (string) fansetting

View File

@@ -13,6 +13,10 @@ Page home
Events Events
Preinitialize Event Preinitialize Event
back_page_id=0 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) if(is_entitypage01>0||is_entitypage02>0||is_entitypage03>0||is_entitypage04>0)
{ {
vis bt_entities,1 vis bt_entities,1
@@ -20,8 +24,6 @@ Page home
{ {
vis bt_entities,0 vis bt_entities,0
} }
vis bt_notific,is_notification
vis bt_qrcode,is_qrcode
vis bt_utilities,is_utilities vis bt_utilities,is_utilities
if(display_mode==3) if(display_mode==3)
{ {
@@ -29,8 +31,6 @@ Page home
vis right_bt_text,0 vis right_bt_text,0
} }
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Variable (string) lastclick Variable (string) lastclick
@@ -355,7 +355,10 @@ Text bt_qrcode
Events Events
Touch Release Event Touch Release Event
page qrcode if(qrcode.qrcode_value.txt!="")
{
page qrcode
}
Text bt_entities Text bt_entities
Attributes Attributes
@@ -629,6 +632,26 @@ Text bt_utilities
page 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 Picture weather
Attributes Attributes
ID : 7 ID : 7

View File

@@ -17,8 +17,6 @@ Page keyb_num
page page_id.val page page_id.val
} }
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Variable (int32) page_id Variable (int32) page_id

View File

@@ -37,8 +37,6 @@ Page light
vis color_button,0 vis color_button,0
} }
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Variable (int32) rgb565 Variable (int32) rgb565

View File

@@ -17,8 +17,6 @@ Page media_player
page home page home
} }
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Variable (string) lastclick Variable (string) lastclick

View File

@@ -17,8 +17,6 @@ Page notification
page home page home
} }
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Variable (string) lastclick Variable (string) lastclick

View File

@@ -13,8 +13,6 @@ Page qrcode
Events Events
Preinitialize Event Preinitialize Event
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Text qrcode_label Text qrcode_label

View File

@@ -15,8 +15,6 @@ Page screensaver
vis text,0 vis text,0
dim=brightness_sleep dim=brightness_sleep
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Touch Release Event Touch Release Event

View File

@@ -19,8 +19,6 @@ Page settings
vis lbl_sleep,0 vis lbl_sleep,0
vis bt_sleep,0 vis bt_sleep,0
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Text bright_text Text bright_text

View File

@@ -20,8 +20,6 @@ Page utilities
vis title_icon,1 vis title_icon,1
vis title,1 vis title,1
vis button_back,1 vis button_back,1
Postinitialize Event
sendme sendme
Variable (int32) line_main_d Variable (int32) line_main_d

View File

@@ -17,8 +17,6 @@ Page weather01
page home page home
} }
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Text day Text day

View File

@@ -17,8 +17,6 @@ Page weather02
page home page home
} }
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Text day Text day

View File

@@ -17,8 +17,6 @@ Page weather03
page home page home
} }
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Text day Text day

View File

@@ -17,8 +17,6 @@ Page weather04
page home page home
} }
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Text day Text day

View File

@@ -17,8 +17,6 @@ Page weather05
page home page home
} }
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Text day Text day

View File

@@ -9,7 +9,7 @@ Program.s
int back_page_id=0 int back_page_id=0
int dimdelta=0 int dimdelta=0
int api=0 // 0 = disconnected from HA, 1 = connected to HA 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 brightness=100,brightness_dim=40,brightness_sleep=0
int display_mode=3 // 1 = EU, 2 = US, 3 = US landscape, 4 = blank int display_mode=3 // 1 = EU, 2 = US, 3 = US landscape, 4 = blank
int charset=2 // 1 = International (original), 2 = CJK int charset=2 // 1 = International (original), 2 = CJK

View File

@@ -24,8 +24,6 @@ Page alarm
vis bt_bypass,0 vis bt_bypass,0
} }
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Variable (string) lastclick Variable (string) lastclick

View File

@@ -16,8 +16,6 @@ Page boot
covx baud,baud_rate.txt,0,0 covx baud,baud_rate.txt,0,0
baud_rate.txt+=" bps" baud_rate.txt+=" bps"
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Page Exit Event Page Exit Event
@@ -103,7 +101,7 @@ Text tft_version
Dragging : 0 Dragging : 0
Send Component ID : on press and release Send Component ID : on press and release
Associated Keyboard: none Associated Keyboard: none
Text : 4.3dev3 Text : 4.3.0b2
Max. Text Size : 9 Max. Text Size : 9
Text esph_version Text esph_version

View File

@@ -35,8 +35,6 @@ Page buttonpage01
} }
vis page_index,1 vis page_index,1
} }
Postinitialize Event
sendme sendme
Variable (string) lastclick Variable (string) lastclick

View File

@@ -35,8 +35,6 @@ Page buttonpage02
} }
vis page_index,1 vis page_index,1
} }
Postinitialize Event
sendme sendme
Variable (string) lastclick Variable (string) lastclick

View File

@@ -35,8 +35,6 @@ Page buttonpage03
} }
vis page_index,1 vis page_index,1
} }
Postinitialize Event
sendme sendme
Variable (string) lastclick Variable (string) lastclick

View File

@@ -35,8 +35,6 @@ Page buttonpage04
page_index.txt+="●" page_index.txt+="●"
vis page_index,1 vis page_index,1
} }
Postinitialize Event
sendme sendme
Variable (string) lastclick Variable (string) lastclick

View File

@@ -33,8 +33,6 @@ Page climate
page home page home
} }
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Page Exit Event Page Exit Event

View File

@@ -17,8 +17,6 @@ Page confirm
page home page home
} }
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Variable (int32) page_id Variable (int32) page_id

View File

@@ -17,8 +17,6 @@ Page cover
page home page home
} }
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Variable (string) va1 Variable (string) va1

View File

@@ -30,8 +30,6 @@ Page entitypage01
{ {
page_index.txt+="â—‹" page_index.txt+="â—‹"
} }
Postinitialize Event
sendme sendme
Text value01_label Text value01_label

View File

@@ -30,8 +30,6 @@ Page entitypage02
{ {
page_index.txt+="â—‹" page_index.txt+="â—‹"
} }
Postinitialize Event
sendme sendme
Text value01_label Text value01_label

View File

@@ -30,8 +30,6 @@ Page entitypage03
{ {
page_index.txt+="â—‹" page_index.txt+="â—‹"
} }
Postinitialize Event
sendme sendme
Text value01_label Text value01_label

View File

@@ -30,8 +30,6 @@ Page entitypage04
page_index.txt+="â—‹" page_index.txt+="â—‹"
} }
page_index.txt+="●" page_index.txt+="●"
Postinitialize Event
sendme sendme
Text value01_label Text value01_label

View File

@@ -18,8 +18,6 @@ Page fan
} }
vis unavailable,0 vis unavailable,0
vis bt_oscillate,0 vis bt_oscillate,0
Postinitialize Event
sendme sendme
Variable (string) fansetting Variable (string) fansetting

View File

@@ -13,6 +13,10 @@ Page home
Events Events
Preinitialize Event Preinitialize Event
back_page_id=0 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) if(is_entitypage01>0||is_entitypage02>0||is_entitypage03>0||is_entitypage04>0)
{ {
vis bt_entities,1 vis bt_entities,1
@@ -20,8 +24,6 @@ Page home
{ {
vis bt_entities,0 vis bt_entities,0
} }
vis bt_notific,is_notification
vis bt_qrcode,is_qrcode
vis bt_utilities,is_utilities vis bt_utilities,is_utilities
if(display_mode==3) if(display_mode==3)
{ {
@@ -29,8 +31,6 @@ Page home
vis right_bt_text,0 vis right_bt_text,0
} }
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Variable (string) lastclick Variable (string) lastclick
@@ -250,7 +250,7 @@ Text value01_icon
Text : Text :
Max. Text Size : 3 Max. Text Size : 3
Text value03 Text value04
Attributes Attributes
ID : 22 ID : 22
Scope : global Scope : global
@@ -260,7 +260,7 @@ Text value03
Text : Text :
Max. Text Size : 10 Max. Text Size : 10
Text value03_icon Text value04_icon
Attributes Attributes
ID : 23 ID : 23
Scope : global Scope : global
@@ -355,7 +355,10 @@ Text bt_qrcode
Events Events
Touch Release Event Touch Release Event
page qrcode if(qrcode.qrcode_value.txt!="")
{
page qrcode
}
Text bt_entities Text bt_entities
Attributes Attributes
@@ -629,6 +632,26 @@ Text bt_utilities
page 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 Picture weather
Attributes Attributes
ID : 7 ID : 7

View File

@@ -17,8 +17,6 @@ Page keyb_num
page page_id.val page page_id.val
} }
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Variable (int32) page_id Variable (int32) page_id

View File

@@ -37,8 +37,6 @@ Page light
vis color_button,0 vis color_button,0
} }
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Variable (int32) rgb565 Variable (int32) rgb565

View File

@@ -17,8 +17,6 @@ Page media_player
page home page home
} }
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Variable (string) lastclick Variable (string) lastclick

View File

@@ -17,8 +17,6 @@ Page notification
page home page home
} }
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Variable (string) lastclick Variable (string) lastclick

View File

@@ -13,8 +13,6 @@ Page qrcode
Events Events
Preinitialize Event Preinitialize Event
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Text qrcode_label Text qrcode_label

View File

@@ -15,8 +15,6 @@ Page screensaver
vis text,0 vis text,0
dim=brightness_sleep dim=brightness_sleep
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Touch Release Event Touch Release Event

View File

@@ -19,8 +19,6 @@ Page settings
vis lbl_sleep,0 vis lbl_sleep,0
vis bt_sleep,0 vis bt_sleep,0
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Text bright_text Text bright_text

View File

@@ -20,8 +20,6 @@ Page utilities
vis title_icon,1 vis title_icon,1
vis title,1 vis title,1
vis button_back,1 vis button_back,1
Postinitialize Event
sendme sendme
Variable (int32) line_main_d Variable (int32) line_main_d

View File

@@ -17,8 +17,6 @@ Page weather01
page home page home
} }
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Text day Text day

View File

@@ -17,8 +17,6 @@ Page weather02
page home page home
} }
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Text day Text day

View File

@@ -17,8 +17,6 @@ Page weather03
page home page home
} }
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Text day Text day

View File

@@ -17,8 +17,6 @@ Page weather04
page home page home
} }
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Text day Text day

View File

@@ -17,8 +17,6 @@ Page weather05
page home page home
} }
vis unavailable,0 vis unavailable,0
Postinitialize Event
sendme sendme
Text day Text day

Some files were not shown because too many files have changed in this diff Show More