@Kgooi#cpRRDr{UT2L-c&*HSR9u
G;^qxawQ+6$
delta 269
zcmWl|*Df7k007|NC`D_uC{=2!y=#x!d+&9e+N00l;!AoX9!4Y*p5?@2xb^#z@8E^uziIPMl`yfTCkJ6;e@X2SHvSiEg#aFrV
(Q%EzX5}W4Etlms4?RvOqw!n#;iH>7A#t_Y{jZI>o#oK
zvTet%J^KzGqPOwHSj+#rcr-i=W8vTMC_D~N!qf09JP$9z%kb*)E`I&*Ia2fT8hHZ*
CPHuAm
diff --git a/nspanel_us_land_code/boot.txt b/nspanel_us_land_code/boot.txt
index b75e5b6..bf02617 100644
--- a/nspanel_us_land_code/boot.txt
+++ b/nspanel_us_land_code/boot.txt
@@ -142,7 +142,7 @@ Text tft_version
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
- Text : 4.1b1
+ Text : 4.1
Max. Text Size : 9
Text esph_version
From e68d542ad2844a110c8ba4ec42f3bcbb0c32dafd Mon Sep 17 00:00:00 2001
From: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Date: Sun, 12 Nov 2023 09:53:56 +0100
Subject: [PATCH 11/17] Remove build tests on beta environment
---
.github/workflows/validate_esphome.yml | 41 ---------------------
.github/workflows/validate_esphome_beta.yml | 1 +
2 files changed, 1 insertion(+), 41 deletions(-)
diff --git a/.github/workflows/validate_esphome.yml b/.github/workflows/validate_esphome.yml
index f76c020..984f6a8 100644
--- a/.github/workflows/validate_esphome.yml
+++ b/.github/workflows/validate_esphome.yml
@@ -103,47 +103,6 @@ jobs:
with:
yaml_file: "./.test/esphome_advanced_climate_cool_esp_idf.yaml"
- build_core_beta:
- name: Beta - Core
- runs-on: "ubuntu-latest"
- needs:
- - build_core
- steps:
- - uses: actions/checkout@v4.1.0
- - name: Build core
- uses: esphome/build-action@v1.8.0
- with:
- yaml_file: "./.test/esphome_core.yaml"
- version: beta
-
- build_climate_heat_advanced_beta:
- name: Beta - Advanced+climate (heat)
- runs-on: "ubuntu-latest"
- needs:
- - build_core_beta
- - build_climate_heat_advanced
- steps:
- - uses: actions/checkout@v4.1.0
- - name: Build core+advanced+climate_heat
- uses: esphome/build-action@v1.8.0
- with:
- yaml_file: "./.test/esphome_advanced_climate_heat.yaml"
- version: beta
-
- build_climate_cool_advanced_esp_idf_beta:
- name: Beta - esp-idf & Bluetooth proxy
- runs-on: "ubuntu-latest"
- needs:
- - build_core_beta
- - build_climate_cool_advanced_esp_idf
- steps:
- - uses: actions/checkout@v4.1.0
- - name: Build core+advanced+climate_cool+esp_idf
- uses: esphome/build-action@v1.8.0
- with:
- yaml_file: "./.test/esphome_advanced_climate_cool_esp_idf.yaml"
- version: beta
-
#build_climate_cool_advanced_esp_idf5:
# name: esp-idf v5 & Bluetooth proxy
# runs-on: "ubuntu-latest"
diff --git a/.github/workflows/validate_esphome_beta.yml b/.github/workflows/validate_esphome_beta.yml
index cdab127..eab393f 100644
--- a/.github/workflows/validate_esphome_beta.yml
+++ b/.github/workflows/validate_esphome_beta.yml
@@ -121,3 +121,4 @@ jobs:
# uses: esphome/build-action@v1.8.0
# with:
# yaml_file: "./.test/esphome_advanced_climate_cool_esp_idf5.yaml"
+ # version: beta
From 0578c961a1cf4c49067d5f4a2fe9a4992147719e Mon Sep 17 00:00:00 2001
From: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Date: Tue, 14 Nov 2023 07:10:00 +0100
Subject: [PATCH 12/17] Update README.md
---
README.md | 165 ++++++++++++++++++++++++++++--------------------------
1 file changed, 86 insertions(+), 79 deletions(-)
diff --git a/README.md b/README.md
index 902f918..d7e5cfd 100644
--- a/README.md
+++ b/README.md
@@ -1,81 +1,40 @@
+*Are you happy with our version for NSPanel? Please consider supporting us with a donation.*
+
[](https://www.paypal.com/donate/?hosted_button_id=S974SWQMB8PB2)[](https://my.home-assistant.io/redirect/blueprint_import/?blueprint_url=https%3A%2F%2Fgithub.com%2FBlackymas%2FNSPanel_HA_Blueprint%2Fblob%2Fmain%2Fnspanel_blueprint.yaml)
+
+[](https://github.com/Blackymas/NSPanel_HA_Blueprint/actions/workflows/validate_esphome.yml)
+[](https://github.com/Blackymas/NSPanel_HA_Blueprint/actions/workflows/validate_esphome_beta.yml)
+
# NSPanel Custom with HA Blueprint
-*You use our NSPanel version and are satisfied with it? Then we would be very happy about a donation to support our project.*
+This innovative solution is designed to revolutionize how you interact with your Sonoff NSPanel. Our goal? To make the customization of your NSPanel seamless, intuitive, and completely code-free!
-[](https://www.paypal.com/donate/?hosted_button_id=S974SWQMB8PB2)
+## Table of Contents
+1. [Project Highlights](#-project-highlights)
+2. [Documentation & Resources](#-documentation--resources)
+3. [Features](#-features)
+4. [Pages Overview](#-pages-overview)
+5. [Contributing](#-contributing)
+6. [Community & Support](#-community--support)
+7. [Acknowledgements](#-acknowledgements)
+8. [Donations](#-donations)
-[](https://my.home-assistant.io/redirect/blueprint_import/?blueprint_url=https%3A%2F%2Fgithub.com%2FBlackymas%2FNSPanel_HA_Blueprint%2Fblob%2Fmain%2Fnspanel_blueprint.yaml)
+## đ Project Highlights
-This project allows you to configure your complete NSPanel via a Blueprint with UI.
-### *That means you don't have to customize any code or change any lines in the code.*
+- **No Coding Required:** Customize your NSPanel without touching a single line of code. It's all about intuitive, user-friendly experiences!
+- **Quick Setup:** Get your NSPanel up and running in minutes with our easy-to-follow graphical interface.
+- **Local Control:** Embrace full local control of your NSPanel, steering clear of cloud dependencies.
+- **Community-Driven:** A project for the users, by the users. Your contributions shape the future of this project!
-So you have a nice graphical interface where you can build your NSPanel.
-And the best thing is, the installation takes only a few minutes.
+## đ Documentation & Resources
-The goal was to create a version that allows everyone to use the NSpanel fully local without having to deal with programming or reading hours of documentation - *AND YES WE DID IT!!!!* ;)
+- **Getting Started:** Dive into our comprehensive [Documentation and Setup Guide](https://github.com/Blackymas/NSPanel_HA_Blueprint/wiki) for detailed instructions.
+- **Video Tutorial:** Prefer visual learning? Check out our [Step-by-Step Setup Video](https://github.com/Blackymas/NSPanel_HA_Blueprint/wiki).
+- **Troubleshooting:** Encounter an issue? Here's how to report it: [WIKI HowTo](https://github.com/Blackymas/NSPanel_HA_Blueprint/wiki).
+- **Feature Requests:** Got ideas? Share them [here](https://github.com/Blackymas/NSPanel_HA_Blueprint/labels/new%20feature%20request).
+- **Project Roadmap:** Curious about what's next? Explore our [Roadmap](https://github.com/Blackymas/NSPanel_HA_Blueprint/labels/roadmap).
-đ Full documentation and installation is available here: [NSPanel Configuration, Setup and HowTo](https://github.com/Blackymas/NSPanel_HA_Blueprint/wiki).
+## đ Features
-đ Step by Step - [Setup Video](https://github.com/Blackymas/NSPanel_HA_Blueprint/wiki)
-
-đ How to create "Issues" when I have a problem: [WIKI HowTo](https://github.com/Blackymas/NSPanel_HA_Blueprint/wiki)
-
-â All Feature Requests can be found here: [All Feature Request](https://github.com/Blackymas/NSPanel_HA_Blueprint/labels/new%20feature%20request)
-
-đ Roadmap can be found here: [Roadmap](https://github.com/Blackymas/NSPanel_HA_Blueprint/labels/roadmap)
-
-đĨ Please move pull request to DEV branch and not to main branch - thanks!
-
-đ WE ARE LOOKING FOR YOU! _**We are always looking for people who would like to support this project. We are looking for help with "programming new features, writing documentation or translating documentation to EN. If you are interested then please contact us :)**_
-
-
-## NSPanel:
-
-
-
-
-
-
-(Home and Button page)
-
-
-
-
-
-(Light settings - Brightness and TEMP Color)
-
-
-
-
-(Light color wheel)
-
-
-
-
-
-(Cover settings and Weather forecast)
-
-
-
-
-
-(NSPanel settings and Boot screen)
-
-
-
-
-
-
-(HA device settings - Temperature correction)
-
-
-## Blueprint:
-
-
-
-
-
-## Features:
- Easy to use and simple configuration via Blueprint - no change in the code is necessary
- 32 buttons on 4 button pages with long press function for settings (more buttons are also possible)
- Button design is automatically generated based on the selected entity
@@ -93,10 +52,13 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
- 2 physical switches with optional fallback mode
- and much more ;)
-
-## Pages
+
+## đ Pages Overview
+
### Home
+
+
- Current weather with button to Weather Forcast page
- Hardware buttons can be freely assigned
- Hardware button label (optional)
@@ -109,6 +71,9 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
### Button Page
+
+
+
- Up to 32 buttons
- 4 Button pages
- Button design is automatically generated based on the selected entity
@@ -121,6 +86,10 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
### Light Settings
+
+
+
+
- Light current state
- Brightness slider
- RGB color wheel
@@ -129,6 +98,8 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
### Cover Settings
+
+
- Open and close cover
- Cover position via slider
- Cover battery value (when available)
@@ -157,6 +128,8 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
### Weather Forecast
+
+
- 5 days weather forecast via swipe (supports most used weather integrations)
- Min and max outside temperatures
- Date
@@ -169,22 +142,56 @@ The goal was to create a version that allows everyone to use the NSpanel fully l
### Display Settings
+
+
- Restart NSPanel
- Display brightness slider
- Display dim brightness slider
+### Boot
+
-
-## Thanks to:
-SmartHome Yourself: https://www.youtube.com/c/SmarthomeyourselfDe_DIY
+## Home Assistant interface
-Masto: https://github.com/masto/NSPanel-Demo-Files
+## Device's page
+
+
-Marcfager: https://github.com/marcfager/nspanel-mf
+## Automation (Blueprint)
+
+
-lovejoy77: https://github.com/lovejoy777/NSpanel
-Hellis81: https://github.com/Hellis81/NS-panel
+## đ Contributing
-sairon: https://github.com/sairon/esphome-nspanel-lovelace-ui
+- **Pull Requests:** Please direct all pull requests to the `DEV` branch, not the `main` branch.
+- **Join Our Team:** We're on the lookout for enthusiasts in programming, documentation, and translation. Interested? Please let us know.
+## đ Community & Support
+
+Join our vibrant community! Whether you're seeking support, wanting to contribute, or just looking to share your NSPanel journey, we're here for you.
+
+- **[Issues & Feature requests](https://github.com/Blackymas/NSPanel_HA_Blueprint/issues)**
+- **[Discussion Forum](https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions)**
+- **[Home Assistant Community](https://community.home-assistant.io/t/sonoff-nspanel-blueprint-configure-your-own-custom-nspanel-easy-via-a-blueprint/500577)**
+
+## đ Acknowledgements
+
+A huge thank you to everyone who has contributed to making this project a reality. Your support, feedback, and contributions have been invaluable.
+
+And special thanks for the other projects which inspired us:
+- Hellis81: https://github.com/Hellis81/NS-panel
+- Jimmyboy83: https://github.com/Jimmyboy83/nspanel
+- joBr99: https://github.com/joBr99/Generate-HASP-Fonts
+- lovejoy77: https://github.com/lovejoy777/NSpanel
+- Marcfager: https://github.com/marcfager/nspanel-mf
+- Masto: https://github.com/masto/NSPanel-Demo-Files
+- sairon: https://github.com/sairon/esphome-nspanel-lovelace-ui
+- SmartHome Yourself: https://www.youtube.com/c/SmarthomeyourselfDe_DIY
+
+
+## đ Donations
+
+Are you happy with our version for NSPanel? Please consider supporting us with a donation.
+
+[](https://www.paypal.com/donate/?hosted_button_id=S974SWQMB8PB2)
From bf9623505489c4ac548f5c16058164640203bc3a Mon Sep 17 00:00:00 2001
From: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Date: Tue, 14 Nov 2023 07:12:25 +0100
Subject: [PATCH 13/17] Update README.md
---
README.md | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index d7e5cfd..efc6c92 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,7 @@
*Are you happy with our version for NSPanel? Please consider supporting us with a donation.*
-
[](https://www.paypal.com/donate/?hosted_button_id=S974SWQMB8PB2)[](https://my.home-assistant.io/redirect/blueprint_import/?blueprint_url=https%3A%2F%2Fgithub.com%2FBlackymas%2FNSPanel_HA_Blueprint%2Fblob%2Fmain%2Fnspanel_blueprint.yaml)
+
[](https://www.paypal.com/donate/?hosted_button_id=S974SWQMB8PB2)
+
+[](https://my.home-assistant.io/redirect/blueprint_import/?blueprint_url=https%3A%2F%2Fgithub.com%2FBlackymas%2FNSPanel_HA_Blueprint%2Fblob%2Fmain%2Fnspanel_blueprint.yaml)
[](https://github.com/Blackymas/NSPanel_HA_Blueprint/actions/workflows/validate_esphome.yml)
[](https://github.com/Blackymas/NSPanel_HA_Blueprint/actions/workflows/validate_esphome_beta.yml)
From 84edfcb8ea2423ac5a6f6b5a7bf204db2f4b3ee7 Mon Sep 17 00:00:00 2001
From: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Date: Tue, 14 Nov 2023 07:26:34 +0100
Subject: [PATCH 14/17] Add `esphome.xxxxx_play_rtttl` back to core
Solves #1262
---
ReleaseNotes.md | 8 ++++++--
nspanel_esphome_advanced.yaml | 11 -----------
nspanel_esphome_core.yaml | 11 ++++++++++-
3 files changed, 16 insertions(+), 14 deletions(-)
diff --git a/ReleaseNotes.md b/ReleaseNotes.md
index 7e78e51..4eea04b 100644
--- a/ReleaseNotes.md
+++ b/ReleaseNotes.md
@@ -40,8 +40,8 @@ Since in this update lots of input to the blueprint changed, we highly recommend
2. The following components are now deprecated:
- Buttons:
- Exit reparse (`button.xxxxx_exit_reparse`) - It shouldn't be necessary with the new TFT upload engine
- - Services:
- - Play rtttl (`esphome.xxxxx_play_rtttl`)
+ - ~~Services:~~
+ - ~~Play rtttl (`esphome.xxxxx_play_rtttl`)~~
- Sensors:
- API uptime
- Device uptime
@@ -85,6 +85,10 @@ packages:
5. Font size for chips
6. Short click to open Climate and Media Player
+- 4.1.1 patch:
+ - Service `esphome.xxxxx_play_rtttl` is back to core package
+
+
## Details of noteworthy changes
diff --git a/nspanel_esphome_advanced.yaml b/nspanel_esphome_advanced.yaml
index 10d1336..dfb2e06 100644
--- a/nspanel_esphome_advanced.yaml
+++ b/nspanel_esphome_advanced.yaml
@@ -7,17 +7,6 @@
##### ATTENTION: This will add advanced elements to the core system and requires the core part. #####
#####################################################################################################
-api:
- services:
- ##### Service to play a rtttl tones #####
- # Example tones : https://codebender.cc/sketch:109888#RTTTL%20Songs.ino
- - service: play_rtttl
- variables:
- song_str: string
- then:
- - rtttl.play:
- rtttl: !lambda 'return song_str;'
-
button:
##### EXIT REPARSE TFT DISPLAY #####
- name: ${device_name} Exit reparse
diff --git a/nspanel_esphome_core.yaml b/nspanel_esphome_core.yaml
index a5bf7ae..9f89019 100644
--- a/nspanel_esphome_core.yaml
+++ b/nspanel_esphome_core.yaml
@@ -7,7 +7,7 @@
substitutions:
##### DON'T CHANGE THIS #####
- version: "4.1"
+ version: "4.1.1"
#############################
##### ESPHOME CONFIGURATION #####
@@ -172,6 +172,15 @@ api:
then:
- lambda: set_component_color->execute(component, foreground, background);
+ ##### Service to play a rtttl tones #####
+ # Example tones : https://codebender.cc/sketch:109888#RTTTL%20Songs.ino
+ - service: play_rtttl
+ variables:
+ song_str: string
+ then:
+ - rtttl.play:
+ rtttl: !lambda 'return song_str;'
+
#### Service to populate the alarm settings page #####
- service: alarm_settings
variables:
From bd14d7aa426e15fdc15dd421fefb48cc795b3ea0 Mon Sep 17 00:00:00 2001
From: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Date: Tue, 14 Nov 2023 07:28:37 +0100
Subject: [PATCH 15/17] Bump version to 4.1.1
---
ReleaseNotes.md | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/ReleaseNotes.md b/ReleaseNotes.md
index 4eea04b..d98d086 100644
--- a/ReleaseNotes.md
+++ b/ReleaseNotes.md
@@ -1,4 +1,4 @@
-# v4.1 - Easier TFT transfer
+# v4.1.1 - Easier TFT transfer
## Support this project
@@ -87,7 +87,7 @@ packages:
- 4.1.1 patch:
- Service `esphome.xxxxx_play_rtttl` is back to core package
-
+
## Details of noteworthy changes
@@ -154,6 +154,7 @@ See here: https://github.com/Blackymas/NSPanel_HA_Blueprint/labels/roadmap
@Floppe
## Previous releases
+- [v4.1 - Easier TFT transfer](https://github.com/Blackymas/NSPanel_HA_Blueprint/releases/tag/v4.1)
- [v4.0.2 - Bug fixes](https://github.com/Blackymas/NSPanel_HA_Blueprint/releases/tag/v4.0.2)
- [v4.0.1 - Bug fixes](https://github.com/Blackymas/NSPanel_HA_Blueprint/releases/tag/v4.0.1)
- [v4.0 - Alarm and Media player pages, Climate add-ons and a more robust panel](https://github.com/Blackymas/NSPanel_HA_Blueprint/releases/tag/v4.0)
From 6025da2850ca9642095214c41f80c2834ffaf135 Mon Sep 17 00:00:00 2001
From: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Date: Tue, 14 Nov 2023 07:38:46 +0100
Subject: [PATCH 16/17] Stop fallback to Home when notification is shown
Solves #1261
---
nspanel_esphome_core.yaml | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/nspanel_esphome_core.yaml b/nspanel_esphome_core.yaml
index 9f89019..0af6c9c 100644
--- a/nspanel_esphome_core.yaml
+++ b/nspanel_esphome_core.yaml
@@ -1548,12 +1548,22 @@ script:
- if:
condition:
- lambda: |-
- return (page != "screensaver" and page != "boot" and page != "home" and timeout >= 1);
+ return (timeout >= 1 and
+ page != "boot" and
+ page != "confirm" and
+ page != "home" and
+ page != "notification" and
+ page != "screensaver");
then:
- delay: !lambda return (timeout *1000);
- lambda: |-
ESP_LOGV("script.timer_page", "Timed out on page: %s", current_page->state.c_str());
- if (current_page->state != "screensaver" and current_page->state != "boot" and current_page->state != "home" and timeout >= 1)
+ if (timeout >= 1 and
+ current_page->state != "boot" and
+ current_page->state != "confirm" and
+ current_page->state != "home" and
+ current_page->state != "notification" and
+ current_page->state != "screensaver")
{
ESP_LOGD("script.timer_page", "Fallback to page Home");
disp1->goto_page("home");
From 36d1ea7a05e11cfb6e498ee340c5f1f494d14df6 Mon Sep 17 00:00:00 2001
From: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Date: Tue, 14 Nov 2023 07:41:08 +0100
Subject: [PATCH 17/17] Stop fallback to Home when Notification or Confirm
shown
---
ReleaseNotes.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/ReleaseNotes.md b/ReleaseNotes.md
index d98d086..4412f45 100644
--- a/ReleaseNotes.md
+++ b/ReleaseNotes.md
@@ -87,6 +87,7 @@ packages:
- 4.1.1 patch:
- Service `esphome.xxxxx_play_rtttl` is back to core package
+ - Stop the fallback to Home page when Notification or Confirm pages are shown