This will rebuild some components on the Home page when the automation settings changes.
This also adds support to mdi:void which will plot empty/blank icon.
Solves #1992
Solves #2018
Solves #2019
Still pending the code on ESPHome to store for when WiFi is out
Pending API doc.
I haven't merged this in another service for now to not break the API, but this should be done for v4.4.0
Solves #2024
This is reverting back from cJson to ArduinoJson as that was adding to memory consumption when webserver was used (quite common), reducing the benefits of a lighter library.
This solves #1928 as the pre-defined color will always be used when defined, and also helps with #1949 as it will prevent sending the color on every change when a pre-defined color is used.
Helps with #1686
- This is deprecating Relay local fallback switches (replaced by globals) to save memory.
- Using reboot timeout from ESPHome instead of custom engine
- Do not change page is already there.
- Use of external components to streamline some repetitive code
- API always transfer colors in RGB array to keep consistency
This will avoid old firmware downloading latest TFT from `main`, as it will instead download it from the tag related to the release.
It will fail with users running testing versions, like v4.2.5dev`, which could be a good thing.
add Dutch/Italian date format,
Germany and Poland use a . where the Netherlands and Italian use a -
both including leading 0
Maybe making it completely variable would be better, but I'm not sure it's user friently enough.
This was preventing the rendering of other elements on Home page until those elements gets an update on it's statuses.
This change also add a input for default icon fallback colors for `on` and `off` states.
Solves #1624
The mappings used are the same as HA frontend.
This should work wherever the anchor `variable_entity` is called - i.e. button pages, entity pages, home buttons, home status bar, home sensors,
Need to confirm that this confirguration is the same for EU and US Landscape - it may be that the Nextion HMI is different for US Portrait because of rotation.
This allow to set the upper and lower set point for the embedded thermostat heater. The naming was taken from the HA generic thermostat, i.e. `cold_tolerance` and `hot_tolerance`
Rebuilt again, now based on the ESPHome's Nextion component instead of local code.
Still not there yet, specially when Lovelace UI tft is installed, but hopefully this solves #1383 and solves #1491.
This implements a watchdog script with complementing the scripts `on_setup` and `refresh_wifi_icon` to be checking the components every minute and taking proper actions (when possible).
Solves #1464
Solves #1358
It might be a bit slower to change between button pages now, as the blueprint checks for the page before sending to ESPHome and this one also checks before sending to Nextion, but it reduces a lot the chances of `Nextion reported variable name invalid!` and broken buttons on quick page changes.
when localfallback is enabled,
and the switch is turned off
relay_1-> state = off(false)
so the action won't be applied and it takes a second for the HA automation to update the icon.
so this check should not be here, it should only for fallback and then choose 1/0 based on the state.
remark(I cannot test off to on atm as my custom change then opens the detail page, but I have no reason to think this won't work)
Restart with hw button 10s hold - Helps with #1224
Restart Nextion if not connected to ESPHome after 30s - Helps with #1224
Prepare for future support to 921600bps
Still a bit buggy, but this is probably the first working version of an esp-idf upload TFT to be published.
I will work more on this, but wanna have this commit as a reference.
Currently, many triggers will start the automation and then later if a condition is not true (like a page is not visible) the automation won't be doing anything. However, each of those "false" executions will generate an entry at Logbook, which might get spammed for large systems.
Probably solves #1205
Probably helps with #1203
This also reduce the date update from every minute to every hour and handle the situation where multiple panels are updated simultaneously in a event of an automation reload, which could cause performance issues for large systems.
The removal of this font reduced the file size with impact to the UI. The reduced file size didn't made a significant impact to the TFT Upload, so reverting this.
Otherwise if someone copy+paste this it will throw this error.
ERROR Error while reading config: Invalid YAML syntax:
mapping values are not allowed here
in "nspanel.yaml", line 25, column 13:
I'm removing this at it is getting too complex and will require github tokens to copy the build files. Instead I will focus in solving the problems making hard to build.
I haven't decided for `esp-idf` framework yet, but wanna play a bit as it looks to be saving some memory, so I want to prepare the system to support both frameworks (together with `arduino`).
I've removed this font to reduce TFT file size, however we can add this back later by creating a new font with only the icons needed for:
Font 10 (NotoSans-Regular + MDI, h 48):
settings:
bt_reboot
bt_sleep
cover:
cover_open
cover_close
cover_stop
notification:
bt_accept
bt_clear
fan:
button_up
button_down
button_on
button_off
confirm:
bt_accept
bt_clear
* v4.0 - Alarm and Media player pages, Climate add-ons and a more robust panel (#1033)
* Create ReleaseNotes.md (#879)
* Create ReleaseNotes.md
* sensor display precision
* Filter devices to esp32 only (#881)
* Filter devices to esp32 only
Show only ESP32 devices when selecting the panel
* Filtered device list
* Sensor display precision (#880)
Now the values shown in your panel will follow the [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision) provided by Home Assistant.
=> If you have problems with a value exceeding the available space in your panel, please reduce the number of decimals using Home Assistant [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision).
* New language selector (#882)
* New language selector
* Update ReleaseNotes.md
* Update ReleaseNotes.md
* Remove `settings_entity` (#887)
* Remove `settings_entity`
- Bump version to 3.5_dev
- Removed references to pictures removed from TFT
- Removed code related to closing settings pages
- Removed trigger `settings_entity`
* Removed `set_settings_entity` service
- Bump version to 3.5_dev
- Removed `set_settings_entity` service - BREAKING CHANGE
- Removed `settings_entity` text-sensor - BREAKING CHANGE
- Added service `open_entity_settings_page` - BREAKING CHANGE
* Removed `settings_entity`
- Bump version to 3.5_dev
- Removed old climate page (climate_backup)
- Removed pics related to old climate page (ids 16-47, 80-83, 95-96 and 125(US only))
- Enforces brightness on any page change (this allows wake-up on settings page with long press on physical buttons) - Pending removing code from Blueprint
- Added `entity` variable on pages `climate`, `lightsettings` and `coversettings`
- Added `entity` info to `nspanelevent` on pages `climate`, `lightsettings` and `coversettings`
- Added `back_page` variable on pages `climate`, `lightsettings` and `coversettings` (default: home)
- Moving to TFT close page logic on pages `climate`, `lightsettings` and `coversettings` - Pending changes on Blueprint and ESPHome
- Standardized name for `page_label` on pages `climate`, `lightsettings` and `coversettings`
- Standardized settings page names: `climate`, `cover` and `light` (Removed `settings` from page name)
* Removed `settings_entity`
* Removed `settings_entity`
* Removed `settings_entity`
* Move `entity` variable to home page (#889)
* Move `entity` variable to home page
This will enable future development of a fallback climate
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Use `en` as fallback language (#891)
* Use `en` as fallback language
Uses English if a non valid language is selected (like when using legacy language selection).
* Use `en` as fallback language
* Create `nspanel_us_land.tft` (#890)
* Create `nspanel_us_land.tft'
Add `nspanel_us_land.tft' for US panel on landscape mode, fixing the offset on the touch screen when using `nspanel_eu.tft` into a US panel.
Hides the hardware buttons labels, as Nextion cannot support rotated text.
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
solves #390
solves #432
solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4933716
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
* Fix "Button confirmation page not working correctly"
Solves #883
* Supports weather forecast with `datetime` not string
This adds support to weather integrations where the `datetime` field under `forecast` attribute is provided as a `datetime` type.
This was seen on Météo-France, while all other weather integrations tested so far used a `text` field for `datetime`.
This solves #893
* Wifi icon to indicate when API offline
This changes the behavior of Wifi icon:
How it was before:
- Wifi icon was visible only when the wifi was connected, nothing was shown when wifi was not connected.
How it is now:
- Wifi icon will have 3 states:
- Wifi & API connected: Gray wifi icon
- Wifi disconnected: Red wifi-off icon
- Wifi connected, but API disconnected (HA is out?): Red api-off icon
* API status indication on the panel
* Limit light & cover to supported settings (#896)
* Limit light to supported settings
When showing light settings, only the supported features will be shown for each light.
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
This partially solves #635
* Limits covers to supported settings
Only show cover settings when `set_position` is supported.
This solves #635
* Limits covers to supported settings
* Update instructions.md
* Add Fan speed settings page (#897)
* Add Fan speed settings page
Add an initial fan speed control page for fans supporting speed control.
Add speed (%) info in the buttons pages.
Solves #404
Solves #791
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5786106
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Fix name on confirmation page
Fix the entity name on the confirmation page.
The new order is:
1. Name set on the blueprint settings
2. Entity's `friendly_name` attribute
3. Entity's `name` attribute
4. Entity's `entity_id`
Solves #501
* Select wake-up page (#898)
* Select wake-up page
Users will be able to select the wake-up page on the blueprint inputs.
This selected page will be shown after a boot (after the boot page) and with a touch in the screen when on screen saver page.
After showing this wake-up page, all the previous behavior for closing the page (with a click or after a timeout) will be the same.
Solves #576
Solves #612
Solves #801
Probably improves for https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5715670
* Select wake-up page
* Fan update engine
Change the fan update engine to follow the same patter as other settings pages.
* Update ReleaseNotes.md
* Adding vertical bars pics
* Panel offline mode (#900)
* Panel offline mode
Introduces "offline mode" for the panel, which will be used later with a fallback climate.
Pages that are depending on the blueprint (buttons pages, entity pages, settings pages, etc) won't be shown when the API is disconnected.
* Panel offline mode
* Panel offline mode
* Panel offline mode
* Panel offline mode
* "Jump to settings" on tft
Moved "Jump to settings page" routine from ESPHome to TFT in order to reduce complexity.
* Exclude Nextion2Text
Exclude Nextion2Text
* Fix validation issue
* Time engine on ESPHome
* Time engine on ESPHome
* Notification page bigger hotspot
Added hotspots around the buttons (Accept & Clear) on Notification page to make easier to click on those.
Solves #907
* Boot page retry comm
The boot page will retry communication with the blueprint once a minute to avoid the situation where that page is shown until the automation is reloaded.
* Fix call to screen page
Fixes the call to screen page on US panel.
Reconciliate the US landscape model from EU model.
* Fix fan page `button_on`
Fixing rounding on that button.
* Fixed Fan page rounding
* Prevents boot sequence in other pages
* Physical relay local control
We are trying to make your panel as autonomous as possible by moving some of the controls from the Blueprint to ESPHome. This will reduce the load in your network and Home Assistant, but also will make a more reliable system capable to do it's core functionality even when the network is unavailable or Home Assistant is restarting.
With this version, the following engines have been moved to your panel (local control):
- Physical relay control (when hardware left button is connected to relay 1 or right button to relay 2)
Solves #910
* Embedded climate (#917)
* Performance improvements
The main focus here was to reduce the number of calls between Home Assistant and ESPHome, moving logic as much as possible to TFT and ESPHome.
- Service calls moved to ESPHome (in preparation for Alarm Control Panel)
- Page change informed via event call instead of `nspanel_event` sensor (which still in use by other calls, but might be possible to remove in the future)
* Draft embedded climate
This adds an initial version of an embedded climate/thermostat (heating only for now) with support for local control even with Wi-Fi out.
Solves #646
Solves #263
* Update ReleaseNotes.md
* Fix climate slider
Fix for climate slider opening in an incorrect position and sending only the integer part of the new target temperature
* Moving home page to ESPHome
In progress...
* Fix translations - Dutch
* Embedded chip 3
Home page - Chip 3 will be controlled locally when embedded climate is enable.
* Fixed buttons bar
Fixed buttons bar managed on ESPHome when embedded climate is visible.
* Update ReleaseNotes.md
* Services back to the Blueprint
Moving service calls back to the blueprint as latest HA requires user's permissions to call HA services from ESPHome.
This still have to be used for Alarm calls due to security concerns.
* Update ReleaseNotes.md
* support to hidden ssid (#908)
Supports hidden ssid with the use of substitutions `wifi_hidden: "true"`.
This can be breaking change for users with custom/advanced wifi settings.
Solves #906
* Update nspanel_esphome.yaml
* Removed `restore_state`
There is some incomplete work related to alarms on this commit, but the focus here is to fix `restore_state` on ESPHome v2023.7.0.
This solves #939
* US model - Fan page - Redistribute icons
Redistributed icons on Fan page on US model in order to improve usability.
Based on feedback from https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6338706
* Align `nspanel_us_land`
Apply all changes from EU to US_Land
* Fix relays chips
Fix relay status indication on chips.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/926#issuecomment-1627660273
* Fix "invalid variable" for "api"
Fix error "Nextion invalid variable name" when setting `api`.
* Default embedded climate to relay_0
* Fix issue with `restore_state` and ESPHome v2023.7.0 (#941)
Solves #939
* Fix translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6511043
* Fix `set_temperature` for climate
Solves #957
* Fix `fan.turn_off` call
Removed timer call from fan stop button.
This solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6494535
* Call a `fan.turn_off` when percentage is 0%
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6621756
* Fix call for fan stop button
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6622377
* Icons on ESPHome
Move icons from TFT/HMI to ESPHome to prevent error on Nextion2Text.
* Updated translations - Spanish
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6548961
* Make home page sensor's icons consistent
Make icon selection consistent with chips where the entity's icon is used in case a icon is not set in the blueprint settings.
Solves #963
* Updated translations - Slovenian
Based on:
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6665723
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-6665751
* dutch (#974)
* small ducht translations
small ducht translations
* Dutch translations
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Add-on support (#977)
Moved climate settings to an add-on.
Updated documentation.
* Fixed link to addon climate docs
* Fix change brightness when sleeping
Prevents the panel to change screen brightness when sleeping.
Solves #975
* Standardize HA service calls
* Bump version to `4.0 dev`
* Create customization.md
This will reduce the need for:
- #920
- #662
- #833
* Clean-up for customizations
Clean up ESPHome in order to make easier the use of customizations.
* Create Alarm page
* Add page Alarm
* Add Alarm docs
Update docs to reflect the current state (new features & changes)
* Creating "install.md" and update add-ons instructions
* Add Alarm page buttons pics
* Add link to Alarm on page Home
* Create Alarm page
* Alarm button font color
* Add `keyb_num` page
* Alarm Control Panel with PIN (#982)
Implements an Alarm Control Panel page on NSPanel.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/66
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/227
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/672
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4874612
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/64#issuecomment-1566204490
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718
* Fix alarm without pin not working
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/pull/930#issuecomment-1680981977
* Alarm page UI
Fixed close button
Disabled buttons are darker
* Move Entities button to ESPHome
Move logic behind Entities button (Home page) from Blueprint to ESPHome in order to gain performance on creating home page.
* Human readable Uptime (#986)
* Human readable Uptime
* Uptime from Frenck code
* Uptime with Frenck code
* Updated Human Readable Uptime
* Removed trailing spaces
* Renamed sensor to "Last started"
Sensor renamed
Update moved to the boot process
Clean-up
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Co-authored-by: Edward Firmo <edward@costafirmo.com>
* Update alarm icon & color
* Revert `fast_connect` back to `false`
* Extended chars on buttons pages (#988)
Replaces #740
Probably solves #664
Probably solves #738
Probably solves #987
* Removed `fast_connect`
* Support to `code_arm_required`
Only shows the alarm PIN keyboard if a code is required for arming (or when disarming).
* Update alarm icon on home page
Refresh icon when alarm state changes.
* Fix alarm icon not updating on home page
* Home buttons new format - Alarm
Modernise the button Alarm flow on page Home to improve performance.
* Home buttons new format - Entities
Modernise the button "Entities" flow on page Home to improve performance.
* Home buttons new format - QRcode
Modernise the button "QRcode" flow on page Home to improve performance.
* Home buttons new format - Notification
Modernise the button "Notification" flow on page Home to improve performance.
I haven't moved the code from the Blueprint to ESPHome yet, as I will leave this for when we rebuild the Notification flow in the near future (hopefully), so the performance gains may not be perceived now. Just aligning with other buttons format.
* Adding screenshots
* Delete ReleaseNotes.md
Moved to the release
* New entity filter format
This new format was released with HA v2023.4 and the old one will be deprecated soon.
* Fix Alarm page bypass icon
* Bump version to 4.0
* Rename `addon_climate_heat`
* Simplify climate substitutions
* Add support for `addon_climate_cool`
* Removed `${verbose_log}`
Use logger level `VERBOSE` instead
* Fix script call
* Clean up general entities & fallback
Store inputs into variables only when needed.
Removed fallback mode - Replaced by ESPHome local control when the relay is assigned to the button in the blueprint.
* Phase out sensor `nspanel_event` (partially)
This sensor is being replaced by event calls.
* uptime sensors (#998)
* Create ReleaseNotes.md
* Fix Climate page when embedded climate
And also added a lot of logs which should be removed later as it takes from memory.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6835260
* Move brightness control to global var
Clean up page Home
* Alarm page translations - Finnish
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6857262
* Exported pics
* Clean-up TFT
- Removed a bunch of unused pics
- Changed page indicator to new format (which will allow future development to hide unused pages)
- Standardized close button in most pages
* Fixed background pics
- Entities pages
- Weather pages
* Standardize close button
* Add "Alarm" section
* Support to wake-up page on `wake_up_display` service
This changes the behavior of a service introduced by #734.
* Optimize `wake_up_display` service
* Fix icon font sizes 10 and 64
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1701903604
And also remove all the unnecessary `wait_until`
* Fix Settings page element ids
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702109668
* Add translation keys for `settings` page
#1002
* Update settings page when brightness changes on HA
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702149796
* Clean-up page settings
* update docs (#1003)
* updated docs
* Update ReleaseNotes.md
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Clean-up Cover page
I'm preparing this page to have icons changing based on the device_class selected to a cover.
* Clean-up boot delay
* Enable `current_page` sensor by default
Otherwise the system won´t update values unless the page is reloaded.
* Use `current_page` in blueprint conditions
One more step towards the phase out of `nspanelevent`.
* Move `script.refresh_colors` to `service.global_settings`
As this is called from a single point, there's no meaning of having a separated script.
* Fix climate icon update
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891454
* Fix button show on climate page
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891335
* Visual improvements on climate page
- Add friendly name when embedded - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891465
- Make disable icons a bit darker - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6893440
- Add space for page title in EU an US Land versions
- Reset page timer when pressing/releasing on the slider - Partially solves #990
* Don't update values when page home is not visible
To reduce load on Home Assistant and the network
* Cleanup boot sequence
Move some functionalities to ESPHome
* Display internal sensor value when wifi is out
Before it was showing on home page only when API was out. This adds a test for WiFi.
* Fix `default_target_temperature`
It also updates the page home when thermostat status changes (for the chips).
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6897727
* Adding ID to components missing it
* Renamed `wake_up_display` to `wake_up`
* Re-arrange commands list
* Add service `set_component_color`
Deprecates the following services:
- `send_command_font_color`
- `send_command_background_color`
* Fix button pages not showing
* Adjusted time for HW long click
* Fixed buttons on settings page
* Minor adjustments to page climate
And replace font 10 to size 48 (it was 64 since a few days ago).
* Updates to breaking changes list
* Page settings redesign
Clean up the UI of settings page.
Prepare for translations.
* Enable translations of Settings page
* Notification word-wrap
For EU and US_LAND only, for now.
* Notifications page rebuilt
- Notification button processed on ESPHome (as all the info is there)
- Added word-wrap for main text
- Expanded text size
- Handling display mode (used to define the number of chars per line on Notifications)
- Versioning handling - As a consequence of the previous item.
* Word-wrap buttons pages
Taking advantage of the algorithm created for notifications.
* Word-wrap for Alarm page
* Version mismatch notication
* Fix ESPHome not starting with older TFT
* Rebuilt home page status bar update
* Updated translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-6926846
Thanks @MaiPiu
* Fix `Nextion reported variable name invalid!`
* Fix `Nextion variable invalid`
* Handle `embedded_indoor_temperature`
Internal temperature display will be handled locally (ESPHome) when no other sensor is selected.
* Review temperature correction engine
* Fix display climate chip
* update `temp_nspanel` when correction changes
* Fix `Fan` page not open with long press HW button
Solves #1007
* Minor adjustments on settings page
* version 4.0 ready for release
* Clean-up docs
* Improve version notification
* Disable restore `notification_unread`
This must be changed to a binary sensor in the future.
* Beta v4.0 (#1012)
* Create ReleaseNotes.md (#879)
* Create ReleaseNotes.md
* sensor display precision
* Filter devices to esp32 only (#881)
* Filter devices to esp32 only
Show only ESP32 devices when selecting the panel
* Filtered device list
* Sensor display precision (#880)
Now the values shown in your panel will follow the [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision) provided by Home Assistant.
=> If you have problems with a value exceeding the available space in your panel, please reduce the number of decimals using Home Assistant [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision).
* New language selector (#882)
* New language selector
* Update ReleaseNotes.md
* Update ReleaseNotes.md
* Remove `settings_entity` (#887)
* Remove `settings_entity`
- Bump version to 3.5_dev
- Removed references to pictures removed from TFT
- Removed code related to closing settings pages
- Removed trigger `settings_entity`
* Removed `set_settings_entity` service
- Bump version to 3.5_dev
- Removed `set_settings_entity` service - BREAKING CHANGE
- Removed `settings_entity` text-sensor - BREAKING CHANGE
- Added service `open_entity_settings_page` - BREAKING CHANGE
* Removed `settings_entity`
- Bump version to 3.5_dev
- Removed old climate page (climate_backup)
- Removed pics related to old climate page (ids 16-47, 80-83, 95-96 and 125(US only))
- Enforces brightness on any page change (this allows wake-up on settings page with long press on physical buttons) - Pending removing code from Blueprint
- Added `entity` variable on pages `climate`, `lightsettings` and `coversettings`
- Added `entity` info to `nspanelevent` on pages `climate`, `lightsettings` and `coversettings`
- Added `back_page` variable on pages `climate`, `lightsettings` and `coversettings` (default: home)
- Moving to TFT close page logic on pages `climate`, `lightsettings` and `coversettings` - Pending changes on Blueprint and ESPHome
- Standardized name for `page_label` on pages `climate`, `lightsettings` and `coversettings`
- Standardized settings page names: `climate`, `cover` and `light` (Removed `settings` from page name)
* Removed `settings_entity`
* Removed `settings_entity`
* Removed `settings_entity`
* Move `entity` variable to home page (#889)
* Move `entity` variable to home page
This will enable future development of a fallback climate
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Use `en` as fallback language (#891)
* Use `en` as fallback language
Uses English if a non valid language is selected (like when using legacy language selection).
* Use `en` as fallback language
* Create `nspanel_us_land.tft` (#890)
* Create `nspanel_us_land.tft'
Add `nspanel_us_land.tft' for US panel on landscape mode, fixing the offset on the touch screen when using `nspanel_eu.tft` into a US panel.
Hides the hardware buttons labels, as Nextion cannot support rotated text.
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
solves #390
solves #432
solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4933716
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
* Fix "Button confirmation page not working correctly"
Solves #883
* Supports weather forecast with `datetime` not string
This adds support to weather integrations where the `datetime` field under `forecast` attribute is provided as a `datetime` type.
This was seen on Météo-France, while all other weather integrations tested so far used a `text` field for `datetime`.
This solves #893
* Wifi icon to indicate when API offline
This changes the behavior of Wifi icon:
How it was before:
- Wifi icon was visible only when the wifi was connected, nothing was shown when wifi was not connected.
How it is now:
- Wifi icon will have 3 states:
- Wifi & API connected: Gray wifi icon
- Wifi disconnected: Red wifi-off icon
- Wifi connected, but API disconnected (HA is out?): Red api-off icon
* API status indication on the panel
* Limit light & cover to supported settings (#896)
* Limit light to supported settings
When showing light settings, only the supported features will be shown for each light.
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
This partially solves #635
* Limits covers to supported settings
Only show cover settings when `set_position` is supported.
This solves #635
* Limits covers to supported settings
* Update instructions.md
* Add Fan speed settings page (#897)
* Add Fan speed settings page
Add an initial fan speed control page for fans supporting speed control.
Add speed (%) info in the buttons pages.
Solves #404
Solves #791
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5786106
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Fix name on confirmation page
Fix the entity name on the confirmation page.
The new order is:
1. Name set on the blueprint settings
2. Entity's `friendly_name` attribute
3. Entity's `name` attribute
4. Entity's `entity_id`
Solves #501
* Select wake-up page (#898)
* Select wake-up page
Users will be able to select the wake-up page on the blueprint inputs.
This selected page will be shown after a boot (after the boot page) and with a touch in the screen when on screen saver page.
After showing this wake-up page, all the previous behavior for closing the page (with a click or after a timeout) will be the same.
Solves #576
Solves #612
Solves #801
Probably improves for https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5715670
* Select wake-up page
* Fan update engine
Change the fan update engine to follow the same patter as other settings pages.
* Update ReleaseNotes.md
* Adding vertical bars pics
* Panel offline mode (#900)
* Panel offline mode
Introduces "offline mode" for the panel, which will be used later with a fallback climate.
Pages that are depending on the blueprint (buttons pages, entity pages, settings pages, etc) won't be shown when the API is disconnected.
* Panel offline mode
* Panel offline mode
* Panel offline mode
* Panel offline mode
* "Jump to settings" on tft
Moved "Jump to settings page" routine from ESPHome to TFT in order to reduce complexity.
* Exclude Nextion2Text
Exclude Nextion2Text
* Fix validation issue
* Time engine on ESPHome
* Time engine on ESPHome
* Notification page bigger hotspot
Added hotspots around the buttons (Accept & Clear) on Notification page to make easier to click on those.
Solves #907
* Boot page retry comm
The boot page will retry communication with the blueprint once a minute to avoid the situation where that page is shown until the automation is reloaded.
* Fix call to screen page
Fixes the call to screen page on US panel.
Reconciliate the US landscape model from EU model.
* Fix fan page `button_on`
Fixing rounding on that button.
* Fixed Fan page rounding
* Prevents boot sequence in other pages
* Physical relay local control
We are trying to make your panel as autonomous as possible by moving some of the controls from the Blueprint to ESPHome. This will reduce the load in your network and Home Assistant, but also will make a more reliable system capable to do it's core functionality even when the network is unavailable or Home Assistant is restarting.
With this version, the following engines have been moved to your panel (local control):
- Physical relay control (when hardware left button is connected to relay 1 or right button to relay 2)
Solves #910
* Embedded climate (#917)
* Performance improvements
The main focus here was to reduce the number of calls between Home Assistant and ESPHome, moving logic as much as possible to TFT and ESPHome.
- Service calls moved to ESPHome (in preparation for Alarm Control Panel)
- Page change informed via event call instead of `nspanel_event` sensor (which still in use by other calls, but might be possible to remove in the future)
* Draft embedded climate
This adds an initial version of an embedded climate/thermostat (heating only for now) with support for local control even with Wi-Fi out.
Solves #646
Solves #263
* Update ReleaseNotes.md
* Fix climate slider
Fix for climate slider opening in an incorrect position and sending only the integer part of the new target temperature
* Moving home page to ESPHome
In progress...
* Fix translations - Dutch
* Embedded chip 3
Home page - Chip 3 will be controlled locally when embedded climate is enable.
* Fixed buttons bar
Fixed buttons bar managed on ESPHome when embedded climate is visible.
* Update ReleaseNotes.md
* Services back to the Blueprint
Moving service calls back to the blueprint as latest HA requires user's permissions to call HA services from ESPHome.
This still have to be used for Alarm calls due to security concerns.
* Update ReleaseNotes.md
* support to hidden ssid (#908)
Supports hidden ssid with the use of substitutions `wifi_hidden: "true"`.
This can be breaking change for users with custom/advanced wifi settings.
Solves #906
* Update nspanel_esphome.yaml
* Removed `restore_state`
There is some incomplete work related to alarms on this commit, but the focus here is to fix `restore_state` on ESPHome v2023.7.0.
This solves #939
* US model - Fan page - Redistribute icons
Redistributed icons on Fan page on US model in order to improve usability.
Based on feedback from https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6338706
* Align `nspanel_us_land`
Apply all changes from EU to US_Land
* Fix relays chips
Fix relay status indication on chips.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/926#issuecomment-1627660273
* Fix "invalid variable" for "api"
Fix error "Nextion invalid variable name" when setting `api`.
* Default embedded climate to relay_0
* Fix translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6511043
* Fix `set_temperature` for climate
Solves #957
* Fix `fan.turn_off` call
Removed timer call from fan stop button.
This solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6494535
* Call a `fan.turn_off` when percentage is 0%
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6621756
* Fix call for fan stop button
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6622377
* Icons on ESPHome
Move icons from TFT/HMI to ESPHome to prevent error on Nextion2Text.
* Updated translations - Spanish
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6548961
* Make home page sensor's icons consistent
Make icon selection consistent with chips where the entity's icon is used in case a icon is not set in the blueprint settings.
Solves #963
* Updated translations - Slovenian
Based on:
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6665723
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-6665751
* dutch (#974)
* small ducht translations
small ducht translations
* Dutch translations
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Add-on support (#977)
Moved climate settings to an add-on.
Updated documentation.
* Fixed link to addon climate docs
* Fix change brightness when sleeping
Prevents the panel to change screen brightness when sleeping.
Solves #975
* Standardize HA service calls
* Bump version to `4.0 dev`
* Create customization.md
This will reduce the need for:
- #920
- #662
- #833
* Clean-up for customizations
Clean up ESPHome in order to make easier the use of customizations.
* Create Alarm page
* Add page Alarm
* Add Alarm docs
Update docs to reflect the current state (new features & changes)
* Creating "install.md" and update add-ons instructions
* Add Alarm page buttons pics
* Add link to Alarm on page Home
* Create Alarm page
* Alarm button font color
* Add `keyb_num` page
* Alarm Control Panel with PIN (#982)
Implements an Alarm Control Panel page on NSPanel.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/66
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/227
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/672
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4874612
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/64#issuecomment-1566204490
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718
* Fix alarm without pin not working
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/pull/930#issuecomment-1680981977
* Alarm page UI
Fixed close button
Disabled buttons are darker
* Move Entities button to ESPHome
Move logic behind Entities button (Home page) from Blueprint to ESPHome in order to gain performance on creating home page.
* Human readable Uptime (#986)
* Human readable Uptime
* Uptime from Frenck code
* Uptime with Frenck code
* Updated Human Readable Uptime
* Removed trailing spaces
* Renamed sensor to "Last started"
Sensor renamed
Update moved to the boot process
Clean-up
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Co-authored-by: Edward Firmo <edward@costafirmo.com>
* Update alarm icon & color
* Revert `fast_connect` back to `false`
* Extended chars on buttons pages (#988)
Replaces #740
Probably solves #664
Probably solves #738
Probably solves #987
* Removed `fast_connect`
* Support to `code_arm_required`
Only shows the alarm PIN keyboard if a code is required for arming (or when disarming).
* Update alarm icon on home page
Refresh icon when alarm state changes.
* Fix alarm icon not updating on home page
* Home buttons new format - Alarm
Modernise the button Alarm flow on page Home to improve performance.
* Home buttons new format - Entities
Modernise the button "Entities" flow on page Home to improve performance.
* Home buttons new format - QRcode
Modernise the button "QRcode" flow on page Home to improve performance.
* Home buttons new format - Notification
Modernise the button "Notification" flow on page Home to improve performance.
I haven't moved the code from the Blueprint to ESPHome yet, as I will leave this for when we rebuild the Notification flow in the near future (hopefully), so the performance gains may not be perceived now. Just aligning with other buttons format.
* Adding screenshots
* Delete ReleaseNotes.md
Moved to the release
* New entity filter format
This new format was released with HA v2023.4 and the old one will be deprecated soon.
* Fix Alarm page bypass icon
* Bump version to 4.0
* Rename `addon_climate_heat`
* Simplify climate substitutions
* Add support for `addon_climate_cool`
* Removed `${verbose_log}`
Use logger level `VERBOSE` instead
* Fix script call
* Clean up general entities & fallback
Store inputs into variables only when needed.
Removed fallback mode - Replaced by ESPHome local control when the relay is assigned to the button in the blueprint.
* Phase out sensor `nspanel_event` (partially)
This sensor is being replaced by event calls.
* uptime sensors (#998)
* Create ReleaseNotes.md
* Fix Climate page when embedded climate
And also added a lot of logs which should be removed later as it takes from memory.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6835260
* Move brightness control to global var
Clean up page Home
* Alarm page translations - Finnish
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6857262
* Exported pics
* Clean-up TFT
- Removed a bunch of unused pics
- Changed page indicator to new format (which will allow future development to hide unused pages)
- Standardized close button in most pages
* Fixed background pics
- Entities pages
- Weather pages
* Standardize close button
* Add "Alarm" section
* Support to wake-up page on `wake_up_display` service
This changes the behavior of a service introduced by #734.
* Optimize `wake_up_display` service
* Fix icon font sizes 10 and 64
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1701903604
And also remove all the unnecessary `wait_until`
* Fix Settings page element ids
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702109668
* Add translation keys for `settings` page
#1002
* Update settings page when brightness changes on HA
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702149796
* Clean-up page settings
* update docs (#1003)
* updated docs
* Update ReleaseNotes.md
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Clean-up Cover page
I'm preparing this page to have icons changing based on the device_class selected to a cover.
* Clean-up boot delay
* Enable `current_page` sensor by default
Otherwise the system won´t update values unless the page is reloaded.
* Use `current_page` in blueprint conditions
One more step towards the phase out of `nspanelevent`.
* Move `script.refresh_colors` to `service.global_settings`
As this is called from a single point, there's no meaning of having a separated script.
* Fix climate icon update
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891454
* Fix button show on climate page
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891335
* Visual improvements on climate page
- Add friendly name when embedded - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891465
- Make disable icons a bit darker - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6893440
- Add space for page title in EU an US Land versions
- Reset page timer when pressing/releasing on the slider - Partially solves #990
* Don't update values when page home is not visible
To reduce load on Home Assistant and the network
* Cleanup boot sequence
Move some functionalities to ESPHome
* Display internal sensor value when wifi is out
Before it was showing on home page only when API was out. This adds a test for WiFi.
* Fix `default_target_temperature`
It also updates the page home when thermostat status changes (for the chips).
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6897727
* Adding ID to components missing it
* Renamed `wake_up_display` to `wake_up`
* Re-arrange commands list
* Add service `set_component_color`
Deprecates the following services:
- `send_command_font_color`
- `send_command_background_color`
* Fix button pages not showing
* Adjusted time for HW long click
* Fixed buttons on settings page
* Minor adjustments to page climate
And replace font 10 to size 48 (it was 64 since a few days ago).
* Updates to breaking changes list
* Page settings redesign
Clean up the UI of settings page.
Prepare for translations.
* Enable translations of Settings page
* Notification word-wrap
For EU and US_LAND only, for now.
* Notifications page rebuilt
- Notification button processed on ESPHome (as all the info is there)
- Added word-wrap for main text
- Expanded text size
- Handling display mode (used to define the number of chars per line on Notifications)
- Versioning handling - As a consequence of the previous item.
* Word-wrap buttons pages
Taking advantage of the algorithm created for notifications.
* Word-wrap for Alarm page
* Version mismatch notication
* Fix ESPHome not starting with older TFT
* Rebuilt home page status bar update
* Updated translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-6926846
Thanks @MaiPiu
* Fix `Nextion reported variable name invalid!`
* Fix `Nextion variable invalid`
* Handle `embedded_indoor_temperature`
Internal temperature display will be handled locally (ESPHome) when no other sensor is selected.
* Review temperature correction engine
* Fix display climate chip
* update `temp_nspanel` when correction changes
* Fix `Fan` page not open with long press HW button
Solves #1007
* Minor adjustments on settings page
* version 4.0 ready for release
* Clean-up docs
---------
Co-authored-by: bkbartk <bartkock@outlook.com>
Co-authored-by: w00zy <WZYProjects+github@gmail.com>
* Fix Fan page button colors when opening
Solves #1017
* Translations (#1023)
* Translations
* Update nspanel_blueprint.yaml
I've changed `brightness` for now as the new design isn't implemented yet, but that string is already in use with the current design.
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Adjustments to settings page
* Fix entity info when calling detailed pages
Solves #1022
* Added `media_player` page (hidden)
* New "Confirm" pop-up
This also removes the sensor "NSPanel Event"
* Fix pages not updating values
Solves #1026
* Media player - Buttons
- Added code to buttons on media_player page.
- Clean-up:
- Moved wake-up select from Blueprint to ESPHome component
- Removed `switch.xxxxx_confirmation_message`
* Fix logging for global_settings
It was logging wakeup_page, which is deprecated
* Improved version notification
* Removed trailing spaces
* Notification for `sensor.xxxxx_current_page` missing
This might be a common issue for users migrating from v3.4 to v3.5.
This information is part of the release notes, but I believe it worth having a guide to support closely any user who miss that in the release notes.
* Simplify `touchevent` engine
The touch event is used only for the sleeping engine (it will be used for dimming later) and it was transferring all the json info with page name, component, entity, etc.
This was replaced by a simple random integer with no meaning other than "the screen was touched, reset the timer".
* Media player first buttons actions
* Fix unknown service: `media_player.null`
* Media Player control
You will be able to add a Media Player entity to any of the buttons pages and with a long press you will see the media player page.
* Remove dimming timer for now
The funcionality isn't completed.
* Home page - Custom buttons
On the blueprint you can now set up to 3 buttons to be shown on Home page.
It will show the detailed settings page, so the entity must be compatible.
* Fix Media player missing parameters
Possibly solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1030#discussioncomment-6984573
* Prevents calls to `media_player.null`
* Remove `entity` info from pages on TFT
Since v3.4, the info about entity_id shown was going all the way to Nextion and then sent back in the json return, however this requires a long (100-char) global var and the way it was implemented, it was one of those per settings page, as climate should be also recorded at the same time in case the embedded climate was installed.
This was taking too much memory, so I've moved this info to a global variable (string) in ESPHome.
There is now lots of space for code cleaning (and still pending to do the same with climate entity, as it could be only a bool to inform if embedded), but this brings the functionality.
This enabled the return to global for some components, so it probably solves #1031
---------
Co-authored-by: bkbartk <bartkock@outlook.com>
Co-authored-by: w00zy <WZYProjects+github@gmail.com>
Co-authored-by: w00zy <52609940+WZYProjects@users.noreply.github.com>
* v4.0 Release Candidate 2 (#1044)
* Create ReleaseNotes.md (#879)
* Create ReleaseNotes.md
* sensor display precision
* Filter devices to esp32 only (#881)
* Filter devices to esp32 only
Show only ESP32 devices when selecting the panel
* Filtered device list
* Sensor display precision (#880)
Now the values shown in your panel will follow the [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision) provided by Home Assistant.
=> If you have problems with a value exceeding the available space in your panel, please reduce the number of decimals using Home Assistant [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision).
* New language selector (#882)
* New language selector
* Update ReleaseNotes.md
* Update ReleaseNotes.md
* Remove `settings_entity` (#887)
* Remove `settings_entity`
- Bump version to 3.5_dev
- Removed references to pictures removed from TFT
- Removed code related to closing settings pages
- Removed trigger `settings_entity`
* Removed `set_settings_entity` service
- Bump version to 3.5_dev
- Removed `set_settings_entity` service - BREAKING CHANGE
- Removed `settings_entity` text-sensor - BREAKING CHANGE
- Added service `open_entity_settings_page` - BREAKING CHANGE
* Removed `settings_entity`
- Bump version to 3.5_dev
- Removed old climate page (climate_backup)
- Removed pics related to old climate page (ids 16-47, 80-83, 95-96 and 125(US only))
- Enforces brightness on any page change (this allows wake-up on settings page with long press on physical buttons) - Pending removing code from Blueprint
- Added `entity` variable on pages `climate`, `lightsettings` and `coversettings`
- Added `entity` info to `nspanelevent` on pages `climate`, `lightsettings` and `coversettings`
- Added `back_page` variable on pages `climate`, `lightsettings` and `coversettings` (default: home)
- Moving to TFT close page logic on pages `climate`, `lightsettings` and `coversettings` - Pending changes on Blueprint and ESPHome
- Standardized name for `page_label` on pages `climate`, `lightsettings` and `coversettings`
- Standardized settings page names: `climate`, `cover` and `light` (Removed `settings` from page name)
* Removed `settings_entity`
* Removed `settings_entity`
* Removed `settings_entity`
* Move `entity` variable to home page (#889)
* Move `entity` variable to home page
This will enable future development of a fallback climate
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Use `en` as fallback language (#891)
* Use `en` as fallback language
Uses English if a non valid language is selected (like when using legacy language selection).
* Use `en` as fallback language
* Create `nspanel_us_land.tft` (#890)
* Create `nspanel_us_land.tft'
Add `nspanel_us_land.tft' for US panel on landscape mode, fixing the offset on the touch screen when using `nspanel_eu.tft` into a US panel.
Hides the hardware buttons labels, as Nextion cannot support rotated text.
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
solves #390
solves #432
solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4933716
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
* Fix "Button confirmation page not working correctly"
Solves #883
* Supports weather forecast with `datetime` not string
This adds support to weather integrations where the `datetime` field under `forecast` attribute is provided as a `datetime` type.
This was seen on Météo-France, while all other weather integrations tested so far used a `text` field for `datetime`.
This solves #893
* Wifi icon to indicate when API offline
This changes the behavior of Wifi icon:
How it was before:
- Wifi icon was visible only when the wifi was connected, nothing was shown when wifi was not connected.
How it is now:
- Wifi icon will have 3 states:
- Wifi & API connected: Gray wifi icon
- Wifi disconnected: Red wifi-off icon
- Wifi connected, but API disconnected (HA is out?): Red api-off icon
* API status indication on the panel
* Limit light & cover to supported settings (#896)
* Limit light to supported settings
When showing light settings, only the supported features will be shown for each light.
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
This partially solves #635
* Limits covers to supported settings
Only show cover settings when `set_position` is supported.
This solves #635
* Limits covers to supported settings
* Update instructions.md
* Add Fan speed settings page (#897)
* Add Fan speed settings page
Add an initial fan speed control page for fans supporting speed control.
Add speed (%) info in the buttons pages.
Solves #404
Solves #791
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5786106
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Fix name on confirmation page
Fix the entity name on the confirmation page.
The new order is:
1. Name set on the blueprint settings
2. Entity's `friendly_name` attribute
3. Entity's `name` attribute
4. Entity's `entity_id`
Solves #501
* Select wake-up page (#898)
* Select wake-up page
Users will be able to select the wake-up page on the blueprint inputs.
This selected page will be shown after a boot (after the boot page) and with a touch in the screen when on screen saver page.
After showing this wake-up page, all the previous behavior for closing the page (with a click or after a timeout) will be the same.
Solves #576
Solves #612
Solves #801
Probably improves for https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5715670
* Select wake-up page
* Fan update engine
Change the fan update engine to follow the same patter as other settings pages.
* Update ReleaseNotes.md
* Adding vertical bars pics
* Panel offline mode (#900)
* Panel offline mode
Introduces "offline mode" for the panel, which will be used later with a fallback climate.
Pages that are depending on the blueprint (buttons pages, entity pages, settings pages, etc) won't be shown when the API is disconnected.
* Panel offline mode
* Panel offline mode
* Panel offline mode
* Panel offline mode
* "Jump to settings" on tft
Moved "Jump to settings page" routine from ESPHome to TFT in order to reduce complexity.
* Exclude Nextion2Text
Exclude Nextion2Text
* Fix validation issue
* Time engine on ESPHome
* Time engine on ESPHome
* Notification page bigger hotspot
Added hotspots around the buttons (Accept & Clear) on Notification page to make easier to click on those.
Solves #907
* Boot page retry comm
The boot page will retry communication with the blueprint once a minute to avoid the situation where that page is shown until the automation is reloaded.
* Fix call to screen page
Fixes the call to screen page on US panel.
Reconciliate the US landscape model from EU model.
* Fix fan page `button_on`
Fixing rounding on that button.
* Fixed Fan page rounding
* Prevents boot sequence in other pages
* Physical relay local control
We are trying to make your panel as autonomous as possible by moving some of the controls from the Blueprint to ESPHome. This will reduce the load in your network and Home Assistant, but also will make a more reliable system capable to do it's core functionality even when the network is unavailable or Home Assistant is restarting.
With this version, the following engines have been moved to your panel (local control):
- Physical relay control (when hardware left button is connected to relay 1 or right button to relay 2)
Solves #910
* Embedded climate (#917)
* Performance improvements
The main focus here was to reduce the number of calls between Home Assistant and ESPHome, moving logic as much as possible to TFT and ESPHome.
- Service calls moved to ESPHome (in preparation for Alarm Control Panel)
- Page change informed via event call instead of `nspanel_event` sensor (which still in use by other calls, but might be possible to remove in the future)
* Draft embedded climate
This adds an initial version of an embedded climate/thermostat (heating only for now) with support for local control even with Wi-Fi out.
Solves #646
Solves #263
* Update ReleaseNotes.md
* Fix climate slider
Fix for climate slider opening in an incorrect position and sending only the integer part of the new target temperature
* Moving home page to ESPHome
In progress...
* Fix translations - Dutch
* Embedded chip 3
Home page - Chip 3 will be controlled locally when embedded climate is enable.
* Fixed buttons bar
Fixed buttons bar managed on ESPHome when embedded climate is visible.
* Update ReleaseNotes.md
* Services back to the Blueprint
Moving service calls back to the blueprint as latest HA requires user's permissions to call HA services from ESPHome.
This still have to be used for Alarm calls due to security concerns.
* Update ReleaseNotes.md
* support to hidden ssid (#908)
Supports hidden ssid with the use of substitutions `wifi_hidden: "true"`.
This can be breaking change for users with custom/advanced wifi settings.
Solves #906
* Update nspanel_esphome.yaml
* Removed `restore_state`
There is some incomplete work related to alarms on this commit, but the focus here is to fix `restore_state` on ESPHome v2023.7.0.
This solves #939
* US model - Fan page - Redistribute icons
Redistributed icons on Fan page on US model in order to improve usability.
Based on feedback from https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6338706
* Align `nspanel_us_land`
Apply all changes from EU to US_Land
* Fix relays chips
Fix relay status indication on chips.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/926#issuecomment-1627660273
* Fix "invalid variable" for "api"
Fix error "Nextion invalid variable name" when setting `api`.
* Default embedded climate to relay_0
* Fix issue with `restore_state` and ESPHome v2023.7.0 (#941)
Solves #939
* Fix translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6511043
* Fix `set_temperature` for climate
Solves #957
* Fix `fan.turn_off` call
Removed timer call from fan stop button.
This solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6494535
* Call a `fan.turn_off` when percentage is 0%
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6621756
* Fix call for fan stop button
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6622377
* Icons on ESPHome
Move icons from TFT/HMI to ESPHome to prevent error on Nextion2Text.
* Updated translations - Spanish
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6548961
* Make home page sensor's icons consistent
Make icon selection consistent with chips where the entity's icon is used in case a icon is not set in the blueprint settings.
Solves #963
* Updated translations - Slovenian
Based on:
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6665723
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-6665751
* dutch (#974)
* small ducht translations
small ducht translations
* Dutch translations
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Add-on support (#977)
Moved climate settings to an add-on.
Updated documentation.
* Fixed link to addon climate docs
* Fix change brightness when sleeping
Prevents the panel to change screen brightness when sleeping.
Solves #975
* Standardize HA service calls
* Bump version to `4.0 dev`
* Create customization.md
This will reduce the need for:
- #920
- #662
- #833
* Clean-up for customizations
Clean up ESPHome in order to make easier the use of customizations.
* Create Alarm page
* Add page Alarm
* Add Alarm docs
Update docs to reflect the current state (new features & changes)
* Creating "install.md" and update add-ons instructions
* Add Alarm page buttons pics
* Add link to Alarm on page Home
* Create Alarm page
* Alarm button font color
* Add `keyb_num` page
* Alarm Control Panel with PIN (#982)
Implements an Alarm Control Panel page on NSPanel.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/66
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/227
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/672
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4874612
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/64#issuecomment-1566204490
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718
* Fix alarm without pin not working
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/pull/930#issuecomment-1680981977
* Alarm page UI
Fixed close button
Disabled buttons are darker
* Move Entities button to ESPHome
Move logic behind Entities button (Home page) from Blueprint to ESPHome in order to gain performance on creating home page.
* Human readable Uptime (#986)
* Human readable Uptime
* Uptime from Frenck code
* Uptime with Frenck code
* Updated Human Readable Uptime
* Removed trailing spaces
* Renamed sensor to "Last started"
Sensor renamed
Update moved to the boot process
Clean-up
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Co-authored-by: Edward Firmo <edward@costafirmo.com>
* Update alarm icon & color
* Revert `fast_connect` back to `false`
* Extended chars on buttons pages (#988)
Replaces #740
Probably solves #664
Probably solves #738
Probably solves #987
* Removed `fast_connect`
* Support to `code_arm_required`
Only shows the alarm PIN keyboard if a code is required for arming (or when disarming).
* Update alarm icon on home page
Refresh icon when alarm state changes.
* Fix alarm icon not updating on home page
* Home buttons new format - Alarm
Modernise the button Alarm flow on page Home to improve performance.
* Home buttons new format - Entities
Modernise the button "Entities" flow on page Home to improve performance.
* Home buttons new format - QRcode
Modernise the button "QRcode" flow on page Home to improve performance.
* Home buttons new format - Notification
Modernise the button "Notification" flow on page Home to improve performance.
I haven't moved the code from the Blueprint to ESPHome yet, as I will leave this for when we rebuild the Notification flow in the near future (hopefully), so the performance gains may not be perceived now. Just aligning with other buttons format.
* Adding screenshots
* Delete ReleaseNotes.md
Moved to the release
* New entity filter format
This new format was released with HA v2023.4 and the old one will be deprecated soon.
* Fix Alarm page bypass icon
* Bump version to 4.0
* Rename `addon_climate_heat`
* Simplify climate substitutions
* Add support for `addon_climate_cool`
* Removed `${verbose_log}`
Use logger level `VERBOSE` instead
* Fix script call
* Clean up general entities & fallback
Store inputs into variables only when needed.
Removed fallback mode - Replaced by ESPHome local control when the relay is assigned to the button in the blueprint.
* Phase out sensor `nspanel_event` (partially)
This sensor is being replaced by event calls.
* uptime sensors (#998)
* Create ReleaseNotes.md
* Fix Climate page when embedded climate
And also added a lot of logs which should be removed later as it takes from memory.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6835260
* Move brightness control to global var
Clean up page Home
* Alarm page translations - Finnish
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6857262
* Exported pics
* Clean-up TFT
- Removed a bunch of unused pics
- Changed page indicator to new format (which will allow future development to hide unused pages)
- Standardized close button in most pages
* Fixed background pics
- Entities pages
- Weather pages
* Standardize close button
* Add "Alarm" section
* Support to wake-up page on `wake_up_display` service
This changes the behavior of a service introduced by #734.
* Optimize `wake_up_display` service
* Fix icon font sizes 10 and 64
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1701903604
And also remove all the unnecessary `wait_until`
* Fix Settings page element ids
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702109668
* Add translation keys for `settings` page
#1002
* Update settings page when brightness changes on HA
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702149796
* Clean-up page settings
* update docs (#1003)
* updated docs
* Update ReleaseNotes.md
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Clean-up Cover page
I'm preparing this page to have icons changing based on the device_class selected to a cover.
* Clean-up boot delay
* Enable `current_page` sensor by default
Otherwise the system won´t update values unless the page is reloaded.
* Use `current_page` in blueprint conditions
One more step towards the phase out of `nspanelevent`.
* Move `script.refresh_colors` to `service.global_settings`
As this is called from a single point, there's no meaning of having a separated script.
* Fix climate icon update
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891454
* Fix button show on climate page
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891335
* Visual improvements on climate page
- Add friendly name when embedded - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891465
- Make disable icons a bit darker - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6893440
- Add space for page title in EU an US Land versions
- Reset page timer when pressing/releasing on the slider - Partially solves #990
* Don't update values when page home is not visible
To reduce load on Home Assistant and the network
* Cleanup boot sequence
Move some functionalities to ESPHome
* Display internal sensor value when wifi is out
Before it was showing on home page only when API was out. This adds a test for WiFi.
* Fix `default_target_temperature`
It also updates the page home when thermostat status changes (for the chips).
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6897727
* Adding ID to components missing it
* Renamed `wake_up_display` to `wake_up`
* Re-arrange commands list
* Add service `set_component_color`
Deprecates the following services:
- `send_command_font_color`
- `send_command_background_color`
* Fix button pages not showing
* Adjusted time for HW long click
* Fixed buttons on settings page
* Minor adjustments to page climate
And replace font 10 to size 48 (it was 64 since a few days ago).
* Updates to breaking changes list
* Page settings redesign
Clean up the UI of settings page.
Prepare for translations.
* Enable translations of Settings page
* Notification word-wrap
For EU and US_LAND only, for now.
* Notifications page rebuilt
- Notification button processed on ESPHome (as all the info is there)
- Added word-wrap for main text
- Expanded text size
- Handling display mode (used to define the number of chars per line on Notifications)
- Versioning handling - As a consequence of the previous item.
* Word-wrap buttons pages
Taking advantage of the algorithm created for notifications.
* Word-wrap for Alarm page
* Version mismatch notication
* Fix ESPHome not starting with older TFT
* Rebuilt home page status bar update
* Updated translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-6926846
Thanks @MaiPiu
* Fix `Nextion reported variable name invalid!`
* Fix `Nextion variable invalid`
* Handle `embedded_indoor_temperature`
Internal temperature display will be handled locally (ESPHome) when no other sensor is selected.
* Review temperature correction engine
* Fix display climate chip
* update `temp_nspanel` when correction changes
* Fix `Fan` page not open with long press HW button
Solves #1007
* Minor adjustments on settings page
* version 4.0 ready for release
* Clean-up docs
* Improve version notification
* Disable restore `notification_unread`
This must be changed to a binary sensor in the future.
* Beta v4.0 (#1012)
* Create ReleaseNotes.md (#879)
* Create ReleaseNotes.md
* sensor display precision
* Filter devices to esp32 only (#881)
* Filter devices to esp32 only
Show only ESP32 devices when selecting the panel
* Filtered device list
* Sensor display precision (#880)
Now the values shown in your panel will follow the [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision) provided by Home Assistant.
=> If you have problems with a value exceeding the available space in your panel, please reduce the number of decimals using Home Assistant [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision).
* New language selector (#882)
* New language selector
* Update ReleaseNotes.md
* Update ReleaseNotes.md
* Remove `settings_entity` (#887)
* Remove `settings_entity`
- Bump version to 3.5_dev
- Removed references to pictures removed from TFT
- Removed code related to closing settings pages
- Removed trigger `settings_entity`
* Removed `set_settings_entity` service
- Bump version to 3.5_dev
- Removed `set_settings_entity` service - BREAKING CHANGE
- Removed `settings_entity` text-sensor - BREAKING CHANGE
- Added service `open_entity_settings_page` - BREAKING CHANGE
* Removed `settings_entity`
- Bump version to 3.5_dev
- Removed old climate page (climate_backup)
- Removed pics related to old climate page (ids 16-47, 80-83, 95-96 and 125(US only))
- Enforces brightness on any page change (this allows wake-up on settings page with long press on physical buttons) - Pending removing code from Blueprint
- Added `entity` variable on pages `climate`, `lightsettings` and `coversettings`
- Added `entity` info to `nspanelevent` on pages `climate`, `lightsettings` and `coversettings`
- Added `back_page` variable on pages `climate`, `lightsettings` and `coversettings` (default: home)
- Moving to TFT close page logic on pages `climate`, `lightsettings` and `coversettings` - Pending changes on Blueprint and ESPHome
- Standardized name for `page_label` on pages `climate`, `lightsettings` and `coversettings`
- Standardized settings page names: `climate`, `cover` and `light` (Removed `settings` from page name)
* Removed `settings_entity`
* Removed `settings_entity`
* Removed `settings_entity`
* Move `entity` variable to home page (#889)
* Move `entity` variable to home page
This will enable future development of a fallback climate
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Use `en` as fallback language (#891)
* Use `en` as fallback language
Uses English if a non valid language is selected (like when using legacy language selection).
* Use `en` as fallback language
* Create `nspanel_us_land.tft` (#890)
* Create `nspanel_us_land.tft'
Add `nspanel_us_land.tft' for US panel on landscape mode, fixing the offset on the touch screen when using `nspanel_eu.tft` into a US panel.
Hides the hardware buttons labels, as Nextion cannot support rotated text.
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
solves #390
solves #432
solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4933716
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
* Fix "Button confirmation page not working correctly"
Solves #883
* Supports weather forecast with `datetime` not string
This adds support to weather integrations where the `datetime` field under `forecast` attribute is provided as a `datetime` type.
This was seen on Météo-France, while all other weather integrations tested so far used a `text` field for `datetime`.
This solves #893
* Wifi icon to indicate when API offline
This changes the behavior of Wifi icon:
How it was before:
- Wifi icon was visible only when the wifi was connected, nothing was shown when wifi was not connected.
How it is now:
- Wifi icon will have 3 states:
- Wifi & API connected: Gray wifi icon
- Wifi disconnected: Red wifi-off icon
- Wifi connected, but API disconnected (HA is out?): Red api-off icon
* API status indication on the panel
* Limit light & cover to supported settings (#896)
* Limit light to supported settings
When showing light settings, only the supported features will be shown for each light.
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
This partially solves #635
* Limits covers to supported settings
Only show cover settings when `set_position` is supported.
This solves #635
* Limits covers to supported settings
* Update instructions.md
* Add Fan speed settings page (#897)
* Add Fan speed settings page
Add an initial fan speed control page for fans supporting speed control.
Add speed (%) info in the buttons pages.
Solves #404
Solves #791
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5786106
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Fix name on confirmation page
Fix the entity name on the confirmation page.
The new order is:
1. Name set on the blueprint settings
2. Entity's `friendly_name` attribute
3. Entity's `name` attribute
4. Entity's `entity_id`
Solves #501
* Select wake-up page (#898)
* Select wake-up page
Users will be able to select the wake-up page on the blueprint inputs.
This selected page will be shown after a boot (after the boot page) and with a touch in the screen when on screen saver page.
After showing this wake-up page, all the previous behavior for closing the page (with a click or after a timeout) will be the same.
Solves #576
Solves #612
Solves #801
Probably improves for https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5715670
* Select wake-up page
* Fan update engine
Change the fan update engine to follow the same patter as other settings pages.
* Update ReleaseNotes.md
* Adding vertical bars pics
* Panel offline mode (#900)
* Panel offline mode
Introduces "offline mode" for the panel, which will be used later with a fallback climate.
Pages that are depending on the blueprint (buttons pages, entity pages, settings pages, etc) won't be shown when the API is disconnected.
* Panel offline mode
* Panel offline mode
* Panel offline mode
* Panel offline mode
* "Jump to settings" on tft
Moved "Jump to settings page" routine from ESPHome to TFT in order to reduce complexity.
* Exclude Nextion2Text
Exclude Nextion2Text
* Fix validation issue
* Time engine on ESPHome
* Time engine on ESPHome
* Notification page bigger hotspot
Added hotspots around the buttons (Accept & Clear) on Notification page to make easier to click on those.
Solves #907
* Boot page retry comm
The boot page will retry communication with the blueprint once a minute to avoid the situation where that page is shown until the automation is reloaded.
* Fix call to screen page
Fixes the call to screen page on US panel.
Reconciliate the US landscape model from EU model.
* Fix fan page `button_on`
Fixing rounding on that button.
* Fixed Fan page rounding
* Prevents boot sequence in other pages
* Physical relay local control
We are trying to make your panel as autonomous as possible by moving some of the controls from the Blueprint to ESPHome. This will reduce the load in your network and Home Assistant, but also will make a more reliable system capable to do it's core functionality even when the network is unavailable or Home Assistant is restarting.
With this version, the following engines have been moved to your panel (local control):
- Physical relay control (when hardware left button is connected to relay 1 or right button to relay 2)
Solves #910
* Embedded climate (#917)
* Performance improvements
The main focus here was to reduce the number of calls between Home Assistant and ESPHome, moving logic as much as possible to TFT and ESPHome.
- Service calls moved to ESPHome (in preparation for Alarm Control Panel)
- Page change informed via event call instead of `nspanel_event` sensor (which still in use by other calls, but might be possible to remove in the future)
* Draft embedded climate
This adds an initial version of an embedded climate/thermostat (heating only for now) with support for local control even with Wi-Fi out.
Solves #646
Solves #263
* Update ReleaseNotes.md
* Fix climate slider
Fix for climate slider opening in an incorrect position and sending only the integer part of the new target temperature
* Moving home page to ESPHome
In progress...
* Fix translations - Dutch
* Embedded chip 3
Home page - Chip 3 will be controlled locally when embedded climate is enable.
* Fixed buttons bar
Fixed buttons bar managed on ESPHome when embedded climate is visible.
* Update ReleaseNotes.md
* Services back to the Blueprint
Moving service calls back to the blueprint as latest HA requires user's permissions to call HA services from ESPHome.
This still have to be used for Alarm calls due to security concerns.
* Update ReleaseNotes.md
* support to hidden ssid (#908)
Supports hidden ssid with the use of substitutions `wifi_hidden: "true"`.
This can be breaking change for users with custom/advanced wifi settings.
Solves #906
* Update nspanel_esphome.yaml
* Removed `restore_state`
There is some incomplete work related to alarms on this commit, but the focus here is to fix `restore_state` on ESPHome v2023.7.0.
This solves #939
* US model - Fan page - Redistribute icons
Redistributed icons on Fan page on US model in order to improve usability.
Based on feedback from https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6338706
* Align `nspanel_us_land`
Apply all changes from EU to US_Land
* Fix relays chips
Fix relay status indication on chips.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/926#issuecomment-1627660273
* Fix "invalid variable" for "api"
Fix error "Nextion invalid variable name" when setting `api`.
* Default embedded climate to relay_0
* Fix translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6511043
* Fix `set_temperature` for climate
Solves #957
* Fix `fan.turn_off` call
Removed timer call from fan stop button.
This solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6494535
* Call a `fan.turn_off` when percentage is 0%
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6621756
* Fix call for fan stop button
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6622377
* Icons on ESPHome
Move icons from TFT/HMI to ESPHome to prevent error on Nextion2Text.
* Updated translations - Spanish
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6548961
* Make home page sensor's icons consistent
Make icon selection consistent with chips where the entity's icon is used in case a icon is not set in the blueprint settings.
Solves #963
* Updated translations - Slovenian
Based on:
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6665723
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-6665751
* dutch (#974)
* small ducht translations
small ducht translations
* Dutch translations
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Add-on support (#977)
Moved climate settings to an add-on.
Updated documentation.
* Fixed link to addon climate docs
* Fix change brightness when sleeping
Prevents the panel to change screen brightness when sleeping.
Solves #975
* Standardize HA service calls
* Bump version to `4.0 dev`
* Create customization.md
This will reduce the need for:
- #920
- #662
- #833
* Clean-up for customizations
Clean up ESPHome in order to make easier the use of customizations.
* Create Alarm page
* Add page Alarm
* Add Alarm docs
Update docs to reflect the current state (new features & changes)
* Creating "install.md" and update add-ons instructions
* Add Alarm page buttons pics
* Add link to Alarm on page Home
* Create Alarm page
* Alarm button font color
* Add `keyb_num` page
* Alarm Control Panel with PIN (#982)
Implements an Alarm Control Panel page on NSPanel.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/66
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/227
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/672
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4874612
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/64#issuecomment-1566204490
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718
* Fix alarm without pin not working
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/pull/930#issuecomment-1680981977
* Alarm page UI
Fixed close button
Disabled buttons are darker
* Move Entities button to ESPHome
Move logic behind Entities button (Home page) from Blueprint to ESPHome in order to gain performance on creating home page.
* Human readable Uptime (#986)
* Human readable Uptime
* Uptime from Frenck code
* Uptime with Frenck code
* Updated Human Readable Uptime
* Removed trailing spaces
* Renamed sensor to "Last started"
Sensor renamed
Update moved to the boot process
Clean-up
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Co-authored-by: Edward Firmo <edward@costafirmo.com>
* Update alarm icon & color
* Revert `fast_connect` back to `false`
* Extended chars on buttons pages (#988)
Replaces #740
Probably solves #664
Probably solves #738
Probably solves #987
* Removed `fast_connect`
* Support to `code_arm_required`
Only shows the alarm PIN keyboard if a code is required for arming (or when disarming).
* Update alarm icon on home page
Refresh icon when alarm state changes.
* Fix alarm icon not updating on home page
* Home buttons new format - Alarm
Modernise the button Alarm flow on page Home to improve performance.
* Home buttons new format - Entities
Modernise the button "Entities" flow on page Home to improve performance.
* Home buttons new format - QRcode
Modernise the button "QRcode" flow on page Home to improve performance.
* Home buttons new format - Notification
Modernise the button "Notification" flow on page Home to improve performance.
I haven't moved the code from the Blueprint to ESPHome yet, as I will leave this for when we rebuild the Notification flow in the near future (hopefully), so the performance gains may not be perceived now. Just aligning with other buttons format.
* Adding screenshots
* Delete ReleaseNotes.md
Moved to the release
* New entity filter format
This new format was released with HA v2023.4 and the old one will be deprecated soon.
* Fix Alarm page bypass icon
* Bump version to 4.0
* Rename `addon_climate_heat`
* Simplify climate substitutions
* Add support for `addon_climate_cool`
* Removed `${verbose_log}`
Use logger level `VERBOSE` instead
* Fix script call
* Clean up general entities & fallback
Store inputs into variables only when needed.
Removed fallback mode - Replaced by ESPHome local control when the relay is assigned to the button in the blueprint.
* Phase out sensor `nspanel_event` (partially)
This sensor is being replaced by event calls.
* uptime sensors (#998)
* Create ReleaseNotes.md
* Fix Climate page when embedded climate
And also added a lot of logs which should be removed later as it takes from memory.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6835260
* Move brightness control to global var
Clean up page Home
* Alarm page translations - Finnish
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6857262
* Exported pics
* Clean-up TFT
- Removed a bunch of unused pics
- Changed page indicator to new format (which will allow future development to hide unused pages)
- Standardized close button in most pages
* Fixed background pics
- Entities pages
- Weather pages
* Standardize close button
* Add "Alarm" section
* Support to wake-up page on `wake_up_display` service
This changes the behavior of a service introduced by #734.
* Optimize `wake_up_display` service
* Fix icon font sizes 10 and 64
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1701903604
And also remove all the unnecessary `wait_until`
* Fix Settings page element ids
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702109668
* Add translation keys for `settings` page
#1002
* Update settings page when brightness changes on HA
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702149796
* Clean-up page settings
* update docs (#1003)
* updated docs
* Update ReleaseNotes.md
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Clean-up Cover page
I'm preparing this page to have icons changing based on the device_class selected to a cover.
* Clean-up boot delay
* Enable `current_page` sensor by default
Otherwise the system won´t update values unless the page is reloaded.
* Use `current_page` in blueprint conditions
One more step towards the phase out of `nspanelevent`.
* Move `script.refresh_colors` to `service.global_settings`
As this is called from a single point, there's no meaning of having a separated script.
* Fix climate icon update
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891454
* Fix button show on climate page
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891335
* Visual improvements on climate page
- Add friendly name when embedded - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891465
- Make disable icons a bit darker - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6893440
- Add space for page title in EU an US Land versions
- Reset page timer when pressing/releasing on the slider - Partially solves #990
* Don't update values when page home is not visible
To reduce load on Home Assistant and the network
* Cleanup boot sequence
Move some functionalities to ESPHome
* Display internal sensor value when wifi is out
Before it was showing on home page only when API was out. This adds a test for WiFi.
* Fix `default_target_temperature`
It also updates the page home when thermostat status changes (for the chips).
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6897727
* Adding ID to components missing it
* Renamed `wake_up_display` to `wake_up`
* Re-arrange commands list
* Add service `set_component_color`
Deprecates the following services:
- `send_command_font_color`
- `send_command_background_color`
* Fix button pages not showing
* Adjusted time for HW long click
* Fixed buttons on settings page
* Minor adjustments to page climate
And replace font 10 to size 48 (it was 64 since a few days ago).
* Updates to breaking changes list
* Page settings redesign
Clean up the UI of settings page.
Prepare for translations.
* Enable translations of Settings page
* Notification word-wrap
For EU and US_LAND only, for now.
* Notifications page rebuilt
- Notification button processed on ESPHome (as all the info is there)
- Added word-wrap for main text
- Expanded text size
- Handling display mode (used to define the number of chars per line on Notifications)
- Versioning handling - As a consequence of the previous item.
* Word-wrap buttons pages
Taking advantage of the algorithm created for notifications.
* Word-wrap for Alarm page
* Version mismatch notication
* Fix ESPHome not starting with older TFT
* Rebuilt home page status bar update
* Updated translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-6926846
Thanks @MaiPiu
* Fix `Nextion reported variable name invalid!`
* Fix `Nextion variable invalid`
* Handle `embedded_indoor_temperature`
Internal temperature display will be handled locally (ESPHome) when no other sensor is selected.
* Review temperature correction engine
* Fix display climate chip
* update `temp_nspanel` when correction changes
* Fix `Fan` page not open with long press HW button
Solves #1007
* Minor adjustments on settings page
* version 4.0 ready for release
* Clean-up docs
---------
Co-authored-by: bkbartk <bartkock@outlook.com>
Co-authored-by: w00zy <WZYProjects+github@gmail.com>
* Fix Fan page button colors when opening
Solves #1017
* Translations (#1023)
* Translations
* Update nspanel_blueprint.yaml
I've changed `brightness` for now as the new design isn't implemented yet, but that string is already in use with the current design.
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Adjustments to settings page
* Fix entity info when calling detailed pages
Solves #1022
* Added `media_player` page (hidden)
* New "Confirm" pop-up
This also removes the sensor "NSPanel Event"
* Fix pages not updating values
Solves #1026
* Media player - Buttons
- Added code to buttons on media_player page.
- Clean-up:
- Moved wake-up select from Blueprint to ESPHome component
- Removed `switch.xxxxx_confirmation_message`
* Fix logging for global_settings
It was logging wakeup_page, which is deprecated
* Improved version notification
* Removed trailing spaces
* Notification for `sensor.xxxxx_current_page` missing
This might be a common issue for users migrating from v3.4 to v3.5.
This information is part of the release notes, but I believe it worth having a guide to support closely any user who miss that in the release notes.
* Simplify `touchevent` engine
The touch event is used only for the sleeping engine (it will be used for dimming later) and it was transferring all the json info with page name, component, entity, etc.
This was replaced by a simple random integer with no meaning other than "the screen was touched, reset the timer".
* Media player first buttons actions
* Fix unknown service: `media_player.null`
* Media Player control
You will be able to add a Media Player entity to any of the buttons pages and with a long press you will see the media player page.
* Remove dimming timer for now
The funcionality isn't completed.
* Home page - Custom buttons
On the blueprint you can now set up to 3 buttons to be shown on Home page.
It will show the detailed settings page, so the entity must be compatible.
* Fix Media player missing parameters
Possibly solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1030#discussioncomment-6984573
* Prevents calls to `media_player.null`
* Remove `entity` info from pages on TFT
Since v3.4, the info about entity_id shown was going all the way to Nextion and then sent back in the json return, however this requires a long (100-char) global var and the way it was implemented, it was one of those per settings page, as climate should be also recorded at the same time in case the embedded climate was installed.
This was taking too much memory, so I've moved this info to a global variable (string) in ESPHome.
There is now lots of space for code cleaning (and still pending to do the same with climate entity, as it could be only a bool to inform if embedded), but this brings the functionality.
This enabled the return to global for some components, so it probably solves #1031
* Prototyping `power` page
Thanks @Floppe for doing the design
#838
* Prototyping `power` page
* New sleep flow
* Removed trailing spaces
* Fix empty page climate
* Fix names on button pages
Fix names when a name is not provided in the blueprint settings.
* Fix call to sleep routine when timeout changes
Solves #1037
* Replace `confirm` var on buttons pages
Simpler and saves some memory.
* Clean-up
* Align the code for the 3 timers
* Extend domains supported by home page custom buttons
Based on #1034
* Fix error when btn_label is `None`
* Fix `Variable invalid` on buttons pages
* Fix constructor of Entity pages
* Fallback even when button is assigned to another entity
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/1013#issuecomment-1720107844
* Add inputs for media player refresh time
* Adjustments to Media Player refresh interval default values
* Use panel's events to reset timers
Possibly solves #1040
Possibly solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-7020153
* State based colors to home page custom buttons
* Fix alarm not changing status
Do not clear `entity_id` when opening keyboard page, so the info can be used when sending commands.
Solves #1039
* Missing `nspanel_us.tft`
* add `touchevents` to pages `media_player` and `confirm`
To avoid panel going back to Home page while user is playing with the page.
Solves #1040
* Media player minor layout changes
* Media player - Volume timer & icon size
Volume timer changed from 1000 to 500ms
Icon change from font 9 to 10
* Media player roll back font 9 and timer 1s
* Don't send to Nextion obsolete volume settings
If the volume is the same as the last one sent to the screen, don't send again, so if changes are being made on the screen it didn't receive the update all the time, making the slider unresponsive.
* Media player - Layout improvement
- Removed button "Stop"
- Increase touch area for buttons
- Redistributed buttons on page
* Add touchevents to page climate
Possibly solves #995
* Resolve validation
* Correct playing time based on `updated_at` attribute
* Prepare for when attribute is not available
* Fix attribute `media_position`
* Fix time duration when HA isn't updating position
* Fix climate page not opening when offline
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6834067
* Clean-up release notes
* Clean up code
- Removed commented out lines
- Removed temporary logs
Getting prepared to release
---------
Co-authored-by: bkbartk <bartkock@outlook.com>
Co-authored-by: w00zy <WZYProjects+github@gmail.com>
Co-authored-by: w00zy <52609940+WZYProjects@users.noreply.github.com>
* Bump version to 4.0beta (#1045)
* Create ReleaseNotes.md (#879)
* Create ReleaseNotes.md
* sensor display precision
* Filter devices to esp32 only (#881)
* Filter devices to esp32 only
Show only ESP32 devices when selecting the panel
* Filtered device list
* Sensor display precision (#880)
Now the values shown in your panel will follow the [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision) provided by Home Assistant.
=> If you have problems with a value exceeding the available space in your panel, please reduce the number of decimals using Home Assistant [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision).
* New language selector (#882)
* New language selector
* Update ReleaseNotes.md
* Update ReleaseNotes.md
* Remove `settings_entity` (#887)
* Remove `settings_entity`
- Bump version to 3.5_dev
- Removed references to pictures removed from TFT
- Removed code related to closing settings pages
- Removed trigger `settings_entity`
* Removed `set_settings_entity` service
- Bump version to 3.5_dev
- Removed `set_settings_entity` service - BREAKING CHANGE
- Removed `settings_entity` text-sensor - BREAKING CHANGE
- Added service `open_entity_settings_page` - BREAKING CHANGE
* Removed `settings_entity`
- Bump version to 3.5_dev
- Removed old climate page (climate_backup)
- Removed pics related to old climate page (ids 16-47, 80-83, 95-96 and 125(US only))
- Enforces brightness on any page change (this allows wake-up on settings page with long press on physical buttons) - Pending removing code from Blueprint
- Added `entity` variable on pages `climate`, `lightsettings` and `coversettings`
- Added `entity` info to `nspanelevent` on pages `climate`, `lightsettings` and `coversettings`
- Added `back_page` variable on pages `climate`, `lightsettings` and `coversettings` (default: home)
- Moving to TFT close page logic on pages `climate`, `lightsettings` and `coversettings` - Pending changes on Blueprint and ESPHome
- Standardized name for `page_label` on pages `climate`, `lightsettings` and `coversettings`
- Standardized settings page names: `climate`, `cover` and `light` (Removed `settings` from page name)
* Removed `settings_entity`
* Removed `settings_entity`
* Removed `settings_entity`
* Move `entity` variable to home page (#889)
* Move `entity` variable to home page
This will enable future development of a fallback climate
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Use `en` as fallback language (#891)
* Use `en` as fallback language
Uses English if a non valid language is selected (like when using legacy language selection).
* Use `en` as fallback language
* Create `nspanel_us_land.tft` (#890)
* Create `nspanel_us_land.tft'
Add `nspanel_us_land.tft' for US panel on landscape mode, fixing the offset on the touch screen when using `nspanel_eu.tft` into a US panel.
Hides the hardware buttons labels, as Nextion cannot support rotated text.
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
solves #390
solves #432
solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4933716
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
* Fix "Button confirmation page not working correctly"
Solves #883
* Supports weather forecast with `datetime` not string
This adds support to weather integrations where the `datetime` field under `forecast` attribute is provided as a `datetime` type.
This was seen on Météo-France, while all other weather integrations tested so far used a `text` field for `datetime`.
This solves #893
* Wifi icon to indicate when API offline
This changes the behavior of Wifi icon:
How it was before:
- Wifi icon was visible only when the wifi was connected, nothing was shown when wifi was not connected.
How it is now:
- Wifi icon will have 3 states:
- Wifi & API connected: Gray wifi icon
- Wifi disconnected: Red wifi-off icon
- Wifi connected, but API disconnected (HA is out?): Red api-off icon
* API status indication on the panel
* Limit light & cover to supported settings (#896)
* Limit light to supported settings
When showing light settings, only the supported features will be shown for each light.
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
This partially solves #635
* Limits covers to supported settings
Only show cover settings when `set_position` is supported.
This solves #635
* Limits covers to supported settings
* Update instructions.md
* Add Fan speed settings page (#897)
* Add Fan speed settings page
Add an initial fan speed control page for fans supporting speed control.
Add speed (%) info in the buttons pages.
Solves #404
Solves #791
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5786106
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Fix name on confirmation page
Fix the entity name on the confirmation page.
The new order is:
1. Name set on the blueprint settings
2. Entity's `friendly_name` attribute
3. Entity's `name` attribute
4. Entity's `entity_id`
Solves #501
* Select wake-up page (#898)
* Select wake-up page
Users will be able to select the wake-up page on the blueprint inputs.
This selected page will be shown after a boot (after the boot page) and with a touch in the screen when on screen saver page.
After showing this wake-up page, all the previous behavior for closing the page (with a click or after a timeout) will be the same.
Solves #576
Solves #612
Solves #801
Probably improves for https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5715670
* Select wake-up page
* Fan update engine
Change the fan update engine to follow the same patter as other settings pages.
* Update ReleaseNotes.md
* Adding vertical bars pics
* Panel offline mode (#900)
* Panel offline mode
Introduces "offline mode" for the panel, which will be used later with a fallback climate.
Pages that are depending on the blueprint (buttons pages, entity pages, settings pages, etc) won't be shown when the API is disconnected.
* Panel offline mode
* Panel offline mode
* Panel offline mode
* Panel offline mode
* "Jump to settings" on tft
Moved "Jump to settings page" routine from ESPHome to TFT in order to reduce complexity.
* Exclude Nextion2Text
Exclude Nextion2Text
* Fix validation issue
* Time engine on ESPHome
* Time engine on ESPHome
* Notification page bigger hotspot
Added hotspots around the buttons (Accept & Clear) on Notification page to make easier to click on those.
Solves #907
* Boot page retry comm
The boot page will retry communication with the blueprint once a minute to avoid the situation where that page is shown until the automation is reloaded.
* Fix call to screen page
Fixes the call to screen page on US panel.
Reconciliate the US landscape model from EU model.
* Fix fan page `button_on`
Fixing rounding on that button.
* Fixed Fan page rounding
* Prevents boot sequence in other pages
* Physical relay local control
We are trying to make your panel as autonomous as possible by moving some of the controls from the Blueprint to ESPHome. This will reduce the load in your network and Home Assistant, but also will make a more reliable system capable to do it's core functionality even when the network is unavailable or Home Assistant is restarting.
With this version, the following engines have been moved to your panel (local control):
- Physical relay control (when hardware left button is connected to relay 1 or right button to relay 2)
Solves #910
* Embedded climate (#917)
* Performance improvements
The main focus here was to reduce the number of calls between Home Assistant and ESPHome, moving logic as much as possible to TFT and ESPHome.
- Service calls moved to ESPHome (in preparation for Alarm Control Panel)
- Page change informed via event call instead of `nspanel_event` sensor (which still in use by other calls, but might be possible to remove in the future)
* Draft embedded climate
This adds an initial version of an embedded climate/thermostat (heating only for now) with support for local control even with Wi-Fi out.
Solves #646
Solves #263
* Update ReleaseNotes.md
* Fix climate slider
Fix for climate slider opening in an incorrect position and sending only the integer part of the new target temperature
* Moving home page to ESPHome
In progress...
* Fix translations - Dutch
* Embedded chip 3
Home page - Chip 3 will be controlled locally when embedded climate is enable.
* Fixed buttons bar
Fixed buttons bar managed on ESPHome when embedded climate is visible.
* Update ReleaseNotes.md
* Services back to the Blueprint
Moving service calls back to the blueprint as latest HA requires user's permissions to call HA services from ESPHome.
This still have to be used for Alarm calls due to security concerns.
* Update ReleaseNotes.md
* support to hidden ssid (#908)
Supports hidden ssid with the use of substitutions `wifi_hidden: "true"`.
This can be breaking change for users with custom/advanced wifi settings.
Solves #906
* Update nspanel_esphome.yaml
* Removed `restore_state`
There is some incomplete work related to alarms on this commit, but the focus here is to fix `restore_state` on ESPHome v2023.7.0.
This solves #939
* US model - Fan page - Redistribute icons
Redistributed icons on Fan page on US model in order to improve usability.
Based on feedback from https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6338706
* Align `nspanel_us_land`
Apply all changes from EU to US_Land
* Fix relays chips
Fix relay status indication on chips.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/926#issuecomment-1627660273
* Fix "invalid variable" for "api"
Fix error "Nextion invalid variable name" when setting `api`.
* Default embedded climate to relay_0
* Fix issue with `restore_state` and ESPHome v2023.7.0 (#941)
Solves #939
* Fix translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6511043
* Fix `set_temperature` for climate
Solves #957
* Fix `fan.turn_off` call
Removed timer call from fan stop button.
This solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6494535
* Call a `fan.turn_off` when percentage is 0%
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6621756
* Fix call for fan stop button
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6622377
* Icons on ESPHome
Move icons from TFT/HMI to ESPHome to prevent error on Nextion2Text.
* Updated translations - Spanish
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6548961
* Make home page sensor's icons consistent
Make icon selection consistent with chips where the entity's icon is used in case a icon is not set in the blueprint settings.
Solves #963
* Updated translations - Slovenian
Based on:
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6665723
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-6665751
* dutch (#974)
* small ducht translations
small ducht translations
* Dutch translations
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Add-on support (#977)
Moved climate settings to an add-on.
Updated documentation.
* Fixed link to addon climate docs
* Fix change brightness when sleeping
Prevents the panel to change screen brightness when sleeping.
Solves #975
* Standardize HA service calls
* Bump version to `4.0 dev`
* Create customization.md
This will reduce the need for:
- #920
- #662
- #833
* Clean-up for customizations
Clean up ESPHome in order to make easier the use of customizations.
* Create Alarm page
* Add page Alarm
* Add Alarm docs
Update docs to reflect the current state (new features & changes)
* Creating "install.md" and update add-ons instructions
* Add Alarm page buttons pics
* Add link to Alarm on page Home
* Create Alarm page
* Alarm button font color
* Add `keyb_num` page
* Alarm Control Panel with PIN (#982)
Implements an Alarm Control Panel page on NSPanel.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/66
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/227
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/672
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4874612
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/64#issuecomment-1566204490
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718
* Fix alarm without pin not working
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/pull/930#issuecomment-1680981977
* Alarm page UI
Fixed close button
Disabled buttons are darker
* Move Entities button to ESPHome
Move logic behind Entities button (Home page) from Blueprint to ESPHome in order to gain performance on creating home page.
* Human readable Uptime (#986)
* Human readable Uptime
* Uptime from Frenck code
* Uptime with Frenck code
* Updated Human Readable Uptime
* Removed trailing spaces
* Renamed sensor to "Last started"
Sensor renamed
Update moved to the boot process
Clean-up
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Co-authored-by: Edward Firmo <edward@costafirmo.com>
* Update alarm icon & color
* Revert `fast_connect` back to `false`
* Extended chars on buttons pages (#988)
Replaces #740
Probably solves #664
Probably solves #738
Probably solves #987
* Removed `fast_connect`
* Support to `code_arm_required`
Only shows the alarm PIN keyboard if a code is required for arming (or when disarming).
* Update alarm icon on home page
Refresh icon when alarm state changes.
* Fix alarm icon not updating on home page
* Home buttons new format - Alarm
Modernise the button Alarm flow on page Home to improve performance.
* Home buttons new format - Entities
Modernise the button "Entities" flow on page Home to improve performance.
* Home buttons new format - QRcode
Modernise the button "QRcode" flow on page Home to improve performance.
* Home buttons new format - Notification
Modernise the button "Notification" flow on page Home to improve performance.
I haven't moved the code from the Blueprint to ESPHome yet, as I will leave this for when we rebuild the Notification flow in the near future (hopefully), so the performance gains may not be perceived now. Just aligning with other buttons format.
* Adding screenshots
* Delete ReleaseNotes.md
Moved to the release
* New entity filter format
This new format was released with HA v2023.4 and the old one will be deprecated soon.
* Fix Alarm page bypass icon
* Bump version to 4.0
* Rename `addon_climate_heat`
* Simplify climate substitutions
* Add support for `addon_climate_cool`
* Removed `${verbose_log}`
Use logger level `VERBOSE` instead
* Fix script call
* Clean up general entities & fallback
Store inputs into variables only when needed.
Removed fallback mode - Replaced by ESPHome local control when the relay is assigned to the button in the blueprint.
* Phase out sensor `nspanel_event` (partially)
This sensor is being replaced by event calls.
* uptime sensors (#998)
* Create ReleaseNotes.md
* Fix Climate page when embedded climate
And also added a lot of logs which should be removed later as it takes from memory.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6835260
* Move brightness control to global var
Clean up page Home
* Alarm page translations - Finnish
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6857262
* Exported pics
* Clean-up TFT
- Removed a bunch of unused pics
- Changed page indicator to new format (which will allow future development to hide unused pages)
- Standardized close button in most pages
* Fixed background pics
- Entities pages
- Weather pages
* Standardize close button
* Add "Alarm" section
* Support to wake-up page on `wake_up_display` service
This changes the behavior of a service introduced by #734.
* Optimize `wake_up_display` service
* Fix icon font sizes 10 and 64
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1701903604
And also remove all the unnecessary `wait_until`
* Fix Settings page element ids
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702109668
* Add translation keys for `settings` page
#1002
* Update settings page when brightness changes on HA
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702149796
* Clean-up page settings
* update docs (#1003)
* updated docs
* Update ReleaseNotes.md
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Clean-up Cover page
I'm preparing this page to have icons changing based on the device_class selected to a cover.
* Clean-up boot delay
* Enable `current_page` sensor by default
Otherwise the system won´t update values unless the page is reloaded.
* Use `current_page` in blueprint conditions
One more step towards the phase out of `nspanelevent`.
* Move `script.refresh_colors` to `service.global_settings`
As this is called from a single point, there's no meaning of having a separated script.
* Fix climate icon update
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891454
* Fix button show on climate page
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891335
* Visual improvements on climate page
- Add friendly name when embedded - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891465
- Make disable icons a bit darker - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6893440
- Add space for page title in EU an US Land versions
- Reset page timer when pressing/releasing on the slider - Partially solves #990
* Don't update values when page home is not visible
To reduce load on Home Assistant and the network
* Cleanup boot sequence
Move some functionalities to ESPHome
* Display internal sensor value when wifi is out
Before it was showing on home page only when API was out. This adds a test for WiFi.
* Fix `default_target_temperature`
It also updates the page home when thermostat status changes (for the chips).
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6897727
* Adding ID to components missing it
* Renamed `wake_up_display` to `wake_up`
* Re-arrange commands list
* Add service `set_component_color`
Deprecates the following services:
- `send_command_font_color`
- `send_command_background_color`
* Fix button pages not showing
* Adjusted time for HW long click
* Fixed buttons on settings page
* Minor adjustments to page climate
And replace font 10 to size 48 (it was 64 since a few days ago).
* Updates to breaking changes list
* Page settings redesign
Clean up the UI of settings page.
Prepare for translations.
* Enable translations of Settings page
* Notification word-wrap
For EU and US_LAND only, for now.
* Notifications page rebuilt
- Notification button processed on ESPHome (as all the info is there)
- Added word-wrap for main text
- Expanded text size
- Handling display mode (used to define the number of chars per line on Notifications)
- Versioning handling - As a consequence of the previous item.
* Word-wrap buttons pages
Taking advantage of the algorithm created for notifications.
* Word-wrap for Alarm page
* Version mismatch notication
* Fix ESPHome not starting with older TFT
* Rebuilt home page status bar update
* Updated translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-6926846
Thanks @MaiPiu
* Fix `Nextion reported variable name invalid!`
* Fix `Nextion variable invalid`
* Handle `embedded_indoor_temperature`
Internal temperature display will be handled locally (ESPHome) when no other sensor is selected.
* Review temperature correction engine
* Fix display climate chip
* update `temp_nspanel` when correction changes
* Fix `Fan` page not open with long press HW button
Solves #1007
* Minor adjustments on settings page
* version 4.0 ready for release
* Clean-up docs
* Improve version notification
* Disable restore `notification_unread`
This must be changed to a binary sensor in the future.
* Beta v4.0 (#1012)
* Create ReleaseNotes.md (#879)
* Create ReleaseNotes.md
* sensor display precision
* Filter devices to esp32 only (#881)
* Filter devices to esp32 only
Show only ESP32 devices when selecting the panel
* Filtered device list
* Sensor display precision (#880)
Now the values shown in your panel will follow the [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision) provided by Home Assistant.
=> If you have problems with a value exceeding the available space in your panel, please reduce the number of decimals using Home Assistant [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision).
* New language selector (#882)
* New language selector
* Update ReleaseNotes.md
* Update ReleaseNotes.md
* Remove `settings_entity` (#887)
* Remove `settings_entity`
- Bump version to 3.5_dev
- Removed references to pictures removed from TFT
- Removed code related to closing settings pages
- Removed trigger `settings_entity`
* Removed `set_settings_entity` service
- Bump version to 3.5_dev
- Removed `set_settings_entity` service - BREAKING CHANGE
- Removed `settings_entity` text-sensor - BREAKING CHANGE
- Added service `open_entity_settings_page` - BREAKING CHANGE
* Removed `settings_entity`
- Bump version to 3.5_dev
- Removed old climate page (climate_backup)
- Removed pics related to old climate page (ids 16-47, 80-83, 95-96 and 125(US only))
- Enforces brightness on any page change (this allows wake-up on settings page with long press on physical buttons) - Pending removing code from Blueprint
- Added `entity` variable on pages `climate`, `lightsettings` and `coversettings`
- Added `entity` info to `nspanelevent` on pages `climate`, `lightsettings` and `coversettings`
- Added `back_page` variable on pages `climate`, `lightsettings` and `coversettings` (default: home)
- Moving to TFT close page logic on pages `climate`, `lightsettings` and `coversettings` - Pending changes on Blueprint and ESPHome
- Standardized name for `page_label` on pages `climate`, `lightsettings` and `coversettings`
- Standardized settings page names: `climate`, `cover` and `light` (Removed `settings` from page name)
* Removed `settings_entity`
* Removed `settings_entity`
* Removed `settings_entity`
* Move `entity` variable to home page (#889)
* Move `entity` variable to home page
This will enable future development of a fallback climate
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Use `en` as fallback language (#891)
* Use `en` as fallback language
Uses English if a non valid language is selected (like when using legacy language selection).
* Use `en` as fallback language
* Create `nspanel_us_land.tft` (#890)
* Create `nspanel_us_land.tft'
Add `nspanel_us_land.tft' for US panel on landscape mode, fixing the offset on the touch screen when using `nspanel_eu.tft` into a US panel.
Hides the hardware buttons labels, as Nextion cannot support rotated text.
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
solves #390
solves #432
solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4933716
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
* Fix "Button confirmation page not working correctly"
Solves #883
* Supports weather forecast with `datetime` not string
This adds support to weather integrations where the `datetime` field under `forecast` attribute is provided as a `datetime` type.
This was seen on Météo-France, while all other weather integrations tested so far used a `text` field for `datetime`.
This solves #893
* Wifi icon to indicate when API offline
This changes the behavior of Wifi icon:
How it was before:
- Wifi icon was visible only when the wifi was connected, nothing was shown when wifi was not connected.
How it is now:
- Wifi icon will have 3 states:
- Wifi & API connected: Gray wifi icon
- Wifi disconnected: Red wifi-off icon
- Wifi connected, but API disconnected (HA is out?): Red api-off icon
* API status indication on the panel
* Limit light & cover to supported settings (#896)
* Limit light to supported settings
When showing light settings, only the supported features will be shown for each light.
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
This partially solves #635
* Limits covers to supported settings
Only show cover settings when `set_position` is supported.
This solves #635
* Limits covers to supported settings
* Update instructions.md
* Add Fan speed settings page (#897)
* Add Fan speed settings page
Add an initial fan speed control page for fans supporting speed control.
Add speed (%) info in the buttons pages.
Solves #404
Solves #791
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5786106
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Fix name on confirmation page
Fix the entity name on the confirmation page.
The new order is:
1. Name set on the blueprint settings
2. Entity's `friendly_name` attribute
3. Entity's `name` attribute
4. Entity's `entity_id`
Solves #501
* Select wake-up page (#898)
* Select wake-up page
Users will be able to select the wake-up page on the blueprint inputs.
This selected page will be shown after a boot (after the boot page) and with a touch in the screen when on screen saver page.
After showing this wake-up page, all the previous behavior for closing the page (with a click or after a timeout) will be the same.
Solves #576
Solves #612
Solves #801
Probably improves for https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5715670
* Select wake-up page
* Fan update engine
Change the fan update engine to follow the same patter as other settings pages.
* Update ReleaseNotes.md
* Adding vertical bars pics
* Panel offline mode (#900)
* Panel offline mode
Introduces "offline mode" for the panel, which will be used later with a fallback climate.
Pages that are depending on the blueprint (buttons pages, entity pages, settings pages, etc) won't be shown when the API is disconnected.
* Panel offline mode
* Panel offline mode
* Panel offline mode
* Panel offline mode
* "Jump to settings" on tft
Moved "Jump to settings page" routine from ESPHome to TFT in order to reduce complexity.
* Exclude Nextion2Text
Exclude Nextion2Text
* Fix validation issue
* Time engine on ESPHome
* Time engine on ESPHome
* Notification page bigger hotspot
Added hotspots around the buttons (Accept & Clear) on Notification page to make easier to click on those.
Solves #907
* Boot page retry comm
The boot page will retry communication with the blueprint once a minute to avoid the situation where that page is shown until the automation is reloaded.
* Fix call to screen page
Fixes the call to screen page on US panel.
Reconciliate the US landscape model from EU model.
* Fix fan page `button_on`
Fixing rounding on that button.
* Fixed Fan page rounding
* Prevents boot sequence in other pages
* Physical relay local control
We are trying to make your panel as autonomous as possible by moving some of the controls from the Blueprint to ESPHome. This will reduce the load in your network and Home Assistant, but also will make a more reliable system capable to do it's core functionality even when the network is unavailable or Home Assistant is restarting.
With this version, the following engines have been moved to your panel (local control):
- Physical relay control (when hardware left button is connected to relay 1 or right button to relay 2)
Solves #910
* Embedded climate (#917)
* Performance improvements
The main focus here was to reduce the number of calls between Home Assistant and ESPHome, moving logic as much as possible to TFT and ESPHome.
- Service calls moved to ESPHome (in preparation for Alarm Control Panel)
- Page change informed via event call instead of `nspanel_event` sensor (which still in use by other calls, but might be possible to remove in the future)
* Draft embedded climate
This adds an initial version of an embedded climate/thermostat (heating only for now) with support for local control even with Wi-Fi out.
Solves #646
Solves #263
* Update ReleaseNotes.md
* Fix climate slider
Fix for climate slider opening in an incorrect position and sending only the integer part of the new target temperature
* Moving home page to ESPHome
In progress...
* Fix translations - Dutch
* Embedded chip 3
Home page - Chip 3 will be controlled locally when embedded climate is enable.
* Fixed buttons bar
Fixed buttons bar managed on ESPHome when embedded climate is visible.
* Update ReleaseNotes.md
* Services back to the Blueprint
Moving service calls back to the blueprint as latest HA requires user's permissions to call HA services from ESPHome.
This still have to be used for Alarm calls due to security concerns.
* Update ReleaseNotes.md
* support to hidden ssid (#908)
Supports hidden ssid with the use of substitutions `wifi_hidden: "true"`.
This can be breaking change for users with custom/advanced wifi settings.
Solves #906
* Update nspanel_esphome.yaml
* Removed `restore_state`
There is some incomplete work related to alarms on this commit, but the focus here is to fix `restore_state` on ESPHome v2023.7.0.
This solves #939
* US model - Fan page - Redistribute icons
Redistributed icons on Fan page on US model in order to improve usability.
Based on feedback from https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6338706
* Align `nspanel_us_land`
Apply all changes from EU to US_Land
* Fix relays chips
Fix relay status indication on chips.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/926#issuecomment-1627660273
* Fix "invalid variable" for "api"
Fix error "Nextion invalid variable name" when setting `api`.
* Default embedded climate to relay_0
* Fix translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6511043
* Fix `set_temperature` for climate
Solves #957
* Fix `fan.turn_off` call
Removed timer call from fan stop button.
This solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6494535
* Call a `fan.turn_off` when percentage is 0%
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6621756
* Fix call for fan stop button
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6622377
* Icons on ESPHome
Move icons from TFT/HMI to ESPHome to prevent error on Nextion2Text.
* Updated translations - Spanish
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6548961
* Make home page sensor's icons consistent
Make icon selection consistent with chips where the entity's icon is used in case a icon is not set in the blueprint settings.
Solves #963
* Updated translations - Slovenian
Based on:
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6665723
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-6665751
* dutch (#974)
* small ducht translations
small ducht translations
* Dutch translations
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Add-on support (#977)
Moved climate settings to an add-on.
Updated documentation.
* Fixed link to addon climate docs
* Fix change brightness when sleeping
Prevents the panel to change screen brightness when sleeping.
Solves #975
* Standardize HA service calls
* Bump version to `4.0 dev`
* Create customization.md
This will reduce the need for:
- #920
- #662
- #833
* Clean-up for customizations
Clean up ESPHome in order to make easier the use of customizations.
* Create Alarm page
* Add page Alarm
* Add Alarm docs
Update docs to reflect the current state (new features & changes)
* Creating "install.md" and update add-ons instructions
* Add Alarm page buttons pics
* Add link to Alarm on page Home
* Create Alarm page
* Alarm button font color
* Add `keyb_num` page
* Alarm Control Panel with PIN (#982)
Implements an Alarm Control Panel page on NSPanel.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/66
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/227
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/672
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4874612
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/64#issuecomment-1566204490
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718
* Fix alarm without pin not working
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/pull/930#issuecomment-1680981977
* Alarm page UI
Fixed close button
Disabled buttons are darker
* Move Entities button to ESPHome
Move logic behind Entities button (Home page) from Blueprint to ESPHome in order to gain performance on creating home page.
* Human readable Uptime (#986)
* Human readable Uptime
* Uptime from Frenck code
* Uptime with Frenck code
* Updated Human Readable Uptime
* Removed trailing spaces
* Renamed sensor to "Last started"
Sensor renamed
Update moved to the boot process
Clean-up
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Co-authored-by: Edward Firmo <edward@costafirmo.com>
* Update alarm icon & color
* Revert `fast_connect` back to `false`
* Extended chars on buttons pages (#988)
Replaces #740
Probably solves #664
Probably solves #738
Probably solves #987
* Removed `fast_connect`
* Support to `code_arm_required`
Only shows the alarm PIN keyboard if a code is required for arming (or when disarming).
* Update alarm icon on home page
Refresh icon when alarm state changes.
* Fix alarm icon not updating on home page
* Home buttons new format - Alarm
Modernise the button Alarm flow on page Home to improve performance.
* Home buttons new format - Entities
Modernise the button "Entities" flow on page Home to improve performance.
* Home buttons new format - QRcode
Modernise the button "QRcode" flow on page Home to improve performance.
* Home buttons new format - Notification
Modernise the button "Notification" flow on page Home to improve performance.
I haven't moved the code from the Blueprint to ESPHome yet, as I will leave this for when we rebuild the Notification flow in the near future (hopefully), so the performance gains may not be perceived now. Just aligning with other buttons format.
* Adding screenshots
* Delete ReleaseNotes.md
Moved to the release
* New entity filter format
This new format was released with HA v2023.4 and the old one will be deprecated soon.
* Fix Alarm page bypass icon
* Bump version to 4.0
* Rename `addon_climate_heat`
* Simplify climate substitutions
* Add support for `addon_climate_cool`
* Removed `${verbose_log}`
Use logger level `VERBOSE` instead
* Fix script call
* Clean up general entities & fallback
Store inputs into variables only when needed.
Removed fallback mode - Replaced by ESPHome local control when the relay is assigned to the button in the blueprint.
* Phase out sensor `nspanel_event` (partially)
This sensor is being replaced by event calls.
* uptime sensors (#998)
* Create ReleaseNotes.md
* Fix Climate page when embedded climate
And also added a lot of logs which should be removed later as it takes from memory.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6835260
* Move brightness control to global var
Clean up page Home
* Alarm page translations - Finnish
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6857262
* Exported pics
* Clean-up TFT
- Removed a bunch of unused pics
- Changed page indicator to new format (which will allow future development to hide unused pages)
- Standardized close button in most pages
* Fixed background pics
- Entities pages
- Weather pages
* Standardize close button
* Add "Alarm" section
* Support to wake-up page on `wake_up_display` service
This changes the behavior of a service introduced by #734.
* Optimize `wake_up_display` service
* Fix icon font sizes 10 and 64
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1701903604
And also remove all the unnecessary `wait_until`
* Fix Settings page element ids
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702109668
* Add translation keys for `settings` page
#1002
* Update settings page when brightness changes on HA
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702149796
* Clean-up page settings
* update docs (#1003)
* updated docs
* Update ReleaseNotes.md
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Clean-up Cover page
I'm preparing this page to have icons changing based on the device_class selected to a cover.
* Clean-up boot delay
* Enable `current_page` sensor by default
Otherwise the system won´t update values unless the page is reloaded.
* Use `current_page` in blueprint conditions
One more step towards the phase out of `nspanelevent`.
* Move `script.refresh_colors` to `service.global_settings`
As this is called from a single point, there's no meaning of having a separated script.
* Fix climate icon update
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891454
* Fix button show on climate page
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891335
* Visual improvements on climate page
- Add friendly name when embedded - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891465
- Make disable icons a bit darker - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6893440
- Add space for page title in EU an US Land versions
- Reset page timer when pressing/releasing on the slider - Partially solves #990
* Don't update values when page home is not visible
To reduce load on Home Assistant and the network
* Cleanup boot sequence
Move some functionalities to ESPHome
* Display internal sensor value when wifi is out
Before it was showing on home page only when API was out. This adds a test for WiFi.
* Fix `default_target_temperature`
It also updates the page home when thermostat status changes (for the chips).
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6897727
* Adding ID to components missing it
* Renamed `wake_up_display` to `wake_up`
* Re-arrange commands list
* Add service `set_component_color`
Deprecates the following services:
- `send_command_font_color`
- `send_command_background_color`
* Fix button pages not showing
* Adjusted time for HW long click
* Fixed buttons on settings page
* Minor adjustments to page climate
And replace font 10 to size 48 (it was 64 since a few days ago).
* Updates to breaking changes list
* Page settings redesign
Clean up the UI of settings page.
Prepare for translations.
* Enable translations of Settings page
* Notification word-wrap
For EU and US_LAND only, for now.
* Notifications page rebuilt
- Notification button processed on ESPHome (as all the info is there)
- Added word-wrap for main text
- Expanded text size
- Handling display mode (used to define the number of chars per line on Notifications)
- Versioning handling - As a consequence of the previous item.
* Word-wrap buttons pages
Taking advantage of the algorithm created for notifications.
* Word-wrap for Alarm page
* Version mismatch notication
* Fix ESPHome not starting with older TFT
* Rebuilt home page status bar update
* Updated translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-6926846
Thanks @MaiPiu
* Fix `Nextion reported variable name invalid!`
* Fix `Nextion variable invalid`
* Handle `embedded_indoor_temperature`
Internal temperature display will be handled locally (ESPHome) when no other sensor is selected.
* Review temperature correction engine
* Fix display climate chip
* update `temp_nspanel` when correction changes
* Fix `Fan` page not open with long press HW button
Solves #1007
* Minor adjustments on settings page
* version 4.0 ready for release
* Clean-up docs
---------
Co-authored-by: bkbartk <bartkock@outlook.com>
Co-authored-by: w00zy <WZYProjects+github@gmail.com>
* Fix Fan page button colors when opening
Solves #1017
* Translations (#1023)
* Translations
* Update nspanel_blueprint.yaml
I've changed `brightness` for now as the new design isn't implemented yet, but that string is already in use with the current design.
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Adjustments to settings page
* Fix entity info when calling detailed pages
Solves #1022
* Added `media_player` page (hidden)
* New "Confirm" pop-up
This also removes the sensor "NSPanel Event"
* Fix pages not updating values
Solves #1026
* Media player - Buttons
- Added code to buttons on media_player page.
- Clean-up:
- Moved wake-up select from Blueprint to ESPHome component
- Removed `switch.xxxxx_confirmation_message`
* Fix logging for global_settings
It was logging wakeup_page, which is deprecated
* Improved version notification
* Removed trailing spaces
* Notification for `sensor.xxxxx_current_page` missing
This might be a common issue for users migrating from v3.4 to v3.5.
This information is part of the release notes, but I believe it worth having a guide to support closely any user who miss that in the release notes.
* Simplify `touchevent` engine
The touch event is used only for the sleeping engine (it will be used for dimming later) and it was transferring all the json info with page name, component, entity, etc.
This was replaced by a simple random integer with no meaning other than "the screen was touched, reset the timer".
* Media player first buttons actions
* Fix unknown service: `media_player.null`
* Media Player control
You will be able to add a Media Player entity to any of the buttons pages and with a long press you will see the media player page.
* Remove dimming timer for now
The funcionality isn't completed.
* Home page - Custom buttons
On the blueprint you can now set up to 3 buttons to be shown on Home page.
It will show the detailed settings page, so the entity must be compatible.
* Fix Media player missing parameters
Possibly solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1030#discussioncomment-6984573
* Prevents calls to `media_player.null`
* Remove `entity` info from pages on TFT
Since v3.4, the info about entity_id shown was going all the way to Nextion and then sent back in the json return, however this requires a long (100-char) global var and the way it was implemented, it was one of those per settings page, as climate should be also recorded at the same time in case the embedded climate was installed.
This was taking too much memory, so I've moved this info to a global variable (string) in ESPHome.
There is now lots of space for code cleaning (and still pending to do the same with climate entity, as it could be only a bool to inform if embedded), but this brings the functionality.
This enabled the return to global for some components, so it probably solves #1031
* Prototyping `power` page
Thanks @Floppe for doing the design
#838
* Prototyping `power` page
* New sleep flow
* Removed trailing spaces
* Fix empty page climate
* Fix names on button pages
Fix names when a name is not provided in the blueprint settings.
* Fix call to sleep routine when timeout changes
Solves #1037
* Replace `confirm` var on buttons pages
Simpler and saves some memory.
* Clean-up
* Align the code for the 3 timers
* Extend domains supported by home page custom buttons
Based on #1034
* Fix error when btn_label is `None`
* Fix `Variable invalid` on buttons pages
* Fix constructor of Entity pages
* Fallback even when button is assigned to another entity
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/1013#issuecomment-1720107844
* Add inputs for media player refresh time
* Adjustments to Media Player refresh interval default values
* Use panel's events to reset timers
Possibly solves #1040
Possibly solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-7020153
* State based colors to home page custom buttons
* Fix alarm not changing status
Do not clear `entity_id` when opening keyboard page, so the info can be used when sending commands.
Solves #1039
* Missing `nspanel_us.tft`
* add `touchevents` to pages `media_player` and `confirm`
To avoid panel going back to Home page while user is playing with the page.
Solves #1040
* Media player minor layout changes
* Media player - Volume timer & icon size
Volume timer changed from 1000 to 500ms
Icon change from font 9 to 10
* Media player roll back font 9 and timer 1s
* Don't send to Nextion obsolete volume settings
If the volume is the same as the last one sent to the screen, don't send again, so if changes are being made on the screen it didn't receive the update all the time, making the slider unresponsive.
* Media player - Layout improvement
- Removed button "Stop"
- Increase touch area for buttons
- Redistributed buttons on page
* Add touchevents to page climate
Possibly solves #995
* Resolve validation
* Correct playing time based on `updated_at` attribute
* Prepare for when attribute is not available
* Fix attribute `media_position`
* Fix time duration when HA isn't updating position
* Fix climate page not opening when offline
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6834067
* Clean-up release notes
* Clean up code
- Removed commented out lines
- Removed temporary logs
Getting prepared to release
* Bump version to 4.0beta
To reduce the chance of an obsolete file in use after the release.
---------
Co-authored-by: bkbartk <bartkock@outlook.com>
Co-authored-by: w00zy <WZYProjects+github@gmail.com>
Co-authored-by: w00zy <52609940+WZYProjects@users.noreply.github.com>
* v4.0 beta 2 (#1053)
* Create ReleaseNotes.md (#879)
* Create ReleaseNotes.md
* sensor display precision
* Filter devices to esp32 only (#881)
* Filter devices to esp32 only
Show only ESP32 devices when selecting the panel
* Filtered device list
* Sensor display precision (#880)
Now the values shown in your panel will follow the [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision) provided by Home Assistant.
=> If you have problems with a value exceeding the available space in your panel, please reduce the number of decimals using Home Assistant [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision).
* New language selector (#882)
* New language selector
* Update ReleaseNotes.md
* Update ReleaseNotes.md
* Remove `settings_entity` (#887)
* Remove `settings_entity`
- Bump version to 3.5_dev
- Removed references to pictures removed from TFT
- Removed code related to closing settings pages
- Removed trigger `settings_entity`
* Removed `set_settings_entity` service
- Bump version to 3.5_dev
- Removed `set_settings_entity` service - BREAKING CHANGE
- Removed `settings_entity` text-sensor - BREAKING CHANGE
- Added service `open_entity_settings_page` - BREAKING CHANGE
* Removed `settings_entity`
- Bump version to 3.5_dev
- Removed old climate page (climate_backup)
- Removed pics related to old climate page (ids 16-47, 80-83, 95-96 and 125(US only))
- Enforces brightness on any page change (this allows wake-up on settings page with long press on physical buttons) - Pending removing code from Blueprint
- Added `entity` variable on pages `climate`, `lightsettings` and `coversettings`
- Added `entity` info to `nspanelevent` on pages `climate`, `lightsettings` and `coversettings`
- Added `back_page` variable on pages `climate`, `lightsettings` and `coversettings` (default: home)
- Moving to TFT close page logic on pages `climate`, `lightsettings` and `coversettings` - Pending changes on Blueprint and ESPHome
- Standardized name for `page_label` on pages `climate`, `lightsettings` and `coversettings`
- Standardized settings page names: `climate`, `cover` and `light` (Removed `settings` from page name)
* Removed `settings_entity`
* Removed `settings_entity`
* Removed `settings_entity`
* Move `entity` variable to home page (#889)
* Move `entity` variable to home page
This will enable future development of a fallback climate
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Use `en` as fallback language (#891)
* Use `en` as fallback language
Uses English if a non valid language is selected (like when using legacy language selection).
* Use `en` as fallback language
* Create `nspanel_us_land.tft` (#890)
* Create `nspanel_us_land.tft'
Add `nspanel_us_land.tft' for US panel on landscape mode, fixing the offset on the touch screen when using `nspanel_eu.tft` into a US panel.
Hides the hardware buttons labels, as Nextion cannot support rotated text.
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
solves #390
solves #432
solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4933716
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
* Fix "Button confirmation page not working correctly"
Solves #883
* Supports weather forecast with `datetime` not string
This adds support to weather integrations where the `datetime` field under `forecast` attribute is provided as a `datetime` type.
This was seen on Météo-France, while all other weather integrations tested so far used a `text` field for `datetime`.
This solves #893
* Wifi icon to indicate when API offline
This changes the behavior of Wifi icon:
How it was before:
- Wifi icon was visible only when the wifi was connected, nothing was shown when wifi was not connected.
How it is now:
- Wifi icon will have 3 states:
- Wifi & API connected: Gray wifi icon
- Wifi disconnected: Red wifi-off icon
- Wifi connected, but API disconnected (HA is out?): Red api-off icon
* API status indication on the panel
* Limit light & cover to supported settings (#896)
* Limit light to supported settings
When showing light settings, only the supported features will be shown for each light.
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
This partially solves #635
* Limits covers to supported settings
Only show cover settings when `set_position` is supported.
This solves #635
* Limits covers to supported settings
* Update instructions.md
* Add Fan speed settings page (#897)
* Add Fan speed settings page
Add an initial fan speed control page for fans supporting speed control.
Add speed (%) info in the buttons pages.
Solves #404
Solves #791
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5786106
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Fix name on confirmation page
Fix the entity name on the confirmation page.
The new order is:
1. Name set on the blueprint settings
2. Entity's `friendly_name` attribute
3. Entity's `name` attribute
4. Entity's `entity_id`
Solves #501
* Select wake-up page (#898)
* Select wake-up page
Users will be able to select the wake-up page on the blueprint inputs.
This selected page will be shown after a boot (after the boot page) and with a touch in the screen when on screen saver page.
After showing this wake-up page, all the previous behavior for closing the page (with a click or after a timeout) will be the same.
Solves #576
Solves #612
Solves #801
Probably improves for https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5715670
* Select wake-up page
* Fan update engine
Change the fan update engine to follow the same patter as other settings pages.
* Update ReleaseNotes.md
* Adding vertical bars pics
* Panel offline mode (#900)
* Panel offline mode
Introduces "offline mode" for the panel, which will be used later with a fallback climate.
Pages that are depending on the blueprint (buttons pages, entity pages, settings pages, etc) won't be shown when the API is disconnected.
* Panel offline mode
* Panel offline mode
* Panel offline mode
* Panel offline mode
* "Jump to settings" on tft
Moved "Jump to settings page" routine from ESPHome to TFT in order to reduce complexity.
* Exclude Nextion2Text
Exclude Nextion2Text
* Fix validation issue
* Time engine on ESPHome
* Time engine on ESPHome
* Notification page bigger hotspot
Added hotspots around the buttons (Accept & Clear) on Notification page to make easier to click on those.
Solves #907
* Boot page retry comm
The boot page will retry communication with the blueprint once a minute to avoid the situation where that page is shown until the automation is reloaded.
* Fix call to screen page
Fixes the call to screen page on US panel.
Reconciliate the US landscape model from EU model.
* Fix fan page `button_on`
Fixing rounding on that button.
* Fixed Fan page rounding
* Prevents boot sequence in other pages
* Physical relay local control
We are trying to make your panel as autonomous as possible by moving some of the controls from the Blueprint to ESPHome. This will reduce the load in your network and Home Assistant, but also will make a more reliable system capable to do it's core functionality even when the network is unavailable or Home Assistant is restarting.
With this version, the following engines have been moved to your panel (local control):
- Physical relay control (when hardware left button is connected to relay 1 or right button to relay 2)
Solves #910
* Embedded climate (#917)
* Performance improvements
The main focus here was to reduce the number of calls between Home Assistant and ESPHome, moving logic as much as possible to TFT and ESPHome.
- Service calls moved to ESPHome (in preparation for Alarm Control Panel)
- Page change informed via event call instead of `nspanel_event` sensor (which still in use by other calls, but might be possible to remove in the future)
* Draft embedded climate
This adds an initial version of an embedded climate/thermostat (heating only for now) with support for local control even with Wi-Fi out.
Solves #646
Solves #263
* Update ReleaseNotes.md
* Fix climate slider
Fix for climate slider opening in an incorrect position and sending only the integer part of the new target temperature
* Moving home page to ESPHome
In progress...
* Fix translations - Dutch
* Embedded chip 3
Home page - Chip 3 will be controlled locally when embedded climate is enable.
* Fixed buttons bar
Fixed buttons bar managed on ESPHome when embedded climate is visible.
* Update ReleaseNotes.md
* Services back to the Blueprint
Moving service calls back to the blueprint as latest HA requires user's permissions to call HA services from ESPHome.
This still have to be used for Alarm calls due to security concerns.
* Update ReleaseNotes.md
* support to hidden ssid (#908)
Supports hidden ssid with the use of substitutions `wifi_hidden: "true"`.
This can be breaking change for users with custom/advanced wifi settings.
Solves #906
* Update nspanel_esphome.yaml
* Removed `restore_state`
There is some incomplete work related to alarms on this commit, but the focus here is to fix `restore_state` on ESPHome v2023.7.0.
This solves #939
* US model - Fan page - Redistribute icons
Redistributed icons on Fan page on US model in order to improve usability.
Based on feedback from https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6338706
* Align `nspanel_us_land`
Apply all changes from EU to US_Land
* Fix relays chips
Fix relay status indication on chips.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/926#issuecomment-1627660273
* Fix "invalid variable" for "api"
Fix error "Nextion invalid variable name" when setting `api`.
* Default embedded climate to relay_0
* Fix issue with `restore_state` and ESPHome v2023.7.0 (#941)
Solves #939
* Fix translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6511043
* Fix `set_temperature` for climate
Solves #957
* Fix `fan.turn_off` call
Removed timer call from fan stop button.
This solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6494535
* Call a `fan.turn_off` when percentage is 0%
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6621756
* Fix call for fan stop button
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6622377
* Icons on ESPHome
Move icons from TFT/HMI to ESPHome to prevent error on Nextion2Text.
* Updated translations - Spanish
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6548961
* Make home page sensor's icons consistent
Make icon selection consistent with chips where the entity's icon is used in case a icon is not set in the blueprint settings.
Solves #963
* Updated translations - Slovenian
Based on:
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6665723
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-6665751
* dutch (#974)
* small ducht translations
small ducht translations
* Dutch translations
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Add-on support (#977)
Moved climate settings to an add-on.
Updated documentation.
* Fixed link to addon climate docs
* Fix change brightness when sleeping
Prevents the panel to change screen brightness when sleeping.
Solves #975
* Standardize HA service calls
* Bump version to `4.0 dev`
* Create customization.md
This will reduce the need for:
- #920
- #662
- #833
* Clean-up for customizations
Clean up ESPHome in order to make easier the use of customizations.
* Create Alarm page
* Add page Alarm
* Add Alarm docs
Update docs to reflect the current state (new features & changes)
* Creating "install.md" and update add-ons instructions
* Add Alarm page buttons pics
* Add link to Alarm on page Home
* Create Alarm page
* Alarm button font color
* Add `keyb_num` page
* Alarm Control Panel with PIN (#982)
Implements an Alarm Control Panel page on NSPanel.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/66
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/227
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/672
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4874612
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/64#issuecomment-1566204490
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718
* Fix alarm without pin not working
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/pull/930#issuecomment-1680981977
* Alarm page UI
Fixed close button
Disabled buttons are darker
* Move Entities button to ESPHome
Move logic behind Entities button (Home page) from Blueprint to ESPHome in order to gain performance on creating home page.
* Human readable Uptime (#986)
* Human readable Uptime
* Uptime from Frenck code
* Uptime with Frenck code
* Updated Human Readable Uptime
* Removed trailing spaces
* Renamed sensor to "Last started"
Sensor renamed
Update moved to the boot process
Clean-up
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Co-authored-by: Edward Firmo <edward@costafirmo.com>
* Update alarm icon & color
* Revert `fast_connect` back to `false`
* Extended chars on buttons pages (#988)
Replaces #740
Probably solves #664
Probably solves #738
Probably solves #987
* Removed `fast_connect`
* Support to `code_arm_required`
Only shows the alarm PIN keyboard if a code is required for arming (or when disarming).
* Update alarm icon on home page
Refresh icon when alarm state changes.
* Fix alarm icon not updating on home page
* Home buttons new format - Alarm
Modernise the button Alarm flow on page Home to improve performance.
* Home buttons new format - Entities
Modernise the button "Entities" flow on page Home to improve performance.
* Home buttons new format - QRcode
Modernise the button "QRcode" flow on page Home to improve performance.
* Home buttons new format - Notification
Modernise the button "Notification" flow on page Home to improve performance.
I haven't moved the code from the Blueprint to ESPHome yet, as I will leave this for when we rebuild the Notification flow in the near future (hopefully), so the performance gains may not be perceived now. Just aligning with other buttons format.
* Adding screenshots
* Delete ReleaseNotes.md
Moved to the release
* New entity filter format
This new format was released with HA v2023.4 and the old one will be deprecated soon.
* Fix Alarm page bypass icon
* Bump version to 4.0
* Rename `addon_climate_heat`
* Simplify climate substitutions
* Add support for `addon_climate_cool`
* Removed `${verbose_log}`
Use logger level `VERBOSE` instead
* Fix script call
* Clean up general entities & fallback
Store inputs into variables only when needed.
Removed fallback mode - Replaced by ESPHome local control when the relay is assigned to the button in the blueprint.
* Phase out sensor `nspanel_event` (partially)
This sensor is being replaced by event calls.
* uptime sensors (#998)
* Create ReleaseNotes.md
* Fix Climate page when embedded climate
And also added a lot of logs which should be removed later as it takes from memory.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6835260
* Move brightness control to global var
Clean up page Home
* Alarm page translations - Finnish
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6857262
* Exported pics
* Clean-up TFT
- Removed a bunch of unused pics
- Changed page indicator to new format (which will allow future development to hide unused pages)
- Standardized close button in most pages
* Fixed background pics
- Entities pages
- Weather pages
* Standardize close button
* Add "Alarm" section
* Support to wake-up page on `wake_up_display` service
This changes the behavior of a service introduced by #734.
* Optimize `wake_up_display` service
* Fix icon font sizes 10 and 64
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1701903604
And also remove all the unnecessary `wait_until`
* Fix Settings page element ids
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702109668
* Add translation keys for `settings` page
#1002
* Update settings page when brightness changes on HA
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702149796
* Clean-up page settings
* update docs (#1003)
* updated docs
* Update ReleaseNotes.md
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Clean-up Cover page
I'm preparing this page to have icons changing based on the device_class selected to a cover.
* Clean-up boot delay
* Enable `current_page` sensor by default
Otherwise the system won´t update values unless the page is reloaded.
* Use `current_page` in blueprint conditions
One more step towards the phase out of `nspanelevent`.
* Move `script.refresh_colors` to `service.global_settings`
As this is called from a single point, there's no meaning of having a separated script.
* Fix climate icon update
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891454
* Fix button show on climate page
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891335
* Visual improvements on climate page
- Add friendly name when embedded - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891465
- Make disable icons a bit darker - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6893440
- Add space for page title in EU an US Land versions
- Reset page timer when pressing/releasing on the slider - Partially solves #990
* Don't update values when page home is not visible
To reduce load on Home Assistant and the network
* Cleanup boot sequence
Move some functionalities to ESPHome
* Display internal sensor value when wifi is out
Before it was showing on home page only when API was out. This adds a test for WiFi.
* Fix `default_target_temperature`
It also updates the page home when thermostat status changes (for the chips).
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6897727
* Adding ID to components missing it
* Renamed `wake_up_display` to `wake_up`
* Re-arrange commands list
* Add service `set_component_color`
Deprecates the following services:
- `send_command_font_color`
- `send_command_background_color`
* Fix button pages not showing
* Adjusted time for HW long click
* Fixed buttons on settings page
* Minor adjustments to page climate
And replace font 10 to size 48 (it was 64 since a few days ago).
* Updates to breaking changes list
* Page settings redesign
Clean up the UI of settings page.
Prepare for translations.
* Enable translations of Settings page
* Notification word-wrap
For EU and US_LAND only, for now.
* Notifications page rebuilt
- Notification button processed on ESPHome (as all the info is there)
- Added word-wrap for main text
- Expanded text size
- Handling display mode (used to define the number of chars per line on Notifications)
- Versioning handling - As a consequence of the previous item.
* Word-wrap buttons pages
Taking advantage of the algorithm created for notifications.
* Word-wrap for Alarm page
* Version mismatch notication
* Fix ESPHome not starting with older TFT
* Rebuilt home page status bar update
* Updated translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-6926846
Thanks @MaiPiu
* Fix `Nextion reported variable name invalid!`
* Fix `Nextion variable invalid`
* Handle `embedded_indoor_temperature`
Internal temperature display will be handled locally (ESPHome) when no other sensor is selected.
* Review temperature correction engine
* Fix display climate chip
* update `temp_nspanel` when correction changes
* Fix `Fan` page not open with long press HW button
Solves #1007
* Minor adjustments on settings page
* version 4.0 ready for release
* Clean-up docs
* Improve version notification
* Disable restore `notification_unread`
This must be changed to a binary sensor in the future.
* Beta v4.0 (#1012)
* Create ReleaseNotes.md (#879)
* Create ReleaseNotes.md
* sensor display precision
* Filter devices to esp32 only (#881)
* Filter devices to esp32 only
Show only ESP32 devices when selecting the panel
* Filtered device list
* Sensor display precision (#880)
Now the values shown in your panel will follow the [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision) provided by Home Assistant.
=> If you have problems with a value exceeding the available space in your panel, please reduce the number of decimals using Home Assistant [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision).
* New language selector (#882)
* New language selector
* Update ReleaseNotes.md
* Update ReleaseNotes.md
* Remove `settings_entity` (#887)
* Remove `settings_entity`
- Bump version to 3.5_dev
- Removed references to pictures removed from TFT
- Removed code related to closing settings pages
- Removed trigger `settings_entity`
* Removed `set_settings_entity` service
- Bump version to 3.5_dev
- Removed `set_settings_entity` service - BREAKING CHANGE
- Removed `settings_entity` text-sensor - BREAKING CHANGE
- Added service `open_entity_settings_page` - BREAKING CHANGE
* Removed `settings_entity`
- Bump version to 3.5_dev
- Removed old climate page (climate_backup)
- Removed pics related to old climate page (ids 16-47, 80-83, 95-96 and 125(US only))
- Enforces brightness on any page change (this allows wake-up on settings page with long press on physical buttons) - Pending removing code from Blueprint
- Added `entity` variable on pages `climate`, `lightsettings` and `coversettings`
- Added `entity` info to `nspanelevent` on pages `climate`, `lightsettings` and `coversettings`
- Added `back_page` variable on pages `climate`, `lightsettings` and `coversettings` (default: home)
- Moving to TFT close page logic on pages `climate`, `lightsettings` and `coversettings` - Pending changes on Blueprint and ESPHome
- Standardized name for `page_label` on pages `climate`, `lightsettings` and `coversettings`
- Standardized settings page names: `climate`, `cover` and `light` (Removed `settings` from page name)
* Removed `settings_entity`
* Removed `settings_entity`
* Removed `settings_entity`
* Move `entity` variable to home page (#889)
* Move `entity` variable to home page
This will enable future development of a fallback climate
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Use `en` as fallback language (#891)
* Use `en` as fallback language
Uses English if a non valid language is selected (like when using legacy language selection).
* Use `en` as fallback language
* Create `nspanel_us_land.tft` (#890)
* Create `nspanel_us_land.tft'
Add `nspanel_us_land.tft' for US panel on landscape mode, fixing the offset on the touch screen when using `nspanel_eu.tft` into a US panel.
Hides the hardware buttons labels, as Nextion cannot support rotated text.
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
solves #390
solves #432
solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4933716
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
* Fix "Button confirmation page not working correctly"
Solves #883
* Supports weather forecast with `datetime` not string
This adds support to weather integrations where the `datetime` field under `forecast` attribute is provided as a `datetime` type.
This was seen on Météo-France, while all other weather integrations tested so far used a `text` field for `datetime`.
This solves #893
* Wifi icon to indicate when API offline
This changes the behavior of Wifi icon:
How it was before:
- Wifi icon was visible only when the wifi was connected, nothing was shown when wifi was not connected.
How it is now:
- Wifi icon will have 3 states:
- Wifi & API connected: Gray wifi icon
- Wifi disconnected: Red wifi-off icon
- Wifi connected, but API disconnected (HA is out?): Red api-off icon
* API status indication on the panel
* Limit light & cover to supported settings (#896)
* Limit light to supported settings
When showing light settings, only the supported features will be shown for each light.
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
This partially solves #635
* Limits covers to supported settings
Only show cover settings when `set_position` is supported.
This solves #635
* Limits covers to supported settings
* Update instructions.md
* Add Fan speed settings page (#897)
* Add Fan speed settings page
Add an initial fan speed control page for fans supporting speed control.
Add speed (%) info in the buttons pages.
Solves #404
Solves #791
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5786106
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Fix name on confirmation page
Fix the entity name on the confirmation page.
The new order is:
1. Name set on the blueprint settings
2. Entity's `friendly_name` attribute
3. Entity's `name` attribute
4. Entity's `entity_id`
Solves #501
* Select wake-up page (#898)
* Select wake-up page
Users will be able to select the wake-up page on the blueprint inputs.
This selected page will be shown after a boot (after the boot page) and with a touch in the screen when on screen saver page.
After showing this wake-up page, all the previous behavior for closing the page (with a click or after a timeout) will be the same.
Solves #576
Solves #612
Solves #801
Probably improves for https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5715670
* Select wake-up page
* Fan update engine
Change the fan update engine to follow the same patter as other settings pages.
* Update ReleaseNotes.md
* Adding vertical bars pics
* Panel offline mode (#900)
* Panel offline mode
Introduces "offline mode" for the panel, which will be used later with a fallback climate.
Pages that are depending on the blueprint (buttons pages, entity pages, settings pages, etc) won't be shown when the API is disconnected.
* Panel offline mode
* Panel offline mode
* Panel offline mode
* Panel offline mode
* "Jump to settings" on tft
Moved "Jump to settings page" routine from ESPHome to TFT in order to reduce complexity.
* Exclude Nextion2Text
Exclude Nextion2Text
* Fix validation issue
* Time engine on ESPHome
* Time engine on ESPHome
* Notification page bigger hotspot
Added hotspots around the buttons (Accept & Clear) on Notification page to make easier to click on those.
Solves #907
* Boot page retry comm
The boot page will retry communication with the blueprint once a minute to avoid the situation where that page is shown until the automation is reloaded.
* Fix call to screen page
Fixes the call to screen page on US panel.
Reconciliate the US landscape model from EU model.
* Fix fan page `button_on`
Fixing rounding on that button.
* Fixed Fan page rounding
* Prevents boot sequence in other pages
* Physical relay local control
We are trying to make your panel as autonomous as possible by moving some of the controls from the Blueprint to ESPHome. This will reduce the load in your network and Home Assistant, but also will make a more reliable system capable to do it's core functionality even when the network is unavailable or Home Assistant is restarting.
With this version, the following engines have been moved to your panel (local control):
- Physical relay control (when hardware left button is connected to relay 1 or right button to relay 2)
Solves #910
* Embedded climate (#917)
* Performance improvements
The main focus here was to reduce the number of calls between Home Assistant and ESPHome, moving logic as much as possible to TFT and ESPHome.
- Service calls moved to ESPHome (in preparation for Alarm Control Panel)
- Page change informed via event call instead of `nspanel_event` sensor (which still in use by other calls, but might be possible to remove in the future)
* Draft embedded climate
This adds an initial version of an embedded climate/thermostat (heating only for now) with support for local control even with Wi-Fi out.
Solves #646
Solves #263
* Update ReleaseNotes.md
* Fix climate slider
Fix for climate slider opening in an incorrect position and sending only the integer part of the new target temperature
* Moving home page to ESPHome
In progress...
* Fix translations - Dutch
* Embedded chip 3
Home page - Chip 3 will be controlled locally when embedded climate is enable.
* Fixed buttons bar
Fixed buttons bar managed on ESPHome when embedded climate is visible.
* Update ReleaseNotes.md
* Services back to the Blueprint
Moving service calls back to the blueprint as latest HA requires user's permissions to call HA services from ESPHome.
This still have to be used for Alarm calls due to security concerns.
* Update ReleaseNotes.md
* support to hidden ssid (#908)
Supports hidden ssid with the use of substitutions `wifi_hidden: "true"`.
This can be breaking change for users with custom/advanced wifi settings.
Solves #906
* Update nspanel_esphome.yaml
* Removed `restore_state`
There is some incomplete work related to alarms on this commit, but the focus here is to fix `restore_state` on ESPHome v2023.7.0.
This solves #939
* US model - Fan page - Redistribute icons
Redistributed icons on Fan page on US model in order to improve usability.
Based on feedback from https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6338706
* Align `nspanel_us_land`
Apply all changes from EU to US_Land
* Fix relays chips
Fix relay status indication on chips.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/926#issuecomment-1627660273
* Fix "invalid variable" for "api"
Fix error "Nextion invalid variable name" when setting `api`.
* Default embedded climate to relay_0
* Fix translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6511043
* Fix `set_temperature` for climate
Solves #957
* Fix `fan.turn_off` call
Removed timer call from fan stop button.
This solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6494535
* Call a `fan.turn_off` when percentage is 0%
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6621756
* Fix call for fan stop button
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6622377
* Icons on ESPHome
Move icons from TFT/HMI to ESPHome to prevent error on Nextion2Text.
* Updated translations - Spanish
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6548961
* Make home page sensor's icons consistent
Make icon selection consistent with chips where the entity's icon is used in case a icon is not set in the blueprint settings.
Solves #963
* Updated translations - Slovenian
Based on:
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6665723
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-6665751
* dutch (#974)
* small ducht translations
small ducht translations
* Dutch translations
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Add-on support (#977)
Moved climate settings to an add-on.
Updated documentation.
* Fixed link to addon climate docs
* Fix change brightness when sleeping
Prevents the panel to change screen brightness when sleeping.
Solves #975
* Standardize HA service calls
* Bump version to `4.0 dev`
* Create customization.md
This will reduce the need for:
- #920
- #662
- #833
* Clean-up for customizations
Clean up ESPHome in order to make easier the use of customizations.
* Create Alarm page
* Add page Alarm
* Add Alarm docs
Update docs to reflect the current state (new features & changes)
* Creating "install.md" and update add-ons instructions
* Add Alarm page buttons pics
* Add link to Alarm on page Home
* Create Alarm page
* Alarm button font color
* Add `keyb_num` page
* Alarm Control Panel with PIN (#982)
Implements an Alarm Control Panel page on NSPanel.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/66
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/227
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/672
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4874612
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/64#issuecomment-1566204490
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718
* Fix alarm without pin not working
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/pull/930#issuecomment-1680981977
* Alarm page UI
Fixed close button
Disabled buttons are darker
* Move Entities button to ESPHome
Move logic behind Entities button (Home page) from Blueprint to ESPHome in order to gain performance on creating home page.
* Human readable Uptime (#986)
* Human readable Uptime
* Uptime from Frenck code
* Uptime with Frenck code
* Updated Human Readable Uptime
* Removed trailing spaces
* Renamed sensor to "Last started"
Sensor renamed
Update moved to the boot process
Clean-up
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Co-authored-by: Edward Firmo <edward@costafirmo.com>
* Update alarm icon & color
* Revert `fast_connect` back to `false`
* Extended chars on buttons pages (#988)
Replaces #740
Probably solves #664
Probably solves #738
Probably solves #987
* Removed `fast_connect`
* Support to `code_arm_required`
Only shows the alarm PIN keyboard if a code is required for arming (or when disarming).
* Update alarm icon on home page
Refresh icon when alarm state changes.
* Fix alarm icon not updating on home page
* Home buttons new format - Alarm
Modernise the button Alarm flow on page Home to improve performance.
* Home buttons new format - Entities
Modernise the button "Entities" flow on page Home to improve performance.
* Home buttons new format - QRcode
Modernise the button "QRcode" flow on page Home to improve performance.
* Home buttons new format - Notification
Modernise the button "Notification" flow on page Home to improve performance.
I haven't moved the code from the Blueprint to ESPHome yet, as I will leave this for when we rebuild the Notification flow in the near future (hopefully), so the performance gains may not be perceived now. Just aligning with other buttons format.
* Adding screenshots
* Delete ReleaseNotes.md
Moved to the release
* New entity filter format
This new format was released with HA v2023.4 and the old one will be deprecated soon.
* Fix Alarm page bypass icon
* Bump version to 4.0
* Rename `addon_climate_heat`
* Simplify climate substitutions
* Add support for `addon_climate_cool`
* Removed `${verbose_log}`
Use logger level `VERBOSE` instead
* Fix script call
* Clean up general entities & fallback
Store inputs into variables only when needed.
Removed fallback mode - Replaced by ESPHome local control when the relay is assigned to the button in the blueprint.
* Phase out sensor `nspanel_event` (partially)
This sensor is being replaced by event calls.
* uptime sensors (#998)
* Create ReleaseNotes.md
* Fix Climate page when embedded climate
And also added a lot of logs which should be removed later as it takes from memory.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6835260
* Move brightness control to global var
Clean up page Home
* Alarm page translations - Finnish
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6857262
* Exported pics
* Clean-up TFT
- Removed a bunch of unused pics
- Changed page indicator to new format (which will allow future development to hide unused pages)
- Standardized close button in most pages
* Fixed background pics
- Entities pages
- Weather pages
* Standardize close button
* Add "Alarm" section
* Support to wake-up page on `wake_up_display` service
This changes the behavior of a service introduced by #734.
* Optimize `wake_up_display` service
* Fix icon font sizes 10 and 64
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1701903604
And also remove all the unnecessary `wait_until`
* Fix Settings page element ids
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702109668
* Add translation keys for `settings` page
#1002
* Update settings page when brightness changes on HA
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702149796
* Clean-up page settings
* update docs (#1003)
* updated docs
* Update ReleaseNotes.md
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Clean-up Cover page
I'm preparing this page to have icons changing based on the device_class selected to a cover.
* Clean-up boot delay
* Enable `current_page` sensor by default
Otherwise the system won´t update values unless the page is reloaded.
* Use `current_page` in blueprint conditions
One more step towards the phase out of `nspanelevent`.
* Move `script.refresh_colors` to `service.global_settings`
As this is called from a single point, there's no meaning of having a separated script.
* Fix climate icon update
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891454
* Fix button show on climate page
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891335
* Visual improvements on climate page
- Add friendly name when embedded - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891465
- Make disable icons a bit darker - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6893440
- Add space for page title in EU an US Land versions
- Reset page timer when pressing/releasing on the slider - Partially solves #990
* Don't update values when page home is not visible
To reduce load on Home Assistant and the network
* Cleanup boot sequence
Move some functionalities to ESPHome
* Display internal sensor value when wifi is out
Before it was showing on home page only when API was out. This adds a test for WiFi.
* Fix `default_target_temperature`
It also updates the page home when thermostat status changes (for the chips).
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6897727
* Adding ID to components missing it
* Renamed `wake_up_display` to `wake_up`
* Re-arrange commands list
* Add service `set_component_color`
Deprecates the following services:
- `send_command_font_color`
- `send_command_background_color`
* Fix button pages not showing
* Adjusted time for HW long click
* Fixed buttons on settings page
* Minor adjustments to page climate
And replace font 10 to size 48 (it was 64 since a few days ago).
* Updates to breaking changes list
* Page settings redesign
Clean up the UI of settings page.
Prepare for translations.
* Enable translations of Settings page
* Notification word-wrap
For EU and US_LAND only, for now.
* Notifications page rebuilt
- Notification button processed on ESPHome (as all the info is there)
- Added word-wrap for main text
- Expanded text size
- Handling display mode (used to define the number of chars per line on Notifications)
- Versioning handling - As a consequence of the previous item.
* Word-wrap buttons pages
Taking advantage of the algorithm created for notifications.
* Word-wrap for Alarm page
* Version mismatch notication
* Fix ESPHome not starting with older TFT
* Rebuilt home page status bar update
* Updated translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-6926846
Thanks @MaiPiu
* Fix `Nextion reported variable name invalid!`
* Fix `Nextion variable invalid`
* Handle `embedded_indoor_temperature`
Internal temperature display will be handled locally (ESPHome) when no other sensor is selected.
* Review temperature correction engine
* Fix display climate chip
* update `temp_nspanel` when correction changes
* Fix `Fan` page not open with long press HW button
Solves #1007
* Minor adjustments on settings page
* version 4.0 ready for release
* Clean-up docs
---------
Co-authored-by: bkbartk <bartkock@outlook.com>
Co-authored-by: w00zy <WZYProjects+github@gmail.com>
* Fix Fan page button colors when opening
Solves #1017
* Translations (#1023)
* Translations
* Update nspanel_blueprint.yaml
I've changed `brightness` for now as the new design isn't implemented yet, but that string is already in use with the current design.
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Adjustments to settings page
* Fix entity info when calling detailed pages
Solves #1022
* Added `media_player` page (hidden)
* New "Confirm" pop-up
This also removes the sensor "NSPanel Event"
* Fix pages not updating values
Solves #1026
* Media player - Buttons
- Added code to buttons on media_player page.
- Clean-up:
- Moved wake-up select from Blueprint to ESPHome component
- Removed `switch.xxxxx_confirmation_message`
* Fix logging for global_settings
It was logging wakeup_page, which is deprecated
* Improved version notification
* Removed trailing spaces
* Notification for `sensor.xxxxx_current_page` missing
This might be a common issue for users migrating from v3.4 to v3.5.
This information is part of the release notes, but I believe it worth having a guide to support closely any user who miss that in the release notes.
* Simplify `touchevent` engine
The touch event is used only for the sleeping engine (it will be used for dimming later) and it was transferring all the json info with page name, component, entity, etc.
This was replaced by a simple random integer with no meaning other than "the screen was touched, reset the timer".
* Media player first buttons actions
* Fix unknown service: `media_player.null`
* Media Player control
You will be able to add a Media Player entity to any of the buttons pages and with a long press you will see the media player page.
* Remove dimming timer for now
The funcionality isn't completed.
* Home page - Custom buttons
On the blueprint you can now set up to 3 buttons to be shown on Home page.
It will show the detailed settings page, so the entity must be compatible.
* Fix Media player missing parameters
Possibly solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1030#discussioncomment-6984573
* Prevents calls to `media_player.null`
* Remove `entity` info from pages on TFT
Since v3.4, the info about entity_id shown was going all the way to Nextion and then sent back in the json return, however this requires a long (100-char) global var and the way it was implemented, it was one of those per settings page, as climate should be also recorded at the same time in case the embedded climate was installed.
This was taking too much memory, so I've moved this info to a global variable (string) in ESPHome.
There is now lots of space for code cleaning (and still pending to do the same with climate entity, as it could be only a bool to inform if embedded), but this brings the functionality.
This enabled the return to global for some components, so it probably solves #1031
* Prototyping `power` page
Thanks @Floppe for doing the design
#838
* Prototyping `power` page
* New sleep flow
* Removed trailing spaces
* Fix empty page climate
* Fix names on button pages
Fix names when a name is not provided in the blueprint settings.
* Fix call to sleep routine when timeout changes
Solves #1037
* Replace `confirm` var on buttons pages
Simpler and saves some memory.
* Clean-up
* Align the code for the 3 timers
* Extend domains supported by home page custom buttons
Based on #1034
* Fix error when btn_label is `None`
* Fix `Variable invalid` on buttons pages
* Fix constructor of Entity pages
* Fallback even when button is assigned to another entity
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/1013#issuecomment-1720107844
* Add inputs for media player refresh time
* Adjustments to Media Player refresh interval default values
* Use panel's events to reset timers
Possibly solves #1040
Possibly solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-7020153
* State based colors to home page custom buttons
* Fix alarm not changing status
Do not clear `entity_id` when opening keyboard page, so the info can be used when sending commands.
Solves #1039
* Missing `nspanel_us.tft`
* add `touchevents` to pages `media_player` and `confirm`
To avoid panel going back to Home page while user is playing with the page.
Solves #1040
* Media player minor layout changes
* Media player - Volume timer & icon size
Volume timer changed from 1000 to 500ms
Icon change from font 9 to 10
* Media player roll back font 9 and timer 1s
* Don't send to Nextion obsolete volume settings
If the volume is the same as the last one sent to the screen, don't send again, so if changes are being made on the screen it didn't receive the update all the time, making the slider unresponsive.
* Media player - Layout improvement
- Removed button "Stop"
- Increase touch area for buttons
- Redistributed buttons on page
* Add touchevents to page climate
Possibly solves #995
* Resolve validation
* Correct playing time based on `updated_at` attribute
* Prepare for when attribute is not available
* Fix attribute `media_position`
* Fix time duration when HA isn't updating position
* Fix climate page not opening when offline
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6834067
* Clean-up release notes
* Clean up code
- Removed commented out lines
- Removed temporary logs
Getting prepared to release
* Bump version to 4.0beta
To reduce the chance of an obsolete file in use after the release.
* Change version to 4.0dev
To differentiate from beta.
* Added missing translations (#1047)
* Added missing translations
Added missing translations for the Swedish translation.
* Caption first char
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Translations to Slovak on Settings page
* Refresh docs
* Update nspanel_blank.md
* Update nspanel_blank.md
* Add screensaver to `nspanel_blank.tft`
And build a new tft with latest firmware and url for instructions.
* Update nspanel_blank.md
* Fix to Slovenian translation
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-7041796
* Settings page - Translations to French
From https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-7045452
* Alarm page - Translations to French
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-7046479
* Add customization for display sleeping/awake
Probably solves #1035
* Customizations - Blank TFT button
Probably solves #1048
* Customizations - Deep sleep
Solves #955
* Customization - Deep sleep - Fix broken link
* Translations - Slovak
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-7054153
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-7054142
* New versioning - not implemented
* Bump version to `4.0b2`
---------
Co-authored-by: bkbartk <bartkock@outlook.com>
Co-authored-by: w00zy <WZYProjects+github@gmail.com>
Co-authored-by: w00zy <52609940+WZYProjects@users.noreply.github.com>
Co-authored-by: Erik Larsson <erik1337.el@gmail.com>
* v4.0 release (#1054)
* Sensor display precision (#880)
Now the values shown in your panel will follow the [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision) provided by Home Assistant.
=> If you have problems with a value exceeding the available space in your panel, please reduce the number of decimals using Home Assistant [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision).
* New language selector (#882)
* New language selector
* Update ReleaseNotes.md
* Update ReleaseNotes.md
* Remove `settings_entity` (#887)
* Remove `settings_entity`
- Bump version to 3.5_dev
- Removed references to pictures removed from TFT
- Removed code related to closing settings pages
- Removed trigger `settings_entity`
* Removed `set_settings_entity` service
- Bump version to 3.5_dev
- Removed `set_settings_entity` service - BREAKING CHANGE
- Removed `settings_entity` text-sensor - BREAKING CHANGE
- Added service `open_entity_settings_page` - BREAKING CHANGE
* Removed `settings_entity`
- Bump version to 3.5_dev
- Removed old climate page (climate_backup)
- Removed pics related to old climate page (ids 16-47, 80-83, 95-96 and 125(US only))
- Enforces brightness on any page change (this allows wake-up on settings page with long press on physical buttons) - Pending removing code from Blueprint
- Added `entity` variable on pages `climate`, `lightsettings` and `coversettings`
- Added `entity` info to `nspanelevent` on pages `climate`, `lightsettings` and `coversettings`
- Added `back_page` variable on pages `climate`, `lightsettings` and `coversettings` (default: home)
- Moving to TFT close page logic on pages `climate`, `lightsettings` and `coversettings` - Pending changes on Blueprint and ESPHome
- Standardized name for `page_label` on pages `climate`, `lightsettings` and `coversettings`
- Standardized settings page names: `climate`, `cover` and `light` (Removed `settings` from page name)
* Removed `settings_entity`
* Removed `settings_entity`
* Removed `settings_entity`
* Move `entity` variable to home page (#889)
* Move `entity` variable to home page
This will enable future development of a fallback climate
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Use `en` as fallback language (#891)
* Use `en` as fallback language
Uses English if a non valid language is selected (like when using legacy language selection).
* Use `en` as fallback language
* Create `nspanel_us_land.tft` (#890)
* Create `nspanel_us_land.tft'
Add `nspanel_us_land.tft' for US panel on landscape mode, fixing the offset on the touch screen when using `nspanel_eu.tft` into a US panel.
Hides the hardware buttons labels, as Nextion cannot support rotated text.
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
solves #390
solves #432
solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4933716
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
* Fix "Button confirmation page not working correctly"
Solves #883
* Supports weather forecast with `datetime` not string
This adds support to weather integrations where the `datetime` field under `forecast` attribute is provided as a `datetime` type.
This was seen on Météo-France, while all other weather integrations tested so far used a `text` field for `datetime`.
This solves #893
* Wifi icon to indicate when API offline
This changes the behavior of Wifi icon:
How it was before:
- Wifi icon was visible only when the wifi was connected, nothing was shown when wifi was not connected.
How it is now:
- Wifi icon will have 3 states:
- Wifi & API connected: Gray wifi icon
- Wifi disconnected: Red wifi-off icon
- Wifi connected, but API disconnected (HA is out?): Red api-off icon
* API status indication on the panel
* Limit light & cover to supported settings (#896)
* Limit light to supported settings
When showing light settings, only the supported features will be shown for each light.
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
This partially solves #635
* Limits covers to supported settings
Only show cover settings when `set_position` is supported.
This solves #635
* Limits covers to supported settings
* Update instructions.md
* Add Fan speed settings page (#897)
* Add Fan speed settings page
Add an initial fan speed control page for fans supporting speed control.
Add speed (%) info in the buttons pages.
Solves #404
Solves #791
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5786106
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Fix name on confirmation page
Fix the entity name on the confirmation page.
The new order is:
1. Name set on the blueprint settings
2. Entity's `friendly_name` attribute
3. Entity's `name` attribute
4. Entity's `entity_id`
Solves #501
* Select wake-up page (#898)
* Select wake-up page
Users will be able to select the wake-up page on the blueprint inputs.
This selected page will be shown after a boot (after the boot page) and with a touch in the screen when on screen saver page.
After showing this wake-up page, all the previous behavior for closing the page (with a click or after a timeout) will be the same.
Solves #576
Solves #612
Solves #801
Probably improves for https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5715670
* Select wake-up page
* Fan update engine
Change the fan update engine to follow the same patter as other settings pages.
* Update ReleaseNotes.md
* Adding vertical bars pics
* Panel offline mode (#900)
* Panel offline mode
Introduces "offline mode" for the panel, which will be used later with a fallback climate.
Pages that are depending on the blueprint (buttons pages, entity pages, settings pages, etc) won't be shown when the API is disconnected.
* Panel offline mode
* Panel offline mode
* Panel offline mode
* Panel offline mode
* "Jump to settings" on tft
Moved "Jump to settings page" routine from ESPHome to TFT in order to reduce complexity.
* Exclude Nextion2Text
Exclude Nextion2Text
* Fix validation issue
* Time engine on ESPHome
* Time engine on ESPHome
* Notification page bigger hotspot
Added hotspots around the buttons (Accept & Clear) on Notification page to make easier to click on those.
Solves #907
* Boot page retry comm
The boot page will retry communication with the blueprint once a minute to avoid the situation where that page is shown until the automation is reloaded.
* Fix call to screen page
Fixes the call to screen page on US panel.
Reconciliate the US landscape model from EU model.
* Fix fan page `button_on`
Fixing rounding on that button.
* Fixed Fan page rounding
* Prevents boot sequence in other pages
* Physical relay local control
We are trying to make your panel as autonomous as possible by moving some of the controls from the Blueprint to ESPHome. This will reduce the load in your network and Home Assistant, but also will make a more reliable system capable to do it's core functionality even when the network is unavailable or Home Assistant is restarting.
With this version, the following engines have been moved to your panel (local control):
- Physical relay control (when hardware left button is connected to relay 1 or right button to relay 2)
Solves #910
* Embedded climate (#917)
* Performance improvements
The main focus here was to reduce the number of calls between Home Assistant and ESPHome, moving logic as much as possible to TFT and ESPHome.
- Service calls moved to ESPHome (in preparation for Alarm Control Panel)
- Page change informed via event call instead of `nspanel_event` sensor (which still in use by other calls, but might be possible to remove in the future)
* Draft embedded climate
This adds an initial version of an embedded climate/thermostat (heating only for now) with support for local control even with Wi-Fi out.
Solves #646
Solves #263
* Update ReleaseNotes.md
* Fix climate slider
Fix for climate slider opening in an incorrect position and sending only the integer part of the new target temperature
* Moving home page to ESPHome
In progress...
* Fix translations - Dutch
* Embedded chip 3
Home page - Chip 3 will be controlled locally when embedded climate is enable.
* Fixed buttons bar
Fixed buttons bar managed on ESPHome when embedded climate is visible.
* Update ReleaseNotes.md
* Services back to the Blueprint
Moving service calls back to the blueprint as latest HA requires user's permissions to call HA services from ESPHome.
This still have to be used for Alarm calls due to security concerns.
* Update ReleaseNotes.md
* support to hidden ssid (#908)
Supports hidden ssid with the use of substitutions `wifi_hidden: "true"`.
This can be breaking change for users with custom/advanced wifi settings.
Solves #906
* Update nspanel_esphome.yaml
* Removed `restore_state`
There is some incomplete work related to alarms on this commit, but the focus here is to fix `restore_state` on ESPHome v2023.7.0.
This solves #939
* US model - Fan page - Redistribute icons
Redistributed icons on Fan page on US model in order to improve usability.
Based on feedback from https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6338706
* Align `nspanel_us_land`
Apply all changes from EU to US_Land
* Fix relays chips
Fix relay status indication on chips.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/926#issuecomment-1627660273
* Fix "invalid variable" for "api"
Fix error "Nextion invalid variable name" when setting `api`.
* Default embedded climate to relay_0
* Fix issue with `restore_state` and ESPHome v2023.7.0 (#941)
Solves #939
* Fix translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6511043
* Fix `set_temperature` for climate
Solves #957
* Fix `fan.turn_off` call
Removed timer call from fan stop button.
This solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6494535
* Call a `fan.turn_off` when percentage is 0%
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6621756
* Fix call for fan stop button
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6622377
* Icons on ESPHome
Move icons from TFT/HMI to ESPHome to prevent error on Nextion2Text.
* Updated translations - Spanish
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6548961
* Make home page sensor's icons consistent
Make icon selection consistent with chips where the entity's icon is used in case a icon is not set in the blueprint settings.
Solves #963
* Updated translations - Slovenian
Based on:
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6665723
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-6665751
* dutch (#974)
* small ducht translations
small ducht translations
* Dutch translations
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Add-on support (#977)
Moved climate settings to an add-on.
Updated documentation.
* Fixed link to addon climate docs
* Fix change brightness when sleeping
Prevents the panel to change screen brightness when sleeping.
Solves #975
* Standardize HA service calls
* Bump version to `4.0 dev`
* Create customization.md
This will reduce the need for:
- #920
- #662
- #833
* Clean-up for customizations
Clean up ESPHome in order to make easier the use of customizations.
* Create Alarm page
* Add page Alarm
* Add Alarm docs
Update docs to reflect the current state (new features & changes)
* Creating "install.md" and update add-ons instructions
* Add Alarm page buttons pics
* Add link to Alarm on page Home
* Create Alarm page
* Alarm button font color
* Add `keyb_num` page
* Alarm Control Panel with PIN (#982)
Implements an Alarm Control Panel page on NSPanel.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/66
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/227
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/672
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4874612
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/64#issuecomment-1566204490
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718
* Fix alarm without pin not working
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/pull/930#issuecomment-1680981977
* Alarm page UI
Fixed close button
Disabled buttons are darker
* Move Entities button to ESPHome
Move logic behind Entities button (Home page) from Blueprint to ESPHome in order to gain performance on creating home page.
* Human readable Uptime (#986)
* Human readable Uptime
* Uptime from Frenck code
* Uptime with Frenck code
* Updated Human Readable Uptime
* Removed trailing spaces
* Renamed sensor to "Last started"
Sensor renamed
Update moved to the boot process
Clean-up
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Co-authored-by: Edward Firmo <edward@costafirmo.com>
* Update alarm icon & color
* Revert `fast_connect` back to `false`
* Extended chars on buttons pages (#988)
Replaces #740
Probably solves #664
Probably solves #738
Probably solves #987
* Removed `fast_connect`
* Support to `code_arm_required`
Only shows the alarm PIN keyboard if a code is required for arming (or when disarming).
* Update alarm icon on home page
Refresh icon when alarm state changes.
* Fix alarm icon not updating on home page
* Home buttons new format - Alarm
Modernise the button Alarm flow on page Home to improve performance.
* Home buttons new format - Entities
Modernise the button "Entities" flow on page Home to improve performance.
* Home buttons new format - QRcode
Modernise the button "QRcode" flow on page Home to improve performance.
* Home buttons new format - Notification
Modernise the button "Notification" flow on page Home to improve performance.
I haven't moved the code from the Blueprint to ESPHome yet, as I will leave this for when we rebuild the Notification flow in the near future (hopefully), so the performance gains may not be perceived now. Just aligning with other buttons format.
* Adding screenshots
* Delete ReleaseNotes.md
Moved to the release
* New entity filter format
This new format was released with HA v2023.4 and the old one will be deprecated soon.
* Fix Alarm page bypass icon
* Bump version to 4.0
* Rename `addon_climate_heat`
* Simplify climate substitutions
* Add support for `addon_climate_cool`
* Removed `${verbose_log}`
Use logger level `VERBOSE` instead
* Fix script call
* Clean up general entities & fallback
Store inputs into variables only when needed.
Removed fallback mode - Replaced by ESPHome local control when the relay is assigned to the button in the blueprint.
* Phase out sensor `nspanel_event` (partially)
This sensor is being replaced by event calls.
* uptime sensors (#998)
* Create ReleaseNotes.md
* Fix Climate page when embedded climate
And also added a lot of logs which should be removed later as it takes from memory.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6835260
* Move brightness control to global var
Clean up page Home
* Alarm page translations - Finnish
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6857262
* Exported pics
* Clean-up TFT
- Removed a bunch of unused pics
- Changed page indicator to new format (which will allow future development to hide unused pages)
- Standardized close button in most pages
* Fixed background pics
- Entities pages
- Weather pages
* Standardize close button
* Add "Alarm" section
* Support to wake-up page on `wake_up_display` service
This changes the behavior of a service introduced by #734.
* Optimize `wake_up_display` service
* Fix icon font sizes 10 and 64
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1701903604
And also remove all the unnecessary `wait_until`
* Fix Settings page element ids
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702109668
* Add translation keys for `settings` page
#1002
* Update settings page when brightness changes on HA
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702149796
* Clean-up page settings
* update docs (#1003)
* updated docs
* Update ReleaseNotes.md
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Clean-up Cover page
I'm preparing this page to have icons changing based on the device_class selected to a cover.
* Clean-up boot delay
* Enable `current_page` sensor by default
Otherwise the system won´t update values unless the page is reloaded.
* Use `current_page` in blueprint conditions
One more step towards the phase out of `nspanelevent`.
* Move `script.refresh_colors` to `service.global_settings`
As this is called from a single point, there's no meaning of having a separated script.
* Fix climate icon update
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891454
* Fix button show on climate page
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891335
* Visual improvements on climate page
- Add friendly name when embedded - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891465
- Make disable icons a bit darker - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6893440
- Add space for page title in EU an US Land versions
- Reset page timer when pressing/releasing on the slider - Partially solves #990
* Don't update values when page home is not visible
To reduce load on Home Assistant and the network
* Cleanup boot sequence
Move some functionalities to ESPHome
* Display internal sensor value when wifi is out
Before it was showing on home page only when API was out. This adds a test for WiFi.
* Fix `default_target_temperature`
It also updates the page home when thermostat status changes (for the chips).
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6897727
* Adding ID to components missing it
* Renamed `wake_up_display` to `wake_up`
* Re-arrange commands list
* Add service `set_component_color`
Deprecates the following services:
- `send_command_font_color`
- `send_command_background_color`
* Fix button pages not showing
* Adjusted time for HW long click
* Fixed buttons on settings page
* Minor adjustments to page climate
And replace font 10 to size 48 (it was 64 since a few days ago).
* Updates to breaking changes list
* Page settings redesign
Clean up the UI of settings page.
Prepare for translations.
* Enable translations of Settings page
* Notification word-wrap
For EU and US_LAND only, for now.
* Notifications page rebuilt
- Notification button processed on ESPHome (as all the info is there)
- Added word-wrap for main text
- Expanded text size
- Handling display mode (used to define the number of chars per line on Notifications)
- Versioning handling - As a consequence of the previous item.
* Word-wrap buttons pages
Taking advantage of the algorithm created for notifications.
* Word-wrap for Alarm page
* Version mismatch notication
* Fix ESPHome not starting with older TFT
* Rebuilt home page status bar update
* Updated translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-6926846
Thanks @MaiPiu
* Fix `Nextion reported variable name invalid!`
* Fix `Nextion variable invalid`
* Handle `embedded_indoor_temperature`
Internal temperature display will be handled locally (ESPHome) when no other sensor is selected.
* Review temperature correction engine
* Fix display climate chip
* update `temp_nspanel` when correction changes
* Fix `Fan` page not open with long press HW button
Solves #1007
* Minor adjustments on settings page
* version 4.0 ready for release
* Clean-up docs
* Improve version notification
* Disable restore `notification_unread`
This must be changed to a binary sensor in the future.
* Beta v4.0 (#1012)
* Create ReleaseNotes.md (#879)
* Create ReleaseNotes.md
* sensor display precision
* Filter devices to esp32 only (#881)
* Filter devices to esp32 only
Show only ESP32 devices when selecting the panel
* Filtered device list
* Sensor display precision (#880)
Now the values shown in your panel will follow the [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision) provided by Home Assistant.
=> If you have problems with a value exceeding the available space in your panel, please reduce the number of decimals using Home Assistant [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision).
* New language selector (#882)
* New language selector
* Update ReleaseNotes.md
* Update ReleaseNotes.md
* Remove `settings_entity` (#887)
* Remove `settings_entity`
- Bump version to 3.5_dev
- Removed references to pictures removed from TFT
- Removed code related to closing settings pages
- Removed trigger `settings_entity`
* Removed `set_settings_entity` service
- Bump version to 3.5_dev
- Removed `set_settings_entity` service - BREAKING CHANGE
- Removed `settings_entity` text-sensor - BREAKING CHANGE
- Added service `open_entity_settings_page` - BREAKING CHANGE
* Removed `settings_entity`
- Bump version to 3.5_dev
- Removed old climate page (climate_backup)
- Removed pics related to old climate page (ids 16-47, 80-83, 95-96 and 125(US only))
- Enforces brightness on any page change (this allows wake-up on settings page with long press on physical buttons) - Pending removing code from Blueprint
- Added `entity` variable on pages `climate`, `lightsettings` and `coversettings`
- Added `entity` info to `nspanelevent` on pages `climate`, `lightsettings` and `coversettings`
- Added `back_page` variable on pages `climate`, `lightsettings` and `coversettings` (default: home)
- Moving to TFT close page logic on pages `climate`, `lightsettings` and `coversettings` - Pending changes on Blueprint and ESPHome
- Standardized name for `page_label` on pages `climate`, `lightsettings` and `coversettings`
- Standardized settings page names: `climate`, `cover` and `light` (Removed `settings` from page name)
* Removed `settings_entity`
* Removed `settings_entity`
* Removed `settings_entity`
* Move `entity` variable to home page (#889)
* Move `entity` variable to home page
This will enable future development of a fallback climate
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Use `en` as fallback language (#891)
* Use `en` as fallback language
Uses English if a non valid language is selected (like when using legacy language selection).
* Use `en` as fallback language
* Create `nspanel_us_land.tft` (#890)
* Create `nspanel_us_land.tft'
Add `nspanel_us_land.tft' for US panel on landscape mode, fixing the offset on the touch screen when using `nspanel_eu.tft` into a US panel.
Hides the hardware buttons labels, as Nextion cannot support rotated text.
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
solves #390
solves #432
solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4933716
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
* Fix "Button confirmation page not working correctly"
Solves #883
* Supports weather forecast with `datetime` not string
This adds support to weather integrations where the `datetime` field under `forecast` attribute is provided as a `datetime` type.
This was seen on Météo-France, while all other weather integrations tested so far used a `text` field for `datetime`.
This solves #893
* Wifi icon to indicate when API offline
This changes the behavior of Wifi icon:
How it was before:
- Wifi icon was visible only when the wifi was connected, nothing was shown when wifi was not connected.
How it is now:
- Wifi icon will have 3 states:
- Wifi & API connected: Gray wifi icon
- Wifi disconnected: Red wifi-off icon
- Wifi connected, but API disconnected (HA is out?): Red api-off icon
* API status indication on the panel
* Limit light & cover to supported settings (#896)
* Limit light to supported settings
When showing light settings, only the supported features will be shown for each light.
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
This partially solves #635
* Limits covers to supported settings
Only show cover settings when `set_position` is supported.
This solves #635
* Limits covers to supported settings
* Update instructions.md
* Add Fan speed settings page (#897)
* Add Fan speed settings page
Add an initial fan speed control page for fans supporting speed control.
Add speed (%) info in the buttons pages.
Solves #404
Solves #791
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5786106
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Fix name on confirmation page
Fix the entity name on the confirmation page.
The new order is:
1. Name set on the blueprint settings
2. Entity's `friendly_name` attribute
3. Entity's `name` attribute
4. Entity's `entity_id`
Solves #501
* Select wake-up page (#898)
* Select wake-up page
Users will be able to select the wake-up page on the blueprint inputs.
This selected page will be shown after a boot (after the boot page) and with a touch in the screen when on screen saver page.
After showing this wake-up page, all the previous behavior for closing the page (with a click or after a timeout) will be the same.
Solves #576
Solves #612
Solves #801
Probably improves for https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5715670
* Select wake-up page
* Fan update engine
Change the fan update engine to follow the same patter as other settings pages.
* Update ReleaseNotes.md
* Adding vertical bars pics
* Panel offline mode (#900)
* Panel offline mode
Introduces "offline mode" for the panel, which will be used later with a fallback climate.
Pages that are depending on the blueprint (buttons pages, entity pages, settings pages, etc) won't be shown when the API is disconnected.
* Panel offline mode
* Panel offline mode
* Panel offline mode
* Panel offline mode
* "Jump to settings" on tft
Moved "Jump to settings page" routine from ESPHome to TFT in order to reduce complexity.
* Exclude Nextion2Text
Exclude Nextion2Text
* Fix validation issue
* Time engine on ESPHome
* Time engine on ESPHome
* Notification page bigger hotspot
Added hotspots around the buttons (Accept & Clear) on Notification page to make easier to click on those.
Solves #907
* Boot page retry comm
The boot page will retry communication with the blueprint once a minute to avoid the situation where that page is shown until the automation is reloaded.
* Fix call to screen page
Fixes the call to screen page on US panel.
Reconciliate the US landscape model from EU model.
* Fix fan page `button_on`
Fixing rounding on that button.
* Fixed Fan page rounding
* Prevents boot sequence in other pages
* Physical relay local control
We are trying to make your panel as autonomous as possible by moving some of the controls from the Blueprint to ESPHome. This will reduce the load in your network and Home Assistant, but also will make a more reliable system capable to do it's core functionality even when the network is unavailable or Home Assistant is restarting.
With this version, the following engines have been moved to your panel (local control):
- Physical relay control (when hardware left button is connected to relay 1 or right button to relay 2)
Solves #910
* Embedded climate (#917)
* Performance improvements
The main focus here was to reduce the number of calls between Home Assistant and ESPHome, moving logic as much as possible to TFT and ESPHome.
- Service calls moved to ESPHome (in preparation for Alarm Control Panel)
- Page change informed via event call instead of `nspanel_event` sensor (which still in use by other calls, but might be possible to remove in the future)
* Draft embedded climate
This adds an initial version of an embedded climate/thermostat (heating only for now) with support for local control even with Wi-Fi out.
Solves #646
Solves #263
* Update ReleaseNotes.md
* Fix climate slider
Fix for climate slider opening in an incorrect position and sending only the integer part of the new target temperature
* Moving home page to ESPHome
In progress...
* Fix translations - Dutch
* Embedded chip 3
Home page - Chip 3 will be controlled locally when embedded climate is enable.
* Fixed buttons bar
Fixed buttons bar managed on ESPHome when embedded climate is visible.
* Update ReleaseNotes.md
* Services back to the Blueprint
Moving service calls back to the blueprint as latest HA requires user's permissions to call HA services from ESPHome.
This still have to be used for Alarm calls due to security concerns.
* Update ReleaseNotes.md
* support to hidden ssid (#908)
Supports hidden ssid with the use of substitutions `wifi_hidden: "true"`.
This can be breaking change for users with custom/advanced wifi settings.
Solves #906
* Update nspanel_esphome.yaml
* Removed `restore_state`
There is some incomplete work related to alarms on this commit, but the focus here is to fix `restore_state` on ESPHome v2023.7.0.
This solves #939
* US model - Fan page - Redistribute icons
Redistributed icons on Fan page on US model in order to improve usability.
Based on feedback from https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6338706
* Align `nspanel_us_land`
Apply all changes from EU to US_Land
* Fix relays chips
Fix relay status indication on chips.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/926#issuecomment-1627660273
* Fix "invalid variable" for "api"
Fix error "Nextion invalid variable name" when setting `api`.
* Default embedded climate to relay_0
* Fix translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6511043
* Fix `set_temperature` for climate
Solves #957
* Fix `fan.turn_off` call
Removed timer call from fan stop button.
This solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6494535
* Call a `fan.turn_off` when percentage is 0%
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6621756
* Fix call for fan stop button
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6622377
* Icons on ESPHome
Move icons from TFT/HMI to ESPHome to prevent error on Nextion2Text.
* Updated translations - Spanish
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6548961
* Make home page sensor's icons consistent
Make icon selection consistent with chips where the entity's icon is used in case a icon is not set in the blueprint settings.
Solves #963
* Updated translations - Slovenian
Based on:
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6665723
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-6665751
* dutch (#974)
* small ducht translations
small ducht translations
* Dutch translations
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Add-on support (#977)
Moved climate settings to an add-on.
Updated documentation.
* Fixed link to addon climate docs
* Fix change brightness when sleeping
Prevents the panel to change screen brightness when sleeping.
Solves #975
* Standardize HA service calls
* Bump version to `4.0 dev`
* Create customization.md
This will reduce the need for:
- #920
- #662
- #833
* Clean-up for customizations
Clean up ESPHome in order to make easier the use of customizations.
* Create Alarm page
* Add page Alarm
* Add Alarm docs
Update docs to reflect the current state (new features & changes)
* Creating "install.md" and update add-ons instructions
* Add Alarm page buttons pics
* Add link to Alarm on page Home
* Create Alarm page
* Alarm button font color
* Add `keyb_num` page
* Alarm Control Panel with PIN (#982)
Implements an Alarm Control Panel page on NSPanel.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/66
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/227
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/672
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4874612
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/64#issuecomment-1566204490
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718
* Fix alarm without pin not working
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/pull/930#issuecomment-1680981977
* Alarm page UI
Fixed close button
Disabled buttons are darker
* Move Entities button to ESPHome
Move logic behind Entities button (Home page) from Blueprint to ESPHome in order to gain performance on creating home page.
* Human readable Uptime (#986)
* Human readable Uptime
* Uptime from Frenck code
* Uptime with Frenck code
* Updated Human Readable Uptime
* Removed trailing spaces
* Renamed sensor to "Last started"
Sensor renamed
Update moved to the boot process
Clean-up
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Co-authored-by: Edward Firmo <edward@costafirmo.com>
* Update alarm icon & color
* Revert `fast_connect` back to `false`
* Extended chars on buttons pages (#988)
Replaces #740
Probably solves #664
Probably solves #738
Probably solves #987
* Removed `fast_connect`
* Support to `code_arm_required`
Only shows the alarm PIN keyboard if a code is required for arming (or when disarming).
* Update alarm icon on home page
Refresh icon when alarm state changes.
* Fix alarm icon not updating on home page
* Home buttons new format - Alarm
Modernise the button Alarm flow on page Home to improve performance.
* Home buttons new format - Entities
Modernise the button "Entities" flow on page Home to improve performance.
* Home buttons new format - QRcode
Modernise the button "QRcode" flow on page Home to improve performance.
* Home buttons new format - Notification
Modernise the button "Notification" flow on page Home to improve performance.
I haven't moved the code from the Blueprint to ESPHome yet, as I will leave this for when we rebuild the Notification flow in the near future (hopefully), so the performance gains may not be perceived now. Just aligning with other buttons format.
* Adding screenshots
* Delete ReleaseNotes.md
Moved to the release
* New entity filter format
This new format was released with HA v2023.4 and the old one will be deprecated soon.
* Fix Alarm page bypass icon
* Bump version to 4.0
* Rename `addon_climate_heat`
* Simplify climate substitutions
* Add support for `addon_climate_cool`
* Removed `${verbose_log}`
Use logger level `VERBOSE` instead
* Fix script call
* Clean up general entities & fallback
Store inputs into variables only when needed.
Removed fallback mode - Replaced by ESPHome local control when the relay is assigned to the button in the blueprint.
* Phase out sensor `nspanel_event` (partially)
This sensor is being replaced by event calls.
* uptime sensors (#998)
* Create ReleaseNotes.md
* Fix Climate page when embedded climate
And also added a lot of logs which should be removed later as it takes from memory.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6835260
* Move brightness control to global var
Clean up page Home
* Alarm page translations - Finnish
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6857262
* Exported pics
* Clean-up TFT
- Removed a bunch of unused pics
- Changed page indicator to new format (which will allow future development to hide unused pages)
- Standardized close button in most pages
* Fixed background pics
- Entities pages
- Weather pages
* Standardize close button
* Add "Alarm" section
* Support to wake-up page on `wake_up_display` service
This changes the behavior of a service introduced by #734.
* Optimize `wake_up_display` service
* Fix icon font sizes 10 and 64
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1701903604
And also remove all the unnecessary `wait_until`
* Fix Settings page element ids
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702109668
* Add translation keys for `settings` page
#1002
* Update settings page when brightness changes on HA
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702149796
* Clean-up page settings
* update docs (#1003)
* updated docs
* Update ReleaseNotes.md
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Clean-up Cover page
I'm preparing this page to have icons changing based on the device_class selected to a cover.
* Clean-up boot delay
* Enable `current_page` sensor by default
Otherwise the system won´t update values unless the page is reloaded.
* Use `current_page` in blueprint conditions
One more step towards the phase out of `nspanelevent`.
* Move `script.refresh_colors` to `service.global_settings`
As this is called from a single point, there's no meaning of having a separated script.
* Fix climate icon update
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891454
* Fix button show on climate page
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891335
* Visual improvements on climate page
- Add friendly name when embedded - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891465
- Make disable icons a bit darker - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6893440
- Add space for page title in EU an US Land versions
- Reset page timer when pressing/releasing on the slider - Partially solves #990
* Don't update values when page home is not visible
To reduce load on Home Assistant and the network
* Cleanup boot sequence
Move some functionalities to ESPHome
* Display internal sensor value when wifi is out
Before it was showing on home page only when API was out. This adds a test for WiFi.
* Fix `default_target_temperature`
It also updates the page home when thermostat status changes (for the chips).
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6897727
* Adding ID to components missing it
* Renamed `wake_up_display` to `wake_up`
* Re-arrange commands list
* Add service `set_component_color`
Deprecates the following services:
- `send_command_font_color`
- `send_command_background_color`
* Fix button pages not showing
* Adjusted time for HW long click
* Fixed buttons on settings page
* Minor adjustments to page climate
And replace font 10 to size 48 (it was 64 since a few days ago).
* Updates to breaking changes list
* Page settings redesign
Clean up the UI of settings page.
Prepare for translations.
* Enable translations of Settings page
* Notification word-wrap
For EU and US_LAND only, for now.
* Notifications page rebuilt
- Notification button processed on ESPHome (as all the info is there)
- Added word-wrap for main text
- Expanded text size
- Handling display mode (used to define the number of chars per line on Notifications)
- Versioning handling - As a consequence of the previous item.
* Word-wrap buttons pages
Taking advantage of the algorithm created for notifications.
* Word-wrap for Alarm page
* Version mismatch notication
* Fix ESPHome not starting with older TFT
* Rebuilt home page status bar update
* Updated translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-6926846
Thanks @MaiPiu
* Fix `Nextion reported variable name invalid!`
* Fix `Nextion variable invalid`
* Handle `embedded_indoor_temperature`
Internal temperature display will be handled locally (ESPHome) when no other sensor is selected.
* Review temperature correction engine
* Fix display climate chip
* update `temp_nspanel` when correction changes
* Fix `Fan` page not open with long press HW button
Solves #1007
* Minor adjustments on settings page
* version 4.0 ready for release
* Clean-up docs
---------
Co-authored-by: bkbartk <bartkock@outlook.com>
Co-authored-by: w00zy <WZYProjects+github@gmail.com>
* Fix Fan page button colors when opening
Solves #1017
* Translations (#1023)
* Translations
* Update nspanel_blueprint.yaml
I've changed `brightness` for now as the new design isn't implemented yet, but that string is already in use with the current design.
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Adjustments to settings page
* Fix entity info when calling detailed pages
Solves #1022
* Added `media_player` page (hidden)
* New "Confirm" pop-up
This also removes the sensor "NSPanel Event"
* Fix pages not updating values
Solves #1026
* Media player - Buttons
- Added code to buttons on media_player page.
- Clean-up:
- Moved wake-up select from Blueprint to ESPHome component
- Removed `switch.xxxxx_confirmation_message`
* Fix logging for global_settings
It was logging wakeup_page, which is deprecated
* Improved version notification
* Removed trailing spaces
* Notification for `sensor.xxxxx_current_page` missing
This might be a common issue for users migrating from v3.4 to v3.5.
This information is part of the release notes, but I believe it worth having a guide to support closely any user who miss that in the release notes.
* Simplify `touchevent` engine
The touch event is used only for the sleeping engine (it will be used for dimming later) and it was transferring all the json info with page name, component, entity, etc.
This was replaced by a simple random integer with no meaning other than "the screen was touched, reset the timer".
* Media player first buttons actions
* Fix unknown service: `media_player.null`
* Media Player control
You will be able to add a Media Player entity to any of the buttons pages and with a long press you will see the media player page.
* Remove dimming timer for now
The funcionality isn't completed.
* Home page - Custom buttons
On the blueprint you can now set up to 3 buttons to be shown on Home page.
It will show the detailed settings page, so the entity must be compatible.
* Fix Media player missing parameters
Possibly solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1030#discussioncomment-6984573
* Prevents calls to `media_player.null`
* Remove `entity` info from pages on TFT
Since v3.4, the info about entity_id shown was going all the way to Nextion and then sent back in the json return, however this requires a long (100-char) global var and the way it was implemented, it was one of those per settings page, as climate should be also recorded at the same time in case the embedded climate was installed.
This was taking too much memory, so I've moved this info to a global variable (string) in ESPHome.
There is now lots of space for code cleaning (and still pending to do the same with climate entity, as it could be only a bool to inform if embedded), but this brings the functionality.
This enabled the return to global for some components, so it probably solves #1031
* Prototyping `power` page
Thanks @Floppe for doing the design
#838
* Prototyping `power` page
* New sleep flow
* Removed trailing spaces
* Fix empty page climate
* Fix names on button pages
Fix names when a name is not provided in the blueprint settings.
* Fix call to sleep routine when timeout changes
Solves #1037
* Replace `confirm` var on buttons pages
Simpler and saves some memory.
* Clean-up
* Align the code for the 3 timers
* Extend domains supported by home page custom buttons
Based on #1034
* Fix error when btn_label is `None`
* Fix `Variable invalid` on buttons pages
* Fix constructor of Entity pages
* Fallback even when button is assigned to another entity
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/1013#issuecomment-1720107844
* Add inputs for media player refresh time
* Adjustments to Media Player refresh interval default values
* Use panel's events to reset timers
Possibly solves #1040
Possibly solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-7020153
* State based colors to home page custom buttons
* Fix alarm not changing status
Do not clear `entity_id` when opening keyboard page, so the info can be used when sending commands.
Solves #1039
* Missing `nspanel_us.tft`
* add `touchevents` to pages `media_player` and `confirm`
To avoid panel going back to Home page while user is playing with the page.
Solves #1040
* Media player minor layout changes
* Media player - Volume timer & icon size
Volume timer changed from 1000 to 500ms
Icon change from font 9 to 10
* Media player roll back font 9 and timer 1s
* Don't send to Nextion obsolete volume settings
If the volume is the same as the last one sent to the screen, don't send again, so if changes are being made on the screen it didn't receive the update all the time, making the slider unresponsive.
* Media player - Layout improvement
- Removed button "Stop"
- Increase touch area for buttons
- Redistributed buttons on page
* Add touchevents to page climate
Possibly solves #995
* Resolve validation
* Correct playing time based on `updated_at` attribute
* Prepare for when attribute is not available
* Fix attribute `media_position`
* Fix time duration when HA isn't updating position
* Fix climate page not opening when offline
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6834067
* Clean-up release notes
* Clean up code
- Removed commented out lines
- Removed temporary logs
Getting prepared to release
* Bump version to 4.0beta
To reduce the chance of an obsolete file in use after the release.
* Change version to 4.0dev
To differentiate from beta.
* Added missing translations (#1047)
* Added missing translations
Added missing translations for the Swedish translation.
* Caption first char
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Translations to Slovak on Settings page
* Refresh docs
* Update nspanel_blank.md
* Update nspanel_blank.md
* Add screensaver to `nspanel_blank.tft`
And build a new tft with latest firmware and url for instructions.
* Update nspanel_blank.md
* Fix to Slovenian translation
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-7041796
* Settings page - Translations to French
From https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-7045452
* Alarm page - Translations to French
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-7046479
* Add customization for display sleeping/awake
Probably solves #1035
* Customizations - Blank TFT button
Probably solves #1048
* Customizations - Deep sleep
Solves #955
* Customization - Deep sleep - Fix broken link
* Translations - Slovak
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-7054153
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-7054142
* New versioning - not implemented
* Bump version to `4.0b2`
* v4.0 release
---------
Co-authored-by: bkbartk <bartkock@outlook.com>
Co-authored-by: w00zy <WZYProjects+github@gmail.com>
Co-authored-by: w00zy <52609940+WZYProjects@users.noreply.github.com>
Co-authored-by: Erik Larsson <erik1337.el@gmail.com>
* Beta testing v4.0.1 (#1089)
* Exclude Nextion2Text
Exclude Nextion2Text
* Fix validation issue
* Time engine on ESPHome
* Time engine on ESPHome
* Notification page bigger hotspot
Added hotspots around the buttons (Accept & Clear) on Notification page to make easier to click on those.
Solves #907
* Boot page retry comm
The boot page will retry communication with the blueprint once a minute to avoid the situation where that page is shown until the automation is reloaded.
* Fix call to screen page
Fixes the call to screen page on US panel.
Reconciliate the US landscape model from EU model.
* Fix fan page `button_on`
Fixing rounding on that button.
* Fixed Fan page rounding
* Prevents boot sequence in other pages
* Physical relay local control
We are trying to make your panel as autonomous as possible by moving some of the controls from the Blueprint to ESPHome. This will reduce the load in your network and Home Assistant, but also will make a more reliable system capable to do it's core functionality even when the network is unavailable or Home Assistant is restarting.
With this version, the following engines have been moved to your panel (local control):
- Physical relay control (when hardware left button is connected to relay 1 or right button to relay 2)
Solves #910
* Embedded climate (#917)
* Performance improvements
The main focus here was to reduce the number of calls between Home Assistant and ESPHome, moving logic as much as possible to TFT and ESPHome.
- Service calls moved to ESPHome (in preparation for Alarm Control Panel)
- Page change informed via event call instead of `nspanel_event` sensor (which still in use by other calls, but might be possible to remove in the future)
* Draft embedded climate
This adds an initial version of an embedded climate/thermostat (heating only for now) with support for local control even with Wi-Fi out.
Solves #646
Solves #263
* Update ReleaseNotes.md
* Fix climate slider
Fix for climate slider opening in an incorrect position and sending only the integer part of the new target temperature
* Moving home page to ESPHome
In progress...
* Fix translations - Dutch
* Embedded chip 3
Home page - Chip 3 will be controlled locally when embedded climate is enable.
* Fixed buttons bar
Fixed buttons bar managed on ESPHome when embedded climate is visible.
* Update ReleaseNotes.md
* Services back to the Blueprint
Moving service calls back to the blueprint as latest HA requires user's permissions to call HA services from ESPHome.
This still have to be used for Alarm calls due to security concerns.
* Update ReleaseNotes.md
* support to hidden ssid (#908)
Supports hidden ssid with the use of substitutions `wifi_hidden: "true"`.
This can be breaking change for users with custom/advanced wifi settings.
Solves #906
* Update nspanel_esphome.yaml
* Removed `restore_state`
There is some incomplete work related to alarms on this commit, but the focus here is to fix `restore_state` on ESPHome v2023.7.0.
This solves #939
* US model - Fan page - Redistribute icons
Redistributed icons on Fan page on US model in order to improve usability.
Based on feedback from https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6338706
* Align `nspanel_us_land`
Apply all changes from EU to US_Land
* Fix relays chips
Fix relay status indication on chips.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/926#issuecomment-1627660273
* Fix "invalid variable" for "api"
Fix error "Nextion invalid variable name" when setting `api`.
* Default embedded climate to relay_0
* Fix issue with `restore_state` and ESPHome v2023.7.0 (#941)
Solves #939
* Fix translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6511043
* Fix `set_temperature` for climate
Solves #957
* Fix `fan.turn_off` call
Removed timer call from fan stop button.
This solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6494535
* Call a `fan.turn_off` when percentage is 0%
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6621756
* Fix call for fan stop button
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6622377
* Icons on ESPHome
Move icons from TFT/HMI to ESPHome to prevent error on Nextion2Text.
* Updated translations - Spanish
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6548961
* Make home page sensor's icons consistent
Make icon selection consistent with chips where the entity's icon is used in case a icon is not set in the blueprint settings.
Solves #963
* Updated translations - Slovenian
Based on:
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6665723
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-6665751
* dutch (#974)
* small ducht translations
small ducht translations
* Dutch translations
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Add-on support (#977)
Moved climate settings to an add-on.
Updated documentation.
* Fixed link to addon climate docs
* Fix change brightness when sleeping
Prevents the panel to change screen brightness when sleeping.
Solves #975
* Standardize HA service calls
* Bump version to `4.0 dev`
* Create customization.md
This will reduce the need for:
- #920
- #662
- #833
* Clean-up for customizations
Clean up ESPHome in order to make easier the use of customizations.
* Create Alarm page
* Add page Alarm
* Add Alarm docs
Update docs to reflect the current state (new features & changes)
* Creating "install.md" and update add-ons instructions
* Add Alarm page buttons pics
* Add link to Alarm on page Home
* Create Alarm page
* Alarm button font color
* Add `keyb_num` page
* Alarm Control Panel with PIN (#982)
Implements an Alarm Control Panel page on NSPanel.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/66
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/227
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/672
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4874612
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/64#issuecomment-1566204490
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718
* Fix alarm without pin not working
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/pull/930#issuecomment-1680981977
* Alarm page UI
Fixed close button
Disabled buttons are darker
* Move Entities button to ESPHome
Move logic behind Entities button (Home page) from Blueprint to ESPHome in order to gain performance on creating home page.
* Human readable Uptime (#986)
* Human readable Uptime
* Uptime from Frenck code
* Uptime with Frenck code
* Updated Human Readable Uptime
* Removed trailing spaces
* Renamed sensor to "Last started"
Sensor renamed
Update moved to the boot process
Clean-up
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Co-authored-by: Edward Firmo <edward@costafirmo.com>
* Update alarm icon & color
* Revert `fast_connect` back to `false`
* Extended chars on buttons pages (#988)
Replaces #740
Probably solves #664
Probably solves #738
Probably solves #987
* Removed `fast_connect`
* Support to `code_arm_required`
Only shows the alarm PIN keyboard if a code is required for arming (or when disarming).
* Update alarm icon on home page
Refresh icon when alarm state changes.
* Fix alarm icon not updating on home page
* Home buttons new format - Alarm
Modernise the button Alarm flow on page Home to improve performance.
* Home buttons new format - Entities
Modernise the button "Entities" flow on page Home to improve performance.
* Home buttons new format - QRcode
Modernise the button "QRcode" flow on page Home to improve performance.
* Home buttons new format - Notification
Modernise the button "Notification" flow on page Home to improve performance.
I haven't moved the code from the Blueprint to ESPHome yet, as I will leave this for when we rebuild the Notification flow in the near future (hopefully), so the performance gains may not be perceived now. Just aligning with other buttons format.
* Adding screenshots
* Delete ReleaseNotes.md
Moved to the release
* New entity filter format
This new format was released with HA v2023.4 and the old one will be deprecated soon.
* Fix Alarm page bypass icon
* Bump version to 4.0
* Rename `addon_climate_heat`
* Simplify climate substitutions
* Add support for `addon_climate_cool`
* Removed `${verbose_log}`
Use logger level `VERBOSE` instead
* Fix script call
* Clean up general entities & fallback
Store inputs into variables only when needed.
Removed fallback mode - Replaced by ESPHome local control when the relay is assigned to the button in the blueprint.
* Phase out sensor `nspanel_event` (partially)
This sensor is being replaced by event calls.
* uptime sensors (#998)
* Create ReleaseNotes.md
* Fix Climate page when embedded climate
And also added a lot of logs which should be removed later as it takes from memory.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6835260
* Move brightness control to global var
Clean up page Home
* Alarm page translations - Finnish
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6857262
* Exported pics
* Clean-up TFT
- Removed a bunch of unused pics
- Changed page indicator to new format (which will allow future development to hide unused pages)
- Standardized close button in most pages
* Fixed background pics
- Entities pages
- Weather pages
* Standardize close button
* Add "Alarm" section
* Support to wake-up page on `wake_up_display` service
This changes the behavior of a service introduced by #734.
* Optimize `wake_up_display` service
* Fix icon font sizes 10 and 64
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1701903604
And also remove all the unnecessary `wait_until`
* Fix Settings page element ids
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702109668
* Add translation keys for `settings` page
#1002
* Update settings page when brightness changes on HA
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702149796
* Clean-up page settings
* update docs (#1003)
* updated docs
* Update ReleaseNotes.md
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Clean-up Cover page
I'm preparing this page to have icons changing based on the device_class selected to a cover.
* Clean-up boot delay
* Enable `current_page` sensor by default
Otherwise the system won´t update values unless the page is reloaded.
* Use `current_page` in blueprint conditions
One more step towards the phase out of `nspanelevent`.
* Move `script.refresh_colors` to `service.global_settings`
As this is called from a single point, there's no meaning of having a separated script.
* Fix climate icon update
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891454
* Fix button show on climate page
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891335
* Visual improvements on climate page
- Add friendly name when embedded - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891465
- Make disable icons a bit darker - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6893440
- Add space for page title in EU an US Land versions
- Reset page timer when pressing/releasing on the slider - Partially solves #990
* Don't update values when page home is not visible
To reduce load on Home Assistant and the network
* Cleanup boot sequence
Move some functionalities to ESPHome
* Display internal sensor value when wifi is out
Before it was showing on home page only when API was out. This adds a test for WiFi.
* Fix `default_target_temperature`
It also updates the page home when thermostat status changes (for the chips).
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6897727
* Adding ID to components missing it
* Renamed `wake_up_display` to `wake_up`
* Re-arrange commands list
* Add service `set_component_color`
Deprecates the following services:
- `send_command_font_color`
- `send_command_background_color`
* Fix button pages not showing
* Adjusted time for HW long click
* Fixed buttons on settings page
* Minor adjustments to page climate
And replace font 10 to size 48 (it was 64 since a few days ago).
* Updates to breaking changes list
* Page settings redesign
Clean up the UI of settings page.
Prepare for translations.
* Enable translations of Settings page
* Notification word-wrap
For EU and US_LAND only, for now.
* Notifications page rebuilt
- Notification button processed on ESPHome (as all the info is there)
- Added word-wrap for main text
- Expanded text size
- Handling display mode (used to define the number of chars per line on Notifications)
- Versioning handling - As a consequence of the previous item.
* Word-wrap buttons pages
Taking advantage of the algorithm created for notifications.
* Word-wrap for Alarm page
* Version mismatch notication
* Fix ESPHome not starting with older TFT
* Rebuilt home page status bar update
* Updated translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-6926846
Thanks @MaiPiu
* Fix `Nextion reported variable name invalid!`
* Fix `Nextion variable invalid`
* Handle `embedded_indoor_temperature`
Internal temperature display will be handled locally (ESPHome) when no other sensor is selected.
* Review temperature correction engine
* Fix display climate chip
* update `temp_nspanel` when correction changes
* Fix `Fan` page not open with long press HW button
Solves #1007
* Minor adjustments on settings page
* version 4.0 ready for release
* Clean-up docs
* Improve version notification
* Disable restore `notification_unread`
This must be changed to a binary sensor in the future.
* Beta v4.0 (#1012)
* Create ReleaseNotes.md (#879)
* Create ReleaseNotes.md
* sensor display precision
* Filter devices to esp32 only (#881)
* Filter devices to esp32 only
Show only ESP32 devices when selecting the panel
* Filtered device list
* Sensor display precision (#880)
Now the values shown in your panel will follow the [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision) provided by Home Assistant.
=> If you have problems with a value exceeding the available space in your panel, please reduce the number of decimals using Home Assistant [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision).
* New language selector (#882)
* New language selector
* Update ReleaseNotes.md
* Update ReleaseNotes.md
* Remove `settings_entity` (#887)
* Remove `settings_entity`
- Bump version to 3.5_dev
- Removed references to pictures removed from TFT
- Removed code related to closing settings pages
- Removed trigger `settings_entity`
* Removed `set_settings_entity` service
- Bump version to 3.5_dev
- Removed `set_settings_entity` service - BREAKING CHANGE
- Removed `settings_entity` text-sensor - BREAKING CHANGE
- Added service `open_entity_settings_page` - BREAKING CHANGE
* Removed `settings_entity`
- Bump version to 3.5_dev
- Removed old climate page (climate_backup)
- Removed pics related to old climate page (ids 16-47, 80-83, 95-96 and 125(US only))
- Enforces brightness on any page change (this allows wake-up on settings page with long press on physical buttons) - Pending removing code from Blueprint
- Added `entity` variable on pages `climate`, `lightsettings` and `coversettings`
- Added `entity` info to `nspanelevent` on pages `climate`, `lightsettings` and `coversettings`
- Added `back_page` variable on pages `climate`, `lightsettings` and `coversettings` (default: home)
- Moving to TFT close page logic on pages `climate`, `lightsettings` and `coversettings` - Pending changes on Blueprint and ESPHome
- Standardized name for `page_label` on pages `climate`, `lightsettings` and `coversettings`
- Standardized settings page names: `climate`, `cover` and `light` (Removed `settings` from page name)
* Removed `settings_entity`
* Removed `settings_entity`
* Removed `settings_entity`
* Move `entity` variable to home page (#889)
* Move `entity` variable to home page
This will enable future development of a fallback climate
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Use `en` as fallback language (#891)
* Use `en` as fallback language
Uses English if a non valid language is selected (like when using legacy language selection).
* Use `en` as fallback language
* Create `nspanel_us_land.tft` (#890)
* Create `nspanel_us_land.tft'
Add `nspanel_us_land.tft' for US panel on landscape mode, fixing the offset on the touch screen when using `nspanel_eu.tft` into a US panel.
Hides the hardware buttons labels, as Nextion cannot support rotated text.
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
solves #390
solves #432
solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4933716
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
* Fix "Button confirmation page not working correctly"
Solves #883
* Supports weather forecast with `datetime` not string
This adds support to weather integrations where the `datetime` field under `forecast` attribute is provided as a `datetime` type.
This was seen on Météo-France, while all other weather integrations tested so far used a `text` field for `datetime`.
This solves #893
* Wifi icon to indicate when API offline
This changes the behavior of Wifi icon:
How it was before:
- Wifi icon was visible only when the wifi was connected, nothing was shown when wifi was not connected.
How it is now:
- Wifi icon will have 3 states:
- Wifi & API connected: Gray wifi icon
- Wifi disconnected: Red wifi-off icon
- Wifi connected, but API disconnected (HA is out?): Red api-off icon
* API status indication on the panel
* Limit light & cover to supported settings (#896)
* Limit light to supported settings
When showing light settings, only the supported features will be shown for each light.
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
This partially solves #635
* Limits covers to supported settings
Only show cover settings when `set_position` is supported.
This solves #635
* Limits covers to supported settings
* Update instructions.md
* Add Fan speed settings page (#897)
* Add Fan speed settings page
Add an initial fan speed control page for fans supporting speed control.
Add speed (%) info in the buttons pages.
Solves #404
Solves #791
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5786106
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Fix name on confirmation page
Fix the entity name on the confirmation page.
The new order is:
1. Name set on the blueprint settings
2. Entity's `friendly_name` attribute
3. Entity's `name` attribute
4. Entity's `entity_id`
Solves #501
* Select wake-up page (#898)
* Select wake-up page
Users will be able to select the wake-up page on the blueprint inputs.
This selected page will be shown after a boot (after the boot page) and with a touch in the screen when on screen saver page.
After showing this wake-up page, all the previous behavior for closing the page (with a click or after a timeout) will be the same.
Solves #576
Solves #612
Solves #801
Probably improves for https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5715670
* Select wake-up page
* Fan update engine
Change the fan update engine to follow the same patter as other settings pages.
* Update ReleaseNotes.md
* Adding vertical bars pics
* Panel offline mode (#900)
* Panel offline mode
Introduces "offline mode" for the panel, which will be used later with a fallback climate.
Pages that are depending on the blueprint (buttons pages, entity pages, settings pages, etc) won't be shown when the API is disconnected.
* Panel offline mode
* Panel offline mode
* Panel offline mode
* Panel offline mode
* "Jump to settings" on tft
Moved "Jump to settings page" routine from ESPHome to TFT in order to reduce complexity.
* Exclude Nextion2Text
Exclude Nextion2Text
* Fix validation issue
* Time engine on ESPHome
* Time engine on ESPHome
* Notification page bigger hotspot
Added hotspots around the buttons (Accept & Clear) on Notification page to make easier to click on those.
Solves #907
* Boot page retry comm
The boot page will retry communication with the blueprint once a minute to avoid the situation where that page is shown until the automation is reloaded.
* Fix call to screen page
Fixes the call to screen page on US panel.
Reconciliate the US landscape model from EU model.
* Fix fan page `button_on`
Fixing rounding on that button.
* Fixed Fan page rounding
* Prevents boot sequence in other pages
* Physical relay local control
We are trying to make your panel as autonomous as possible by moving some of the controls from the Blueprint to ESPHome. This will reduce the load in your network and Home Assistant, but also will make a more reliable system capable to do it's core functionality even when the network is unavailable or Home Assistant is restarting.
With this version, the following engines have been moved to your panel (local control):
- Physical relay control (when hardware left button is connected to relay 1 or right button to relay 2)
Solves #910
* Embedded climate (#917)
* Performance improvements
The main focus here was to reduce the number of calls between Home Assistant and ESPHome, moving logic as much as possible to TFT and ESPHome.
- Service calls moved to ESPHome (in preparation for Alarm Control Panel)
- Page change informed via event call instead of `nspanel_event` sensor (which still in use by other calls, but might be possible to remove in the future)
* Draft embedded climate
This adds an initial version of an embedded climate/thermostat (heating only for now) with support for local control even with Wi-Fi out.
Solves #646
Solves #263
* Update ReleaseNotes.md
* Fix climate slider
Fix for climate slider opening in an incorrect position and sending only the integer part of the new target temperature
* Moving home page to ESPHome
In progress...
* Fix translations - Dutch
* Embedded chip 3
Home page - Chip 3 will be controlled locally when embedded climate is enable.
* Fixed buttons bar
Fixed buttons bar managed on ESPHome when embedded climate is visible.
* Update ReleaseNotes.md
* Services back to the Blueprint
Moving service calls back to the blueprint as latest HA requires user's permissions to call HA services from ESPHome.
This still have to be used for Alarm calls due to security concerns.
* Update ReleaseNotes.md
* support to hidden ssid (#908)
Supports hidden ssid with the use of substitutions `wifi_hidden: "true"`.
This can be breaking change for users with custom/advanced wifi settings.
Solves #906
* Update nspanel_esphome.yaml
* Removed `restore_state`
There is some incomplete work related to alarms on this commit, but the focus here is to fix `restore_state` on ESPHome v2023.7.0.
This solves #939
* US model - Fan page - Redistribute icons
Redistributed icons on Fan page on US model in order to improve usability.
Based on feedback from https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6338706
* Align `nspanel_us_land`
Apply all changes from EU to US_Land
* Fix relays chips
Fix relay status indication on chips.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/926#issuecomment-1627660273
* Fix "invalid variable" for "api"
Fix error "Nextion invalid variable name" when setting `api`.
* Default embedded climate to relay_0
* Fix translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6511043
* Fix `set_temperature` for climate
Solves #957
* Fix `fan.turn_off` call
Removed timer call from fan stop button.
This solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6494535
* Call a `fan.turn_off` when percentage is 0%
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6621756
* Fix call for fan stop button
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6622377
* Icons on ESPHome
Move icons from TFT/HMI to ESPHome to prevent error on Nextion2Text.
* Updated translations - Spanish
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6548961
* Make home page sensor's icons consistent
Make icon selection consistent with chips where the entity's icon is used in case a icon is not set in the blueprint settings.
Solves #963
* Updated translations - Slovenian
Based on:
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6665723
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-6665751
* dutch (#974)
* small ducht translations
small ducht translations
* Dutch translations
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Add-on support (#977)
Moved climate settings to an add-on.
Updated documentation.
* Fixed link to addon climate docs
* Fix change brightness when sleeping
Prevents the panel to change screen brightness when sleeping.
Solves #975
* Standardize HA service calls
* Bump version to `4.0 dev`
* Create customization.md
This will reduce the need for:
- #920
- #662
- #833
* Clean-up for customizations
Clean up ESPHome in order to make easier the use of customizations.
* Create Alarm page
* Add page Alarm
* Add Alarm docs
Update docs to reflect the current state (new features & changes)
* Creating "install.md" and update add-ons instructions
* Add Alarm page buttons pics
* Add link to Alarm on page Home
* Create Alarm page
* Alarm button font color
* Add `keyb_num` page
* Alarm Control Panel with PIN (#982)
Implements an Alarm Control Panel page on NSPanel.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/66
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/227
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/672
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4874612
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/64#issuecomment-1566204490
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718
* Fix alarm without pin not working
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/pull/930#issuecomment-1680981977
* Alarm page UI
Fixed close button
Disabled buttons are darker
* Move Entities button to ESPHome
Move logic behind Entities button (Home page) from Blueprint to ESPHome in order to gain performance on creating home page.
* Human readable Uptime (#986)
* Human readable Uptime
* Uptime from Frenck code
* Uptime with Frenck code
* Updated Human Readable Uptime
* Removed trailing spaces
* Renamed sensor to "Last started"
Sensor renamed
Update moved to the boot process
Clean-up
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Co-authored-by: Edward Firmo <edward@costafirmo.com>
* Update alarm icon & color
* Revert `fast_connect` back to `false`
* Extended chars on buttons pages (#988)
Replaces #740
Probably solves #664
Probably solves #738
Probably solves #987
* Removed `fast_connect`
* Support to `code_arm_required`
Only shows the alarm PIN keyboard if a code is required for arming (or when disarming).
* Update alarm icon on home page
Refresh icon when alarm state changes.
* Fix alarm icon not updating on home page
* Home buttons new format - Alarm
Modernise the button Alarm flow on page Home to improve performance.
* Home buttons new format - Entities
Modernise the button "Entities" flow on page Home to improve performance.
* Home buttons new format - QRcode
Modernise the button "QRcode" flow on page Home to improve performance.
* Home buttons new format - Notification
Modernise the button "Notification" flow on page Home to improve performance.
I haven't moved the code from the Blueprint to ESPHome yet, as I will leave this for when we rebuild the Notification flow in the near future (hopefully), so the performance gains may not be perceived now. Just aligning with other buttons format.
* Adding screenshots
* Delete ReleaseNotes.md
Moved to the release
* New entity filter format
This new format was released with HA v2023.4 and the old one will be deprecated soon.
* Fix Alarm page bypass icon
* Bump version to 4.0
* Rename `addon_climate_heat`
* Simplify climate substitutions
* Add support for `addon_climate_cool`
* Removed `${verbose_log}`
Use logger level `VERBOSE` instead
* Fix script call
* Clean up general entities & fallback
Store inputs into variables only when needed.
Removed fallback mode - Replaced by ESPHome local control when the relay is assigned to the button in the blueprint.
* Phase out sensor `nspanel_event` (partially)
This sensor is being replaced by event calls.
* uptime sensors (#998)
* Create ReleaseNotes.md
* Fix Climate page when embedded climate
And also added a lot of logs which should be removed later as it takes from memory.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6835260
* Move brightness control to global var
Clean up page Home
* Alarm page translations - Finnish
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6857262
* Exported pics
* Clean-up TFT
- Removed a bunch of unused pics
- Changed page indicator to new format (which will allow future development to hide unused pages)
- Standardized close button in most pages
* Fixed background pics
- Entities pages
- Weather pages
* Standardize close button
* Add "Alarm" section
* Support to wake-up page on `wake_up_display` service
This changes the behavior of a service introduced by #734.
* Optimize `wake_up_display` service
* Fix icon font sizes 10 and 64
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1701903604
And also remove all the unnecessary `wait_until`
* Fix Settings page element ids
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702109668
* Add translation keys for `settings` page
#1002
* Update settings page when brightness changes on HA
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702149796
* Clean-up page settings
* update docs (#1003)
* updated docs
* Update ReleaseNotes.md
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Clean-up Cover page
I'm preparing this page to have icons changing based on the device_class selected to a cover.
* Clean-up boot delay
* Enable `current_page` sensor by default
Otherwise the system won´t update values unless the page is reloaded.
* Use `current_page` in blueprint conditions
One more step towards the phase out of `nspanelevent`.
* Move `script.refresh_colors` to `service.global_settings`
As this is called from a single point, there's no meaning of having a separated script.
* Fix climate icon update
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891454
* Fix button show on climate page
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891335
* Visual improvements on climate page
- Add friendly name when embedded - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891465
- Make disable icons a bit darker - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6893440
- Add space for page title in EU an US Land versions
- Reset page timer when pressing/releasing on the slider - Partially solves #990
* Don't update values when page home is not visible
To reduce load on Home Assistant and the network
* Cleanup boot sequence
Move some functionalities to ESPHome
* Display internal sensor value when wifi is out
Before it was showing on home page only when API was out. This adds a test for WiFi.
* Fix `default_target_temperature`
It also updates the page home when thermostat status changes (for the chips).
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6897727
* Adding ID to components missing it
* Renamed `wake_up_display` to `wake_up`
* Re-arrange commands list
* Add service `set_component_color`
Deprecates the following services:
- `send_command_font_color`
- `send_command_background_color`
* Fix button pages not showing
* Adjusted time for HW long click
* Fixed buttons on settings page
* Minor adjustments to page climate
And replace font 10 to size 48 (it was 64 since a few days ago).
* Updates to breaking changes list
* Page settings redesign
Clean up the UI of settings page.
Prepare for translations.
* Enable translations of Settings page
* Notification word-wrap
For EU and US_LAND only, for now.
* Notifications page rebuilt
- Notification button processed on ESPHome (as all the info is there)
- Added word-wrap for main text
- Expanded text size
- Handling display mode (used to define the number of chars per line on Notifications)
- Versioning handling - As a consequence of the previous item.
* Word-wrap buttons pages
Taking advantage of the algorithm created for notifications.
* Word-wrap for Alarm page
* Version mismatch notication
* Fix ESPHome not starting with older TFT
* Rebuilt home page status bar update
* Updated translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-6926846
Thanks @MaiPiu
* Fix `Nextion reported variable name invalid!`
* Fix `Nextion variable invalid`
* Handle `embedded_indoor_temperature`
Internal temperature display will be handled locally (ESPHome) when no other sensor is selected.
* Review temperature correction engine
* Fix display climate chip
* update `temp_nspanel` when correction changes
* Fix `Fan` page not open with long press HW button
Solves #1007
* Minor adjustments on settings page
* version 4.0 ready for release
* Clean-up docs
---------
Co-authored-by: bkbartk <bartkock@outlook.com>
Co-authored-by: w00zy <WZYProjects+github@gmail.com>
* Fix Fan page button colors when opening
Solves #1017
* Translations (#1023)
* Translations
* Update nspanel_blueprint.yaml
I've changed `brightness` for now as the new design isn't implemented yet, but that string is already in use with the current design.
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Adjustments to settings page
* Fix entity info when calling detailed pages
Solves #1022
* Added `media_player` page (hidden)
* New "Confirm" pop-up
This also removes the sensor "NSPanel Event"
* Fix pages not updating values
Solves #1026
* Media player - Buttons
- Added code to buttons on media_player page.
- Clean-up:
- Moved wake-up select from Blueprint to ESPHome component
- Removed `switch.xxxxx_confirmation_message`
* Fix logging for global_settings
It was logging wakeup_page, which is deprecated
* Improved version notification
* Removed trailing spaces
* Notification for `sensor.xxxxx_current_page` missing
This might be a common issue for users migrating from v3.4 to v3.5.
This information is part of the release notes, but I believe it worth having a guide to support closely any user who miss that in the release notes.
* Simplify `touchevent` engine
The touch event is used only for the sleeping engine (it will be used for dimming later) and it was transferring all the json info with page name, component, entity, etc.
This was replaced by a simple random integer with no meaning other than "the screen was touched, reset the timer".
* Media player first buttons actions
* Fix unknown service: `media_player.null`
* Media Player control
You will be able to add a Media Player entity to any of the buttons pages and with a long press you will see the media player page.
* Remove dimming timer for now
The funcionality isn't completed.
* Home page - Custom buttons
On the blueprint you can now set up to 3 buttons to be shown on Home page.
It will show the detailed settings page, so the entity must be compatible.
* Fix Media player missing parameters
Possibly solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1030#discussioncomment-6984573
* Prevents calls to `media_player.null`
* Remove `entity` info from pages on TFT
Since v3.4, the info about entity_id shown was going all the way to Nextion and then sent back in the json return, however this requires a long (100-char) global var and the way it was implemented, it was one of those per settings page, as climate should be also recorded at the same time in case the embedded climate was installed.
This was taking too much memory, so I've moved this info to a global variable (string) in ESPHome.
There is now lots of space for code cleaning (and still pending to do the same with climate entity, as it could be only a bool to inform if embedded), but this brings the functionality.
This enabled the return to global for some components, so it probably solves #1031
* Prototyping `power` page
Thanks @Floppe for doing the design
#838
* Prototyping `power` page
* New sleep flow
* Removed trailing spaces
* Fix empty page climate
* Fix names on button pages
Fix names when a name is not provided in the blueprint settings.
* Fix call to sleep routine when timeout changes
Solves #1037
* Replace `confirm` var on buttons pages
Simpler and saves some memory.
* Clean-up
* Align the code for the 3 timers
* Extend domains supported by home page custom buttons
Based on #1034
* Fix error when btn_label is `None`
* Fix `Variable invalid` on buttons pages
* Fix constructor of Entity pages
* Fallback even when button is assigned to another entity
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/1013#issuecomment-1720107844
* Add inputs for media player refresh time
* Adjustments to Media Player refresh interval default values
* Use panel's events to reset timers
Possibly solves #1040
Possibly solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-7020153
* State based colors to home page custom buttons
* Fix alarm not changing status
Do not clear `entity_id` when opening keyboard page, so the info can be used when sending commands.
Solves #1039
* Missing `nspanel_us.tft`
* add `touchevents` to pages `media_player` and `confirm`
To avoid panel going back to Home page while user is playing with the page.
Solves #1040
* Media player minor layout changes
* Media player - Volume timer & icon size
Volume timer changed from 1000 to 500ms
Icon change from font 9 to 10
* Media player roll back font 9 and timer 1s
* Don't send to Nextion obsolete volume settings
If the volume is the same as the last one sent to the screen, don't send again, so if changes are being made on the screen it didn't receive the update all the time, making the slider unresponsive.
* Media player - Layout improvement
- Removed button "Stop"
- Increase touch area for buttons
- Redistributed buttons on page
* Add touchevents to page climate
Possibly solves #995
* Resolve validation
* Correct playing time based on `updated_at` attribute
* Prepare for when attribute is not available
* Fix attribute `media_position`
* Fix time duration when HA isn't updating position
* Fix climate page not opening when offline
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6834067
* Clean-up release notes
* Clean up code
- Removed commented out lines
- Removed temporary logs
Getting prepared to release
* Bump version to 4.0beta
To reduce the chance of an obsolete file in use after the release.
* Change version to 4.0dev
To differentiate from beta.
* Added missing translations (#1047)
* Added missing translations
Added missing translations for the Swedish translation.
* Caption first char
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Translations to Slovak on Settings page
* Refresh docs
* Update nspanel_blank.md
* Update nspanel_blank.md
* Add screensaver to `nspanel_blank.tft`
And build a new tft with latest firmware and url for instructions.
* Update nspanel_blank.md
* Fix to Slovenian translation
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-7041796
* Settings page - Translations to French
From https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-7045452
* Alarm page - Translations to French
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-7046479
* Add customization for display sleeping/awake
Probably solves #1035
* Customizations - Blank TFT button
Probably solves #1048
* Customizations - Deep sleep
Solves #955
* Customization - Deep sleep - Fix broken link
* Translations - Slovak
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-7054153
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-7054142
* New versioning - not implemented
* Bump version to `4.0b2`
* v4.0 release
* Chpego patch 1 (#1059)
* Update nspanel_blueprint.yaml
fix some typo
* Update nspanel_blueprint.yaml
* Update README.md
* Update nspanel_blueprint.yaml
* Update nspanel_blueprint.yaml
* Started Release Notes for v4.1
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Prevents media player crash with `media_position_updated_at`
Prevents media player crashing when called before `media_position_updated_at` is able to provide a value.
I believe this solves #1062.
* timezone
* Settings page translations - Dutch
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-7073055
* Typo
* Removed `display_current_brightness`
I've removed this sensor as it was spamming the logs and taking memory without providing real benefit.
* Ignore different patch versions
Change the versioning control to major and minor only, ignoring differences on the patch version.
So components with different patch versions should be able to work with each other as soon the major and minor versions are the same.
This same logic was implemented on the blueprint before the 4.0 release.
* Code clean-up
* Flexible time format selected
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/1083#issuecomment-1732228103
* Removed obsolete thermostat page pic
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1076#discussioncomment-7085967
* Add date format for Finnish
* Fix `buttonpage03` long press pointing to page 2
* Fix mute volume not working
Solves #1079 items 2 and 3
* Reset sleep timer when brightness settings changes
Solves #1087
Also removes limit to 10char on "Brightness" on Settings page.
* Bump version to `4.0.1dev`
* Update ReleaseNotes.md
Preparing for patch release.
* Review translations - Finish
Solves #1083
* Update ReleaseNotes.md
* Remove trailing space
* v4.0.1beta
---------
Co-authored-by: bkbartk <bartkock@outlook.com>
Co-authored-by: w00zy <WZYProjects+github@gmail.com>
Co-authored-by: w00zy <52609940+WZYProjects@users.noreply.github.com>
Co-authored-by: Erik Larsson <erik1337.el@gmail.com>
Co-authored-by: chpego <38792705+chpego@users.noreply.github.com>
* v4.0.1 patch release (#1096)
* Time engine on ESPHome
* Time engine on ESPHome
* Notification page bigger hotspot
Added hotspots around the buttons (Accept & Clear) on Notification page to make easier to click on those.
Solves #907
* Boot page retry comm
The boot page will retry communication with the blueprint once a minute to avoid the situation where that page is shown until the automation is reloaded.
* Fix call to screen page
Fixes the call to screen page on US panel.
Reconciliate the US landscape model from EU model.
* Fix fan page `button_on`
Fixing rounding on that button.
* Fixed Fan page rounding
* Prevents boot sequence in other pages
* Physical relay local control
We are trying to make your panel as autonomous as possible by moving some of the controls from the Blueprint to ESPHome. This will reduce the load in your network and Home Assistant, but also will make a more reliable system capable to do it's core functionality even when the network is unavailable or Home Assistant is restarting.
With this version, the following engines have been moved to your panel (local control):
- Physical relay control (when hardware left button is connected to relay 1 or right button to relay 2)
Solves #910
* Embedded climate (#917)
* Performance improvements
The main focus here was to reduce the number of calls between Home Assistant and ESPHome, moving logic as much as possible to TFT and ESPHome.
- Service calls moved to ESPHome (in preparation for Alarm Control Panel)
- Page change informed via event call instead of `nspanel_event` sensor (which still in use by other calls, but might be possible to remove in the future)
* Draft embedded climate
This adds an initial version of an embedded climate/thermostat (heating only for now) with support for local control even with Wi-Fi out.
Solves #646
Solves #263
* Update ReleaseNotes.md
* Fix climate slider
Fix for climate slider opening in an incorrect position and sending only the integer part of the new target temperature
* Moving home page to ESPHome
In progress...
* Fix translations - Dutch
* Embedded chip 3
Home page - Chip 3 will be controlled locally when embedded climate is enable.
* Fixed buttons bar
Fixed buttons bar managed on ESPHome when embedded climate is visible.
* Update ReleaseNotes.md
* Services back to the Blueprint
Moving service calls back to the blueprint as latest HA requires user's permissions to call HA services from ESPHome.
This still have to be used for Alarm calls due to security concerns.
* Update ReleaseNotes.md
* support to hidden ssid (#908)
Supports hidden ssid with the use of substitutions `wifi_hidden: "true"`.
This can be breaking change for users with custom/advanced wifi settings.
Solves #906
* Update nspanel_esphome.yaml
* Removed `restore_state`
There is some incomplete work related to alarms on this commit, but the focus here is to fix `restore_state` on ESPHome v2023.7.0.
This solves #939
* US model - Fan page - Redistribute icons
Redistributed icons on Fan page on US model in order to improve usability.
Based on feedback from https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6338706
* Align `nspanel_us_land`
Apply all changes from EU to US_Land
* Fix relays chips
Fix relay status indication on chips.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/926#issuecomment-1627660273
* Fix "invalid variable" for "api"
Fix error "Nextion invalid variable name" when setting `api`.
* Default embedded climate to relay_0
* Fix issue with `restore_state` and ESPHome v2023.7.0 (#941)
Solves #939
* Fix translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6511043
* Fix `set_temperature` for climate
Solves #957
* Fix `fan.turn_off` call
Removed timer call from fan stop button.
This solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6494535
* Call a `fan.turn_off` when percentage is 0%
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6621756
* Fix call for fan stop button
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6622377
* Icons on ESPHome
Move icons from TFT/HMI to ESPHome to prevent error on Nextion2Text.
* Updated translations - Spanish
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6548961
* Make home page sensor's icons consistent
Make icon selection consistent with chips where the entity's icon is used in case a icon is not set in the blueprint settings.
Solves #963
* Updated translations - Slovenian
Based on:
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6665723
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-6665751
* dutch (#974)
* small ducht translations
small ducht translations
* Dutch translations
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Add-on support (#977)
Moved climate settings to an add-on.
Updated documentation.
* Fixed link to addon climate docs
* Fix change brightness when sleeping
Prevents the panel to change screen brightness when sleeping.
Solves #975
* Standardize HA service calls
* Bump version to `4.0 dev`
* Create customization.md
This will reduce the need for:
- #920
- #662
- #833
* Clean-up for customizations
Clean up ESPHome in order to make easier the use of customizations.
* Create Alarm page
* Add page Alarm
* Add Alarm docs
Update docs to reflect the current state (new features & changes)
* Creating "install.md" and update add-ons instructions
* Add Alarm page buttons pics
* Add link to Alarm on page Home
* Create Alarm page
* Alarm button font color
* Add `keyb_num` page
* Alarm Control Panel with PIN (#982)
Implements an Alarm Control Panel page on NSPanel.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/66
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/227
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/672
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4874612
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/64#issuecomment-1566204490
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718
* Fix alarm without pin not working
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/pull/930#issuecomment-1680981977
* Alarm page UI
Fixed close button
Disabled buttons are darker
* Move Entities button to ESPHome
Move logic behind Entities button (Home page) from Blueprint to ESPHome in order to gain performance on creating home page.
* Human readable Uptime (#986)
* Human readable Uptime
* Uptime from Frenck code
* Uptime with Frenck code
* Updated Human Readable Uptime
* Removed trailing spaces
* Renamed sensor to "Last started"
Sensor renamed
Update moved to the boot process
Clean-up
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Co-authored-by: Edward Firmo <edward@costafirmo.com>
* Update alarm icon & color
* Revert `fast_connect` back to `false`
* Extended chars on buttons pages (#988)
Replaces #740
Probably solves #664
Probably solves #738
Probably solves #987
* Removed `fast_connect`
* Support to `code_arm_required`
Only shows the alarm PIN keyboard if a code is required for arming (or when disarming).
* Update alarm icon on home page
Refresh icon when alarm state changes.
* Fix alarm icon not updating on home page
* Home buttons new format - Alarm
Modernise the button Alarm flow on page Home to improve performance.
* Home buttons new format - Entities
Modernise the button "Entities" flow on page Home to improve performance.
* Home buttons new format - QRcode
Modernise the button "QRcode" flow on page Home to improve performance.
* Home buttons new format - Notification
Modernise the button "Notification" flow on page Home to improve performance.
I haven't moved the code from the Blueprint to ESPHome yet, as I will leave this for when we rebuild the Notification flow in the near future (hopefully), so the performance gains may not be perceived now. Just aligning with other buttons format.
* Adding screenshots
* Delete ReleaseNotes.md
Moved to the release
* New entity filter format
This new format was released with HA v2023.4 and the old one will be deprecated soon.
* Fix Alarm page bypass icon
* Bump version to 4.0
* Rename `addon_climate_heat`
* Simplify climate substitutions
* Add support for `addon_climate_cool`
* Removed `${verbose_log}`
Use logger level `VERBOSE` instead
* Fix script call
* Clean up general entities & fallback
Store inputs into variables only when needed.
Removed fallback mode - Replaced by ESPHome local control when the relay is assigned to the button in the blueprint.
* Phase out sensor `nspanel_event` (partially)
This sensor is being replaced by event calls.
* uptime sensors (#998)
* Create ReleaseNotes.md
* Fix Climate page when embedded climate
And also added a lot of logs which should be removed later as it takes from memory.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6835260
* Move brightness control to global var
Clean up page Home
* Alarm page translations - Finnish
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6857262
* Exported pics
* Clean-up TFT
- Removed a bunch of unused pics
- Changed page indicator to new format (which will allow future development to hide unused pages)
- Standardized close button in most pages
* Fixed background pics
- Entities pages
- Weather pages
* Standardize close button
* Add "Alarm" section
* Support to wake-up page on `wake_up_display` service
This changes the behavior of a service introduced by #734.
* Optimize `wake_up_display` service
* Fix icon font sizes 10 and 64
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1701903604
And also remove all the unnecessary `wait_until`
* Fix Settings page element ids
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702109668
* Add translation keys for `settings` page
#1002
* Update settings page when brightness changes on HA
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702149796
* Clean-up page settings
* update docs (#1003)
* updated docs
* Update ReleaseNotes.md
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Clean-up Cover page
I'm preparing this page to have icons changing based on the device_class selected to a cover.
* Clean-up boot delay
* Enable `current_page` sensor by default
Otherwise the system won´t update values unless the page is reloaded.
* Use `current_page` in blueprint conditions
One more step towards the phase out of `nspanelevent`.
* Move `script.refresh_colors` to `service.global_settings`
As this is called from a single point, there's no meaning of having a separated script.
* Fix climate icon update
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891454
* Fix button show on climate page
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891335
* Visual improvements on climate page
- Add friendly name when embedded - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891465
- Make disable icons a bit darker - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6893440
- Add space for page title in EU an US Land versions
- Reset page timer when pressing/releasing on the slider - Partially solves #990
* Don't update values when page home is not visible
To reduce load on Home Assistant and the network
* Cleanup boot sequence
Move some functionalities to ESPHome
* Display internal sensor value when wifi is out
Before it was showing on home page only when API was out. This adds a test for WiFi.
* Fix `default_target_temperature`
It also updates the page home when thermostat status changes (for the chips).
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6897727
* Adding ID to components missing it
* Renamed `wake_up_display` to `wake_up`
* Re-arrange commands list
* Add service `set_component_color`
Deprecates the following services:
- `send_command_font_color`
- `send_command_background_color`
* Fix button pages not showing
* Adjusted time for HW long click
* Fixed buttons on settings page
* Minor adjustments to page climate
And replace font 10 to size 48 (it was 64 since a few days ago).
* Updates to breaking changes list
* Page settings redesign
Clean up the UI of settings page.
Prepare for translations.
* Enable translations of Settings page
* Notification word-wrap
For EU and US_LAND only, for now.
* Notifications page rebuilt
- Notification button processed on ESPHome (as all the info is there)
- Added word-wrap for main text
- Expanded text size
- Handling display mode (used to define the number of chars per line on Notifications)
- Versioning handling - As a consequence of the previous item.
* Word-wrap buttons pages
Taking advantage of the algorithm created for notifications.
* Word-wrap for Alarm page
* Version mismatch notication
* Fix ESPHome not starting with older TFT
* Rebuilt home page status bar update
* Updated translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-6926846
Thanks @MaiPiu
* Fix `Nextion reported variable name invalid!`
* Fix `Nextion variable invalid`
* Handle `embedded_indoor_temperature`
Internal temperature display will be handled locally (ESPHome) when no other sensor is selected.
* Review temperature correction engine
* Fix display climate chip
* update `temp_nspanel` when correction changes
* Fix `Fan` page not open with long press HW button
Solves #1007
* Minor adjustments on settings page
* version 4.0 ready for release
* Clean-up docs
* Improve version notification
* Disable restore `notification_unread`
This must be changed to a binary sensor in the future.
* Beta v4.0 (#1012)
* Create ReleaseNotes.md (#879)
* Create ReleaseNotes.md
* sensor display precision
* Filter devices to esp32 only (#881)
* Filter devices to esp32 only
Show only ESP32 devices when selecting the panel
* Filtered device list
* Sensor display precision (#880)
Now the values shown in your panel will follow the [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision) provided by Home Assistant.
=> If you have problems with a value exceeding the available space in your panel, please reduce the number of decimals using Home Assistant [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision).
* New language selector (#882)
* New language selector
* Update ReleaseNotes.md
* Update ReleaseNotes.md
* Remove `settings_entity` (#887)
* Remove `settings_entity`
- Bump version to 3.5_dev
- Removed references to pictures removed from TFT
- Removed code related to closing settings pages
- Removed trigger `settings_entity`
* Removed `set_settings_entity` service
- Bump version to 3.5_dev
- Removed `set_settings_entity` service - BREAKING CHANGE
- Removed `settings_entity` text-sensor - BREAKING CHANGE
- Added service `open_entity_settings_page` - BREAKING CHANGE
* Removed `settings_entity`
- Bump version to 3.5_dev
- Removed old climate page (climate_backup)
- Removed pics related to old climate page (ids 16-47, 80-83, 95-96 and 125(US only))
- Enforces brightness on any page change (this allows wake-up on settings page with long press on physical buttons) - Pending removing code from Blueprint
- Added `entity` variable on pages `climate`, `lightsettings` and `coversettings`
- Added `entity` info to `nspanelevent` on pages `climate`, `lightsettings` and `coversettings`
- Added `back_page` variable on pages `climate`, `lightsettings` and `coversettings` (default: home)
- Moving to TFT close page logic on pages `climate`, `lightsettings` and `coversettings` - Pending changes on Blueprint and ESPHome
- Standardized name for `page_label` on pages `climate`, `lightsettings` and `coversettings`
- Standardized settings page names: `climate`, `cover` and `light` (Removed `settings` from page name)
* Removed `settings_entity`
* Removed `settings_entity`
* Removed `settings_entity`
* Move `entity` variable to home page (#889)
* Move `entity` variable to home page
This will enable future development of a fallback climate
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Use `en` as fallback language (#891)
* Use `en` as fallback language
Uses English if a non valid language is selected (like when using legacy language selection).
* Use `en` as fallback language
* Create `nspanel_us_land.tft` (#890)
* Create `nspanel_us_land.tft'
Add `nspanel_us_land.tft' for US panel on landscape mode, fixing the offset on the touch screen when using `nspanel_eu.tft` into a US panel.
Hides the hardware buttons labels, as Nextion cannot support rotated text.
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
solves #390
solves #432
solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4933716
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
* Fix "Button confirmation page not working correctly"
Solves #883
* Supports weather forecast with `datetime` not string
This adds support to weather integrations where the `datetime` field under `forecast` attribute is provided as a `datetime` type.
This was seen on Météo-France, while all other weather integrations tested so far used a `text` field for `datetime`.
This solves #893
* Wifi icon to indicate when API offline
This changes the behavior of Wifi icon:
How it was before:
- Wifi icon was visible only when the wifi was connected, nothing was shown when wifi was not connected.
How it is now:
- Wifi icon will have 3 states:
- Wifi & API connected: Gray wifi icon
- Wifi disconnected: Red wifi-off icon
- Wifi connected, but API disconnected (HA is out?): Red api-off icon
* API status indication on the panel
* Limit light & cover to supported settings (#896)
* Limit light to supported settings
When showing light settings, only the supported features will be shown for each light.
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
This partially solves #635
* Limits covers to supported settings
Only show cover settings when `set_position` is supported.
This solves #635
* Limits covers to supported settings
* Update instructions.md
* Add Fan speed settings page (#897)
* Add Fan speed settings page
Add an initial fan speed control page for fans supporting speed control.
Add speed (%) info in the buttons pages.
Solves #404
Solves #791
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5786106
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Fix name on confirmation page
Fix the entity name on the confirmation page.
The new order is:
1. Name set on the blueprint settings
2. Entity's `friendly_name` attribute
3. Entity's `name` attribute
4. Entity's `entity_id`
Solves #501
* Select wake-up page (#898)
* Select wake-up page
Users will be able to select the wake-up page on the blueprint inputs.
This selected page will be shown after a boot (after the boot page) and with a touch in the screen when on screen saver page.
After showing this wake-up page, all the previous behavior for closing the page (with a click or after a timeout) will be the same.
Solves #576
Solves #612
Solves #801
Probably improves for https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5715670
* Select wake-up page
* Fan update engine
Change the fan update engine to follow the same patter as other settings pages.
* Update ReleaseNotes.md
* Adding vertical bars pics
* Panel offline mode (#900)
* Panel offline mode
Introduces "offline mode" for the panel, which will be used later with a fallback climate.
Pages that are depending on the blueprint (buttons pages, entity pages, settings pages, etc) won't be shown when the API is disconnected.
* Panel offline mode
* Panel offline mode
* Panel offline mode
* Panel offline mode
* "Jump to settings" on tft
Moved "Jump to settings page" routine from ESPHome to TFT in order to reduce complexity.
* Exclude Nextion2Text
Exclude Nextion2Text
* Fix validation issue
* Time engine on ESPHome
* Time engine on ESPHome
* Notification page bigger hotspot
Added hotspots around the buttons (Accept & Clear) on Notification page to make easier to click on those.
Solves #907
* Boot page retry comm
The boot page will retry communication with the blueprint once a minute to avoid the situation where that page is shown until the automation is reloaded.
* Fix call to screen page
Fixes the call to screen page on US panel.
Reconciliate the US landscape model from EU model.
* Fix fan page `button_on`
Fixing rounding on that button.
* Fixed Fan page rounding
* Prevents boot sequence in other pages
* Physical relay local control
We are trying to make your panel as autonomous as possible by moving some of the controls from the Blueprint to ESPHome. This will reduce the load in your network and Home Assistant, but also will make a more reliable system capable to do it's core functionality even when the network is unavailable or Home Assistant is restarting.
With this version, the following engines have been moved to your panel (local control):
- Physical relay control (when hardware left button is connected to relay 1 or right button to relay 2)
Solves #910
* Embedded climate (#917)
* Performance improvements
The main focus here was to reduce the number of calls between Home Assistant and ESPHome, moving logic as much as possible to TFT and ESPHome.
- Service calls moved to ESPHome (in preparation for Alarm Control Panel)
- Page change informed via event call instead of `nspanel_event` sensor (which still in use by other calls, but might be possible to remove in the future)
* Draft embedded climate
This adds an initial version of an embedded climate/thermostat (heating only for now) with support for local control even with Wi-Fi out.
Solves #646
Solves #263
* Update ReleaseNotes.md
* Fix climate slider
Fix for climate slider opening in an incorrect position and sending only the integer part of the new target temperature
* Moving home page to ESPHome
In progress...
* Fix translations - Dutch
* Embedded chip 3
Home page - Chip 3 will be controlled locally when embedded climate is enable.
* Fixed buttons bar
Fixed buttons bar managed on ESPHome when embedded climate is visible.
* Update ReleaseNotes.md
* Services back to the Blueprint
Moving service calls back to the blueprint as latest HA requires user's permissions to call HA services from ESPHome.
This still have to be used for Alarm calls due to security concerns.
* Update ReleaseNotes.md
* support to hidden ssid (#908)
Supports hidden ssid with the use of substitutions `wifi_hidden: "true"`.
This can be breaking change for users with custom/advanced wifi settings.
Solves #906
* Update nspanel_esphome.yaml
* Removed `restore_state`
There is some incomplete work related to alarms on this commit, but the focus here is to fix `restore_state` on ESPHome v2023.7.0.
This solves #939
* US model - Fan page - Redistribute icons
Redistributed icons on Fan page on US model in order to improve usability.
Based on feedback from https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6338706
* Align `nspanel_us_land`
Apply all changes from EU to US_Land
* Fix relays chips
Fix relay status indication on chips.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/926#issuecomment-1627660273
* Fix "invalid variable" for "api"
Fix error "Nextion invalid variable name" when setting `api`.
* Default embedded climate to relay_0
* Fix translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6511043
* Fix `set_temperature` for climate
Solves #957
* Fix `fan.turn_off` call
Removed timer call from fan stop button.
This solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6494535
* Call a `fan.turn_off` when percentage is 0%
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6621756
* Fix call for fan stop button
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6622377
* Icons on ESPHome
Move icons from TFT/HMI to ESPHome to prevent error on Nextion2Text.
* Updated translations - Spanish
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6548961
* Make home page sensor's icons consistent
Make icon selection consistent with chips where the entity's icon is used in case a icon is not set in the blueprint settings.
Solves #963
* Updated translations - Slovenian
Based on:
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6665723
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-6665751
* dutch (#974)
* small ducht translations
small ducht translations
* Dutch translations
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Add-on support (#977)
Moved climate settings to an add-on.
Updated documentation.
* Fixed link to addon climate docs
* Fix change brightness when sleeping
Prevents the panel to change screen brightness when sleeping.
Solves #975
* Standardize HA service calls
* Bump version to `4.0 dev`
* Create customization.md
This will reduce the need for:
- #920
- #662
- #833
* Clean-up for customizations
Clean up ESPHome in order to make easier the use of customizations.
* Create Alarm page
* Add page Alarm
* Add Alarm docs
Update docs to reflect the current state (new features & changes)
* Creating "install.md" and update add-ons instructions
* Add Alarm page buttons pics
* Add link to Alarm on page Home
* Create Alarm page
* Alarm button font color
* Add `keyb_num` page
* Alarm Control Panel with PIN (#982)
Implements an Alarm Control Panel page on NSPanel.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/66
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/227
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/672
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4874612
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/64#issuecomment-1566204490
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718
* Fix alarm without pin not working
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/pull/930#issuecomment-1680981977
* Alarm page UI
Fixed close button
Disabled buttons are darker
* Move Entities button to ESPHome
Move logic behind Entities button (Home page) from Blueprint to ESPHome in order to gain performance on creating home page.
* Human readable Uptime (#986)
* Human readable Uptime
* Uptime from Frenck code
* Uptime with Frenck code
* Updated Human Readable Uptime
* Removed trailing spaces
* Renamed sensor to "Last started"
Sensor renamed
Update moved to the boot process
Clean-up
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Co-authored-by: Edward Firmo <edward@costafirmo.com>
* Update alarm icon & color
* Revert `fast_connect` back to `false`
* Extended chars on buttons pages (#988)
Replaces #740
Probably solves #664
Probably solves #738
Probably solves #987
* Removed `fast_connect`
* Support to `code_arm_required`
Only shows the alarm PIN keyboard if a code is required for arming (or when disarming).
* Update alarm icon on home page
Refresh icon when alarm state changes.
* Fix alarm icon not updating on home page
* Home buttons new format - Alarm
Modernise the button Alarm flow on page Home to improve performance.
* Home buttons new format - Entities
Modernise the button "Entities" flow on page Home to improve performance.
* Home buttons new format - QRcode
Modernise the button "QRcode" flow on page Home to improve performance.
* Home buttons new format - Notification
Modernise the button "Notification" flow on page Home to improve performance.
I haven't moved the code from the Blueprint to ESPHome yet, as I will leave this for when we rebuild the Notification flow in the near future (hopefully), so the performance gains may not be perceived now. Just aligning with other buttons format.
* Adding screenshots
* Delete ReleaseNotes.md
Moved to the release
* New entity filter format
This new format was released with HA v2023.4 and the old one will be deprecated soon.
* Fix Alarm page bypass icon
* Bump version to 4.0
* Rename `addon_climate_heat`
* Simplify climate substitutions
* Add support for `addon_climate_cool`
* Removed `${verbose_log}`
Use logger level `VERBOSE` instead
* Fix script call
* Clean up general entities & fallback
Store inputs into variables only when needed.
Removed fallback mode - Replaced by ESPHome local control when the relay is assigned to the button in the blueprint.
* Phase out sensor `nspanel_event` (partially)
This sensor is being replaced by event calls.
* uptime sensors (#998)
* Create ReleaseNotes.md
* Fix Climate page when embedded climate
And also added a lot of logs which should be removed later as it takes from memory.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6835260
* Move brightness control to global var
Clean up page Home
* Alarm page translations - Finnish
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6857262
* Exported pics
* Clean-up TFT
- Removed a bunch of unused pics
- Changed page indicator to new format (which will allow future development to hide unused pages)
- Standardized close button in most pages
* Fixed background pics
- Entities pages
- Weather pages
* Standardize close button
* Add "Alarm" section
* Support to wake-up page on `wake_up_display` service
This changes the behavior of a service introduced by #734.
* Optimize `wake_up_display` service
* Fix icon font sizes 10 and 64
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1701903604
And also remove all the unnecessary `wait_until`
* Fix Settings page element ids
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702109668
* Add translation keys for `settings` page
#1002
* Update settings page when brightness changes on HA
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702149796
* Clean-up page settings
* update docs (#1003)
* updated docs
* Update ReleaseNotes.md
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Clean-up Cover page
I'm preparing this page to have icons changing based on the device_class selected to a cover.
* Clean-up boot delay
* Enable `current_page` sensor by default
Otherwise the system won´t update values unless the page is reloaded.
* Use `current_page` in blueprint conditions
One more step towards the phase out of `nspanelevent`.
* Move `script.refresh_colors` to `service.global_settings`
As this is called from a single point, there's no meaning of having a separated script.
* Fix climate icon update
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891454
* Fix button show on climate page
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891335
* Visual improvements on climate page
- Add friendly name when embedded - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891465
- Make disable icons a bit darker - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6893440
- Add space for page title in EU an US Land versions
- Reset page timer when pressing/releasing on the slider - Partially solves #990
* Don't update values when page home is not visible
To reduce load on Home Assistant and the network
* Cleanup boot sequence
Move some functionalities to ESPHome
* Display internal sensor value when wifi is out
Before it was showing on home page only when API was out. This adds a test for WiFi.
* Fix `default_target_temperature`
It also updates the page home when thermostat status changes (for the chips).
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6897727
* Adding ID to components missing it
* Renamed `wake_up_display` to `wake_up`
* Re-arrange commands list
* Add service `set_component_color`
Deprecates the following services:
- `send_command_font_color`
- `send_command_background_color`
* Fix button pages not showing
* Adjusted time for HW long click
* Fixed buttons on settings page
* Minor adjustments to page climate
And replace font 10 to size 48 (it was 64 since a few days ago).
* Updates to breaking changes list
* Page settings redesign
Clean up the UI of settings page.
Prepare for translations.
* Enable translations of Settings page
* Notification word-wrap
For EU and US_LAND only, for now.
* Notifications page rebuilt
- Notification button processed on ESPHome (as all the info is there)
- Added word-wrap for main text
- Expanded text size
- Handling display mode (used to define the number of chars per line on Notifications)
- Versioning handling - As a consequence of the previous item.
* Word-wrap buttons pages
Taking advantage of the algorithm created for notifications.
* Word-wrap for Alarm page
* Version mismatch notication
* Fix ESPHome not starting with older TFT
* Rebuilt home page status bar update
* Updated translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-6926846
Thanks @MaiPiu
* Fix `Nextion reported variable name invalid!`
* Fix `Nextion variable invalid`
* Handle `embedded_indoor_temperature`
Internal temperature display will be handled locally (ESPHome) when no other sensor is selected.
* Review temperature correction engine
* Fix display climate chip
* update `temp_nspanel` when correction changes
* Fix `Fan` page not open with long press HW button
Solves #1007
* Minor adjustments on settings page
* version 4.0 ready for release
* Clean-up docs
---------
Co-authored-by: bkbartk <bartkock@outlook.com>
Co-authored-by: w00zy <WZYProjects+github@gmail.com>
* Fix Fan page button colors when opening
Solves #1017
* Translations (#1023)
* Translations
* Update nspanel_blueprint.yaml
I've changed `brightness` for now as the new design isn't implemented yet, but that string is already in use with the current design.
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Adjustments to settings page
* Fix entity info when calling detailed pages
Solves #1022
* Added `media_player` page (hidden)
* New "Confirm" pop-up
This also removes the sensor "NSPanel Event"
* Fix pages not updating values
Solves #1026
* Media player - Buttons
- Added code to buttons on media_player page.
- Clean-up:
- Moved wake-up select from Blueprint to ESPHome component
- Removed `switch.xxxxx_confirmation_message`
* Fix logging for global_settings
It was logging wakeup_page, which is deprecated
* Improved version notification
* Removed trailing spaces
* Notification for `sensor.xxxxx_current_page` missing
This might be a common issue for users migrating from v3.4 to v3.5.
This information is part of the release notes, but I believe it worth having a guide to support closely any user who miss that in the release notes.
* Simplify `touchevent` engine
The touch event is used only for the sleeping engine (it will be used for dimming later) and it was transferring all the json info with page name, component, entity, etc.
This was replaced by a simple random integer with no meaning other than "the screen was touched, reset the timer".
* Media player first buttons actions
* Fix unknown service: `media_player.null`
* Media Player control
You will be able to add a Media Player entity to any of the buttons pages and with a long press you will see the media player page.
* Remove dimming timer for now
The funcionality isn't completed.
* Home page - Custom buttons
On the blueprint you can now set up to 3 buttons to be shown on Home page.
It will show the detailed settings page, so the entity must be compatible.
* Fix Media player missing parameters
Possibly solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1030#discussioncomment-6984573
* Prevents calls to `media_player.null`
* Remove `entity` info from pages on TFT
Since v3.4, the info about entity_id shown was going all the way to Nextion and then sent back in the json return, however this requires a long (100-char) global var and the way it was implemented, it was one of those per settings page, as climate should be also recorded at the same time in case the embedded climate was installed.
This was taking too much memory, so I've moved this info to a global variable (string) in ESPHome.
There is now lots of space for code cleaning (and still pending to do the same with climate entity, as it could be only a bool to inform if embedded), but this brings the functionality.
This enabled the return to global for some components, so it probably solves #1031
* Prototyping `power` page
Thanks @Floppe for doing the design
#838
* Prototyping `power` page
* New sleep flow
* Removed trailing spaces
* Fix empty page climate
* Fix names on button pages
Fix names when a name is not provided in the blueprint settings.
* Fix call to sleep routine when timeout changes
Solves #1037
* Replace `confirm` var on buttons pages
Simpler and saves some memory.
* Clean-up
* Align the code for the 3 timers
* Extend domains supported by home page custom buttons
Based on #1034
* Fix error when btn_label is `None`
* Fix `Variable invalid` on buttons pages
* Fix constructor of Entity pages
* Fallback even when button is assigned to another entity
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/1013#issuecomment-1720107844
* Add inputs for media player refresh time
* Adjustments to Media Player refresh interval default values
* Use panel's events to reset timers
Possibly solves #1040
Possibly solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-7020153
* State based colors to home page custom buttons
* Fix alarm not changing status
Do not clear `entity_id` when opening keyboard page, so the info can be used when sending commands.
Solves #1039
* Missing `nspanel_us.tft`
* add `touchevents` to pages `media_player` and `confirm`
To avoid panel going back to Home page while user is playing with the page.
Solves #1040
* Media player minor layout changes
* Media player - Volume timer & icon size
Volume timer changed from 1000 to 500ms
Icon change from font 9 to 10
* Media player roll back font 9 and timer 1s
* Don't send to Nextion obsolete volume settings
If the volume is the same as the last one sent to the screen, don't send again, so if changes are being made on the screen it didn't receive the update all the time, making the slider unresponsive.
* Media player - Layout improvement
- Removed button "Stop"
- Increase touch area for buttons
- Redistributed buttons on page
* Add touchevents to page climate
Possibly solves #995
* Resolve validation
* Correct playing time based on `updated_at` attribute
* Prepare for when attribute is not available
* Fix attribute `media_position`
* Fix time duration when HA isn't updating position
* Fix climate page not opening when offline
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6834067
* Clean-up release notes
* Clean up code
- Removed commented out lines
- Removed temporary logs
Getting prepared to release
* Bump version to 4.0beta
To reduce the chance of an obsolete file in use after the release.
* Change version to 4.0dev
To differentiate from beta.
* Added missing translations (#1047)
* Added missing translations
Added missing translations for the Swedish translation.
* Caption first char
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Translations to Slovak on Settings page
* Refresh docs
* Update nspanel_blank.md
* Update nspanel_blank.md
* Add screensaver to `nspanel_blank.tft`
And build a new tft with latest firmware and url for instructions.
* Update nspanel_blank.md
* Fix to Slovenian translation
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-7041796
* Settings page - Translations to French
From https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-7045452
* Alarm page - Translations to French
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-7046479
* Add customization for display sleeping/awake
Probably solves #1035
* Customizations - Blank TFT button
Probably solves #1048
* Customizations - Deep sleep
Solves #955
* Customization - Deep sleep - Fix broken link
* Translations - Slovak
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-7054153
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-7054142
* New versioning - not implemented
* Bump version to `4.0b2`
* v4.0 release
* Chpego patch 1 (#1059)
* Update nspanel_blueprint.yaml
fix some typo
* Update nspanel_blueprint.yaml
* Update README.md
* Update nspanel_blueprint.yaml
* Update nspanel_blueprint.yaml
* Started Release Notes for v4.1
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Prevents media player crash with `media_position_updated_at`
Prevents media player crashing when called before `media_position_updated_at` is able to provide a value.
I believe this solves #1062.
* timezone
* Settings page translations - Dutch
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-7073055
* Typo
* Removed `display_current_brightness`
I've removed this sensor as it was spamming the logs and taking memory without providing real benefit.
* Ignore different patch versions
Change the versioning control to major and minor only, ignoring differences on the patch version.
So components with different patch versions should be able to work with each other as soon the major and minor versions are the same.
This same logic was implemented on the blueprint before the 4.0 release.
* Code clean-up
* Flexible time format selected
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/1083#issuecomment-1732228103
* Removed obsolete thermostat page pic
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1076#discussioncomment-7085967
* Add date format for Finnish
* Fix `buttonpage03` long press pointing to page 2
* Fix mute volume not working
Solves #1079 items 2 and 3
* Reset sleep timer when brightness settings changes
Solves #1087
Also removes limit to 10char on "Brightness" on Settings page.
* Bump version to `4.0.1dev`
* Update ReleaseNotes.md
Preparing for patch release.
* Review translations - Finish
Solves #1083
* Update ReleaseNotes.md
* Remove trailing space
* v4.0.1beta
* v4.0.1 patch release
---------
Co-authored-by: bkbartk <bartkock@outlook.com>
Co-authored-by: w00zy <WZYProjects+github@gmail.com>
Co-authored-by: w00zy <52609940+WZYProjects@users.noreply.github.com>
Co-authored-by: Erik Larsson <erik1337.el@gmail.com>
Co-authored-by: chpego <38792705+chpego@users.noreply.github.com>
* Delete ReleaseNotes.md
---------
Co-authored-by: bkbartk <bartkock@outlook.com>
Co-authored-by: w00zy <WZYProjects+github@gmail.com>
Co-authored-by: w00zy <52609940+WZYProjects@users.noreply.github.com>
Co-authored-by: Erik Larsson <erik1337.el@gmail.com>
Co-authored-by: chpego <38792705+chpego@users.noreply.github.com>
* Time engine on ESPHome
* Time engine on ESPHome
* Notification page bigger hotspot
Added hotspots around the buttons (Accept & Clear) on Notification page to make easier to click on those.
Solves #907
* Boot page retry comm
The boot page will retry communication with the blueprint once a minute to avoid the situation where that page is shown until the automation is reloaded.
* Fix call to screen page
Fixes the call to screen page on US panel.
Reconciliate the US landscape model from EU model.
* Fix fan page `button_on`
Fixing rounding on that button.
* Fixed Fan page rounding
* Prevents boot sequence in other pages
* Physical relay local control
We are trying to make your panel as autonomous as possible by moving some of the controls from the Blueprint to ESPHome. This will reduce the load in your network and Home Assistant, but also will make a more reliable system capable to do it's core functionality even when the network is unavailable or Home Assistant is restarting.
With this version, the following engines have been moved to your panel (local control):
- Physical relay control (when hardware left button is connected to relay 1 or right button to relay 2)
Solves #910
* Embedded climate (#917)
* Performance improvements
The main focus here was to reduce the number of calls between Home Assistant and ESPHome, moving logic as much as possible to TFT and ESPHome.
- Service calls moved to ESPHome (in preparation for Alarm Control Panel)
- Page change informed via event call instead of `nspanel_event` sensor (which still in use by other calls, but might be possible to remove in the future)
* Draft embedded climate
This adds an initial version of an embedded climate/thermostat (heating only for now) with support for local control even with Wi-Fi out.
Solves #646
Solves #263
* Update ReleaseNotes.md
* Fix climate slider
Fix for climate slider opening in an incorrect position and sending only the integer part of the new target temperature
* Moving home page to ESPHome
In progress...
* Fix translations - Dutch
* Embedded chip 3
Home page - Chip 3 will be controlled locally when embedded climate is enable.
* Fixed buttons bar
Fixed buttons bar managed on ESPHome when embedded climate is visible.
* Update ReleaseNotes.md
* Services back to the Blueprint
Moving service calls back to the blueprint as latest HA requires user's permissions to call HA services from ESPHome.
This still have to be used for Alarm calls due to security concerns.
* Update ReleaseNotes.md
* support to hidden ssid (#908)
Supports hidden ssid with the use of substitutions `wifi_hidden: "true"`.
This can be breaking change for users with custom/advanced wifi settings.
Solves #906
* Update nspanel_esphome.yaml
* Removed `restore_state`
There is some incomplete work related to alarms on this commit, but the focus here is to fix `restore_state` on ESPHome v2023.7.0.
This solves #939
* US model - Fan page - Redistribute icons
Redistributed icons on Fan page on US model in order to improve usability.
Based on feedback from https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6338706
* Align `nspanel_us_land`
Apply all changes from EU to US_Land
* Fix relays chips
Fix relay status indication on chips.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/926#issuecomment-1627660273
* Fix "invalid variable" for "api"
Fix error "Nextion invalid variable name" when setting `api`.
* Default embedded climate to relay_0
* Fix issue with `restore_state` and ESPHome v2023.7.0 (#941)
Solves #939
* Fix translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6511043
* Fix `set_temperature` for climate
Solves #957
* Fix `fan.turn_off` call
Removed timer call from fan stop button.
This solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6494535
* Call a `fan.turn_off` when percentage is 0%
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6621756
* Fix call for fan stop button
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6622377
* Icons on ESPHome
Move icons from TFT/HMI to ESPHome to prevent error on Nextion2Text.
* Updated translations - Spanish
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6548961
* Make home page sensor's icons consistent
Make icon selection consistent with chips where the entity's icon is used in case a icon is not set in the blueprint settings.
Solves #963
* Updated translations - Slovenian
Based on:
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6665723
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-6665751
* dutch (#974)
* small ducht translations
small ducht translations
* Dutch translations
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Add-on support (#977)
Moved climate settings to an add-on.
Updated documentation.
* Fixed link to addon climate docs
* Fix change brightness when sleeping
Prevents the panel to change screen brightness when sleeping.
Solves #975
* Standardize HA service calls
* Bump version to `4.0 dev`
* Create customization.md
This will reduce the need for:
- #920
- #662
- #833
* Clean-up for customizations
Clean up ESPHome in order to make easier the use of customizations.
* Create Alarm page
* Add page Alarm
* Add Alarm docs
Update docs to reflect the current state (new features & changes)
* Creating "install.md" and update add-ons instructions
* Add Alarm page buttons pics
* Add link to Alarm on page Home
* Create Alarm page
* Alarm button font color
* Add `keyb_num` page
* Alarm Control Panel with PIN (#982)
Implements an Alarm Control Panel page on NSPanel.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/66
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/227
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/672
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4874612
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/64#issuecomment-1566204490
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718
* Fix alarm without pin not working
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/pull/930#issuecomment-1680981977
* Alarm page UI
Fixed close button
Disabled buttons are darker
* Move Entities button to ESPHome
Move logic behind Entities button (Home page) from Blueprint to ESPHome in order to gain performance on creating home page.
* Human readable Uptime (#986)
* Human readable Uptime
* Uptime from Frenck code
* Uptime with Frenck code
* Updated Human Readable Uptime
* Removed trailing spaces
* Renamed sensor to "Last started"
Sensor renamed
Update moved to the boot process
Clean-up
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Co-authored-by: Edward Firmo <edward@costafirmo.com>
* Update alarm icon & color
* Revert `fast_connect` back to `false`
* Extended chars on buttons pages (#988)
Replaces #740
Probably solves #664
Probably solves #738
Probably solves #987
* Removed `fast_connect`
* Support to `code_arm_required`
Only shows the alarm PIN keyboard if a code is required for arming (or when disarming).
* Update alarm icon on home page
Refresh icon when alarm state changes.
* Fix alarm icon not updating on home page
* Home buttons new format - Alarm
Modernise the button Alarm flow on page Home to improve performance.
* Home buttons new format - Entities
Modernise the button "Entities" flow on page Home to improve performance.
* Home buttons new format - QRcode
Modernise the button "QRcode" flow on page Home to improve performance.
* Home buttons new format - Notification
Modernise the button "Notification" flow on page Home to improve performance.
I haven't moved the code from the Blueprint to ESPHome yet, as I will leave this for when we rebuild the Notification flow in the near future (hopefully), so the performance gains may not be perceived now. Just aligning with other buttons format.
* Adding screenshots
* Delete ReleaseNotes.md
Moved to the release
* New entity filter format
This new format was released with HA v2023.4 and the old one will be deprecated soon.
* Fix Alarm page bypass icon
* Bump version to 4.0
* Rename `addon_climate_heat`
* Simplify climate substitutions
* Add support for `addon_climate_cool`
* Removed `${verbose_log}`
Use logger level `VERBOSE` instead
* Fix script call
* Clean up general entities & fallback
Store inputs into variables only when needed.
Removed fallback mode - Replaced by ESPHome local control when the relay is assigned to the button in the blueprint.
* Phase out sensor `nspanel_event` (partially)
This sensor is being replaced by event calls.
* uptime sensors (#998)
* Create ReleaseNotes.md
* Fix Climate page when embedded climate
And also added a lot of logs which should be removed later as it takes from memory.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6835260
* Move brightness control to global var
Clean up page Home
* Alarm page translations - Finnish
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6857262
* Exported pics
* Clean-up TFT
- Removed a bunch of unused pics
- Changed page indicator to new format (which will allow future development to hide unused pages)
- Standardized close button in most pages
* Fixed background pics
- Entities pages
- Weather pages
* Standardize close button
* Add "Alarm" section
* Support to wake-up page on `wake_up_display` service
This changes the behavior of a service introduced by #734.
* Optimize `wake_up_display` service
* Fix icon font sizes 10 and 64
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1701903604
And also remove all the unnecessary `wait_until`
* Fix Settings page element ids
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702109668
* Add translation keys for `settings` page
#1002
* Update settings page when brightness changes on HA
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702149796
* Clean-up page settings
* update docs (#1003)
* updated docs
* Update ReleaseNotes.md
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Clean-up Cover page
I'm preparing this page to have icons changing based on the device_class selected to a cover.
* Clean-up boot delay
* Enable `current_page` sensor by default
Otherwise the system won´t update values unless the page is reloaded.
* Use `current_page` in blueprint conditions
One more step towards the phase out of `nspanelevent`.
* Move `script.refresh_colors` to `service.global_settings`
As this is called from a single point, there's no meaning of having a separated script.
* Fix climate icon update
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891454
* Fix button show on climate page
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891335
* Visual improvements on climate page
- Add friendly name when embedded - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891465
- Make disable icons a bit darker - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6893440
- Add space for page title in EU an US Land versions
- Reset page timer when pressing/releasing on the slider - Partially solves #990
* Don't update values when page home is not visible
To reduce load on Home Assistant and the network
* Cleanup boot sequence
Move some functionalities to ESPHome
* Display internal sensor value when wifi is out
Before it was showing on home page only when API was out. This adds a test for WiFi.
* Fix `default_target_temperature`
It also updates the page home when thermostat status changes (for the chips).
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6897727
* Adding ID to components missing it
* Renamed `wake_up_display` to `wake_up`
* Re-arrange commands list
* Add service `set_component_color`
Deprecates the following services:
- `send_command_font_color`
- `send_command_background_color`
* Fix button pages not showing
* Adjusted time for HW long click
* Fixed buttons on settings page
* Minor adjustments to page climate
And replace font 10 to size 48 (it was 64 since a few days ago).
* Updates to breaking changes list
* Page settings redesign
Clean up the UI of settings page.
Prepare for translations.
* Enable translations of Settings page
* Notification word-wrap
For EU and US_LAND only, for now.
* Notifications page rebuilt
- Notification button processed on ESPHome (as all the info is there)
- Added word-wrap for main text
- Expanded text size
- Handling display mode (used to define the number of chars per line on Notifications)
- Versioning handling - As a consequence of the previous item.
* Word-wrap buttons pages
Taking advantage of the algorithm created for notifications.
* Word-wrap for Alarm page
* Version mismatch notication
* Fix ESPHome not starting with older TFT
* Rebuilt home page status bar update
* Updated translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-6926846
Thanks @MaiPiu
* Fix `Nextion reported variable name invalid!`
* Fix `Nextion variable invalid`
* Handle `embedded_indoor_temperature`
Internal temperature display will be handled locally (ESPHome) when no other sensor is selected.
* Review temperature correction engine
* Fix display climate chip
* update `temp_nspanel` when correction changes
* Fix `Fan` page not open with long press HW button
Solves #1007
* Minor adjustments on settings page
* version 4.0 ready for release
* Clean-up docs
* Improve version notification
* Disable restore `notification_unread`
This must be changed to a binary sensor in the future.
* Beta v4.0 (#1012)
* Create ReleaseNotes.md (#879)
* Create ReleaseNotes.md
* sensor display precision
* Filter devices to esp32 only (#881)
* Filter devices to esp32 only
Show only ESP32 devices when selecting the panel
* Filtered device list
* Sensor display precision (#880)
Now the values shown in your panel will follow the [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision) provided by Home Assistant.
=> If you have problems with a value exceeding the available space in your panel, please reduce the number of decimals using Home Assistant [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision).
* New language selector (#882)
* New language selector
* Update ReleaseNotes.md
* Update ReleaseNotes.md
* Remove `settings_entity` (#887)
* Remove `settings_entity`
- Bump version to 3.5_dev
- Removed references to pictures removed from TFT
- Removed code related to closing settings pages
- Removed trigger `settings_entity`
* Removed `set_settings_entity` service
- Bump version to 3.5_dev
- Removed `set_settings_entity` service - BREAKING CHANGE
- Removed `settings_entity` text-sensor - BREAKING CHANGE
- Added service `open_entity_settings_page` - BREAKING CHANGE
* Removed `settings_entity`
- Bump version to 3.5_dev
- Removed old climate page (climate_backup)
- Removed pics related to old climate page (ids 16-47, 80-83, 95-96 and 125(US only))
- Enforces brightness on any page change (this allows wake-up on settings page with long press on physical buttons) - Pending removing code from Blueprint
- Added `entity` variable on pages `climate`, `lightsettings` and `coversettings`
- Added `entity` info to `nspanelevent` on pages `climate`, `lightsettings` and `coversettings`
- Added `back_page` variable on pages `climate`, `lightsettings` and `coversettings` (default: home)
- Moving to TFT close page logic on pages `climate`, `lightsettings` and `coversettings` - Pending changes on Blueprint and ESPHome
- Standardized name for `page_label` on pages `climate`, `lightsettings` and `coversettings`
- Standardized settings page names: `climate`, `cover` and `light` (Removed `settings` from page name)
* Removed `settings_entity`
* Removed `settings_entity`
* Removed `settings_entity`
* Move `entity` variable to home page (#889)
* Move `entity` variable to home page
This will enable future development of a fallback climate
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Use `en` as fallback language (#891)
* Use `en` as fallback language
Uses English if a non valid language is selected (like when using legacy language selection).
* Use `en` as fallback language
* Create `nspanel_us_land.tft` (#890)
* Create `nspanel_us_land.tft'
Add `nspanel_us_land.tft' for US panel on landscape mode, fixing the offset on the touch screen when using `nspanel_eu.tft` into a US panel.
Hides the hardware buttons labels, as Nextion cannot support rotated text.
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
solves #390
solves #432
solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4933716
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
* Fix "Button confirmation page not working correctly"
Solves #883
* Supports weather forecast with `datetime` not string
This adds support to weather integrations where the `datetime` field under `forecast` attribute is provided as a `datetime` type.
This was seen on Météo-France, while all other weather integrations tested so far used a `text` field for `datetime`.
This solves #893
* Wifi icon to indicate when API offline
This changes the behavior of Wifi icon:
How it was before:
- Wifi icon was visible only when the wifi was connected, nothing was shown when wifi was not connected.
How it is now:
- Wifi icon will have 3 states:
- Wifi & API connected: Gray wifi icon
- Wifi disconnected: Red wifi-off icon
- Wifi connected, but API disconnected (HA is out?): Red api-off icon
* API status indication on the panel
* Limit light & cover to supported settings (#896)
* Limit light to supported settings
When showing light settings, only the supported features will be shown for each light.
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
This partially solves #635
* Limits covers to supported settings
Only show cover settings when `set_position` is supported.
This solves #635
* Limits covers to supported settings
* Update instructions.md
* Add Fan speed settings page (#897)
* Add Fan speed settings page
Add an initial fan speed control page for fans supporting speed control.
Add speed (%) info in the buttons pages.
Solves #404
Solves #791
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5786106
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Fix name on confirmation page
Fix the entity name on the confirmation page.
The new order is:
1. Name set on the blueprint settings
2. Entity's `friendly_name` attribute
3. Entity's `name` attribute
4. Entity's `entity_id`
Solves #501
* Select wake-up page (#898)
* Select wake-up page
Users will be able to select the wake-up page on the blueprint inputs.
This selected page will be shown after a boot (after the boot page) and with a touch in the screen when on screen saver page.
After showing this wake-up page, all the previous behavior for closing the page (with a click or after a timeout) will be the same.
Solves #576
Solves #612
Solves #801
Probably improves for https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5715670
* Select wake-up page
* Fan update engine
Change the fan update engine to follow the same patter as other settings pages.
* Update ReleaseNotes.md
* Adding vertical bars pics
* Panel offline mode (#900)
* Panel offline mode
Introduces "offline mode" for the panel, which will be used later with a fallback climate.
Pages that are depending on the blueprint (buttons pages, entity pages, settings pages, etc) won't be shown when the API is disconnected.
* Panel offline mode
* Panel offline mode
* Panel offline mode
* Panel offline mode
* "Jump to settings" on tft
Moved "Jump to settings page" routine from ESPHome to TFT in order to reduce complexity.
* Exclude Nextion2Text
Exclude Nextion2Text
* Fix validation issue
* Time engine on ESPHome
* Time engine on ESPHome
* Notification page bigger hotspot
Added hotspots around the buttons (Accept & Clear) on Notification page to make easier to click on those.
Solves #907
* Boot page retry comm
The boot page will retry communication with the blueprint once a minute to avoid the situation where that page is shown until the automation is reloaded.
* Fix call to screen page
Fixes the call to screen page on US panel.
Reconciliate the US landscape model from EU model.
* Fix fan page `button_on`
Fixing rounding on that button.
* Fixed Fan page rounding
* Prevents boot sequence in other pages
* Physical relay local control
We are trying to make your panel as autonomous as possible by moving some of the controls from the Blueprint to ESPHome. This will reduce the load in your network and Home Assistant, but also will make a more reliable system capable to do it's core functionality even when the network is unavailable or Home Assistant is restarting.
With this version, the following engines have been moved to your panel (local control):
- Physical relay control (when hardware left button is connected to relay 1 or right button to relay 2)
Solves #910
* Embedded climate (#917)
* Performance improvements
The main focus here was to reduce the number of calls between Home Assistant and ESPHome, moving logic as much as possible to TFT and ESPHome.
- Service calls moved to ESPHome (in preparation for Alarm Control Panel)
- Page change informed via event call instead of `nspanel_event` sensor (which still in use by other calls, but might be possible to remove in the future)
* Draft embedded climate
This adds an initial version of an embedded climate/thermostat (heating only for now) with support for local control even with Wi-Fi out.
Solves #646
Solves #263
* Update ReleaseNotes.md
* Fix climate slider
Fix for climate slider opening in an incorrect position and sending only the integer part of the new target temperature
* Moving home page to ESPHome
In progress...
* Fix translations - Dutch
* Embedded chip 3
Home page - Chip 3 will be controlled locally when embedded climate is enable.
* Fixed buttons bar
Fixed buttons bar managed on ESPHome when embedded climate is visible.
* Update ReleaseNotes.md
* Services back to the Blueprint
Moving service calls back to the blueprint as latest HA requires user's permissions to call HA services from ESPHome.
This still have to be used for Alarm calls due to security concerns.
* Update ReleaseNotes.md
* support to hidden ssid (#908)
Supports hidden ssid with the use of substitutions `wifi_hidden: "true"`.
This can be breaking change for users with custom/advanced wifi settings.
Solves #906
* Update nspanel_esphome.yaml
* Removed `restore_state`
There is some incomplete work related to alarms on this commit, but the focus here is to fix `restore_state` on ESPHome v2023.7.0.
This solves #939
* US model - Fan page - Redistribute icons
Redistributed icons on Fan page on US model in order to improve usability.
Based on feedback from https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6338706
* Align `nspanel_us_land`
Apply all changes from EU to US_Land
* Fix relays chips
Fix relay status indication on chips.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/926#issuecomment-1627660273
* Fix "invalid variable" for "api"
Fix error "Nextion invalid variable name" when setting `api`.
* Default embedded climate to relay_0
* Fix translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6511043
* Fix `set_temperature` for climate
Solves #957
* Fix `fan.turn_off` call
Removed timer call from fan stop button.
This solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6494535
* Call a `fan.turn_off` when percentage is 0%
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6621756
* Fix call for fan stop button
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6622377
* Icons on ESPHome
Move icons from TFT/HMI to ESPHome to prevent error on Nextion2Text.
* Updated translations - Spanish
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6548961
* Make home page sensor's icons consistent
Make icon selection consistent with chips where the entity's icon is used in case a icon is not set in the blueprint settings.
Solves #963
* Updated translations - Slovenian
Based on:
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6665723
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-6665751
* dutch (#974)
* small ducht translations
small ducht translations
* Dutch translations
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Add-on support (#977)
Moved climate settings to an add-on.
Updated documentation.
* Fixed link to addon climate docs
* Fix change brightness when sleeping
Prevents the panel to change screen brightness when sleeping.
Solves #975
* Standardize HA service calls
* Bump version to `4.0 dev`
* Create customization.md
This will reduce the need for:
- #920
- #662
- #833
* Clean-up for customizations
Clean up ESPHome in order to make easier the use of customizations.
* Create Alarm page
* Add page Alarm
* Add Alarm docs
Update docs to reflect the current state (new features & changes)
* Creating "install.md" and update add-ons instructions
* Add Alarm page buttons pics
* Add link to Alarm on page Home
* Create Alarm page
* Alarm button font color
* Add `keyb_num` page
* Alarm Control Panel with PIN (#982)
Implements an Alarm Control Panel page on NSPanel.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/66
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/227
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/672
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4874612
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/64#issuecomment-1566204490
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718
* Fix alarm without pin not working
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/pull/930#issuecomment-1680981977
* Alarm page UI
Fixed close button
Disabled buttons are darker
* Move Entities button to ESPHome
Move logic behind Entities button (Home page) from Blueprint to ESPHome in order to gain performance on creating home page.
* Human readable Uptime (#986)
* Human readable Uptime
* Uptime from Frenck code
* Uptime with Frenck code
* Updated Human Readable Uptime
* Removed trailing spaces
* Renamed sensor to "Last started"
Sensor renamed
Update moved to the boot process
Clean-up
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Co-authored-by: Edward Firmo <edward@costafirmo.com>
* Update alarm icon & color
* Revert `fast_connect` back to `false`
* Extended chars on buttons pages (#988)
Replaces #740
Probably solves #664
Probably solves #738
Probably solves #987
* Removed `fast_connect`
* Support to `code_arm_required`
Only shows the alarm PIN keyboard if a code is required for arming (or when disarming).
* Update alarm icon on home page
Refresh icon when alarm state changes.
* Fix alarm icon not updating on home page
* Home buttons new format - Alarm
Modernise the button Alarm flow on page Home to improve performance.
* Home buttons new format - Entities
Modernise the button "Entities" flow on page Home to improve performance.
* Home buttons new format - QRcode
Modernise the button "QRcode" flow on page Home to improve performance.
* Home buttons new format - Notification
Modernise the button "Notification" flow on page Home to improve performance.
I haven't moved the code from the Blueprint to ESPHome yet, as I will leave this for when we rebuild the Notification flow in the near future (hopefully), so the performance gains may not be perceived now. Just aligning with other buttons format.
* Adding screenshots
* Delete ReleaseNotes.md
Moved to the release
* New entity filter format
This new format was released with HA v2023.4 and the old one will be deprecated soon.
* Fix Alarm page bypass icon
* Bump version to 4.0
* Rename `addon_climate_heat`
* Simplify climate substitutions
* Add support for `addon_climate_cool`
* Removed `${verbose_log}`
Use logger level `VERBOSE` instead
* Fix script call
* Clean up general entities & fallback
Store inputs into variables only when needed.
Removed fallback mode - Replaced by ESPHome local control when the relay is assigned to the button in the blueprint.
* Phase out sensor `nspanel_event` (partially)
This sensor is being replaced by event calls.
* uptime sensors (#998)
* Create ReleaseNotes.md
* Fix Climate page when embedded climate
And also added a lot of logs which should be removed later as it takes from memory.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6835260
* Move brightness control to global var
Clean up page Home
* Alarm page translations - Finnish
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6857262
* Exported pics
* Clean-up TFT
- Removed a bunch of unused pics
- Changed page indicator to new format (which will allow future development to hide unused pages)
- Standardized close button in most pages
* Fixed background pics
- Entities pages
- Weather pages
* Standardize close button
* Add "Alarm" section
* Support to wake-up page on `wake_up_display` service
This changes the behavior of a service introduced by #734.
* Optimize `wake_up_display` service
* Fix icon font sizes 10 and 64
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1701903604
And also remove all the unnecessary `wait_until`
* Fix Settings page element ids
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702109668
* Add translation keys for `settings` page
#1002
* Update settings page when brightness changes on HA
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702149796
* Clean-up page settings
* update docs (#1003)
* updated docs
* Update ReleaseNotes.md
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Clean-up Cover page
I'm preparing this page to have icons changing based on the device_class selected to a cover.
* Clean-up boot delay
* Enable `current_page` sensor by default
Otherwise the system won´t update values unless the page is reloaded.
* Use `current_page` in blueprint conditions
One more step towards the phase out of `nspanelevent`.
* Move `script.refresh_colors` to `service.global_settings`
As this is called from a single point, there's no meaning of having a separated script.
* Fix climate icon update
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891454
* Fix button show on climate page
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891335
* Visual improvements on climate page
- Add friendly name when embedded - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891465
- Make disable icons a bit darker - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6893440
- Add space for page title in EU an US Land versions
- Reset page timer when pressing/releasing on the slider - Partially solves #990
* Don't update values when page home is not visible
To reduce load on Home Assistant and the network
* Cleanup boot sequence
Move some functionalities to ESPHome
* Display internal sensor value when wifi is out
Before it was showing on home page only when API was out. This adds a test for WiFi.
* Fix `default_target_temperature`
It also updates the page home when thermostat status changes (for the chips).
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6897727
* Adding ID to components missing it
* Renamed `wake_up_display` to `wake_up`
* Re-arrange commands list
* Add service `set_component_color`
Deprecates the following services:
- `send_command_font_color`
- `send_command_background_color`
* Fix button pages not showing
* Adjusted time for HW long click
* Fixed buttons on settings page
* Minor adjustments to page climate
And replace font 10 to size 48 (it was 64 since a few days ago).
* Updates to breaking changes list
* Page settings redesign
Clean up the UI of settings page.
Prepare for translations.
* Enable translations of Settings page
* Notification word-wrap
For EU and US_LAND only, for now.
* Notifications page rebuilt
- Notification button processed on ESPHome (as all the info is there)
- Added word-wrap for main text
- Expanded text size
- Handling display mode (used to define the number of chars per line on Notifications)
- Versioning handling - As a consequence of the previous item.
* Word-wrap buttons pages
Taking advantage of the algorithm created for notifications.
* Word-wrap for Alarm page
* Version mismatch notication
* Fix ESPHome not starting with older TFT
* Rebuilt home page status bar update
* Updated translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-6926846
Thanks @MaiPiu
* Fix `Nextion reported variable name invalid!`
* Fix `Nextion variable invalid`
* Handle `embedded_indoor_temperature`
Internal temperature display will be handled locally (ESPHome) when no other sensor is selected.
* Review temperature correction engine
* Fix display climate chip
* update `temp_nspanel` when correction changes
* Fix `Fan` page not open with long press HW button
Solves #1007
* Minor adjustments on settings page
* version 4.0 ready for release
* Clean-up docs
---------
Co-authored-by: bkbartk <bartkock@outlook.com>
Co-authored-by: w00zy <WZYProjects+github@gmail.com>
* Fix Fan page button colors when opening
Solves #1017
* Translations (#1023)
* Translations
* Update nspanel_blueprint.yaml
I've changed `brightness` for now as the new design isn't implemented yet, but that string is already in use with the current design.
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Adjustments to settings page
* Fix entity info when calling detailed pages
Solves #1022
* Added `media_player` page (hidden)
* New "Confirm" pop-up
This also removes the sensor "NSPanel Event"
* Fix pages not updating values
Solves #1026
* Media player - Buttons
- Added code to buttons on media_player page.
- Clean-up:
- Moved wake-up select from Blueprint to ESPHome component
- Removed `switch.xxxxx_confirmation_message`
* Fix logging for global_settings
It was logging wakeup_page, which is deprecated
* Improved version notification
* Removed trailing spaces
* Notification for `sensor.xxxxx_current_page` missing
This might be a common issue for users migrating from v3.4 to v3.5.
This information is part of the release notes, but I believe it worth having a guide to support closely any user who miss that in the release notes.
* Simplify `touchevent` engine
The touch event is used only for the sleeping engine (it will be used for dimming later) and it was transferring all the json info with page name, component, entity, etc.
This was replaced by a simple random integer with no meaning other than "the screen was touched, reset the timer".
* Media player first buttons actions
* Fix unknown service: `media_player.null`
* Media Player control
You will be able to add a Media Player entity to any of the buttons pages and with a long press you will see the media player page.
* Remove dimming timer for now
The funcionality isn't completed.
* Home page - Custom buttons
On the blueprint you can now set up to 3 buttons to be shown on Home page.
It will show the detailed settings page, so the entity must be compatible.
* Fix Media player missing parameters
Possibly solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1030#discussioncomment-6984573
* Prevents calls to `media_player.null`
* Remove `entity` info from pages on TFT
Since v3.4, the info about entity_id shown was going all the way to Nextion and then sent back in the json return, however this requires a long (100-char) global var and the way it was implemented, it was one of those per settings page, as climate should be also recorded at the same time in case the embedded climate was installed.
This was taking too much memory, so I've moved this info to a global variable (string) in ESPHome.
There is now lots of space for code cleaning (and still pending to do the same with climate entity, as it could be only a bool to inform if embedded), but this brings the functionality.
This enabled the return to global for some components, so it probably solves #1031
* Prototyping `power` page
Thanks @Floppe for doing the design
#838
* Prototyping `power` page
* New sleep flow
* Removed trailing spaces
* Fix empty page climate
* Fix names on button pages
Fix names when a name is not provided in the blueprint settings.
* Fix call to sleep routine when timeout changes
Solves #1037
* Replace `confirm` var on buttons pages
Simpler and saves some memory.
* Clean-up
* Align the code for the 3 timers
* Extend domains supported by home page custom buttons
Based on #1034
* Fix error when btn_label is `None`
* Fix `Variable invalid` on buttons pages
* Fix constructor of Entity pages
* Fallback even when button is assigned to another entity
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/1013#issuecomment-1720107844
* Add inputs for media player refresh time
* Adjustments to Media Player refresh interval default values
* Use panel's events to reset timers
Possibly solves #1040
Possibly solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-7020153
* State based colors to home page custom buttons
* Fix alarm not changing status
Do not clear `entity_id` when opening keyboard page, so the info can be used when sending commands.
Solves #1039
* Missing `nspanel_us.tft`
* add `touchevents` to pages `media_player` and `confirm`
To avoid panel going back to Home page while user is playing with the page.
Solves #1040
* Media player minor layout changes
* Media player - Volume timer & icon size
Volume timer changed from 1000 to 500ms
Icon change from font 9 to 10
* Media player roll back font 9 and timer 1s
* Don't send to Nextion obsolete volume settings
If the volume is the same as the last one sent to the screen, don't send again, so if changes are being made on the screen it didn't receive the update all the time, making the slider unresponsive.
* Media player - Layout improvement
- Removed button "Stop"
- Increase touch area for buttons
- Redistributed buttons on page
* Add touchevents to page climate
Possibly solves #995
* Resolve validation
* Correct playing time based on `updated_at` attribute
* Prepare for when attribute is not available
* Fix attribute `media_position`
* Fix time duration when HA isn't updating position
* Fix climate page not opening when offline
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6834067
* Clean-up release notes
* Clean up code
- Removed commented out lines
- Removed temporary logs
Getting prepared to release
* Bump version to 4.0beta
To reduce the chance of an obsolete file in use after the release.
* Change version to 4.0dev
To differentiate from beta.
* Added missing translations (#1047)
* Added missing translations
Added missing translations for the Swedish translation.
* Caption first char
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Translations to Slovak on Settings page
* Refresh docs
* Update nspanel_blank.md
* Update nspanel_blank.md
* Add screensaver to `nspanel_blank.tft`
And build a new tft with latest firmware and url for instructions.
* Update nspanel_blank.md
* Fix to Slovenian translation
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-7041796
* Settings page - Translations to French
From https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-7045452
* Alarm page - Translations to French
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-7046479
* Add customization for display sleeping/awake
Probably solves #1035
* Customizations - Blank TFT button
Probably solves #1048
* Customizations - Deep sleep
Solves #955
* Customization - Deep sleep - Fix broken link
* Translations - Slovak
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-7054153
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-7054142
* New versioning - not implemented
* Bump version to `4.0b2`
* v4.0 release
* Chpego patch 1 (#1059)
* Update nspanel_blueprint.yaml
fix some typo
* Update nspanel_blueprint.yaml
* Update README.md
* Update nspanel_blueprint.yaml
* Update nspanel_blueprint.yaml
* Started Release Notes for v4.1
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Prevents media player crash with `media_position_updated_at`
Prevents media player crashing when called before `media_position_updated_at` is able to provide a value.
I believe this solves #1062.
* timezone
* Settings page translations - Dutch
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-7073055
* Typo
* Removed `display_current_brightness`
I've removed this sensor as it was spamming the logs and taking memory without providing real benefit.
* Ignore different patch versions
Change the versioning control to major and minor only, ignoring differences on the patch version.
So components with different patch versions should be able to work with each other as soon the major and minor versions are the same.
This same logic was implemented on the blueprint before the 4.0 release.
* Code clean-up
* Flexible time format selected
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/1083#issuecomment-1732228103
* Removed obsolete thermostat page pic
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1076#discussioncomment-7085967
* Add date format for Finnish
* Fix `buttonpage03` long press pointing to page 2
* Fix mute volume not working
Solves #1079 items 2 and 3
* Reset sleep timer when brightness settings changes
Solves #1087
Also removes limit to 10char on "Brightness" on Settings page.
* Bump version to `4.0.1dev`
* Update ReleaseNotes.md
Preparing for patch release.
* Review translations - Finish
Solves #1083
* Update ReleaseNotes.md
* Remove trailing space
* v4.0.1beta
* v4.0.1 patch release
---------
Co-authored-by: bkbartk <bartkock@outlook.com>
Co-authored-by: w00zy <WZYProjects+github@gmail.com>
Co-authored-by: w00zy <52609940+WZYProjects@users.noreply.github.com>
Co-authored-by: Erik Larsson <erik1337.el@gmail.com>
Co-authored-by: chpego <38792705+chpego@users.noreply.github.com>
* Exclude Nextion2Text
Exclude Nextion2Text
* Fix validation issue
* Time engine on ESPHome
* Time engine on ESPHome
* Notification page bigger hotspot
Added hotspots around the buttons (Accept & Clear) on Notification page to make easier to click on those.
Solves #907
* Boot page retry comm
The boot page will retry communication with the blueprint once a minute to avoid the situation where that page is shown until the automation is reloaded.
* Fix call to screen page
Fixes the call to screen page on US panel.
Reconciliate the US landscape model from EU model.
* Fix fan page `button_on`
Fixing rounding on that button.
* Fixed Fan page rounding
* Prevents boot sequence in other pages
* Physical relay local control
We are trying to make your panel as autonomous as possible by moving some of the controls from the Blueprint to ESPHome. This will reduce the load in your network and Home Assistant, but also will make a more reliable system capable to do it's core functionality even when the network is unavailable or Home Assistant is restarting.
With this version, the following engines have been moved to your panel (local control):
- Physical relay control (when hardware left button is connected to relay 1 or right button to relay 2)
Solves #910
* Embedded climate (#917)
* Performance improvements
The main focus here was to reduce the number of calls between Home Assistant and ESPHome, moving logic as much as possible to TFT and ESPHome.
- Service calls moved to ESPHome (in preparation for Alarm Control Panel)
- Page change informed via event call instead of `nspanel_event` sensor (which still in use by other calls, but might be possible to remove in the future)
* Draft embedded climate
This adds an initial version of an embedded climate/thermostat (heating only for now) with support for local control even with Wi-Fi out.
Solves #646
Solves #263
* Update ReleaseNotes.md
* Fix climate slider
Fix for climate slider opening in an incorrect position and sending only the integer part of the new target temperature
* Moving home page to ESPHome
In progress...
* Fix translations - Dutch
* Embedded chip 3
Home page - Chip 3 will be controlled locally when embedded climate is enable.
* Fixed buttons bar
Fixed buttons bar managed on ESPHome when embedded climate is visible.
* Update ReleaseNotes.md
* Services back to the Blueprint
Moving service calls back to the blueprint as latest HA requires user's permissions to call HA services from ESPHome.
This still have to be used for Alarm calls due to security concerns.
* Update ReleaseNotes.md
* support to hidden ssid (#908)
Supports hidden ssid with the use of substitutions `wifi_hidden: "true"`.
This can be breaking change for users with custom/advanced wifi settings.
Solves #906
* Update nspanel_esphome.yaml
* Removed `restore_state`
There is some incomplete work related to alarms on this commit, but the focus here is to fix `restore_state` on ESPHome v2023.7.0.
This solves #939
* US model - Fan page - Redistribute icons
Redistributed icons on Fan page on US model in order to improve usability.
Based on feedback from https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6338706
* Align `nspanel_us_land`
Apply all changes from EU to US_Land
* Fix relays chips
Fix relay status indication on chips.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/926#issuecomment-1627660273
* Fix "invalid variable" for "api"
Fix error "Nextion invalid variable name" when setting `api`.
* Default embedded climate to relay_0
* Fix issue with `restore_state` and ESPHome v2023.7.0 (#941)
Solves #939
* Fix translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6511043
* Fix `set_temperature` for climate
Solves #957
* Fix `fan.turn_off` call
Removed timer call from fan stop button.
This solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6494535
* Call a `fan.turn_off` when percentage is 0%
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6621756
* Fix call for fan stop button
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6622377
* Icons on ESPHome
Move icons from TFT/HMI to ESPHome to prevent error on Nextion2Text.
* Updated translations - Spanish
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6548961
* Make home page sensor's icons consistent
Make icon selection consistent with chips where the entity's icon is used in case a icon is not set in the blueprint settings.
Solves #963
* Updated translations - Slovenian
Based on:
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6665723
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-6665751
* dutch (#974)
* small ducht translations
small ducht translations
* Dutch translations
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Add-on support (#977)
Moved climate settings to an add-on.
Updated documentation.
* Fixed link to addon climate docs
* Fix change brightness when sleeping
Prevents the panel to change screen brightness when sleeping.
Solves #975
* Standardize HA service calls
* Bump version to `4.0 dev`
* Create customization.md
This will reduce the need for:
- #920
- #662
- #833
* Clean-up for customizations
Clean up ESPHome in order to make easier the use of customizations.
* Create Alarm page
* Add page Alarm
* Add Alarm docs
Update docs to reflect the current state (new features & changes)
* Creating "install.md" and update add-ons instructions
* Add Alarm page buttons pics
* Add link to Alarm on page Home
* Create Alarm page
* Alarm button font color
* Add `keyb_num` page
* Alarm Control Panel with PIN (#982)
Implements an Alarm Control Panel page on NSPanel.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/66
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/227
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/672
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4874612
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/64#issuecomment-1566204490
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718
* Fix alarm without pin not working
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/pull/930#issuecomment-1680981977
* Alarm page UI
Fixed close button
Disabled buttons are darker
* Move Entities button to ESPHome
Move logic behind Entities button (Home page) from Blueprint to ESPHome in order to gain performance on creating home page.
* Human readable Uptime (#986)
* Human readable Uptime
* Uptime from Frenck code
* Uptime with Frenck code
* Updated Human Readable Uptime
* Removed trailing spaces
* Renamed sensor to "Last started"
Sensor renamed
Update moved to the boot process
Clean-up
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Co-authored-by: Edward Firmo <edward@costafirmo.com>
* Update alarm icon & color
* Revert `fast_connect` back to `false`
* Extended chars on buttons pages (#988)
Replaces #740
Probably solves #664
Probably solves #738
Probably solves #987
* Removed `fast_connect`
* Support to `code_arm_required`
Only shows the alarm PIN keyboard if a code is required for arming (or when disarming).
* Update alarm icon on home page
Refresh icon when alarm state changes.
* Fix alarm icon not updating on home page
* Home buttons new format - Alarm
Modernise the button Alarm flow on page Home to improve performance.
* Home buttons new format - Entities
Modernise the button "Entities" flow on page Home to improve performance.
* Home buttons new format - QRcode
Modernise the button "QRcode" flow on page Home to improve performance.
* Home buttons new format - Notification
Modernise the button "Notification" flow on page Home to improve performance.
I haven't moved the code from the Blueprint to ESPHome yet, as I will leave this for when we rebuild the Notification flow in the near future (hopefully), so the performance gains may not be perceived now. Just aligning with other buttons format.
* Adding screenshots
* Delete ReleaseNotes.md
Moved to the release
* New entity filter format
This new format was released with HA v2023.4 and the old one will be deprecated soon.
* Fix Alarm page bypass icon
* Bump version to 4.0
* Rename `addon_climate_heat`
* Simplify climate substitutions
* Add support for `addon_climate_cool`
* Removed `${verbose_log}`
Use logger level `VERBOSE` instead
* Fix script call
* Clean up general entities & fallback
Store inputs into variables only when needed.
Removed fallback mode - Replaced by ESPHome local control when the relay is assigned to the button in the blueprint.
* Phase out sensor `nspanel_event` (partially)
This sensor is being replaced by event calls.
* uptime sensors (#998)
* Create ReleaseNotes.md
* Fix Climate page when embedded climate
And also added a lot of logs which should be removed later as it takes from memory.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6835260
* Move brightness control to global var
Clean up page Home
* Alarm page translations - Finnish
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6857262
* Exported pics
* Clean-up TFT
- Removed a bunch of unused pics
- Changed page indicator to new format (which will allow future development to hide unused pages)
- Standardized close button in most pages
* Fixed background pics
- Entities pages
- Weather pages
* Standardize close button
* Add "Alarm" section
* Support to wake-up page on `wake_up_display` service
This changes the behavior of a service introduced by #734.
* Optimize `wake_up_display` service
* Fix icon font sizes 10 and 64
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1701903604
And also remove all the unnecessary `wait_until`
* Fix Settings page element ids
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702109668
* Add translation keys for `settings` page
#1002
* Update settings page when brightness changes on HA
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702149796
* Clean-up page settings
* update docs (#1003)
* updated docs
* Update ReleaseNotes.md
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Clean-up Cover page
I'm preparing this page to have icons changing based on the device_class selected to a cover.
* Clean-up boot delay
* Enable `current_page` sensor by default
Otherwise the system won´t update values unless the page is reloaded.
* Use `current_page` in blueprint conditions
One more step towards the phase out of `nspanelevent`.
* Move `script.refresh_colors` to `service.global_settings`
As this is called from a single point, there's no meaning of having a separated script.
* Fix climate icon update
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891454
* Fix button show on climate page
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891335
* Visual improvements on climate page
- Add friendly name when embedded - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891465
- Make disable icons a bit darker - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6893440
- Add space for page title in EU an US Land versions
- Reset page timer when pressing/releasing on the slider - Partially solves #990
* Don't update values when page home is not visible
To reduce load on Home Assistant and the network
* Cleanup boot sequence
Move some functionalities to ESPHome
* Display internal sensor value when wifi is out
Before it was showing on home page only when API was out. This adds a test for WiFi.
* Fix `default_target_temperature`
It also updates the page home when thermostat status changes (for the chips).
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6897727
* Adding ID to components missing it
* Renamed `wake_up_display` to `wake_up`
* Re-arrange commands list
* Add service `set_component_color`
Deprecates the following services:
- `send_command_font_color`
- `send_command_background_color`
* Fix button pages not showing
* Adjusted time for HW long click
* Fixed buttons on settings page
* Minor adjustments to page climate
And replace font 10 to size 48 (it was 64 since a few days ago).
* Updates to breaking changes list
* Page settings redesign
Clean up the UI of settings page.
Prepare for translations.
* Enable translations of Settings page
* Notification word-wrap
For EU and US_LAND only, for now.
* Notifications page rebuilt
- Notification button processed on ESPHome (as all the info is there)
- Added word-wrap for main text
- Expanded text size
- Handling display mode (used to define the number of chars per line on Notifications)
- Versioning handling - As a consequence of the previous item.
* Word-wrap buttons pages
Taking advantage of the algorithm created for notifications.
* Word-wrap for Alarm page
* Version mismatch notication
* Fix ESPHome not starting with older TFT
* Rebuilt home page status bar update
* Updated translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-6926846
Thanks @MaiPiu
* Fix `Nextion reported variable name invalid!`
* Fix `Nextion variable invalid`
* Handle `embedded_indoor_temperature`
Internal temperature display will be handled locally (ESPHome) when no other sensor is selected.
* Review temperature correction engine
* Fix display climate chip
* update `temp_nspanel` when correction changes
* Fix `Fan` page not open with long press HW button
Solves #1007
* Minor adjustments on settings page
* version 4.0 ready for release
* Clean-up docs
* Improve version notification
* Disable restore `notification_unread`
This must be changed to a binary sensor in the future.
* Beta v4.0 (#1012)
* Create ReleaseNotes.md (#879)
* Create ReleaseNotes.md
* sensor display precision
* Filter devices to esp32 only (#881)
* Filter devices to esp32 only
Show only ESP32 devices when selecting the panel
* Filtered device list
* Sensor display precision (#880)
Now the values shown in your panel will follow the [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision) provided by Home Assistant.
=> If you have problems with a value exceeding the available space in your panel, please reduce the number of decimals using Home Assistant [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision).
* New language selector (#882)
* New language selector
* Update ReleaseNotes.md
* Update ReleaseNotes.md
* Remove `settings_entity` (#887)
* Remove `settings_entity`
- Bump version to 3.5_dev
- Removed references to pictures removed from TFT
- Removed code related to closing settings pages
- Removed trigger `settings_entity`
* Removed `set_settings_entity` service
- Bump version to 3.5_dev
- Removed `set_settings_entity` service - BREAKING CHANGE
- Removed `settings_entity` text-sensor - BREAKING CHANGE
- Added service `open_entity_settings_page` - BREAKING CHANGE
* Removed `settings_entity`
- Bump version to 3.5_dev
- Removed old climate page (climate_backup)
- Removed pics related to old climate page (ids 16-47, 80-83, 95-96 and 125(US only))
- Enforces brightness on any page change (this allows wake-up on settings page with long press on physical buttons) - Pending removing code from Blueprint
- Added `entity` variable on pages `climate`, `lightsettings` and `coversettings`
- Added `entity` info to `nspanelevent` on pages `climate`, `lightsettings` and `coversettings`
- Added `back_page` variable on pages `climate`, `lightsettings` and `coversettings` (default: home)
- Moving to TFT close page logic on pages `climate`, `lightsettings` and `coversettings` - Pending changes on Blueprint and ESPHome
- Standardized name for `page_label` on pages `climate`, `lightsettings` and `coversettings`
- Standardized settings page names: `climate`, `cover` and `light` (Removed `settings` from page name)
* Removed `settings_entity`
* Removed `settings_entity`
* Removed `settings_entity`
* Move `entity` variable to home page (#889)
* Move `entity` variable to home page
This will enable future development of a fallback climate
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Use `en` as fallback language (#891)
* Use `en` as fallback language
Uses English if a non valid language is selected (like when using legacy language selection).
* Use `en` as fallback language
* Create `nspanel_us_land.tft` (#890)
* Create `nspanel_us_land.tft'
Add `nspanel_us_land.tft' for US panel on landscape mode, fixing the offset on the touch screen when using `nspanel_eu.tft` into a US panel.
Hides the hardware buttons labels, as Nextion cannot support rotated text.
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
solves #390
solves #432
solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4933716
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
* Fix "Button confirmation page not working correctly"
Solves #883
* Supports weather forecast with `datetime` not string
This adds support to weather integrations where the `datetime` field under `forecast` attribute is provided as a `datetime` type.
This was seen on Météo-France, while all other weather integrations tested so far used a `text` field for `datetime`.
This solves #893
* Wifi icon to indicate when API offline
This changes the behavior of Wifi icon:
How it was before:
- Wifi icon was visible only when the wifi was connected, nothing was shown when wifi was not connected.
How it is now:
- Wifi icon will have 3 states:
- Wifi & API connected: Gray wifi icon
- Wifi disconnected: Red wifi-off icon
- Wifi connected, but API disconnected (HA is out?): Red api-off icon
* API status indication on the panel
* Limit light & cover to supported settings (#896)
* Limit light to supported settings
When showing light settings, only the supported features will be shown for each light.
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
This partially solves #635
* Limits covers to supported settings
Only show cover settings when `set_position` is supported.
This solves #635
* Limits covers to supported settings
* Update instructions.md
* Add Fan speed settings page (#897)
* Add Fan speed settings page
Add an initial fan speed control page for fans supporting speed control.
Add speed (%) info in the buttons pages.
Solves #404
Solves #791
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5786106
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Fix name on confirmation page
Fix the entity name on the confirmation page.
The new order is:
1. Name set on the blueprint settings
2. Entity's `friendly_name` attribute
3. Entity's `name` attribute
4. Entity's `entity_id`
Solves #501
* Select wake-up page (#898)
* Select wake-up page
Users will be able to select the wake-up page on the blueprint inputs.
This selected page will be shown after a boot (after the boot page) and with a touch in the screen when on screen saver page.
After showing this wake-up page, all the previous behavior for closing the page (with a click or after a timeout) will be the same.
Solves #576
Solves #612
Solves #801
Probably improves for https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5715670
* Select wake-up page
* Fan update engine
Change the fan update engine to follow the same patter as other settings pages.
* Update ReleaseNotes.md
* Adding vertical bars pics
* Panel offline mode (#900)
* Panel offline mode
Introduces "offline mode" for the panel, which will be used later with a fallback climate.
Pages that are depending on the blueprint (buttons pages, entity pages, settings pages, etc) won't be shown when the API is disconnected.
* Panel offline mode
* Panel offline mode
* Panel offline mode
* Panel offline mode
* "Jump to settings" on tft
Moved "Jump to settings page" routine from ESPHome to TFT in order to reduce complexity.
* Exclude Nextion2Text
Exclude Nextion2Text
* Fix validation issue
* Time engine on ESPHome
* Time engine on ESPHome
* Notification page bigger hotspot
Added hotspots around the buttons (Accept & Clear) on Notification page to make easier to click on those.
Solves #907
* Boot page retry comm
The boot page will retry communication with the blueprint once a minute to avoid the situation where that page is shown until the automation is reloaded.
* Fix call to screen page
Fixes the call to screen page on US panel.
Reconciliate the US landscape model from EU model.
* Fix fan page `button_on`
Fixing rounding on that button.
* Fixed Fan page rounding
* Prevents boot sequence in other pages
* Physical relay local control
We are trying to make your panel as autonomous as possible by moving some of the controls from the Blueprint to ESPHome. This will reduce the load in your network and Home Assistant, but also will make a more reliable system capable to do it's core functionality even when the network is unavailable or Home Assistant is restarting.
With this version, the following engines have been moved to your panel (local control):
- Physical relay control (when hardware left button is connected to relay 1 or right button to relay 2)
Solves #910
* Embedded climate (#917)
* Performance improvements
The main focus here was to reduce the number of calls between Home Assistant and ESPHome, moving logic as much as possible to TFT and ESPHome.
- Service calls moved to ESPHome (in preparation for Alarm Control Panel)
- Page change informed via event call instead of `nspanel_event` sensor (which still in use by other calls, but might be possible to remove in the future)
* Draft embedded climate
This adds an initial version of an embedded climate/thermostat (heating only for now) with support for local control even with Wi-Fi out.
Solves #646
Solves #263
* Update ReleaseNotes.md
* Fix climate slider
Fix for climate slider opening in an incorrect position and sending only the integer part of the new target temperature
* Moving home page to ESPHome
In progress...
* Fix translations - Dutch
* Embedded chip 3
Home page - Chip 3 will be controlled locally when embedded climate is enable.
* Fixed buttons bar
Fixed buttons bar managed on ESPHome when embedded climate is visible.
* Update ReleaseNotes.md
* Services back to the Blueprint
Moving service calls back to the blueprint as latest HA requires user's permissions to call HA services from ESPHome.
This still have to be used for Alarm calls due to security concerns.
* Update ReleaseNotes.md
* support to hidden ssid (#908)
Supports hidden ssid with the use of substitutions `wifi_hidden: "true"`.
This can be breaking change for users with custom/advanced wifi settings.
Solves #906
* Update nspanel_esphome.yaml
* Removed `restore_state`
There is some incomplete work related to alarms on this commit, but the focus here is to fix `restore_state` on ESPHome v2023.7.0.
This solves #939
* US model - Fan page - Redistribute icons
Redistributed icons on Fan page on US model in order to improve usability.
Based on feedback from https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6338706
* Align `nspanel_us_land`
Apply all changes from EU to US_Land
* Fix relays chips
Fix relay status indication on chips.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/926#issuecomment-1627660273
* Fix "invalid variable" for "api"
Fix error "Nextion invalid variable name" when setting `api`.
* Default embedded climate to relay_0
* Fix translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6511043
* Fix `set_temperature` for climate
Solves #957
* Fix `fan.turn_off` call
Removed timer call from fan stop button.
This solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6494535
* Call a `fan.turn_off` when percentage is 0%
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6621756
* Fix call for fan stop button
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6622377
* Icons on ESPHome
Move icons from TFT/HMI to ESPHome to prevent error on Nextion2Text.
* Updated translations - Spanish
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6548961
* Make home page sensor's icons consistent
Make icon selection consistent with chips where the entity's icon is used in case a icon is not set in the blueprint settings.
Solves #963
* Updated translations - Slovenian
Based on:
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6665723
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-6665751
* dutch (#974)
* small ducht translations
small ducht translations
* Dutch translations
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Add-on support (#977)
Moved climate settings to an add-on.
Updated documentation.
* Fixed link to addon climate docs
* Fix change brightness when sleeping
Prevents the panel to change screen brightness when sleeping.
Solves #975
* Standardize HA service calls
* Bump version to `4.0 dev`
* Create customization.md
This will reduce the need for:
- #920
- #662
- #833
* Clean-up for customizations
Clean up ESPHome in order to make easier the use of customizations.
* Create Alarm page
* Add page Alarm
* Add Alarm docs
Update docs to reflect the current state (new features & changes)
* Creating "install.md" and update add-ons instructions
* Add Alarm page buttons pics
* Add link to Alarm on page Home
* Create Alarm page
* Alarm button font color
* Add `keyb_num` page
* Alarm Control Panel with PIN (#982)
Implements an Alarm Control Panel page on NSPanel.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/66
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/227
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/672
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4874612
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/64#issuecomment-1566204490
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718
* Fix alarm without pin not working
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/pull/930#issuecomment-1680981977
* Alarm page UI
Fixed close button
Disabled buttons are darker
* Move Entities button to ESPHome
Move logic behind Entities button (Home page) from Blueprint to ESPHome in order to gain performance on creating home page.
* Human readable Uptime (#986)
* Human readable Uptime
* Uptime from Frenck code
* Uptime with Frenck code
* Updated Human Readable Uptime
* Removed trailing spaces
* Renamed sensor to "Last started"
Sensor renamed
Update moved to the boot process
Clean-up
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Co-authored-by: Edward Firmo <edward@costafirmo.com>
* Update alarm icon & color
* Revert `fast_connect` back to `false`
* Extended chars on buttons pages (#988)
Replaces #740
Probably solves #664
Probably solves #738
Probably solves #987
* Removed `fast_connect`
* Support to `code_arm_required`
Only shows the alarm PIN keyboard if a code is required for arming (or when disarming).
* Update alarm icon on home page
Refresh icon when alarm state changes.
* Fix alarm icon not updating on home page
* Home buttons new format - Alarm
Modernise the button Alarm flow on page Home to improve performance.
* Home buttons new format - Entities
Modernise the button "Entities" flow on page Home to improve performance.
* Home buttons new format - QRcode
Modernise the button "QRcode" flow on page Home to improve performance.
* Home buttons new format - Notification
Modernise the button "Notification" flow on page Home to improve performance.
I haven't moved the code from the Blueprint to ESPHome yet, as I will leave this for when we rebuild the Notification flow in the near future (hopefully), so the performance gains may not be perceived now. Just aligning with other buttons format.
* Adding screenshots
* Delete ReleaseNotes.md
Moved to the release
* New entity filter format
This new format was released with HA v2023.4 and the old one will be deprecated soon.
* Fix Alarm page bypass icon
* Bump version to 4.0
* Rename `addon_climate_heat`
* Simplify climate substitutions
* Add support for `addon_climate_cool`
* Removed `${verbose_log}`
Use logger level `VERBOSE` instead
* Fix script call
* Clean up general entities & fallback
Store inputs into variables only when needed.
Removed fallback mode - Replaced by ESPHome local control when the relay is assigned to the button in the blueprint.
* Phase out sensor `nspanel_event` (partially)
This sensor is being replaced by event calls.
* uptime sensors (#998)
* Create ReleaseNotes.md
* Fix Climate page when embedded climate
And also added a lot of logs which should be removed later as it takes from memory.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6835260
* Move brightness control to global var
Clean up page Home
* Alarm page translations - Finnish
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6857262
* Exported pics
* Clean-up TFT
- Removed a bunch of unused pics
- Changed page indicator to new format (which will allow future development to hide unused pages)
- Standardized close button in most pages
* Fixed background pics
- Entities pages
- Weather pages
* Standardize close button
* Add "Alarm" section
* Support to wake-up page on `wake_up_display` service
This changes the behavior of a service introduced by #734.
* Optimize `wake_up_display` service
* Fix icon font sizes 10 and 64
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1701903604
And also remove all the unnecessary `wait_until`
* Fix Settings page element ids
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702109668
* Add translation keys for `settings` page
#1002
* Update settings page when brightness changes on HA
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702149796
* Clean-up page settings
* update docs (#1003)
* updated docs
* Update ReleaseNotes.md
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Clean-up Cover page
I'm preparing this page to have icons changing based on the device_class selected to a cover.
* Clean-up boot delay
* Enable `current_page` sensor by default
Otherwise the system won´t update values unless the page is reloaded.
* Use `current_page` in blueprint conditions
One more step towards the phase out of `nspanelevent`.
* Move `script.refresh_colors` to `service.global_settings`
As this is called from a single point, there's no meaning of having a separated script.
* Fix climate icon update
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891454
* Fix button show on climate page
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891335
* Visual improvements on climate page
- Add friendly name when embedded - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891465
- Make disable icons a bit darker - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6893440
- Add space for page title in EU an US Land versions
- Reset page timer when pressing/releasing on the slider - Partially solves #990
* Don't update values when page home is not visible
To reduce load on Home Assistant and the network
* Cleanup boot sequence
Move some functionalities to ESPHome
* Display internal sensor value when wifi is out
Before it was showing on home page only when API was out. This adds a test for WiFi.
* Fix `default_target_temperature`
It also updates the page home when thermostat status changes (for the chips).
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6897727
* Adding ID to components missing it
* Renamed `wake_up_display` to `wake_up`
* Re-arrange commands list
* Add service `set_component_color`
Deprecates the following services:
- `send_command_font_color`
- `send_command_background_color`
* Fix button pages not showing
* Adjusted time for HW long click
* Fixed buttons on settings page
* Minor adjustments to page climate
And replace font 10 to size 48 (it was 64 since a few days ago).
* Updates to breaking changes list
* Page settings redesign
Clean up the UI of settings page.
Prepare for translations.
* Enable translations of Settings page
* Notification word-wrap
For EU and US_LAND only, for now.
* Notifications page rebuilt
- Notification button processed on ESPHome (as all the info is there)
- Added word-wrap for main text
- Expanded text size
- Handling display mode (used to define the number of chars per line on Notifications)
- Versioning handling - As a consequence of the previous item.
* Word-wrap buttons pages
Taking advantage of the algorithm created for notifications.
* Word-wrap for Alarm page
* Version mismatch notication
* Fix ESPHome not starting with older TFT
* Rebuilt home page status bar update
* Updated translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-6926846
Thanks @MaiPiu
* Fix `Nextion reported variable name invalid!`
* Fix `Nextion variable invalid`
* Handle `embedded_indoor_temperature`
Internal temperature display will be handled locally (ESPHome) when no other sensor is selected.
* Review temperature correction engine
* Fix display climate chip
* update `temp_nspanel` when correction changes
* Fix `Fan` page not open with long press HW button
Solves #1007
* Minor adjustments on settings page
* version 4.0 ready for release
* Clean-up docs
---------
Co-authored-by: bkbartk <bartkock@outlook.com>
Co-authored-by: w00zy <WZYProjects+github@gmail.com>
* Fix Fan page button colors when opening
Solves #1017
* Translations (#1023)
* Translations
* Update nspanel_blueprint.yaml
I've changed `brightness` for now as the new design isn't implemented yet, but that string is already in use with the current design.
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Adjustments to settings page
* Fix entity info when calling detailed pages
Solves #1022
* Added `media_player` page (hidden)
* New "Confirm" pop-up
This also removes the sensor "NSPanel Event"
* Fix pages not updating values
Solves #1026
* Media player - Buttons
- Added code to buttons on media_player page.
- Clean-up:
- Moved wake-up select from Blueprint to ESPHome component
- Removed `switch.xxxxx_confirmation_message`
* Fix logging for global_settings
It was logging wakeup_page, which is deprecated
* Improved version notification
* Removed trailing spaces
* Notification for `sensor.xxxxx_current_page` missing
This might be a common issue for users migrating from v3.4 to v3.5.
This information is part of the release notes, but I believe it worth having a guide to support closely any user who miss that in the release notes.
* Simplify `touchevent` engine
The touch event is used only for the sleeping engine (it will be used for dimming later) and it was transferring all the json info with page name, component, entity, etc.
This was replaced by a simple random integer with no meaning other than "the screen was touched, reset the timer".
* Media player first buttons actions
* Fix unknown service: `media_player.null`
* Media Player control
You will be able to add a Media Player entity to any of the buttons pages and with a long press you will see the media player page.
* Remove dimming timer for now
The funcionality isn't completed.
* Home page - Custom buttons
On the blueprint you can now set up to 3 buttons to be shown on Home page.
It will show the detailed settings page, so the entity must be compatible.
* Fix Media player missing parameters
Possibly solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1030#discussioncomment-6984573
* Prevents calls to `media_player.null`
* Remove `entity` info from pages on TFT
Since v3.4, the info about entity_id shown was going all the way to Nextion and then sent back in the json return, however this requires a long (100-char) global var and the way it was implemented, it was one of those per settings page, as climate should be also recorded at the same time in case the embedded climate was installed.
This was taking too much memory, so I've moved this info to a global variable (string) in ESPHome.
There is now lots of space for code cleaning (and still pending to do the same with climate entity, as it could be only a bool to inform if embedded), but this brings the functionality.
This enabled the return to global for some components, so it probably solves #1031
* Prototyping `power` page
Thanks @Floppe for doing the design
#838
* Prototyping `power` page
* New sleep flow
* Removed trailing spaces
* Fix empty page climate
* Fix names on button pages
Fix names when a name is not provided in the blueprint settings.
* Fix call to sleep routine when timeout changes
Solves #1037
* Replace `confirm` var on buttons pages
Simpler and saves some memory.
* Clean-up
* Align the code for the 3 timers
* Extend domains supported by home page custom buttons
Based on #1034
* Fix error when btn_label is `None`
* Fix `Variable invalid` on buttons pages
* Fix constructor of Entity pages
* Fallback even when button is assigned to another entity
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/1013#issuecomment-1720107844
* Add inputs for media player refresh time
* Adjustments to Media Player refresh interval default values
* Use panel's events to reset timers
Possibly solves #1040
Possibly solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-7020153
* State based colors to home page custom buttons
* Fix alarm not changing status
Do not clear `entity_id` when opening keyboard page, so the info can be used when sending commands.
Solves #1039
* Missing `nspanel_us.tft`
* add `touchevents` to pages `media_player` and `confirm`
To avoid panel going back to Home page while user is playing with the page.
Solves #1040
* Media player minor layout changes
* Media player - Volume timer & icon size
Volume timer changed from 1000 to 500ms
Icon change from font 9 to 10
* Media player roll back font 9 and timer 1s
* Don't send to Nextion obsolete volume settings
If the volume is the same as the last one sent to the screen, don't send again, so if changes are being made on the screen it didn't receive the update all the time, making the slider unresponsive.
* Media player - Layout improvement
- Removed button "Stop"
- Increase touch area for buttons
- Redistributed buttons on page
* Add touchevents to page climate
Possibly solves #995
* Resolve validation
* Correct playing time based on `updated_at` attribute
* Prepare for when attribute is not available
* Fix attribute `media_position`
* Fix time duration when HA isn't updating position
* Fix climate page not opening when offline
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6834067
* Clean-up release notes
* Clean up code
- Removed commented out lines
- Removed temporary logs
Getting prepared to release
* Bump version to 4.0beta
To reduce the chance of an obsolete file in use after the release.
* Change version to 4.0dev
To differentiate from beta.
* Added missing translations (#1047)
* Added missing translations
Added missing translations for the Swedish translation.
* Caption first char
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Translations to Slovak on Settings page
* Refresh docs
* Update nspanel_blank.md
* Update nspanel_blank.md
* Add screensaver to `nspanel_blank.tft`
And build a new tft with latest firmware and url for instructions.
* Update nspanel_blank.md
* Fix to Slovenian translation
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-7041796
* Settings page - Translations to French
From https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-7045452
* Alarm page - Translations to French
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-7046479
* Add customization for display sleeping/awake
Probably solves #1035
* Customizations - Blank TFT button
Probably solves #1048
* Customizations - Deep sleep
Solves #955
* Customization - Deep sleep - Fix broken link
* Translations - Slovak
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-7054153
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-7054142
* New versioning - not implemented
* Bump version to `4.0b2`
* v4.0 release
* Chpego patch 1 (#1059)
* Update nspanel_blueprint.yaml
fix some typo
* Update nspanel_blueprint.yaml
* Update README.md
* Update nspanel_blueprint.yaml
* Update nspanel_blueprint.yaml
* Started Release Notes for v4.1
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Prevents media player crash with `media_position_updated_at`
Prevents media player crashing when called before `media_position_updated_at` is able to provide a value.
I believe this solves #1062.
* timezone
* Settings page translations - Dutch
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-7073055
* Typo
* Removed `display_current_brightness`
I've removed this sensor as it was spamming the logs and taking memory without providing real benefit.
* Ignore different patch versions
Change the versioning control to major and minor only, ignoring differences on the patch version.
So components with different patch versions should be able to work with each other as soon the major and minor versions are the same.
This same logic was implemented on the blueprint before the 4.0 release.
* Code clean-up
* Flexible time format selected
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/1083#issuecomment-1732228103
* Removed obsolete thermostat page pic
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1076#discussioncomment-7085967
* Add date format for Finnish
* Fix `buttonpage03` long press pointing to page 2
* Fix mute volume not working
Solves #1079 items 2 and 3
* Reset sleep timer when brightness settings changes
Solves #1087
Also removes limit to 10char on "Brightness" on Settings page.
* Bump version to `4.0.1dev`
* Update ReleaseNotes.md
Preparing for patch release.
* Review translations - Finish
Solves #1083
* Update ReleaseNotes.md
* Remove trailing space
* v4.0.1beta
---------
Co-authored-by: bkbartk <bartkock@outlook.com>
Co-authored-by: w00zy <WZYProjects+github@gmail.com>
Co-authored-by: w00zy <52609940+WZYProjects@users.noreply.github.com>
Co-authored-by: Erik Larsson <erik1337.el@gmail.com>
Co-authored-by: chpego <38792705+chpego@users.noreply.github.com>
Change the versioning control to major and minor only, ignoring differences on the patch version.
So components with different patch versions should be able to work with each other as soon the major and minor versions are the same.
This same logic was implemented on the blueprint before the 4.0 release.
* v4.0 - Alarm and Media player pages, Climate add-ons and a more robust panel (#1033)
* Create ReleaseNotes.md (#879)
* Create ReleaseNotes.md
* sensor display precision
* Filter devices to esp32 only (#881)
* Filter devices to esp32 only
Show only ESP32 devices when selecting the panel
* Filtered device list
* Sensor display precision (#880)
Now the values shown in your panel will follow the [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision) provided by Home Assistant.
=> If you have problems with a value exceeding the available space in your panel, please reduce the number of decimals using Home Assistant [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision).
* New language selector (#882)
* New language selector
* Update ReleaseNotes.md
* Update ReleaseNotes.md
* Remove `settings_entity` (#887)
* Remove `settings_entity`
- Bump version to 3.5_dev
- Removed references to pictures removed from TFT
- Removed code related to closing settings pages
- Removed trigger `settings_entity`
* Removed `set_settings_entity` service
- Bump version to 3.5_dev
- Removed `set_settings_entity` service - BREAKING CHANGE
- Removed `settings_entity` text-sensor - BREAKING CHANGE
- Added service `open_entity_settings_page` - BREAKING CHANGE
* Removed `settings_entity`
- Bump version to 3.5_dev
- Removed old climate page (climate_backup)
- Removed pics related to old climate page (ids 16-47, 80-83, 95-96 and 125(US only))
- Enforces brightness on any page change (this allows wake-up on settings page with long press on physical buttons) - Pending removing code from Blueprint
- Added `entity` variable on pages `climate`, `lightsettings` and `coversettings`
- Added `entity` info to `nspanelevent` on pages `climate`, `lightsettings` and `coversettings`
- Added `back_page` variable on pages `climate`, `lightsettings` and `coversettings` (default: home)
- Moving to TFT close page logic on pages `climate`, `lightsettings` and `coversettings` - Pending changes on Blueprint and ESPHome
- Standardized name for `page_label` on pages `climate`, `lightsettings` and `coversettings`
- Standardized settings page names: `climate`, `cover` and `light` (Removed `settings` from page name)
* Removed `settings_entity`
* Removed `settings_entity`
* Removed `settings_entity`
* Move `entity` variable to home page (#889)
* Move `entity` variable to home page
This will enable future development of a fallback climate
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Use `en` as fallback language (#891)
* Use `en` as fallback language
Uses English if a non valid language is selected (like when using legacy language selection).
* Use `en` as fallback language
* Create `nspanel_us_land.tft` (#890)
* Create `nspanel_us_land.tft'
Add `nspanel_us_land.tft' for US panel on landscape mode, fixing the offset on the touch screen when using `nspanel_eu.tft` into a US panel.
Hides the hardware buttons labels, as Nextion cannot support rotated text.
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
solves #390
solves #432
solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4933716
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
* Fix "Button confirmation page not working correctly"
Solves #883
* Supports weather forecast with `datetime` not string
This adds support to weather integrations where the `datetime` field under `forecast` attribute is provided as a `datetime` type.
This was seen on Météo-France, while all other weather integrations tested so far used a `text` field for `datetime`.
This solves #893
* Wifi icon to indicate when API offline
This changes the behavior of Wifi icon:
How it was before:
- Wifi icon was visible only when the wifi was connected, nothing was shown when wifi was not connected.
How it is now:
- Wifi icon will have 3 states:
- Wifi & API connected: Gray wifi icon
- Wifi disconnected: Red wifi-off icon
- Wifi connected, but API disconnected (HA is out?): Red api-off icon
* API status indication on the panel
* Limit light & cover to supported settings (#896)
* Limit light to supported settings
When showing light settings, only the supported features will be shown for each light.
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
This partially solves #635
* Limits covers to supported settings
Only show cover settings when `set_position` is supported.
This solves #635
* Limits covers to supported settings
* Update instructions.md
* Add Fan speed settings page (#897)
* Add Fan speed settings page
Add an initial fan speed control page for fans supporting speed control.
Add speed (%) info in the buttons pages.
Solves #404
Solves #791
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5786106
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Fix name on confirmation page
Fix the entity name on the confirmation page.
The new order is:
1. Name set on the blueprint settings
2. Entity's `friendly_name` attribute
3. Entity's `name` attribute
4. Entity's `entity_id`
Solves #501
* Select wake-up page (#898)
* Select wake-up page
Users will be able to select the wake-up page on the blueprint inputs.
This selected page will be shown after a boot (after the boot page) and with a touch in the screen when on screen saver page.
After showing this wake-up page, all the previous behavior for closing the page (with a click or after a timeout) will be the same.
Solves #576
Solves #612
Solves #801
Probably improves for https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5715670
* Select wake-up page
* Fan update engine
Change the fan update engine to follow the same patter as other settings pages.
* Update ReleaseNotes.md
* Adding vertical bars pics
* Panel offline mode (#900)
* Panel offline mode
Introduces "offline mode" for the panel, which will be used later with a fallback climate.
Pages that are depending on the blueprint (buttons pages, entity pages, settings pages, etc) won't be shown when the API is disconnected.
* Panel offline mode
* Panel offline mode
* Panel offline mode
* Panel offline mode
* "Jump to settings" on tft
Moved "Jump to settings page" routine from ESPHome to TFT in order to reduce complexity.
* Exclude Nextion2Text
Exclude Nextion2Text
* Fix validation issue
* Time engine on ESPHome
* Time engine on ESPHome
* Notification page bigger hotspot
Added hotspots around the buttons (Accept & Clear) on Notification page to make easier to click on those.
Solves #907
* Boot page retry comm
The boot page will retry communication with the blueprint once a minute to avoid the situation where that page is shown until the automation is reloaded.
* Fix call to screen page
Fixes the call to screen page on US panel.
Reconciliate the US landscape model from EU model.
* Fix fan page `button_on`
Fixing rounding on that button.
* Fixed Fan page rounding
* Prevents boot sequence in other pages
* Physical relay local control
We are trying to make your panel as autonomous as possible by moving some of the controls from the Blueprint to ESPHome. This will reduce the load in your network and Home Assistant, but also will make a more reliable system capable to do it's core functionality even when the network is unavailable or Home Assistant is restarting.
With this version, the following engines have been moved to your panel (local control):
- Physical relay control (when hardware left button is connected to relay 1 or right button to relay 2)
Solves #910
* Embedded climate (#917)
* Performance improvements
The main focus here was to reduce the number of calls between Home Assistant and ESPHome, moving logic as much as possible to TFT and ESPHome.
- Service calls moved to ESPHome (in preparation for Alarm Control Panel)
- Page change informed via event call instead of `nspanel_event` sensor (which still in use by other calls, but might be possible to remove in the future)
* Draft embedded climate
This adds an initial version of an embedded climate/thermostat (heating only for now) with support for local control even with Wi-Fi out.
Solves #646
Solves #263
* Update ReleaseNotes.md
* Fix climate slider
Fix for climate slider opening in an incorrect position and sending only the integer part of the new target temperature
* Moving home page to ESPHome
In progress...
* Fix translations - Dutch
* Embedded chip 3
Home page - Chip 3 will be controlled locally when embedded climate is enable.
* Fixed buttons bar
Fixed buttons bar managed on ESPHome when embedded climate is visible.
* Update ReleaseNotes.md
* Services back to the Blueprint
Moving service calls back to the blueprint as latest HA requires user's permissions to call HA services from ESPHome.
This still have to be used for Alarm calls due to security concerns.
* Update ReleaseNotes.md
* support to hidden ssid (#908)
Supports hidden ssid with the use of substitutions `wifi_hidden: "true"`.
This can be breaking change for users with custom/advanced wifi settings.
Solves #906
* Update nspanel_esphome.yaml
* Removed `restore_state`
There is some incomplete work related to alarms on this commit, but the focus here is to fix `restore_state` on ESPHome v2023.7.0.
This solves #939
* US model - Fan page - Redistribute icons
Redistributed icons on Fan page on US model in order to improve usability.
Based on feedback from https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6338706
* Align `nspanel_us_land`
Apply all changes from EU to US_Land
* Fix relays chips
Fix relay status indication on chips.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/926#issuecomment-1627660273
* Fix "invalid variable" for "api"
Fix error "Nextion invalid variable name" when setting `api`.
* Default embedded climate to relay_0
* Fix issue with `restore_state` and ESPHome v2023.7.0 (#941)
Solves #939
* Fix translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6511043
* Fix `set_temperature` for climate
Solves #957
* Fix `fan.turn_off` call
Removed timer call from fan stop button.
This solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6494535
* Call a `fan.turn_off` when percentage is 0%
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6621756
* Fix call for fan stop button
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6622377
* Icons on ESPHome
Move icons from TFT/HMI to ESPHome to prevent error on Nextion2Text.
* Updated translations - Spanish
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6548961
* Make home page sensor's icons consistent
Make icon selection consistent with chips where the entity's icon is used in case a icon is not set in the blueprint settings.
Solves #963
* Updated translations - Slovenian
Based on:
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6665723
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-6665751
* dutch (#974)
* small ducht translations
small ducht translations
* Dutch translations
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Add-on support (#977)
Moved climate settings to an add-on.
Updated documentation.
* Fixed link to addon climate docs
* Fix change brightness when sleeping
Prevents the panel to change screen brightness when sleeping.
Solves #975
* Standardize HA service calls
* Bump version to `4.0 dev`
* Create customization.md
This will reduce the need for:
- #920
- #662
- #833
* Clean-up for customizations
Clean up ESPHome in order to make easier the use of customizations.
* Create Alarm page
* Add page Alarm
* Add Alarm docs
Update docs to reflect the current state (new features & changes)
* Creating "install.md" and update add-ons instructions
* Add Alarm page buttons pics
* Add link to Alarm on page Home
* Create Alarm page
* Alarm button font color
* Add `keyb_num` page
* Alarm Control Panel with PIN (#982)
Implements an Alarm Control Panel page on NSPanel.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/66
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/227
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/672
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4874612
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/64#issuecomment-1566204490
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718
* Fix alarm without pin not working
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/pull/930#issuecomment-1680981977
* Alarm page UI
Fixed close button
Disabled buttons are darker
* Move Entities button to ESPHome
Move logic behind Entities button (Home page) from Blueprint to ESPHome in order to gain performance on creating home page.
* Human readable Uptime (#986)
* Human readable Uptime
* Uptime from Frenck code
* Uptime with Frenck code
* Updated Human Readable Uptime
* Removed trailing spaces
* Renamed sensor to "Last started"
Sensor renamed
Update moved to the boot process
Clean-up
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Co-authored-by: Edward Firmo <edward@costafirmo.com>
* Update alarm icon & color
* Revert `fast_connect` back to `false`
* Extended chars on buttons pages (#988)
Replaces #740
Probably solves #664
Probably solves #738
Probably solves #987
* Removed `fast_connect`
* Support to `code_arm_required`
Only shows the alarm PIN keyboard if a code is required for arming (or when disarming).
* Update alarm icon on home page
Refresh icon when alarm state changes.
* Fix alarm icon not updating on home page
* Home buttons new format - Alarm
Modernise the button Alarm flow on page Home to improve performance.
* Home buttons new format - Entities
Modernise the button "Entities" flow on page Home to improve performance.
* Home buttons new format - QRcode
Modernise the button "QRcode" flow on page Home to improve performance.
* Home buttons new format - Notification
Modernise the button "Notification" flow on page Home to improve performance.
I haven't moved the code from the Blueprint to ESPHome yet, as I will leave this for when we rebuild the Notification flow in the near future (hopefully), so the performance gains may not be perceived now. Just aligning with other buttons format.
* Adding screenshots
* Delete ReleaseNotes.md
Moved to the release
* New entity filter format
This new format was released with HA v2023.4 and the old one will be deprecated soon.
* Fix Alarm page bypass icon
* Bump version to 4.0
* Rename `addon_climate_heat`
* Simplify climate substitutions
* Add support for `addon_climate_cool`
* Removed `${verbose_log}`
Use logger level `VERBOSE` instead
* Fix script call
* Clean up general entities & fallback
Store inputs into variables only when needed.
Removed fallback mode - Replaced by ESPHome local control when the relay is assigned to the button in the blueprint.
* Phase out sensor `nspanel_event` (partially)
This sensor is being replaced by event calls.
* uptime sensors (#998)
* Create ReleaseNotes.md
* Fix Climate page when embedded climate
And also added a lot of logs which should be removed later as it takes from memory.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6835260
* Move brightness control to global var
Clean up page Home
* Alarm page translations - Finnish
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6857262
* Exported pics
* Clean-up TFT
- Removed a bunch of unused pics
- Changed page indicator to new format (which will allow future development to hide unused pages)
- Standardized close button in most pages
* Fixed background pics
- Entities pages
- Weather pages
* Standardize close button
* Add "Alarm" section
* Support to wake-up page on `wake_up_display` service
This changes the behavior of a service introduced by #734.
* Optimize `wake_up_display` service
* Fix icon font sizes 10 and 64
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1701903604
And also remove all the unnecessary `wait_until`
* Fix Settings page element ids
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702109668
* Add translation keys for `settings` page
#1002
* Update settings page when brightness changes on HA
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702149796
* Clean-up page settings
* update docs (#1003)
* updated docs
* Update ReleaseNotes.md
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Clean-up Cover page
I'm preparing this page to have icons changing based on the device_class selected to a cover.
* Clean-up boot delay
* Enable `current_page` sensor by default
Otherwise the system won´t update values unless the page is reloaded.
* Use `current_page` in blueprint conditions
One more step towards the phase out of `nspanelevent`.
* Move `script.refresh_colors` to `service.global_settings`
As this is called from a single point, there's no meaning of having a separated script.
* Fix climate icon update
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891454
* Fix button show on climate page
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891335
* Visual improvements on climate page
- Add friendly name when embedded - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891465
- Make disable icons a bit darker - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6893440
- Add space for page title in EU an US Land versions
- Reset page timer when pressing/releasing on the slider - Partially solves #990
* Don't update values when page home is not visible
To reduce load on Home Assistant and the network
* Cleanup boot sequence
Move some functionalities to ESPHome
* Display internal sensor value when wifi is out
Before it was showing on home page only when API was out. This adds a test for WiFi.
* Fix `default_target_temperature`
It also updates the page home when thermostat status changes (for the chips).
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6897727
* Adding ID to components missing it
* Renamed `wake_up_display` to `wake_up`
* Re-arrange commands list
* Add service `set_component_color`
Deprecates the following services:
- `send_command_font_color`
- `send_command_background_color`
* Fix button pages not showing
* Adjusted time for HW long click
* Fixed buttons on settings page
* Minor adjustments to page climate
And replace font 10 to size 48 (it was 64 since a few days ago).
* Updates to breaking changes list
* Page settings redesign
Clean up the UI of settings page.
Prepare for translations.
* Enable translations of Settings page
* Notification word-wrap
For EU and US_LAND only, for now.
* Notifications page rebuilt
- Notification button processed on ESPHome (as all the info is there)
- Added word-wrap for main text
- Expanded text size
- Handling display mode (used to define the number of chars per line on Notifications)
- Versioning handling - As a consequence of the previous item.
* Word-wrap buttons pages
Taking advantage of the algorithm created for notifications.
* Word-wrap for Alarm page
* Version mismatch notication
* Fix ESPHome not starting with older TFT
* Rebuilt home page status bar update
* Updated translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-6926846
Thanks @MaiPiu
* Fix `Nextion reported variable name invalid!`
* Fix `Nextion variable invalid`
* Handle `embedded_indoor_temperature`
Internal temperature display will be handled locally (ESPHome) when no other sensor is selected.
* Review temperature correction engine
* Fix display climate chip
* update `temp_nspanel` when correction changes
* Fix `Fan` page not open with long press HW button
Solves #1007
* Minor adjustments on settings page
* version 4.0 ready for release
* Clean-up docs
* Improve version notification
* Disable restore `notification_unread`
This must be changed to a binary sensor in the future.
* Beta v4.0 (#1012)
* Create ReleaseNotes.md (#879)
* Create ReleaseNotes.md
* sensor display precision
* Filter devices to esp32 only (#881)
* Filter devices to esp32 only
Show only ESP32 devices when selecting the panel
* Filtered device list
* Sensor display precision (#880)
Now the values shown in your panel will follow the [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision) provided by Home Assistant.
=> If you have problems with a value exceeding the available space in your panel, please reduce the number of decimals using Home Assistant [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision).
* New language selector (#882)
* New language selector
* Update ReleaseNotes.md
* Update ReleaseNotes.md
* Remove `settings_entity` (#887)
* Remove `settings_entity`
- Bump version to 3.5_dev
- Removed references to pictures removed from TFT
- Removed code related to closing settings pages
- Removed trigger `settings_entity`
* Removed `set_settings_entity` service
- Bump version to 3.5_dev
- Removed `set_settings_entity` service - BREAKING CHANGE
- Removed `settings_entity` text-sensor - BREAKING CHANGE
- Added service `open_entity_settings_page` - BREAKING CHANGE
* Removed `settings_entity`
- Bump version to 3.5_dev
- Removed old climate page (climate_backup)
- Removed pics related to old climate page (ids 16-47, 80-83, 95-96 and 125(US only))
- Enforces brightness on any page change (this allows wake-up on settings page with long press on physical buttons) - Pending removing code from Blueprint
- Added `entity` variable on pages `climate`, `lightsettings` and `coversettings`
- Added `entity` info to `nspanelevent` on pages `climate`, `lightsettings` and `coversettings`
- Added `back_page` variable on pages `climate`, `lightsettings` and `coversettings` (default: home)
- Moving to TFT close page logic on pages `climate`, `lightsettings` and `coversettings` - Pending changes on Blueprint and ESPHome
- Standardized name for `page_label` on pages `climate`, `lightsettings` and `coversettings`
- Standardized settings page names: `climate`, `cover` and `light` (Removed `settings` from page name)
* Removed `settings_entity`
* Removed `settings_entity`
* Removed `settings_entity`
* Move `entity` variable to home page (#889)
* Move `entity` variable to home page
This will enable future development of a fallback climate
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Use `en` as fallback language (#891)
* Use `en` as fallback language
Uses English if a non valid language is selected (like when using legacy language selection).
* Use `en` as fallback language
* Create `nspanel_us_land.tft` (#890)
* Create `nspanel_us_land.tft'
Add `nspanel_us_land.tft' for US panel on landscape mode, fixing the offset on the touch screen when using `nspanel_eu.tft` into a US panel.
Hides the hardware buttons labels, as Nextion cannot support rotated text.
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
solves #390
solves #432
solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4933716
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
* Fix "Button confirmation page not working correctly"
Solves #883
* Supports weather forecast with `datetime` not string
This adds support to weather integrations where the `datetime` field under `forecast` attribute is provided as a `datetime` type.
This was seen on Météo-France, while all other weather integrations tested so far used a `text` field for `datetime`.
This solves #893
* Wifi icon to indicate when API offline
This changes the behavior of Wifi icon:
How it was before:
- Wifi icon was visible only when the wifi was connected, nothing was shown when wifi was not connected.
How it is now:
- Wifi icon will have 3 states:
- Wifi & API connected: Gray wifi icon
- Wifi disconnected: Red wifi-off icon
- Wifi connected, but API disconnected (HA is out?): Red api-off icon
* API status indication on the panel
* Limit light & cover to supported settings (#896)
* Limit light to supported settings
When showing light settings, only the supported features will be shown for each light.
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
This partially solves #635
* Limits covers to supported settings
Only show cover settings when `set_position` is supported.
This solves #635
* Limits covers to supported settings
* Update instructions.md
* Add Fan speed settings page (#897)
* Add Fan speed settings page
Add an initial fan speed control page for fans supporting speed control.
Add speed (%) info in the buttons pages.
Solves #404
Solves #791
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5786106
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Fix name on confirmation page
Fix the entity name on the confirmation page.
The new order is:
1. Name set on the blueprint settings
2. Entity's `friendly_name` attribute
3. Entity's `name` attribute
4. Entity's `entity_id`
Solves #501
* Select wake-up page (#898)
* Select wake-up page
Users will be able to select the wake-up page on the blueprint inputs.
This selected page will be shown after a boot (after the boot page) and with a touch in the screen when on screen saver page.
After showing this wake-up page, all the previous behavior for closing the page (with a click or after a timeout) will be the same.
Solves #576
Solves #612
Solves #801
Probably improves for https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5715670
* Select wake-up page
* Fan update engine
Change the fan update engine to follow the same patter as other settings pages.
* Update ReleaseNotes.md
* Adding vertical bars pics
* Panel offline mode (#900)
* Panel offline mode
Introduces "offline mode" for the panel, which will be used later with a fallback climate.
Pages that are depending on the blueprint (buttons pages, entity pages, settings pages, etc) won't be shown when the API is disconnected.
* Panel offline mode
* Panel offline mode
* Panel offline mode
* Panel offline mode
* "Jump to settings" on tft
Moved "Jump to settings page" routine from ESPHome to TFT in order to reduce complexity.
* Exclude Nextion2Text
Exclude Nextion2Text
* Fix validation issue
* Time engine on ESPHome
* Time engine on ESPHome
* Notification page bigger hotspot
Added hotspots around the buttons (Accept & Clear) on Notification page to make easier to click on those.
Solves #907
* Boot page retry comm
The boot page will retry communication with the blueprint once a minute to avoid the situation where that page is shown until the automation is reloaded.
* Fix call to screen page
Fixes the call to screen page on US panel.
Reconciliate the US landscape model from EU model.
* Fix fan page `button_on`
Fixing rounding on that button.
* Fixed Fan page rounding
* Prevents boot sequence in other pages
* Physical relay local control
We are trying to make your panel as autonomous as possible by moving some of the controls from the Blueprint to ESPHome. This will reduce the load in your network and Home Assistant, but also will make a more reliable system capable to do it's core functionality even when the network is unavailable or Home Assistant is restarting.
With this version, the following engines have been moved to your panel (local control):
- Physical relay control (when hardware left button is connected to relay 1 or right button to relay 2)
Solves #910
* Embedded climate (#917)
* Performance improvements
The main focus here was to reduce the number of calls between Home Assistant and ESPHome, moving logic as much as possible to TFT and ESPHome.
- Service calls moved to ESPHome (in preparation for Alarm Control Panel)
- Page change informed via event call instead of `nspanel_event` sensor (which still in use by other calls, but might be possible to remove in the future)
* Draft embedded climate
This adds an initial version of an embedded climate/thermostat (heating only for now) with support for local control even with Wi-Fi out.
Solves #646
Solves #263
* Update ReleaseNotes.md
* Fix climate slider
Fix for climate slider opening in an incorrect position and sending only the integer part of the new target temperature
* Moving home page to ESPHome
In progress...
* Fix translations - Dutch
* Embedded chip 3
Home page - Chip 3 will be controlled locally when embedded climate is enable.
* Fixed buttons bar
Fixed buttons bar managed on ESPHome when embedded climate is visible.
* Update ReleaseNotes.md
* Services back to the Blueprint
Moving service calls back to the blueprint as latest HA requires user's permissions to call HA services from ESPHome.
This still have to be used for Alarm calls due to security concerns.
* Update ReleaseNotes.md
* support to hidden ssid (#908)
Supports hidden ssid with the use of substitutions `wifi_hidden: "true"`.
This can be breaking change for users with custom/advanced wifi settings.
Solves #906
* Update nspanel_esphome.yaml
* Removed `restore_state`
There is some incomplete work related to alarms on this commit, but the focus here is to fix `restore_state` on ESPHome v2023.7.0.
This solves #939
* US model - Fan page - Redistribute icons
Redistributed icons on Fan page on US model in order to improve usability.
Based on feedback from https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6338706
* Align `nspanel_us_land`
Apply all changes from EU to US_Land
* Fix relays chips
Fix relay status indication on chips.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/926#issuecomment-1627660273
* Fix "invalid variable" for "api"
Fix error "Nextion invalid variable name" when setting `api`.
* Default embedded climate to relay_0
* Fix translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6511043
* Fix `set_temperature` for climate
Solves #957
* Fix `fan.turn_off` call
Removed timer call from fan stop button.
This solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6494535
* Call a `fan.turn_off` when percentage is 0%
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6621756
* Fix call for fan stop button
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6622377
* Icons on ESPHome
Move icons from TFT/HMI to ESPHome to prevent error on Nextion2Text.
* Updated translations - Spanish
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6548961
* Make home page sensor's icons consistent
Make icon selection consistent with chips where the entity's icon is used in case a icon is not set in the blueprint settings.
Solves #963
* Updated translations - Slovenian
Based on:
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6665723
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-6665751
* dutch (#974)
* small ducht translations
small ducht translations
* Dutch translations
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Add-on support (#977)
Moved climate settings to an add-on.
Updated documentation.
* Fixed link to addon climate docs
* Fix change brightness when sleeping
Prevents the panel to change screen brightness when sleeping.
Solves #975
* Standardize HA service calls
* Bump version to `4.0 dev`
* Create customization.md
This will reduce the need for:
- #920
- #662
- #833
* Clean-up for customizations
Clean up ESPHome in order to make easier the use of customizations.
* Create Alarm page
* Add page Alarm
* Add Alarm docs
Update docs to reflect the current state (new features & changes)
* Creating "install.md" and update add-ons instructions
* Add Alarm page buttons pics
* Add link to Alarm on page Home
* Create Alarm page
* Alarm button font color
* Add `keyb_num` page
* Alarm Control Panel with PIN (#982)
Implements an Alarm Control Panel page on NSPanel.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/66
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/227
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/672
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4874612
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/64#issuecomment-1566204490
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718
* Fix alarm without pin not working
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/pull/930#issuecomment-1680981977
* Alarm page UI
Fixed close button
Disabled buttons are darker
* Move Entities button to ESPHome
Move logic behind Entities button (Home page) from Blueprint to ESPHome in order to gain performance on creating home page.
* Human readable Uptime (#986)
* Human readable Uptime
* Uptime from Frenck code
* Uptime with Frenck code
* Updated Human Readable Uptime
* Removed trailing spaces
* Renamed sensor to "Last started"
Sensor renamed
Update moved to the boot process
Clean-up
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Co-authored-by: Edward Firmo <edward@costafirmo.com>
* Update alarm icon & color
* Revert `fast_connect` back to `false`
* Extended chars on buttons pages (#988)
Replaces #740
Probably solves #664
Probably solves #738
Probably solves #987
* Removed `fast_connect`
* Support to `code_arm_required`
Only shows the alarm PIN keyboard if a code is required for arming (or when disarming).
* Update alarm icon on home page
Refresh icon when alarm state changes.
* Fix alarm icon not updating on home page
* Home buttons new format - Alarm
Modernise the button Alarm flow on page Home to improve performance.
* Home buttons new format - Entities
Modernise the button "Entities" flow on page Home to improve performance.
* Home buttons new format - QRcode
Modernise the button "QRcode" flow on page Home to improve performance.
* Home buttons new format - Notification
Modernise the button "Notification" flow on page Home to improve performance.
I haven't moved the code from the Blueprint to ESPHome yet, as I will leave this for when we rebuild the Notification flow in the near future (hopefully), so the performance gains may not be perceived now. Just aligning with other buttons format.
* Adding screenshots
* Delete ReleaseNotes.md
Moved to the release
* New entity filter format
This new format was released with HA v2023.4 and the old one will be deprecated soon.
* Fix Alarm page bypass icon
* Bump version to 4.0
* Rename `addon_climate_heat`
* Simplify climate substitutions
* Add support for `addon_climate_cool`
* Removed `${verbose_log}`
Use logger level `VERBOSE` instead
* Fix script call
* Clean up general entities & fallback
Store inputs into variables only when needed.
Removed fallback mode - Replaced by ESPHome local control when the relay is assigned to the button in the blueprint.
* Phase out sensor `nspanel_event` (partially)
This sensor is being replaced by event calls.
* uptime sensors (#998)
* Create ReleaseNotes.md
* Fix Climate page when embedded climate
And also added a lot of logs which should be removed later as it takes from memory.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6835260
* Move brightness control to global var
Clean up page Home
* Alarm page translations - Finnish
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6857262
* Exported pics
* Clean-up TFT
- Removed a bunch of unused pics
- Changed page indicator to new format (which will allow future development to hide unused pages)
- Standardized close button in most pages
* Fixed background pics
- Entities pages
- Weather pages
* Standardize close button
* Add "Alarm" section
* Support to wake-up page on `wake_up_display` service
This changes the behavior of a service introduced by #734.
* Optimize `wake_up_display` service
* Fix icon font sizes 10 and 64
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1701903604
And also remove all the unnecessary `wait_until`
* Fix Settings page element ids
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702109668
* Add translation keys for `settings` page
#1002
* Update settings page when brightness changes on HA
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702149796
* Clean-up page settings
* update docs (#1003)
* updated docs
* Update ReleaseNotes.md
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Clean-up Cover page
I'm preparing this page to have icons changing based on the device_class selected to a cover.
* Clean-up boot delay
* Enable `current_page` sensor by default
Otherwise the system won´t update values unless the page is reloaded.
* Use `current_page` in blueprint conditions
One more step towards the phase out of `nspanelevent`.
* Move `script.refresh_colors` to `service.global_settings`
As this is called from a single point, there's no meaning of having a separated script.
* Fix climate icon update
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891454
* Fix button show on climate page
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891335
* Visual improvements on climate page
- Add friendly name when embedded - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891465
- Make disable icons a bit darker - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6893440
- Add space for page title in EU an US Land versions
- Reset page timer when pressing/releasing on the slider - Partially solves #990
* Don't update values when page home is not visible
To reduce load on Home Assistant and the network
* Cleanup boot sequence
Move some functionalities to ESPHome
* Display internal sensor value when wifi is out
Before it was showing on home page only when API was out. This adds a test for WiFi.
* Fix `default_target_temperature`
It also updates the page home when thermostat status changes (for the chips).
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6897727
* Adding ID to components missing it
* Renamed `wake_up_display` to `wake_up`
* Re-arrange commands list
* Add service `set_component_color`
Deprecates the following services:
- `send_command_font_color`
- `send_command_background_color`
* Fix button pages not showing
* Adjusted time for HW long click
* Fixed buttons on settings page
* Minor adjustments to page climate
And replace font 10 to size 48 (it was 64 since a few days ago).
* Updates to breaking changes list
* Page settings redesign
Clean up the UI of settings page.
Prepare for translations.
* Enable translations of Settings page
* Notification word-wrap
For EU and US_LAND only, for now.
* Notifications page rebuilt
- Notification button processed on ESPHome (as all the info is there)
- Added word-wrap for main text
- Expanded text size
- Handling display mode (used to define the number of chars per line on Notifications)
- Versioning handling - As a consequence of the previous item.
* Word-wrap buttons pages
Taking advantage of the algorithm created for notifications.
* Word-wrap for Alarm page
* Version mismatch notication
* Fix ESPHome not starting with older TFT
* Rebuilt home page status bar update
* Updated translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-6926846
Thanks @MaiPiu
* Fix `Nextion reported variable name invalid!`
* Fix `Nextion variable invalid`
* Handle `embedded_indoor_temperature`
Internal temperature display will be handled locally (ESPHome) when no other sensor is selected.
* Review temperature correction engine
* Fix display climate chip
* update `temp_nspanel` when correction changes
* Fix `Fan` page not open with long press HW button
Solves #1007
* Minor adjustments on settings page
* version 4.0 ready for release
* Clean-up docs
---------
Co-authored-by: bkbartk <bartkock@outlook.com>
Co-authored-by: w00zy <WZYProjects+github@gmail.com>
* Fix Fan page button colors when opening
Solves #1017
* Translations (#1023)
* Translations
* Update nspanel_blueprint.yaml
I've changed `brightness` for now as the new design isn't implemented yet, but that string is already in use with the current design.
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Adjustments to settings page
* Fix entity info when calling detailed pages
Solves #1022
* Added `media_player` page (hidden)
* New "Confirm" pop-up
This also removes the sensor "NSPanel Event"
* Fix pages not updating values
Solves #1026
* Media player - Buttons
- Added code to buttons on media_player page.
- Clean-up:
- Moved wake-up select from Blueprint to ESPHome component
- Removed `switch.xxxxx_confirmation_message`
* Fix logging for global_settings
It was logging wakeup_page, which is deprecated
* Improved version notification
* Removed trailing spaces
* Notification for `sensor.xxxxx_current_page` missing
This might be a common issue for users migrating from v3.4 to v3.5.
This information is part of the release notes, but I believe it worth having a guide to support closely any user who miss that in the release notes.
* Simplify `touchevent` engine
The touch event is used only for the sleeping engine (it will be used for dimming later) and it was transferring all the json info with page name, component, entity, etc.
This was replaced by a simple random integer with no meaning other than "the screen was touched, reset the timer".
* Media player first buttons actions
* Fix unknown service: `media_player.null`
* Media Player control
You will be able to add a Media Player entity to any of the buttons pages and with a long press you will see the media player page.
* Remove dimming timer for now
The funcionality isn't completed.
* Home page - Custom buttons
On the blueprint you can now set up to 3 buttons to be shown on Home page.
It will show the detailed settings page, so the entity must be compatible.
* Fix Media player missing parameters
Possibly solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1030#discussioncomment-6984573
* Prevents calls to `media_player.null`
* Remove `entity` info from pages on TFT
Since v3.4, the info about entity_id shown was going all the way to Nextion and then sent back in the json return, however this requires a long (100-char) global var and the way it was implemented, it was one of those per settings page, as climate should be also recorded at the same time in case the embedded climate was installed.
This was taking too much memory, so I've moved this info to a global variable (string) in ESPHome.
There is now lots of space for code cleaning (and still pending to do the same with climate entity, as it could be only a bool to inform if embedded), but this brings the functionality.
This enabled the return to global for some components, so it probably solves #1031
---------
Co-authored-by: bkbartk <bartkock@outlook.com>
Co-authored-by: w00zy <WZYProjects+github@gmail.com>
Co-authored-by: w00zy <52609940+WZYProjects@users.noreply.github.com>
* v4.0 Release Candidate 2 (#1044)
* Create ReleaseNotes.md (#879)
* Create ReleaseNotes.md
* sensor display precision
* Filter devices to esp32 only (#881)
* Filter devices to esp32 only
Show only ESP32 devices when selecting the panel
* Filtered device list
* Sensor display precision (#880)
Now the values shown in your panel will follow the [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision) provided by Home Assistant.
=> If you have problems with a value exceeding the available space in your panel, please reduce the number of decimals using Home Assistant [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision).
* New language selector (#882)
* New language selector
* Update ReleaseNotes.md
* Update ReleaseNotes.md
* Remove `settings_entity` (#887)
* Remove `settings_entity`
- Bump version to 3.5_dev
- Removed references to pictures removed from TFT
- Removed code related to closing settings pages
- Removed trigger `settings_entity`
* Removed `set_settings_entity` service
- Bump version to 3.5_dev
- Removed `set_settings_entity` service - BREAKING CHANGE
- Removed `settings_entity` text-sensor - BREAKING CHANGE
- Added service `open_entity_settings_page` - BREAKING CHANGE
* Removed `settings_entity`
- Bump version to 3.5_dev
- Removed old climate page (climate_backup)
- Removed pics related to old climate page (ids 16-47, 80-83, 95-96 and 125(US only))
- Enforces brightness on any page change (this allows wake-up on settings page with long press on physical buttons) - Pending removing code from Blueprint
- Added `entity` variable on pages `climate`, `lightsettings` and `coversettings`
- Added `entity` info to `nspanelevent` on pages `climate`, `lightsettings` and `coversettings`
- Added `back_page` variable on pages `climate`, `lightsettings` and `coversettings` (default: home)
- Moving to TFT close page logic on pages `climate`, `lightsettings` and `coversettings` - Pending changes on Blueprint and ESPHome
- Standardized name for `page_label` on pages `climate`, `lightsettings` and `coversettings`
- Standardized settings page names: `climate`, `cover` and `light` (Removed `settings` from page name)
* Removed `settings_entity`
* Removed `settings_entity`
* Removed `settings_entity`
* Move `entity` variable to home page (#889)
* Move `entity` variable to home page
This will enable future development of a fallback climate
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Use `en` as fallback language (#891)
* Use `en` as fallback language
Uses English if a non valid language is selected (like when using legacy language selection).
* Use `en` as fallback language
* Create `nspanel_us_land.tft` (#890)
* Create `nspanel_us_land.tft'
Add `nspanel_us_land.tft' for US panel on landscape mode, fixing the offset on the touch screen when using `nspanel_eu.tft` into a US panel.
Hides the hardware buttons labels, as Nextion cannot support rotated text.
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
solves #390
solves #432
solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4933716
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
* Fix "Button confirmation page not working correctly"
Solves #883
* Supports weather forecast with `datetime` not string
This adds support to weather integrations where the `datetime` field under `forecast` attribute is provided as a `datetime` type.
This was seen on Météo-France, while all other weather integrations tested so far used a `text` field for `datetime`.
This solves #893
* Wifi icon to indicate when API offline
This changes the behavior of Wifi icon:
How it was before:
- Wifi icon was visible only when the wifi was connected, nothing was shown when wifi was not connected.
How it is now:
- Wifi icon will have 3 states:
- Wifi & API connected: Gray wifi icon
- Wifi disconnected: Red wifi-off icon
- Wifi connected, but API disconnected (HA is out?): Red api-off icon
* API status indication on the panel
* Limit light & cover to supported settings (#896)
* Limit light to supported settings
When showing light settings, only the supported features will be shown for each light.
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
This partially solves #635
* Limits covers to supported settings
Only show cover settings when `set_position` is supported.
This solves #635
* Limits covers to supported settings
* Update instructions.md
* Add Fan speed settings page (#897)
* Add Fan speed settings page
Add an initial fan speed control page for fans supporting speed control.
Add speed (%) info in the buttons pages.
Solves #404
Solves #791
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5786106
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Fix name on confirmation page
Fix the entity name on the confirmation page.
The new order is:
1. Name set on the blueprint settings
2. Entity's `friendly_name` attribute
3. Entity's `name` attribute
4. Entity's `entity_id`
Solves #501
* Select wake-up page (#898)
* Select wake-up page
Users will be able to select the wake-up page on the blueprint inputs.
This selected page will be shown after a boot (after the boot page) and with a touch in the screen when on screen saver page.
After showing this wake-up page, all the previous behavior for closing the page (with a click or after a timeout) will be the same.
Solves #576
Solves #612
Solves #801
Probably improves for https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5715670
* Select wake-up page
* Fan update engine
Change the fan update engine to follow the same patter as other settings pages.
* Update ReleaseNotes.md
* Adding vertical bars pics
* Panel offline mode (#900)
* Panel offline mode
Introduces "offline mode" for the panel, which will be used later with a fallback climate.
Pages that are depending on the blueprint (buttons pages, entity pages, settings pages, etc) won't be shown when the API is disconnected.
* Panel offline mode
* Panel offline mode
* Panel offline mode
* Panel offline mode
* "Jump to settings" on tft
Moved "Jump to settings page" routine from ESPHome to TFT in order to reduce complexity.
* Exclude Nextion2Text
Exclude Nextion2Text
* Fix validation issue
* Time engine on ESPHome
* Time engine on ESPHome
* Notification page bigger hotspot
Added hotspots around the buttons (Accept & Clear) on Notification page to make easier to click on those.
Solves #907
* Boot page retry comm
The boot page will retry communication with the blueprint once a minute to avoid the situation where that page is shown until the automation is reloaded.
* Fix call to screen page
Fixes the call to screen page on US panel.
Reconciliate the US landscape model from EU model.
* Fix fan page `button_on`
Fixing rounding on that button.
* Fixed Fan page rounding
* Prevents boot sequence in other pages
* Physical relay local control
We are trying to make your panel as autonomous as possible by moving some of the controls from the Blueprint to ESPHome. This will reduce the load in your network and Home Assistant, but also will make a more reliable system capable to do it's core functionality even when the network is unavailable or Home Assistant is restarting.
With this version, the following engines have been moved to your panel (local control):
- Physical relay control (when hardware left button is connected to relay 1 or right button to relay 2)
Solves #910
* Embedded climate (#917)
* Performance improvements
The main focus here was to reduce the number of calls between Home Assistant and ESPHome, moving logic as much as possible to TFT and ESPHome.
- Service calls moved to ESPHome (in preparation for Alarm Control Panel)
- Page change informed via event call instead of `nspanel_event` sensor (which still in use by other calls, but might be possible to remove in the future)
* Draft embedded climate
This adds an initial version of an embedded climate/thermostat (heating only for now) with support for local control even with Wi-Fi out.
Solves #646
Solves #263
* Update ReleaseNotes.md
* Fix climate slider
Fix for climate slider opening in an incorrect position and sending only the integer part of the new target temperature
* Moving home page to ESPHome
In progress...
* Fix translations - Dutch
* Embedded chip 3
Home page - Chip 3 will be controlled locally when embedded climate is enable.
* Fixed buttons bar
Fixed buttons bar managed on ESPHome when embedded climate is visible.
* Update ReleaseNotes.md
* Services back to the Blueprint
Moving service calls back to the blueprint as latest HA requires user's permissions to call HA services from ESPHome.
This still have to be used for Alarm calls due to security concerns.
* Update ReleaseNotes.md
* support to hidden ssid (#908)
Supports hidden ssid with the use of substitutions `wifi_hidden: "true"`.
This can be breaking change for users with custom/advanced wifi settings.
Solves #906
* Update nspanel_esphome.yaml
* Removed `restore_state`
There is some incomplete work related to alarms on this commit, but the focus here is to fix `restore_state` on ESPHome v2023.7.0.
This solves #939
* US model - Fan page - Redistribute icons
Redistributed icons on Fan page on US model in order to improve usability.
Based on feedback from https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6338706
* Align `nspanel_us_land`
Apply all changes from EU to US_Land
* Fix relays chips
Fix relay status indication on chips.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/926#issuecomment-1627660273
* Fix "invalid variable" for "api"
Fix error "Nextion invalid variable name" when setting `api`.
* Default embedded climate to relay_0
* Fix issue with `restore_state` and ESPHome v2023.7.0 (#941)
Solves #939
* Fix translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6511043
* Fix `set_temperature` for climate
Solves #957
* Fix `fan.turn_off` call
Removed timer call from fan stop button.
This solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6494535
* Call a `fan.turn_off` when percentage is 0%
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6621756
* Fix call for fan stop button
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6622377
* Icons on ESPHome
Move icons from TFT/HMI to ESPHome to prevent error on Nextion2Text.
* Updated translations - Spanish
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6548961
* Make home page sensor's icons consistent
Make icon selection consistent with chips where the entity's icon is used in case a icon is not set in the blueprint settings.
Solves #963
* Updated translations - Slovenian
Based on:
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6665723
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-6665751
* dutch (#974)
* small ducht translations
small ducht translations
* Dutch translations
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Add-on support (#977)
Moved climate settings to an add-on.
Updated documentation.
* Fixed link to addon climate docs
* Fix change brightness when sleeping
Prevents the panel to change screen brightness when sleeping.
Solves #975
* Standardize HA service calls
* Bump version to `4.0 dev`
* Create customization.md
This will reduce the need for:
- #920
- #662
- #833
* Clean-up for customizations
Clean up ESPHome in order to make easier the use of customizations.
* Create Alarm page
* Add page Alarm
* Add Alarm docs
Update docs to reflect the current state (new features & changes)
* Creating "install.md" and update add-ons instructions
* Add Alarm page buttons pics
* Add link to Alarm on page Home
* Create Alarm page
* Alarm button font color
* Add `keyb_num` page
* Alarm Control Panel with PIN (#982)
Implements an Alarm Control Panel page on NSPanel.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/66
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/227
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/672
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4874612
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/64#issuecomment-1566204490
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718
* Fix alarm without pin not working
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/pull/930#issuecomment-1680981977
* Alarm page UI
Fixed close button
Disabled buttons are darker
* Move Entities button to ESPHome
Move logic behind Entities button (Home page) from Blueprint to ESPHome in order to gain performance on creating home page.
* Human readable Uptime (#986)
* Human readable Uptime
* Uptime from Frenck code
* Uptime with Frenck code
* Updated Human Readable Uptime
* Removed trailing spaces
* Renamed sensor to "Last started"
Sensor renamed
Update moved to the boot process
Clean-up
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Co-authored-by: Edward Firmo <edward@costafirmo.com>
* Update alarm icon & color
* Revert `fast_connect` back to `false`
* Extended chars on buttons pages (#988)
Replaces #740
Probably solves #664
Probably solves #738
Probably solves #987
* Removed `fast_connect`
* Support to `code_arm_required`
Only shows the alarm PIN keyboard if a code is required for arming (or when disarming).
* Update alarm icon on home page
Refresh icon when alarm state changes.
* Fix alarm icon not updating on home page
* Home buttons new format - Alarm
Modernise the button Alarm flow on page Home to improve performance.
* Home buttons new format - Entities
Modernise the button "Entities" flow on page Home to improve performance.
* Home buttons new format - QRcode
Modernise the button "QRcode" flow on page Home to improve performance.
* Home buttons new format - Notification
Modernise the button "Notification" flow on page Home to improve performance.
I haven't moved the code from the Blueprint to ESPHome yet, as I will leave this for when we rebuild the Notification flow in the near future (hopefully), so the performance gains may not be perceived now. Just aligning with other buttons format.
* Adding screenshots
* Delete ReleaseNotes.md
Moved to the release
* New entity filter format
This new format was released with HA v2023.4 and the old one will be deprecated soon.
* Fix Alarm page bypass icon
* Bump version to 4.0
* Rename `addon_climate_heat`
* Simplify climate substitutions
* Add support for `addon_climate_cool`
* Removed `${verbose_log}`
Use logger level `VERBOSE` instead
* Fix script call
* Clean up general entities & fallback
Store inputs into variables only when needed.
Removed fallback mode - Replaced by ESPHome local control when the relay is assigned to the button in the blueprint.
* Phase out sensor `nspanel_event` (partially)
This sensor is being replaced by event calls.
* uptime sensors (#998)
* Create ReleaseNotes.md
* Fix Climate page when embedded climate
And also added a lot of logs which should be removed later as it takes from memory.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6835260
* Move brightness control to global var
Clean up page Home
* Alarm page translations - Finnish
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6857262
* Exported pics
* Clean-up TFT
- Removed a bunch of unused pics
- Changed page indicator to new format (which will allow future development to hide unused pages)
- Standardized close button in most pages
* Fixed background pics
- Entities pages
- Weather pages
* Standardize close button
* Add "Alarm" section
* Support to wake-up page on `wake_up_display` service
This changes the behavior of a service introduced by #734.
* Optimize `wake_up_display` service
* Fix icon font sizes 10 and 64
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1701903604
And also remove all the unnecessary `wait_until`
* Fix Settings page element ids
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702109668
* Add translation keys for `settings` page
#1002
* Update settings page when brightness changes on HA
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702149796
* Clean-up page settings
* update docs (#1003)
* updated docs
* Update ReleaseNotes.md
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Clean-up Cover page
I'm preparing this page to have icons changing based on the device_class selected to a cover.
* Clean-up boot delay
* Enable `current_page` sensor by default
Otherwise the system won´t update values unless the page is reloaded.
* Use `current_page` in blueprint conditions
One more step towards the phase out of `nspanelevent`.
* Move `script.refresh_colors` to `service.global_settings`
As this is called from a single point, there's no meaning of having a separated script.
* Fix climate icon update
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891454
* Fix button show on climate page
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891335
* Visual improvements on climate page
- Add friendly name when embedded - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891465
- Make disable icons a bit darker - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6893440
- Add space for page title in EU an US Land versions
- Reset page timer when pressing/releasing on the slider - Partially solves #990
* Don't update values when page home is not visible
To reduce load on Home Assistant and the network
* Cleanup boot sequence
Move some functionalities to ESPHome
* Display internal sensor value when wifi is out
Before it was showing on home page only when API was out. This adds a test for WiFi.
* Fix `default_target_temperature`
It also updates the page home when thermostat status changes (for the chips).
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6897727
* Adding ID to components missing it
* Renamed `wake_up_display` to `wake_up`
* Re-arrange commands list
* Add service `set_component_color`
Deprecates the following services:
- `send_command_font_color`
- `send_command_background_color`
* Fix button pages not showing
* Adjusted time for HW long click
* Fixed buttons on settings page
* Minor adjustments to page climate
And replace font 10 to size 48 (it was 64 since a few days ago).
* Updates to breaking changes list
* Page settings redesign
Clean up the UI of settings page.
Prepare for translations.
* Enable translations of Settings page
* Notification word-wrap
For EU and US_LAND only, for now.
* Notifications page rebuilt
- Notification button processed on ESPHome (as all the info is there)
- Added word-wrap for main text
- Expanded text size
- Handling display mode (used to define the number of chars per line on Notifications)
- Versioning handling - As a consequence of the previous item.
* Word-wrap buttons pages
Taking advantage of the algorithm created for notifications.
* Word-wrap for Alarm page
* Version mismatch notication
* Fix ESPHome not starting with older TFT
* Rebuilt home page status bar update
* Updated translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-6926846
Thanks @MaiPiu
* Fix `Nextion reported variable name invalid!`
* Fix `Nextion variable invalid`
* Handle `embedded_indoor_temperature`
Internal temperature display will be handled locally (ESPHome) when no other sensor is selected.
* Review temperature correction engine
* Fix display climate chip
* update `temp_nspanel` when correction changes
* Fix `Fan` page not open with long press HW button
Solves #1007
* Minor adjustments on settings page
* version 4.0 ready for release
* Clean-up docs
* Improve version notification
* Disable restore `notification_unread`
This must be changed to a binary sensor in the future.
* Beta v4.0 (#1012)
* Create ReleaseNotes.md (#879)
* Create ReleaseNotes.md
* sensor display precision
* Filter devices to esp32 only (#881)
* Filter devices to esp32 only
Show only ESP32 devices when selecting the panel
* Filtered device list
* Sensor display precision (#880)
Now the values shown in your panel will follow the [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision) provided by Home Assistant.
=> If you have problems with a value exceeding the available space in your panel, please reduce the number of decimals using Home Assistant [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision).
* New language selector (#882)
* New language selector
* Update ReleaseNotes.md
* Update ReleaseNotes.md
* Remove `settings_entity` (#887)
* Remove `settings_entity`
- Bump version to 3.5_dev
- Removed references to pictures removed from TFT
- Removed code related to closing settings pages
- Removed trigger `settings_entity`
* Removed `set_settings_entity` service
- Bump version to 3.5_dev
- Removed `set_settings_entity` service - BREAKING CHANGE
- Removed `settings_entity` text-sensor - BREAKING CHANGE
- Added service `open_entity_settings_page` - BREAKING CHANGE
* Removed `settings_entity`
- Bump version to 3.5_dev
- Removed old climate page (climate_backup)
- Removed pics related to old climate page (ids 16-47, 80-83, 95-96 and 125(US only))
- Enforces brightness on any page change (this allows wake-up on settings page with long press on physical buttons) - Pending removing code from Blueprint
- Added `entity` variable on pages `climate`, `lightsettings` and `coversettings`
- Added `entity` info to `nspanelevent` on pages `climate`, `lightsettings` and `coversettings`
- Added `back_page` variable on pages `climate`, `lightsettings` and `coversettings` (default: home)
- Moving to TFT close page logic on pages `climate`, `lightsettings` and `coversettings` - Pending changes on Blueprint and ESPHome
- Standardized name for `page_label` on pages `climate`, `lightsettings` and `coversettings`
- Standardized settings page names: `climate`, `cover` and `light` (Removed `settings` from page name)
* Removed `settings_entity`
* Removed `settings_entity`
* Removed `settings_entity`
* Move `entity` variable to home page (#889)
* Move `entity` variable to home page
This will enable future development of a fallback climate
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Use `en` as fallback language (#891)
* Use `en` as fallback language
Uses English if a non valid language is selected (like when using legacy language selection).
* Use `en` as fallback language
* Create `nspanel_us_land.tft` (#890)
* Create `nspanel_us_land.tft'
Add `nspanel_us_land.tft' for US panel on landscape mode, fixing the offset on the touch screen when using `nspanel_eu.tft` into a US panel.
Hides the hardware buttons labels, as Nextion cannot support rotated text.
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
solves #390
solves #432
solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4933716
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
* Fix "Button confirmation page not working correctly"
Solves #883
* Supports weather forecast with `datetime` not string
This adds support to weather integrations where the `datetime` field under `forecast` attribute is provided as a `datetime` type.
This was seen on Météo-France, while all other weather integrations tested so far used a `text` field for `datetime`.
This solves #893
* Wifi icon to indicate when API offline
This changes the behavior of Wifi icon:
How it was before:
- Wifi icon was visible only when the wifi was connected, nothing was shown when wifi was not connected.
How it is now:
- Wifi icon will have 3 states:
- Wifi & API connected: Gray wifi icon
- Wifi disconnected: Red wifi-off icon
- Wifi connected, but API disconnected (HA is out?): Red api-off icon
* API status indication on the panel
* Limit light & cover to supported settings (#896)
* Limit light to supported settings
When showing light settings, only the supported features will be shown for each light.
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
This partially solves #635
* Limits covers to supported settings
Only show cover settings when `set_position` is supported.
This solves #635
* Limits covers to supported settings
* Update instructions.md
* Add Fan speed settings page (#897)
* Add Fan speed settings page
Add an initial fan speed control page for fans supporting speed control.
Add speed (%) info in the buttons pages.
Solves #404
Solves #791
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5786106
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Fix name on confirmation page
Fix the entity name on the confirmation page.
The new order is:
1. Name set on the blueprint settings
2. Entity's `friendly_name` attribute
3. Entity's `name` attribute
4. Entity's `entity_id`
Solves #501
* Select wake-up page (#898)
* Select wake-up page
Users will be able to select the wake-up page on the blueprint inputs.
This selected page will be shown after a boot (after the boot page) and with a touch in the screen when on screen saver page.
After showing this wake-up page, all the previous behavior for closing the page (with a click or after a timeout) will be the same.
Solves #576
Solves #612
Solves #801
Probably improves for https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5715670
* Select wake-up page
* Fan update engine
Change the fan update engine to follow the same patter as other settings pages.
* Update ReleaseNotes.md
* Adding vertical bars pics
* Panel offline mode (#900)
* Panel offline mode
Introduces "offline mode" for the panel, which will be used later with a fallback climate.
Pages that are depending on the blueprint (buttons pages, entity pages, settings pages, etc) won't be shown when the API is disconnected.
* Panel offline mode
* Panel offline mode
* Panel offline mode
* Panel offline mode
* "Jump to settings" on tft
Moved "Jump to settings page" routine from ESPHome to TFT in order to reduce complexity.
* Exclude Nextion2Text
Exclude Nextion2Text
* Fix validation issue
* Time engine on ESPHome
* Time engine on ESPHome
* Notification page bigger hotspot
Added hotspots around the buttons (Accept & Clear) on Notification page to make easier to click on those.
Solves #907
* Boot page retry comm
The boot page will retry communication with the blueprint once a minute to avoid the situation where that page is shown until the automation is reloaded.
* Fix call to screen page
Fixes the call to screen page on US panel.
Reconciliate the US landscape model from EU model.
* Fix fan page `button_on`
Fixing rounding on that button.
* Fixed Fan page rounding
* Prevents boot sequence in other pages
* Physical relay local control
We are trying to make your panel as autonomous as possible by moving some of the controls from the Blueprint to ESPHome. This will reduce the load in your network and Home Assistant, but also will make a more reliable system capable to do it's core functionality even when the network is unavailable or Home Assistant is restarting.
With this version, the following engines have been moved to your panel (local control):
- Physical relay control (when hardware left button is connected to relay 1 or right button to relay 2)
Solves #910
* Embedded climate (#917)
* Performance improvements
The main focus here was to reduce the number of calls between Home Assistant and ESPHome, moving logic as much as possible to TFT and ESPHome.
- Service calls moved to ESPHome (in preparation for Alarm Control Panel)
- Page change informed via event call instead of `nspanel_event` sensor (which still in use by other calls, but might be possible to remove in the future)
* Draft embedded climate
This adds an initial version of an embedded climate/thermostat (heating only for now) with support for local control even with Wi-Fi out.
Solves #646
Solves #263
* Update ReleaseNotes.md
* Fix climate slider
Fix for climate slider opening in an incorrect position and sending only the integer part of the new target temperature
* Moving home page to ESPHome
In progress...
* Fix translations - Dutch
* Embedded chip 3
Home page - Chip 3 will be controlled locally when embedded climate is enable.
* Fixed buttons bar
Fixed buttons bar managed on ESPHome when embedded climate is visible.
* Update ReleaseNotes.md
* Services back to the Blueprint
Moving service calls back to the blueprint as latest HA requires user's permissions to call HA services from ESPHome.
This still have to be used for Alarm calls due to security concerns.
* Update ReleaseNotes.md
* support to hidden ssid (#908)
Supports hidden ssid with the use of substitutions `wifi_hidden: "true"`.
This can be breaking change for users with custom/advanced wifi settings.
Solves #906
* Update nspanel_esphome.yaml
* Removed `restore_state`
There is some incomplete work related to alarms on this commit, but the focus here is to fix `restore_state` on ESPHome v2023.7.0.
This solves #939
* US model - Fan page - Redistribute icons
Redistributed icons on Fan page on US model in order to improve usability.
Based on feedback from https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6338706
* Align `nspanel_us_land`
Apply all changes from EU to US_Land
* Fix relays chips
Fix relay status indication on chips.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/926#issuecomment-1627660273
* Fix "invalid variable" for "api"
Fix error "Nextion invalid variable name" when setting `api`.
* Default embedded climate to relay_0
* Fix translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6511043
* Fix `set_temperature` for climate
Solves #957
* Fix `fan.turn_off` call
Removed timer call from fan stop button.
This solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6494535
* Call a `fan.turn_off` when percentage is 0%
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6621756
* Fix call for fan stop button
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6622377
* Icons on ESPHome
Move icons from TFT/HMI to ESPHome to prevent error on Nextion2Text.
* Updated translations - Spanish
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6548961
* Make home page sensor's icons consistent
Make icon selection consistent with chips where the entity's icon is used in case a icon is not set in the blueprint settings.
Solves #963
* Updated translations - Slovenian
Based on:
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6665723
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-6665751
* dutch (#974)
* small ducht translations
small ducht translations
* Dutch translations
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Add-on support (#977)
Moved climate settings to an add-on.
Updated documentation.
* Fixed link to addon climate docs
* Fix change brightness when sleeping
Prevents the panel to change screen brightness when sleeping.
Solves #975
* Standardize HA service calls
* Bump version to `4.0 dev`
* Create customization.md
This will reduce the need for:
- #920
- #662
- #833
* Clean-up for customizations
Clean up ESPHome in order to make easier the use of customizations.
* Create Alarm page
* Add page Alarm
* Add Alarm docs
Update docs to reflect the current state (new features & changes)
* Creating "install.md" and update add-ons instructions
* Add Alarm page buttons pics
* Add link to Alarm on page Home
* Create Alarm page
* Alarm button font color
* Add `keyb_num` page
* Alarm Control Panel with PIN (#982)
Implements an Alarm Control Panel page on NSPanel.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/66
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/227
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/672
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4874612
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/64#issuecomment-1566204490
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718
* Fix alarm without pin not working
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/pull/930#issuecomment-1680981977
* Alarm page UI
Fixed close button
Disabled buttons are darker
* Move Entities button to ESPHome
Move logic behind Entities button (Home page) from Blueprint to ESPHome in order to gain performance on creating home page.
* Human readable Uptime (#986)
* Human readable Uptime
* Uptime from Frenck code
* Uptime with Frenck code
* Updated Human Readable Uptime
* Removed trailing spaces
* Renamed sensor to "Last started"
Sensor renamed
Update moved to the boot process
Clean-up
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Co-authored-by: Edward Firmo <edward@costafirmo.com>
* Update alarm icon & color
* Revert `fast_connect` back to `false`
* Extended chars on buttons pages (#988)
Replaces #740
Probably solves #664
Probably solves #738
Probably solves #987
* Removed `fast_connect`
* Support to `code_arm_required`
Only shows the alarm PIN keyboard if a code is required for arming (or when disarming).
* Update alarm icon on home page
Refresh icon when alarm state changes.
* Fix alarm icon not updating on home page
* Home buttons new format - Alarm
Modernise the button Alarm flow on page Home to improve performance.
* Home buttons new format - Entities
Modernise the button "Entities" flow on page Home to improve performance.
* Home buttons new format - QRcode
Modernise the button "QRcode" flow on page Home to improve performance.
* Home buttons new format - Notification
Modernise the button "Notification" flow on page Home to improve performance.
I haven't moved the code from the Blueprint to ESPHome yet, as I will leave this for when we rebuild the Notification flow in the near future (hopefully), so the performance gains may not be perceived now. Just aligning with other buttons format.
* Adding screenshots
* Delete ReleaseNotes.md
Moved to the release
* New entity filter format
This new format was released with HA v2023.4 and the old one will be deprecated soon.
* Fix Alarm page bypass icon
* Bump version to 4.0
* Rename `addon_climate_heat`
* Simplify climate substitutions
* Add support for `addon_climate_cool`
* Removed `${verbose_log}`
Use logger level `VERBOSE` instead
* Fix script call
* Clean up general entities & fallback
Store inputs into variables only when needed.
Removed fallback mode - Replaced by ESPHome local control when the relay is assigned to the button in the blueprint.
* Phase out sensor `nspanel_event` (partially)
This sensor is being replaced by event calls.
* uptime sensors (#998)
* Create ReleaseNotes.md
* Fix Climate page when embedded climate
And also added a lot of logs which should be removed later as it takes from memory.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6835260
* Move brightness control to global var
Clean up page Home
* Alarm page translations - Finnish
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6857262
* Exported pics
* Clean-up TFT
- Removed a bunch of unused pics
- Changed page indicator to new format (which will allow future development to hide unused pages)
- Standardized close button in most pages
* Fixed background pics
- Entities pages
- Weather pages
* Standardize close button
* Add "Alarm" section
* Support to wake-up page on `wake_up_display` service
This changes the behavior of a service introduced by #734.
* Optimize `wake_up_display` service
* Fix icon font sizes 10 and 64
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1701903604
And also remove all the unnecessary `wait_until`
* Fix Settings page element ids
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702109668
* Add translation keys for `settings` page
#1002
* Update settings page when brightness changes on HA
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702149796
* Clean-up page settings
* update docs (#1003)
* updated docs
* Update ReleaseNotes.md
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Clean-up Cover page
I'm preparing this page to have icons changing based on the device_class selected to a cover.
* Clean-up boot delay
* Enable `current_page` sensor by default
Otherwise the system won´t update values unless the page is reloaded.
* Use `current_page` in blueprint conditions
One more step towards the phase out of `nspanelevent`.
* Move `script.refresh_colors` to `service.global_settings`
As this is called from a single point, there's no meaning of having a separated script.
* Fix climate icon update
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891454
* Fix button show on climate page
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891335
* Visual improvements on climate page
- Add friendly name when embedded - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891465
- Make disable icons a bit darker - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6893440
- Add space for page title in EU an US Land versions
- Reset page timer when pressing/releasing on the slider - Partially solves #990
* Don't update values when page home is not visible
To reduce load on Home Assistant and the network
* Cleanup boot sequence
Move some functionalities to ESPHome
* Display internal sensor value when wifi is out
Before it was showing on home page only when API was out. This adds a test for WiFi.
* Fix `default_target_temperature`
It also updates the page home when thermostat status changes (for the chips).
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6897727
* Adding ID to components missing it
* Renamed `wake_up_display` to `wake_up`
* Re-arrange commands list
* Add service `set_component_color`
Deprecates the following services:
- `send_command_font_color`
- `send_command_background_color`
* Fix button pages not showing
* Adjusted time for HW long click
* Fixed buttons on settings page
* Minor adjustments to page climate
And replace font 10 to size 48 (it was 64 since a few days ago).
* Updates to breaking changes list
* Page settings redesign
Clean up the UI of settings page.
Prepare for translations.
* Enable translations of Settings page
* Notification word-wrap
For EU and US_LAND only, for now.
* Notifications page rebuilt
- Notification button processed on ESPHome (as all the info is there)
- Added word-wrap for main text
- Expanded text size
- Handling display mode (used to define the number of chars per line on Notifications)
- Versioning handling - As a consequence of the previous item.
* Word-wrap buttons pages
Taking advantage of the algorithm created for notifications.
* Word-wrap for Alarm page
* Version mismatch notication
* Fix ESPHome not starting with older TFT
* Rebuilt home page status bar update
* Updated translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-6926846
Thanks @MaiPiu
* Fix `Nextion reported variable name invalid!`
* Fix `Nextion variable invalid`
* Handle `embedded_indoor_temperature`
Internal temperature display will be handled locally (ESPHome) when no other sensor is selected.
* Review temperature correction engine
* Fix display climate chip
* update `temp_nspanel` when correction changes
* Fix `Fan` page not open with long press HW button
Solves #1007
* Minor adjustments on settings page
* version 4.0 ready for release
* Clean-up docs
---------
Co-authored-by: bkbartk <bartkock@outlook.com>
Co-authored-by: w00zy <WZYProjects+github@gmail.com>
* Fix Fan page button colors when opening
Solves #1017
* Translations (#1023)
* Translations
* Update nspanel_blueprint.yaml
I've changed `brightness` for now as the new design isn't implemented yet, but that string is already in use with the current design.
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Adjustments to settings page
* Fix entity info when calling detailed pages
Solves #1022
* Added `media_player` page (hidden)
* New "Confirm" pop-up
This also removes the sensor "NSPanel Event"
* Fix pages not updating values
Solves #1026
* Media player - Buttons
- Added code to buttons on media_player page.
- Clean-up:
- Moved wake-up select from Blueprint to ESPHome component
- Removed `switch.xxxxx_confirmation_message`
* Fix logging for global_settings
It was logging wakeup_page, which is deprecated
* Improved version notification
* Removed trailing spaces
* Notification for `sensor.xxxxx_current_page` missing
This might be a common issue for users migrating from v3.4 to v3.5.
This information is part of the release notes, but I believe it worth having a guide to support closely any user who miss that in the release notes.
* Simplify `touchevent` engine
The touch event is used only for the sleeping engine (it will be used for dimming later) and it was transferring all the json info with page name, component, entity, etc.
This was replaced by a simple random integer with no meaning other than "the screen was touched, reset the timer".
* Media player first buttons actions
* Fix unknown service: `media_player.null`
* Media Player control
You will be able to add a Media Player entity to any of the buttons pages and with a long press you will see the media player page.
* Remove dimming timer for now
The funcionality isn't completed.
* Home page - Custom buttons
On the blueprint you can now set up to 3 buttons to be shown on Home page.
It will show the detailed settings page, so the entity must be compatible.
* Fix Media player missing parameters
Possibly solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1030#discussioncomment-6984573
* Prevents calls to `media_player.null`
* Remove `entity` info from pages on TFT
Since v3.4, the info about entity_id shown was going all the way to Nextion and then sent back in the json return, however this requires a long (100-char) global var and the way it was implemented, it was one of those per settings page, as climate should be also recorded at the same time in case the embedded climate was installed.
This was taking too much memory, so I've moved this info to a global variable (string) in ESPHome.
There is now lots of space for code cleaning (and still pending to do the same with climate entity, as it could be only a bool to inform if embedded), but this brings the functionality.
This enabled the return to global for some components, so it probably solves #1031
* Prototyping `power` page
Thanks @Floppe for doing the design
#838
* Prototyping `power` page
* New sleep flow
* Removed trailing spaces
* Fix empty page climate
* Fix names on button pages
Fix names when a name is not provided in the blueprint settings.
* Fix call to sleep routine when timeout changes
Solves #1037
* Replace `confirm` var on buttons pages
Simpler and saves some memory.
* Clean-up
* Align the code for the 3 timers
* Extend domains supported by home page custom buttons
Based on #1034
* Fix error when btn_label is `None`
* Fix `Variable invalid` on buttons pages
* Fix constructor of Entity pages
* Fallback even when button is assigned to another entity
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/1013#issuecomment-1720107844
* Add inputs for media player refresh time
* Adjustments to Media Player refresh interval default values
* Use panel's events to reset timers
Possibly solves #1040
Possibly solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-7020153
* State based colors to home page custom buttons
* Fix alarm not changing status
Do not clear `entity_id` when opening keyboard page, so the info can be used when sending commands.
Solves #1039
* Missing `nspanel_us.tft`
* add `touchevents` to pages `media_player` and `confirm`
To avoid panel going back to Home page while user is playing with the page.
Solves #1040
* Media player minor layout changes
* Media player - Volume timer & icon size
Volume timer changed from 1000 to 500ms
Icon change from font 9 to 10
* Media player roll back font 9 and timer 1s
* Don't send to Nextion obsolete volume settings
If the volume is the same as the last one sent to the screen, don't send again, so if changes are being made on the screen it didn't receive the update all the time, making the slider unresponsive.
* Media player - Layout improvement
- Removed button "Stop"
- Increase touch area for buttons
- Redistributed buttons on page
* Add touchevents to page climate
Possibly solves #995
* Resolve validation
* Correct playing time based on `updated_at` attribute
* Prepare for when attribute is not available
* Fix attribute `media_position`
* Fix time duration when HA isn't updating position
* Fix climate page not opening when offline
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6834067
* Clean-up release notes
* Clean up code
- Removed commented out lines
- Removed temporary logs
Getting prepared to release
---------
Co-authored-by: bkbartk <bartkock@outlook.com>
Co-authored-by: w00zy <WZYProjects+github@gmail.com>
Co-authored-by: w00zy <52609940+WZYProjects@users.noreply.github.com>
* Bump version to 4.0beta (#1045)
* Create ReleaseNotes.md (#879)
* Create ReleaseNotes.md
* sensor display precision
* Filter devices to esp32 only (#881)
* Filter devices to esp32 only
Show only ESP32 devices when selecting the panel
* Filtered device list
* Sensor display precision (#880)
Now the values shown in your panel will follow the [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision) provided by Home Assistant.
=> If you have problems with a value exceeding the available space in your panel, please reduce the number of decimals using Home Assistant [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision).
* New language selector (#882)
* New language selector
* Update ReleaseNotes.md
* Update ReleaseNotes.md
* Remove `settings_entity` (#887)
* Remove `settings_entity`
- Bump version to 3.5_dev
- Removed references to pictures removed from TFT
- Removed code related to closing settings pages
- Removed trigger `settings_entity`
* Removed `set_settings_entity` service
- Bump version to 3.5_dev
- Removed `set_settings_entity` service - BREAKING CHANGE
- Removed `settings_entity` text-sensor - BREAKING CHANGE
- Added service `open_entity_settings_page` - BREAKING CHANGE
* Removed `settings_entity`
- Bump version to 3.5_dev
- Removed old climate page (climate_backup)
- Removed pics related to old climate page (ids 16-47, 80-83, 95-96 and 125(US only))
- Enforces brightness on any page change (this allows wake-up on settings page with long press on physical buttons) - Pending removing code from Blueprint
- Added `entity` variable on pages `climate`, `lightsettings` and `coversettings`
- Added `entity` info to `nspanelevent` on pages `climate`, `lightsettings` and `coversettings`
- Added `back_page` variable on pages `climate`, `lightsettings` and `coversettings` (default: home)
- Moving to TFT close page logic on pages `climate`, `lightsettings` and `coversettings` - Pending changes on Blueprint and ESPHome
- Standardized name for `page_label` on pages `climate`, `lightsettings` and `coversettings`
- Standardized settings page names: `climate`, `cover` and `light` (Removed `settings` from page name)
* Removed `settings_entity`
* Removed `settings_entity`
* Removed `settings_entity`
* Move `entity` variable to home page (#889)
* Move `entity` variable to home page
This will enable future development of a fallback climate
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Use `en` as fallback language (#891)
* Use `en` as fallback language
Uses English if a non valid language is selected (like when using legacy language selection).
* Use `en` as fallback language
* Create `nspanel_us_land.tft` (#890)
* Create `nspanel_us_land.tft'
Add `nspanel_us_land.tft' for US panel on landscape mode, fixing the offset on the touch screen when using `nspanel_eu.tft` into a US panel.
Hides the hardware buttons labels, as Nextion cannot support rotated text.
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
solves #390
solves #432
solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4933716
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
* Fix "Button confirmation page not working correctly"
Solves #883
* Supports weather forecast with `datetime` not string
This adds support to weather integrations where the `datetime` field under `forecast` attribute is provided as a `datetime` type.
This was seen on Météo-France, while all other weather integrations tested so far used a `text` field for `datetime`.
This solves #893
* Wifi icon to indicate when API offline
This changes the behavior of Wifi icon:
How it was before:
- Wifi icon was visible only when the wifi was connected, nothing was shown when wifi was not connected.
How it is now:
- Wifi icon will have 3 states:
- Wifi & API connected: Gray wifi icon
- Wifi disconnected: Red wifi-off icon
- Wifi connected, but API disconnected (HA is out?): Red api-off icon
* API status indication on the panel
* Limit light & cover to supported settings (#896)
* Limit light to supported settings
When showing light settings, only the supported features will be shown for each light.
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
This partially solves #635
* Limits covers to supported settings
Only show cover settings when `set_position` is supported.
This solves #635
* Limits covers to supported settings
* Update instructions.md
* Add Fan speed settings page (#897)
* Add Fan speed settings page
Add an initial fan speed control page for fans supporting speed control.
Add speed (%) info in the buttons pages.
Solves #404
Solves #791
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5786106
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Fix name on confirmation page
Fix the entity name on the confirmation page.
The new order is:
1. Name set on the blueprint settings
2. Entity's `friendly_name` attribute
3. Entity's `name` attribute
4. Entity's `entity_id`
Solves #501
* Select wake-up page (#898)
* Select wake-up page
Users will be able to select the wake-up page on the blueprint inputs.
This selected page will be shown after a boot (after the boot page) and with a touch in the screen when on screen saver page.
After showing this wake-up page, all the previous behavior for closing the page (with a click or after a timeout) will be the same.
Solves #576
Solves #612
Solves #801
Probably improves for https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5715670
* Select wake-up page
* Fan update engine
Change the fan update engine to follow the same patter as other settings pages.
* Update ReleaseNotes.md
* Adding vertical bars pics
* Panel offline mode (#900)
* Panel offline mode
Introduces "offline mode" for the panel, which will be used later with a fallback climate.
Pages that are depending on the blueprint (buttons pages, entity pages, settings pages, etc) won't be shown when the API is disconnected.
* Panel offline mode
* Panel offline mode
* Panel offline mode
* Panel offline mode
* "Jump to settings" on tft
Moved "Jump to settings page" routine from ESPHome to TFT in order to reduce complexity.
* Exclude Nextion2Text
Exclude Nextion2Text
* Fix validation issue
* Time engine on ESPHome
* Time engine on ESPHome
* Notification page bigger hotspot
Added hotspots around the buttons (Accept & Clear) on Notification page to make easier to click on those.
Solves #907
* Boot page retry comm
The boot page will retry communication with the blueprint once a minute to avoid the situation where that page is shown until the automation is reloaded.
* Fix call to screen page
Fixes the call to screen page on US panel.
Reconciliate the US landscape model from EU model.
* Fix fan page `button_on`
Fixing rounding on that button.
* Fixed Fan page rounding
* Prevents boot sequence in other pages
* Physical relay local control
We are trying to make your panel as autonomous as possible by moving some of the controls from the Blueprint to ESPHome. This will reduce the load in your network and Home Assistant, but also will make a more reliable system capable to do it's core functionality even when the network is unavailable or Home Assistant is restarting.
With this version, the following engines have been moved to your panel (local control):
- Physical relay control (when hardware left button is connected to relay 1 or right button to relay 2)
Solves #910
* Embedded climate (#917)
* Performance improvements
The main focus here was to reduce the number of calls between Home Assistant and ESPHome, moving logic as much as possible to TFT and ESPHome.
- Service calls moved to ESPHome (in preparation for Alarm Control Panel)
- Page change informed via event call instead of `nspanel_event` sensor (which still in use by other calls, but might be possible to remove in the future)
* Draft embedded climate
This adds an initial version of an embedded climate/thermostat (heating only for now) with support for local control even with Wi-Fi out.
Solves #646
Solves #263
* Update ReleaseNotes.md
* Fix climate slider
Fix for climate slider opening in an incorrect position and sending only the integer part of the new target temperature
* Moving home page to ESPHome
In progress...
* Fix translations - Dutch
* Embedded chip 3
Home page - Chip 3 will be controlled locally when embedded climate is enable.
* Fixed buttons bar
Fixed buttons bar managed on ESPHome when embedded climate is visible.
* Update ReleaseNotes.md
* Services back to the Blueprint
Moving service calls back to the blueprint as latest HA requires user's permissions to call HA services from ESPHome.
This still have to be used for Alarm calls due to security concerns.
* Update ReleaseNotes.md
* support to hidden ssid (#908)
Supports hidden ssid with the use of substitutions `wifi_hidden: "true"`.
This can be breaking change for users with custom/advanced wifi settings.
Solves #906
* Update nspanel_esphome.yaml
* Removed `restore_state`
There is some incomplete work related to alarms on this commit, but the focus here is to fix `restore_state` on ESPHome v2023.7.0.
This solves #939
* US model - Fan page - Redistribute icons
Redistributed icons on Fan page on US model in order to improve usability.
Based on feedback from https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6338706
* Align `nspanel_us_land`
Apply all changes from EU to US_Land
* Fix relays chips
Fix relay status indication on chips.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/926#issuecomment-1627660273
* Fix "invalid variable" for "api"
Fix error "Nextion invalid variable name" when setting `api`.
* Default embedded climate to relay_0
* Fix issue with `restore_state` and ESPHome v2023.7.0 (#941)
Solves #939
* Fix translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6511043
* Fix `set_temperature` for climate
Solves #957
* Fix `fan.turn_off` call
Removed timer call from fan stop button.
This solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6494535
* Call a `fan.turn_off` when percentage is 0%
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6621756
* Fix call for fan stop button
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6622377
* Icons on ESPHome
Move icons from TFT/HMI to ESPHome to prevent error on Nextion2Text.
* Updated translations - Spanish
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6548961
* Make home page sensor's icons consistent
Make icon selection consistent with chips where the entity's icon is used in case a icon is not set in the blueprint settings.
Solves #963
* Updated translations - Slovenian
Based on:
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6665723
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-6665751
* dutch (#974)
* small ducht translations
small ducht translations
* Dutch translations
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Add-on support (#977)
Moved climate settings to an add-on.
Updated documentation.
* Fixed link to addon climate docs
* Fix change brightness when sleeping
Prevents the panel to change screen brightness when sleeping.
Solves #975
* Standardize HA service calls
* Bump version to `4.0 dev`
* Create customization.md
This will reduce the need for:
- #920
- #662
- #833
* Clean-up for customizations
Clean up ESPHome in order to make easier the use of customizations.
* Create Alarm page
* Add page Alarm
* Add Alarm docs
Update docs to reflect the current state (new features & changes)
* Creating "install.md" and update add-ons instructions
* Add Alarm page buttons pics
* Add link to Alarm on page Home
* Create Alarm page
* Alarm button font color
* Add `keyb_num` page
* Alarm Control Panel with PIN (#982)
Implements an Alarm Control Panel page on NSPanel.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/66
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/227
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/672
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4874612
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/64#issuecomment-1566204490
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718
* Fix alarm without pin not working
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/pull/930#issuecomment-1680981977
* Alarm page UI
Fixed close button
Disabled buttons are darker
* Move Entities button to ESPHome
Move logic behind Entities button (Home page) from Blueprint to ESPHome in order to gain performance on creating home page.
* Human readable Uptime (#986)
* Human readable Uptime
* Uptime from Frenck code
* Uptime with Frenck code
* Updated Human Readable Uptime
* Removed trailing spaces
* Renamed sensor to "Last started"
Sensor renamed
Update moved to the boot process
Clean-up
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Co-authored-by: Edward Firmo <edward@costafirmo.com>
* Update alarm icon & color
* Revert `fast_connect` back to `false`
* Extended chars on buttons pages (#988)
Replaces #740
Probably solves #664
Probably solves #738
Probably solves #987
* Removed `fast_connect`
* Support to `code_arm_required`
Only shows the alarm PIN keyboard if a code is required for arming (or when disarming).
* Update alarm icon on home page
Refresh icon when alarm state changes.
* Fix alarm icon not updating on home page
* Home buttons new format - Alarm
Modernise the button Alarm flow on page Home to improve performance.
* Home buttons new format - Entities
Modernise the button "Entities" flow on page Home to improve performance.
* Home buttons new format - QRcode
Modernise the button "QRcode" flow on page Home to improve performance.
* Home buttons new format - Notification
Modernise the button "Notification" flow on page Home to improve performance.
I haven't moved the code from the Blueprint to ESPHome yet, as I will leave this for when we rebuild the Notification flow in the near future (hopefully), so the performance gains may not be perceived now. Just aligning with other buttons format.
* Adding screenshots
* Delete ReleaseNotes.md
Moved to the release
* New entity filter format
This new format was released with HA v2023.4 and the old one will be deprecated soon.
* Fix Alarm page bypass icon
* Bump version to 4.0
* Rename `addon_climate_heat`
* Simplify climate substitutions
* Add support for `addon_climate_cool`
* Removed `${verbose_log}`
Use logger level `VERBOSE` instead
* Fix script call
* Clean up general entities & fallback
Store inputs into variables only when needed.
Removed fallback mode - Replaced by ESPHome local control when the relay is assigned to the button in the blueprint.
* Phase out sensor `nspanel_event` (partially)
This sensor is being replaced by event calls.
* uptime sensors (#998)
* Create ReleaseNotes.md
* Fix Climate page when embedded climate
And also added a lot of logs which should be removed later as it takes from memory.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6835260
* Move brightness control to global var
Clean up page Home
* Alarm page translations - Finnish
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6857262
* Exported pics
* Clean-up TFT
- Removed a bunch of unused pics
- Changed page indicator to new format (which will allow future development to hide unused pages)
- Standardized close button in most pages
* Fixed background pics
- Entities pages
- Weather pages
* Standardize close button
* Add "Alarm" section
* Support to wake-up page on `wake_up_display` service
This changes the behavior of a service introduced by #734.
* Optimize `wake_up_display` service
* Fix icon font sizes 10 and 64
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1701903604
And also remove all the unnecessary `wait_until`
* Fix Settings page element ids
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702109668
* Add translation keys for `settings` page
#1002
* Update settings page when brightness changes on HA
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702149796
* Clean-up page settings
* update docs (#1003)
* updated docs
* Update ReleaseNotes.md
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Clean-up Cover page
I'm preparing this page to have icons changing based on the device_class selected to a cover.
* Clean-up boot delay
* Enable `current_page` sensor by default
Otherwise the system won´t update values unless the page is reloaded.
* Use `current_page` in blueprint conditions
One more step towards the phase out of `nspanelevent`.
* Move `script.refresh_colors` to `service.global_settings`
As this is called from a single point, there's no meaning of having a separated script.
* Fix climate icon update
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891454
* Fix button show on climate page
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891335
* Visual improvements on climate page
- Add friendly name when embedded - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891465
- Make disable icons a bit darker - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6893440
- Add space for page title in EU an US Land versions
- Reset page timer when pressing/releasing on the slider - Partially solves #990
* Don't update values when page home is not visible
To reduce load on Home Assistant and the network
* Cleanup boot sequence
Move some functionalities to ESPHome
* Display internal sensor value when wifi is out
Before it was showing on home page only when API was out. This adds a test for WiFi.
* Fix `default_target_temperature`
It also updates the page home when thermostat status changes (for the chips).
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6897727
* Adding ID to components missing it
* Renamed `wake_up_display` to `wake_up`
* Re-arrange commands list
* Add service `set_component_color`
Deprecates the following services:
- `send_command_font_color`
- `send_command_background_color`
* Fix button pages not showing
* Adjusted time for HW long click
* Fixed buttons on settings page
* Minor adjustments to page climate
And replace font 10 to size 48 (it was 64 since a few days ago).
* Updates to breaking changes list
* Page settings redesign
Clean up the UI of settings page.
Prepare for translations.
* Enable translations of Settings page
* Notification word-wrap
For EU and US_LAND only, for now.
* Notifications page rebuilt
- Notification button processed on ESPHome (as all the info is there)
- Added word-wrap for main text
- Expanded text size
- Handling display mode (used to define the number of chars per line on Notifications)
- Versioning handling - As a consequence of the previous item.
* Word-wrap buttons pages
Taking advantage of the algorithm created for notifications.
* Word-wrap for Alarm page
* Version mismatch notication
* Fix ESPHome not starting with older TFT
* Rebuilt home page status bar update
* Updated translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-6926846
Thanks @MaiPiu
* Fix `Nextion reported variable name invalid!`
* Fix `Nextion variable invalid`
* Handle `embedded_indoor_temperature`
Internal temperature display will be handled locally (ESPHome) when no other sensor is selected.
* Review temperature correction engine
* Fix display climate chip
* update `temp_nspanel` when correction changes
* Fix `Fan` page not open with long press HW button
Solves #1007
* Minor adjustments on settings page
* version 4.0 ready for release
* Clean-up docs
* Improve version notification
* Disable restore `notification_unread`
This must be changed to a binary sensor in the future.
* Beta v4.0 (#1012)
* Create ReleaseNotes.md (#879)
* Create ReleaseNotes.md
* sensor display precision
* Filter devices to esp32 only (#881)
* Filter devices to esp32 only
Show only ESP32 devices when selecting the panel
* Filtered device list
* Sensor display precision (#880)
Now the values shown in your panel will follow the [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision) provided by Home Assistant.
=> If you have problems with a value exceeding the available space in your panel, please reduce the number of decimals using Home Assistant [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision).
* New language selector (#882)
* New language selector
* Update ReleaseNotes.md
* Update ReleaseNotes.md
* Remove `settings_entity` (#887)
* Remove `settings_entity`
- Bump version to 3.5_dev
- Removed references to pictures removed from TFT
- Removed code related to closing settings pages
- Removed trigger `settings_entity`
* Removed `set_settings_entity` service
- Bump version to 3.5_dev
- Removed `set_settings_entity` service - BREAKING CHANGE
- Removed `settings_entity` text-sensor - BREAKING CHANGE
- Added service `open_entity_settings_page` - BREAKING CHANGE
* Removed `settings_entity`
- Bump version to 3.5_dev
- Removed old climate page (climate_backup)
- Removed pics related to old climate page (ids 16-47, 80-83, 95-96 and 125(US only))
- Enforces brightness on any page change (this allows wake-up on settings page with long press on physical buttons) - Pending removing code from Blueprint
- Added `entity` variable on pages `climate`, `lightsettings` and `coversettings`
- Added `entity` info to `nspanelevent` on pages `climate`, `lightsettings` and `coversettings`
- Added `back_page` variable on pages `climate`, `lightsettings` and `coversettings` (default: home)
- Moving to TFT close page logic on pages `climate`, `lightsettings` and `coversettings` - Pending changes on Blueprint and ESPHome
- Standardized name for `page_label` on pages `climate`, `lightsettings` and `coversettings`
- Standardized settings page names: `climate`, `cover` and `light` (Removed `settings` from page name)
* Removed `settings_entity`
* Removed `settings_entity`
* Removed `settings_entity`
* Move `entity` variable to home page (#889)
* Move `entity` variable to home page
This will enable future development of a fallback climate
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Use `en` as fallback language (#891)
* Use `en` as fallback language
Uses English if a non valid language is selected (like when using legacy language selection).
* Use `en` as fallback language
* Create `nspanel_us_land.tft` (#890)
* Create `nspanel_us_land.tft'
Add `nspanel_us_land.tft' for US panel on landscape mode, fixing the offset on the touch screen when using `nspanel_eu.tft` into a US panel.
Hides the hardware buttons labels, as Nextion cannot support rotated text.
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
solves #390
solves #432
solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4933716
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
* Fix "Button confirmation page not working correctly"
Solves #883
* Supports weather forecast with `datetime` not string
This adds support to weather integrations where the `datetime` field under `forecast` attribute is provided as a `datetime` type.
This was seen on Météo-France, while all other weather integrations tested so far used a `text` field for `datetime`.
This solves #893
* Wifi icon to indicate when API offline
This changes the behavior of Wifi icon:
How it was before:
- Wifi icon was visible only when the wifi was connected, nothing was shown when wifi was not connected.
How it is now:
- Wifi icon will have 3 states:
- Wifi & API connected: Gray wifi icon
- Wifi disconnected: Red wifi-off icon
- Wifi connected, but API disconnected (HA is out?): Red api-off icon
* API status indication on the panel
* Limit light & cover to supported settings (#896)
* Limit light to supported settings
When showing light settings, only the supported features will be shown for each light.
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
This partially solves #635
* Limits covers to supported settings
Only show cover settings when `set_position` is supported.
This solves #635
* Limits covers to supported settings
* Update instructions.md
* Add Fan speed settings page (#897)
* Add Fan speed settings page
Add an initial fan speed control page for fans supporting speed control.
Add speed (%) info in the buttons pages.
Solves #404
Solves #791
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5786106
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Fix name on confirmation page
Fix the entity name on the confirmation page.
The new order is:
1. Name set on the blueprint settings
2. Entity's `friendly_name` attribute
3. Entity's `name` attribute
4. Entity's `entity_id`
Solves #501
* Select wake-up page (#898)
* Select wake-up page
Users will be able to select the wake-up page on the blueprint inputs.
This selected page will be shown after a boot (after the boot page) and with a touch in the screen when on screen saver page.
After showing this wake-up page, all the previous behavior for closing the page (with a click or after a timeout) will be the same.
Solves #576
Solves #612
Solves #801
Probably improves for https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5715670
* Select wake-up page
* Fan update engine
Change the fan update engine to follow the same patter as other settings pages.
* Update ReleaseNotes.md
* Adding vertical bars pics
* Panel offline mode (#900)
* Panel offline mode
Introduces "offline mode" for the panel, which will be used later with a fallback climate.
Pages that are depending on the blueprint (buttons pages, entity pages, settings pages, etc) won't be shown when the API is disconnected.
* Panel offline mode
* Panel offline mode
* Panel offline mode
* Panel offline mode
* "Jump to settings" on tft
Moved "Jump to settings page" routine from ESPHome to TFT in order to reduce complexity.
* Exclude Nextion2Text
Exclude Nextion2Text
* Fix validation issue
* Time engine on ESPHome
* Time engine on ESPHome
* Notification page bigger hotspot
Added hotspots around the buttons (Accept & Clear) on Notification page to make easier to click on those.
Solves #907
* Boot page retry comm
The boot page will retry communication with the blueprint once a minute to avoid the situation where that page is shown until the automation is reloaded.
* Fix call to screen page
Fixes the call to screen page on US panel.
Reconciliate the US landscape model from EU model.
* Fix fan page `button_on`
Fixing rounding on that button.
* Fixed Fan page rounding
* Prevents boot sequence in other pages
* Physical relay local control
We are trying to make your panel as autonomous as possible by moving some of the controls from the Blueprint to ESPHome. This will reduce the load in your network and Home Assistant, but also will make a more reliable system capable to do it's core functionality even when the network is unavailable or Home Assistant is restarting.
With this version, the following engines have been moved to your panel (local control):
- Physical relay control (when hardware left button is connected to relay 1 or right button to relay 2)
Solves #910
* Embedded climate (#917)
* Performance improvements
The main focus here was to reduce the number of calls between Home Assistant and ESPHome, moving logic as much as possible to TFT and ESPHome.
- Service calls moved to ESPHome (in preparation for Alarm Control Panel)
- Page change informed via event call instead of `nspanel_event` sensor (which still in use by other calls, but might be possible to remove in the future)
* Draft embedded climate
This adds an initial version of an embedded climate/thermostat (heating only for now) with support for local control even with Wi-Fi out.
Solves #646
Solves #263
* Update ReleaseNotes.md
* Fix climate slider
Fix for climate slider opening in an incorrect position and sending only the integer part of the new target temperature
* Moving home page to ESPHome
In progress...
* Fix translations - Dutch
* Embedded chip 3
Home page - Chip 3 will be controlled locally when embedded climate is enable.
* Fixed buttons bar
Fixed buttons bar managed on ESPHome when embedded climate is visible.
* Update ReleaseNotes.md
* Services back to the Blueprint
Moving service calls back to the blueprint as latest HA requires user's permissions to call HA services from ESPHome.
This still have to be used for Alarm calls due to security concerns.
* Update ReleaseNotes.md
* support to hidden ssid (#908)
Supports hidden ssid with the use of substitutions `wifi_hidden: "true"`.
This can be breaking change for users with custom/advanced wifi settings.
Solves #906
* Update nspanel_esphome.yaml
* Removed `restore_state`
There is some incomplete work related to alarms on this commit, but the focus here is to fix `restore_state` on ESPHome v2023.7.0.
This solves #939
* US model - Fan page - Redistribute icons
Redistributed icons on Fan page on US model in order to improve usability.
Based on feedback from https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6338706
* Align `nspanel_us_land`
Apply all changes from EU to US_Land
* Fix relays chips
Fix relay status indication on chips.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/926#issuecomment-1627660273
* Fix "invalid variable" for "api"
Fix error "Nextion invalid variable name" when setting `api`.
* Default embedded climate to relay_0
* Fix translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6511043
* Fix `set_temperature` for climate
Solves #957
* Fix `fan.turn_off` call
Removed timer call from fan stop button.
This solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6494535
* Call a `fan.turn_off` when percentage is 0%
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6621756
* Fix call for fan stop button
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6622377
* Icons on ESPHome
Move icons from TFT/HMI to ESPHome to prevent error on Nextion2Text.
* Updated translations - Spanish
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6548961
* Make home page sensor's icons consistent
Make icon selection consistent with chips where the entity's icon is used in case a icon is not set in the blueprint settings.
Solves #963
* Updated translations - Slovenian
Based on:
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6665723
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-6665751
* dutch (#974)
* small ducht translations
small ducht translations
* Dutch translations
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Add-on support (#977)
Moved climate settings to an add-on.
Updated documentation.
* Fixed link to addon climate docs
* Fix change brightness when sleeping
Prevents the panel to change screen brightness when sleeping.
Solves #975
* Standardize HA service calls
* Bump version to `4.0 dev`
* Create customization.md
This will reduce the need for:
- #920
- #662
- #833
* Clean-up for customizations
Clean up ESPHome in order to make easier the use of customizations.
* Create Alarm page
* Add page Alarm
* Add Alarm docs
Update docs to reflect the current state (new features & changes)
* Creating "install.md" and update add-ons instructions
* Add Alarm page buttons pics
* Add link to Alarm on page Home
* Create Alarm page
* Alarm button font color
* Add `keyb_num` page
* Alarm Control Panel with PIN (#982)
Implements an Alarm Control Panel page on NSPanel.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/66
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/227
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/672
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4874612
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/64#issuecomment-1566204490
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718
* Fix alarm without pin not working
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/pull/930#issuecomment-1680981977
* Alarm page UI
Fixed close button
Disabled buttons are darker
* Move Entities button to ESPHome
Move logic behind Entities button (Home page) from Blueprint to ESPHome in order to gain performance on creating home page.
* Human readable Uptime (#986)
* Human readable Uptime
* Uptime from Frenck code
* Uptime with Frenck code
* Updated Human Readable Uptime
* Removed trailing spaces
* Renamed sensor to "Last started"
Sensor renamed
Update moved to the boot process
Clean-up
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Co-authored-by: Edward Firmo <edward@costafirmo.com>
* Update alarm icon & color
* Revert `fast_connect` back to `false`
* Extended chars on buttons pages (#988)
Replaces #740
Probably solves #664
Probably solves #738
Probably solves #987
* Removed `fast_connect`
* Support to `code_arm_required`
Only shows the alarm PIN keyboard if a code is required for arming (or when disarming).
* Update alarm icon on home page
Refresh icon when alarm state changes.
* Fix alarm icon not updating on home page
* Home buttons new format - Alarm
Modernise the button Alarm flow on page Home to improve performance.
* Home buttons new format - Entities
Modernise the button "Entities" flow on page Home to improve performance.
* Home buttons new format - QRcode
Modernise the button "QRcode" flow on page Home to improve performance.
* Home buttons new format - Notification
Modernise the button "Notification" flow on page Home to improve performance.
I haven't moved the code from the Blueprint to ESPHome yet, as I will leave this for when we rebuild the Notification flow in the near future (hopefully), so the performance gains may not be perceived now. Just aligning with other buttons format.
* Adding screenshots
* Delete ReleaseNotes.md
Moved to the release
* New entity filter format
This new format was released with HA v2023.4 and the old one will be deprecated soon.
* Fix Alarm page bypass icon
* Bump version to 4.0
* Rename `addon_climate_heat`
* Simplify climate substitutions
* Add support for `addon_climate_cool`
* Removed `${verbose_log}`
Use logger level `VERBOSE` instead
* Fix script call
* Clean up general entities & fallback
Store inputs into variables only when needed.
Removed fallback mode - Replaced by ESPHome local control when the relay is assigned to the button in the blueprint.
* Phase out sensor `nspanel_event` (partially)
This sensor is being replaced by event calls.
* uptime sensors (#998)
* Create ReleaseNotes.md
* Fix Climate page when embedded climate
And also added a lot of logs which should be removed later as it takes from memory.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6835260
* Move brightness control to global var
Clean up page Home
* Alarm page translations - Finnish
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6857262
* Exported pics
* Clean-up TFT
- Removed a bunch of unused pics
- Changed page indicator to new format (which will allow future development to hide unused pages)
- Standardized close button in most pages
* Fixed background pics
- Entities pages
- Weather pages
* Standardize close button
* Add "Alarm" section
* Support to wake-up page on `wake_up_display` service
This changes the behavior of a service introduced by #734.
* Optimize `wake_up_display` service
* Fix icon font sizes 10 and 64
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1701903604
And also remove all the unnecessary `wait_until`
* Fix Settings page element ids
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702109668
* Add translation keys for `settings` page
#1002
* Update settings page when brightness changes on HA
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702149796
* Clean-up page settings
* update docs (#1003)
* updated docs
* Update ReleaseNotes.md
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Clean-up Cover page
I'm preparing this page to have icons changing based on the device_class selected to a cover.
* Clean-up boot delay
* Enable `current_page` sensor by default
Otherwise the system won´t update values unless the page is reloaded.
* Use `current_page` in blueprint conditions
One more step towards the phase out of `nspanelevent`.
* Move `script.refresh_colors` to `service.global_settings`
As this is called from a single point, there's no meaning of having a separated script.
* Fix climate icon update
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891454
* Fix button show on climate page
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891335
* Visual improvements on climate page
- Add friendly name when embedded - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891465
- Make disable icons a bit darker - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6893440
- Add space for page title in EU an US Land versions
- Reset page timer when pressing/releasing on the slider - Partially solves #990
* Don't update values when page home is not visible
To reduce load on Home Assistant and the network
* Cleanup boot sequence
Move some functionalities to ESPHome
* Display internal sensor value when wifi is out
Before it was showing on home page only when API was out. This adds a test for WiFi.
* Fix `default_target_temperature`
It also updates the page home when thermostat status changes (for the chips).
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6897727
* Adding ID to components missing it
* Renamed `wake_up_display` to `wake_up`
* Re-arrange commands list
* Add service `set_component_color`
Deprecates the following services:
- `send_command_font_color`
- `send_command_background_color`
* Fix button pages not showing
* Adjusted time for HW long click
* Fixed buttons on settings page
* Minor adjustments to page climate
And replace font 10 to size 48 (it was 64 since a few days ago).
* Updates to breaking changes list
* Page settings redesign
Clean up the UI of settings page.
Prepare for translations.
* Enable translations of Settings page
* Notification word-wrap
For EU and US_LAND only, for now.
* Notifications page rebuilt
- Notification button processed on ESPHome (as all the info is there)
- Added word-wrap for main text
- Expanded text size
- Handling display mode (used to define the number of chars per line on Notifications)
- Versioning handling - As a consequence of the previous item.
* Word-wrap buttons pages
Taking advantage of the algorithm created for notifications.
* Word-wrap for Alarm page
* Version mismatch notication
* Fix ESPHome not starting with older TFT
* Rebuilt home page status bar update
* Updated translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-6926846
Thanks @MaiPiu
* Fix `Nextion reported variable name invalid!`
* Fix `Nextion variable invalid`
* Handle `embedded_indoor_temperature`
Internal temperature display will be handled locally (ESPHome) when no other sensor is selected.
* Review temperature correction engine
* Fix display climate chip
* update `temp_nspanel` when correction changes
* Fix `Fan` page not open with long press HW button
Solves #1007
* Minor adjustments on settings page
* version 4.0 ready for release
* Clean-up docs
---------
Co-authored-by: bkbartk <bartkock@outlook.com>
Co-authored-by: w00zy <WZYProjects+github@gmail.com>
* Fix Fan page button colors when opening
Solves #1017
* Translations (#1023)
* Translations
* Update nspanel_blueprint.yaml
I've changed `brightness` for now as the new design isn't implemented yet, but that string is already in use with the current design.
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Adjustments to settings page
* Fix entity info when calling detailed pages
Solves #1022
* Added `media_player` page (hidden)
* New "Confirm" pop-up
This also removes the sensor "NSPanel Event"
* Fix pages not updating values
Solves #1026
* Media player - Buttons
- Added code to buttons on media_player page.
- Clean-up:
- Moved wake-up select from Blueprint to ESPHome component
- Removed `switch.xxxxx_confirmation_message`
* Fix logging for global_settings
It was logging wakeup_page, which is deprecated
* Improved version notification
* Removed trailing spaces
* Notification for `sensor.xxxxx_current_page` missing
This might be a common issue for users migrating from v3.4 to v3.5.
This information is part of the release notes, but I believe it worth having a guide to support closely any user who miss that in the release notes.
* Simplify `touchevent` engine
The touch event is used only for the sleeping engine (it will be used for dimming later) and it was transferring all the json info with page name, component, entity, etc.
This was replaced by a simple random integer with no meaning other than "the screen was touched, reset the timer".
* Media player first buttons actions
* Fix unknown service: `media_player.null`
* Media Player control
You will be able to add a Media Player entity to any of the buttons pages and with a long press you will see the media player page.
* Remove dimming timer for now
The funcionality isn't completed.
* Home page - Custom buttons
On the blueprint you can now set up to 3 buttons to be shown on Home page.
It will show the detailed settings page, so the entity must be compatible.
* Fix Media player missing parameters
Possibly solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1030#discussioncomment-6984573
* Prevents calls to `media_player.null`
* Remove `entity` info from pages on TFT
Since v3.4, the info about entity_id shown was going all the way to Nextion and then sent back in the json return, however this requires a long (100-char) global var and the way it was implemented, it was one of those per settings page, as climate should be also recorded at the same time in case the embedded climate was installed.
This was taking too much memory, so I've moved this info to a global variable (string) in ESPHome.
There is now lots of space for code cleaning (and still pending to do the same with climate entity, as it could be only a bool to inform if embedded), but this brings the functionality.
This enabled the return to global for some components, so it probably solves #1031
* Prototyping `power` page
Thanks @Floppe for doing the design
#838
* Prototyping `power` page
* New sleep flow
* Removed trailing spaces
* Fix empty page climate
* Fix names on button pages
Fix names when a name is not provided in the blueprint settings.
* Fix call to sleep routine when timeout changes
Solves #1037
* Replace `confirm` var on buttons pages
Simpler and saves some memory.
* Clean-up
* Align the code for the 3 timers
* Extend domains supported by home page custom buttons
Based on #1034
* Fix error when btn_label is `None`
* Fix `Variable invalid` on buttons pages
* Fix constructor of Entity pages
* Fallback even when button is assigned to another entity
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/1013#issuecomment-1720107844
* Add inputs for media player refresh time
* Adjustments to Media Player refresh interval default values
* Use panel's events to reset timers
Possibly solves #1040
Possibly solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-7020153
* State based colors to home page custom buttons
* Fix alarm not changing status
Do not clear `entity_id` when opening keyboard page, so the info can be used when sending commands.
Solves #1039
* Missing `nspanel_us.tft`
* add `touchevents` to pages `media_player` and `confirm`
To avoid panel going back to Home page while user is playing with the page.
Solves #1040
* Media player minor layout changes
* Media player - Volume timer & icon size
Volume timer changed from 1000 to 500ms
Icon change from font 9 to 10
* Media player roll back font 9 and timer 1s
* Don't send to Nextion obsolete volume settings
If the volume is the same as the last one sent to the screen, don't send again, so if changes are being made on the screen it didn't receive the update all the time, making the slider unresponsive.
* Media player - Layout improvement
- Removed button "Stop"
- Increase touch area for buttons
- Redistributed buttons on page
* Add touchevents to page climate
Possibly solves #995
* Resolve validation
* Correct playing time based on `updated_at` attribute
* Prepare for when attribute is not available
* Fix attribute `media_position`
* Fix time duration when HA isn't updating position
* Fix climate page not opening when offline
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6834067
* Clean-up release notes
* Clean up code
- Removed commented out lines
- Removed temporary logs
Getting prepared to release
* Bump version to 4.0beta
To reduce the chance of an obsolete file in use after the release.
---------
Co-authored-by: bkbartk <bartkock@outlook.com>
Co-authored-by: w00zy <WZYProjects+github@gmail.com>
Co-authored-by: w00zy <52609940+WZYProjects@users.noreply.github.com>
* v4.0 beta 2 (#1053)
* Create ReleaseNotes.md (#879)
* Create ReleaseNotes.md
* sensor display precision
* Filter devices to esp32 only (#881)
* Filter devices to esp32 only
Show only ESP32 devices when selecting the panel
* Filtered device list
* Sensor display precision (#880)
Now the values shown in your panel will follow the [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision) provided by Home Assistant.
=> If you have problems with a value exceeding the available space in your panel, please reduce the number of decimals using Home Assistant [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision).
* New language selector (#882)
* New language selector
* Update ReleaseNotes.md
* Update ReleaseNotes.md
* Remove `settings_entity` (#887)
* Remove `settings_entity`
- Bump version to 3.5_dev
- Removed references to pictures removed from TFT
- Removed code related to closing settings pages
- Removed trigger `settings_entity`
* Removed `set_settings_entity` service
- Bump version to 3.5_dev
- Removed `set_settings_entity` service - BREAKING CHANGE
- Removed `settings_entity` text-sensor - BREAKING CHANGE
- Added service `open_entity_settings_page` - BREAKING CHANGE
* Removed `settings_entity`
- Bump version to 3.5_dev
- Removed old climate page (climate_backup)
- Removed pics related to old climate page (ids 16-47, 80-83, 95-96 and 125(US only))
- Enforces brightness on any page change (this allows wake-up on settings page with long press on physical buttons) - Pending removing code from Blueprint
- Added `entity` variable on pages `climate`, `lightsettings` and `coversettings`
- Added `entity` info to `nspanelevent` on pages `climate`, `lightsettings` and `coversettings`
- Added `back_page` variable on pages `climate`, `lightsettings` and `coversettings` (default: home)
- Moving to TFT close page logic on pages `climate`, `lightsettings` and `coversettings` - Pending changes on Blueprint and ESPHome
- Standardized name for `page_label` on pages `climate`, `lightsettings` and `coversettings`
- Standardized settings page names: `climate`, `cover` and `light` (Removed `settings` from page name)
* Removed `settings_entity`
* Removed `settings_entity`
* Removed `settings_entity`
* Move `entity` variable to home page (#889)
* Move `entity` variable to home page
This will enable future development of a fallback climate
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Use `en` as fallback language (#891)
* Use `en` as fallback language
Uses English if a non valid language is selected (like when using legacy language selection).
* Use `en` as fallback language
* Create `nspanel_us_land.tft` (#890)
* Create `nspanel_us_land.tft'
Add `nspanel_us_land.tft' for US panel on landscape mode, fixing the offset on the touch screen when using `nspanel_eu.tft` into a US panel.
Hides the hardware buttons labels, as Nextion cannot support rotated text.
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
solves #390
solves #432
solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4933716
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
* Fix "Button confirmation page not working correctly"
Solves #883
* Supports weather forecast with `datetime` not string
This adds support to weather integrations where the `datetime` field under `forecast` attribute is provided as a `datetime` type.
This was seen on Météo-France, while all other weather integrations tested so far used a `text` field for `datetime`.
This solves #893
* Wifi icon to indicate when API offline
This changes the behavior of Wifi icon:
How it was before:
- Wifi icon was visible only when the wifi was connected, nothing was shown when wifi was not connected.
How it is now:
- Wifi icon will have 3 states:
- Wifi & API connected: Gray wifi icon
- Wifi disconnected: Red wifi-off icon
- Wifi connected, but API disconnected (HA is out?): Red api-off icon
* API status indication on the panel
* Limit light & cover to supported settings (#896)
* Limit light to supported settings
When showing light settings, only the supported features will be shown for each light.
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
This partially solves #635
* Limits covers to supported settings
Only show cover settings when `set_position` is supported.
This solves #635
* Limits covers to supported settings
* Update instructions.md
* Add Fan speed settings page (#897)
* Add Fan speed settings page
Add an initial fan speed control page for fans supporting speed control.
Add speed (%) info in the buttons pages.
Solves #404
Solves #791
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5786106
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Fix name on confirmation page
Fix the entity name on the confirmation page.
The new order is:
1. Name set on the blueprint settings
2. Entity's `friendly_name` attribute
3. Entity's `name` attribute
4. Entity's `entity_id`
Solves #501
* Select wake-up page (#898)
* Select wake-up page
Users will be able to select the wake-up page on the blueprint inputs.
This selected page will be shown after a boot (after the boot page) and with a touch in the screen when on screen saver page.
After showing this wake-up page, all the previous behavior for closing the page (with a click or after a timeout) will be the same.
Solves #576
Solves #612
Solves #801
Probably improves for https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5715670
* Select wake-up page
* Fan update engine
Change the fan update engine to follow the same patter as other settings pages.
* Update ReleaseNotes.md
* Adding vertical bars pics
* Panel offline mode (#900)
* Panel offline mode
Introduces "offline mode" for the panel, which will be used later with a fallback climate.
Pages that are depending on the blueprint (buttons pages, entity pages, settings pages, etc) won't be shown when the API is disconnected.
* Panel offline mode
* Panel offline mode
* Panel offline mode
* Panel offline mode
* "Jump to settings" on tft
Moved "Jump to settings page" routine from ESPHome to TFT in order to reduce complexity.
* Exclude Nextion2Text
Exclude Nextion2Text
* Fix validation issue
* Time engine on ESPHome
* Time engine on ESPHome
* Notification page bigger hotspot
Added hotspots around the buttons (Accept & Clear) on Notification page to make easier to click on those.
Solves #907
* Boot page retry comm
The boot page will retry communication with the blueprint once a minute to avoid the situation where that page is shown until the automation is reloaded.
* Fix call to screen page
Fixes the call to screen page on US panel.
Reconciliate the US landscape model from EU model.
* Fix fan page `button_on`
Fixing rounding on that button.
* Fixed Fan page rounding
* Prevents boot sequence in other pages
* Physical relay local control
We are trying to make your panel as autonomous as possible by moving some of the controls from the Blueprint to ESPHome. This will reduce the load in your network and Home Assistant, but also will make a more reliable system capable to do it's core functionality even when the network is unavailable or Home Assistant is restarting.
With this version, the following engines have been moved to your panel (local control):
- Physical relay control (when hardware left button is connected to relay 1 or right button to relay 2)
Solves #910
* Embedded climate (#917)
* Performance improvements
The main focus here was to reduce the number of calls between Home Assistant and ESPHome, moving logic as much as possible to TFT and ESPHome.
- Service calls moved to ESPHome (in preparation for Alarm Control Panel)
- Page change informed via event call instead of `nspanel_event` sensor (which still in use by other calls, but might be possible to remove in the future)
* Draft embedded climate
This adds an initial version of an embedded climate/thermostat (heating only for now) with support for local control even with Wi-Fi out.
Solves #646
Solves #263
* Update ReleaseNotes.md
* Fix climate slider
Fix for climate slider opening in an incorrect position and sending only the integer part of the new target temperature
* Moving home page to ESPHome
In progress...
* Fix translations - Dutch
* Embedded chip 3
Home page - Chip 3 will be controlled locally when embedded climate is enable.
* Fixed buttons bar
Fixed buttons bar managed on ESPHome when embedded climate is visible.
* Update ReleaseNotes.md
* Services back to the Blueprint
Moving service calls back to the blueprint as latest HA requires user's permissions to call HA services from ESPHome.
This still have to be used for Alarm calls due to security concerns.
* Update ReleaseNotes.md
* support to hidden ssid (#908)
Supports hidden ssid with the use of substitutions `wifi_hidden: "true"`.
This can be breaking change for users with custom/advanced wifi settings.
Solves #906
* Update nspanel_esphome.yaml
* Removed `restore_state`
There is some incomplete work related to alarms on this commit, but the focus here is to fix `restore_state` on ESPHome v2023.7.0.
This solves #939
* US model - Fan page - Redistribute icons
Redistributed icons on Fan page on US model in order to improve usability.
Based on feedback from https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6338706
* Align `nspanel_us_land`
Apply all changes from EU to US_Land
* Fix relays chips
Fix relay status indication on chips.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/926#issuecomment-1627660273
* Fix "invalid variable" for "api"
Fix error "Nextion invalid variable name" when setting `api`.
* Default embedded climate to relay_0
* Fix issue with `restore_state` and ESPHome v2023.7.0 (#941)
Solves #939
* Fix translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6511043
* Fix `set_temperature` for climate
Solves #957
* Fix `fan.turn_off` call
Removed timer call from fan stop button.
This solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6494535
* Call a `fan.turn_off` when percentage is 0%
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6621756
* Fix call for fan stop button
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6622377
* Icons on ESPHome
Move icons from TFT/HMI to ESPHome to prevent error on Nextion2Text.
* Updated translations - Spanish
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6548961
* Make home page sensor's icons consistent
Make icon selection consistent with chips where the entity's icon is used in case a icon is not set in the blueprint settings.
Solves #963
* Updated translations - Slovenian
Based on:
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6665723
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-6665751
* dutch (#974)
* small ducht translations
small ducht translations
* Dutch translations
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Add-on support (#977)
Moved climate settings to an add-on.
Updated documentation.
* Fixed link to addon climate docs
* Fix change brightness when sleeping
Prevents the panel to change screen brightness when sleeping.
Solves #975
* Standardize HA service calls
* Bump version to `4.0 dev`
* Create customization.md
This will reduce the need for:
- #920
- #662
- #833
* Clean-up for customizations
Clean up ESPHome in order to make easier the use of customizations.
* Create Alarm page
* Add page Alarm
* Add Alarm docs
Update docs to reflect the current state (new features & changes)
* Creating "install.md" and update add-ons instructions
* Add Alarm page buttons pics
* Add link to Alarm on page Home
* Create Alarm page
* Alarm button font color
* Add `keyb_num` page
* Alarm Control Panel with PIN (#982)
Implements an Alarm Control Panel page on NSPanel.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/66
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/227
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/672
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4874612
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/64#issuecomment-1566204490
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718
* Fix alarm without pin not working
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/pull/930#issuecomment-1680981977
* Alarm page UI
Fixed close button
Disabled buttons are darker
* Move Entities button to ESPHome
Move logic behind Entities button (Home page) from Blueprint to ESPHome in order to gain performance on creating home page.
* Human readable Uptime (#986)
* Human readable Uptime
* Uptime from Frenck code
* Uptime with Frenck code
* Updated Human Readable Uptime
* Removed trailing spaces
* Renamed sensor to "Last started"
Sensor renamed
Update moved to the boot process
Clean-up
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Co-authored-by: Edward Firmo <edward@costafirmo.com>
* Update alarm icon & color
* Revert `fast_connect` back to `false`
* Extended chars on buttons pages (#988)
Replaces #740
Probably solves #664
Probably solves #738
Probably solves #987
* Removed `fast_connect`
* Support to `code_arm_required`
Only shows the alarm PIN keyboard if a code is required for arming (or when disarming).
* Update alarm icon on home page
Refresh icon when alarm state changes.
* Fix alarm icon not updating on home page
* Home buttons new format - Alarm
Modernise the button Alarm flow on page Home to improve performance.
* Home buttons new format - Entities
Modernise the button "Entities" flow on page Home to improve performance.
* Home buttons new format - QRcode
Modernise the button "QRcode" flow on page Home to improve performance.
* Home buttons new format - Notification
Modernise the button "Notification" flow on page Home to improve performance.
I haven't moved the code from the Blueprint to ESPHome yet, as I will leave this for when we rebuild the Notification flow in the near future (hopefully), so the performance gains may not be perceived now. Just aligning with other buttons format.
* Adding screenshots
* Delete ReleaseNotes.md
Moved to the release
* New entity filter format
This new format was released with HA v2023.4 and the old one will be deprecated soon.
* Fix Alarm page bypass icon
* Bump version to 4.0
* Rename `addon_climate_heat`
* Simplify climate substitutions
* Add support for `addon_climate_cool`
* Removed `${verbose_log}`
Use logger level `VERBOSE` instead
* Fix script call
* Clean up general entities & fallback
Store inputs into variables only when needed.
Removed fallback mode - Replaced by ESPHome local control when the relay is assigned to the button in the blueprint.
* Phase out sensor `nspanel_event` (partially)
This sensor is being replaced by event calls.
* uptime sensors (#998)
* Create ReleaseNotes.md
* Fix Climate page when embedded climate
And also added a lot of logs which should be removed later as it takes from memory.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6835260
* Move brightness control to global var
Clean up page Home
* Alarm page translations - Finnish
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6857262
* Exported pics
* Clean-up TFT
- Removed a bunch of unused pics
- Changed page indicator to new format (which will allow future development to hide unused pages)
- Standardized close button in most pages
* Fixed background pics
- Entities pages
- Weather pages
* Standardize close button
* Add "Alarm" section
* Support to wake-up page on `wake_up_display` service
This changes the behavior of a service introduced by #734.
* Optimize `wake_up_display` service
* Fix icon font sizes 10 and 64
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1701903604
And also remove all the unnecessary `wait_until`
* Fix Settings page element ids
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702109668
* Add translation keys for `settings` page
#1002
* Update settings page when brightness changes on HA
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702149796
* Clean-up page settings
* update docs (#1003)
* updated docs
* Update ReleaseNotes.md
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Clean-up Cover page
I'm preparing this page to have icons changing based on the device_class selected to a cover.
* Clean-up boot delay
* Enable `current_page` sensor by default
Otherwise the system won´t update values unless the page is reloaded.
* Use `current_page` in blueprint conditions
One more step towards the phase out of `nspanelevent`.
* Move `script.refresh_colors` to `service.global_settings`
As this is called from a single point, there's no meaning of having a separated script.
* Fix climate icon update
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891454
* Fix button show on climate page
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891335
* Visual improvements on climate page
- Add friendly name when embedded - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891465
- Make disable icons a bit darker - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6893440
- Add space for page title in EU an US Land versions
- Reset page timer when pressing/releasing on the slider - Partially solves #990
* Don't update values when page home is not visible
To reduce load on Home Assistant and the network
* Cleanup boot sequence
Move some functionalities to ESPHome
* Display internal sensor value when wifi is out
Before it was showing on home page only when API was out. This adds a test for WiFi.
* Fix `default_target_temperature`
It also updates the page home when thermostat status changes (for the chips).
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6897727
* Adding ID to components missing it
* Renamed `wake_up_display` to `wake_up`
* Re-arrange commands list
* Add service `set_component_color`
Deprecates the following services:
- `send_command_font_color`
- `send_command_background_color`
* Fix button pages not showing
* Adjusted time for HW long click
* Fixed buttons on settings page
* Minor adjustments to page climate
And replace font 10 to size 48 (it was 64 since a few days ago).
* Updates to breaking changes list
* Page settings redesign
Clean up the UI of settings page.
Prepare for translations.
* Enable translations of Settings page
* Notification word-wrap
For EU and US_LAND only, for now.
* Notifications page rebuilt
- Notification button processed on ESPHome (as all the info is there)
- Added word-wrap for main text
- Expanded text size
- Handling display mode (used to define the number of chars per line on Notifications)
- Versioning handling - As a consequence of the previous item.
* Word-wrap buttons pages
Taking advantage of the algorithm created for notifications.
* Word-wrap for Alarm page
* Version mismatch notication
* Fix ESPHome not starting with older TFT
* Rebuilt home page status bar update
* Updated translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-6926846
Thanks @MaiPiu
* Fix `Nextion reported variable name invalid!`
* Fix `Nextion variable invalid`
* Handle `embedded_indoor_temperature`
Internal temperature display will be handled locally (ESPHome) when no other sensor is selected.
* Review temperature correction engine
* Fix display climate chip
* update `temp_nspanel` when correction changes
* Fix `Fan` page not open with long press HW button
Solves #1007
* Minor adjustments on settings page
* version 4.0 ready for release
* Clean-up docs
* Improve version notification
* Disable restore `notification_unread`
This must be changed to a binary sensor in the future.
* Beta v4.0 (#1012)
* Create ReleaseNotes.md (#879)
* Create ReleaseNotes.md
* sensor display precision
* Filter devices to esp32 only (#881)
* Filter devices to esp32 only
Show only ESP32 devices when selecting the panel
* Filtered device list
* Sensor display precision (#880)
Now the values shown in your panel will follow the [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision) provided by Home Assistant.
=> If you have problems with a value exceeding the available space in your panel, please reduce the number of decimals using Home Assistant [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision).
* New language selector (#882)
* New language selector
* Update ReleaseNotes.md
* Update ReleaseNotes.md
* Remove `settings_entity` (#887)
* Remove `settings_entity`
- Bump version to 3.5_dev
- Removed references to pictures removed from TFT
- Removed code related to closing settings pages
- Removed trigger `settings_entity`
* Removed `set_settings_entity` service
- Bump version to 3.5_dev
- Removed `set_settings_entity` service - BREAKING CHANGE
- Removed `settings_entity` text-sensor - BREAKING CHANGE
- Added service `open_entity_settings_page` - BREAKING CHANGE
* Removed `settings_entity`
- Bump version to 3.5_dev
- Removed old climate page (climate_backup)
- Removed pics related to old climate page (ids 16-47, 80-83, 95-96 and 125(US only))
- Enforces brightness on any page change (this allows wake-up on settings page with long press on physical buttons) - Pending removing code from Blueprint
- Added `entity` variable on pages `climate`, `lightsettings` and `coversettings`
- Added `entity` info to `nspanelevent` on pages `climate`, `lightsettings` and `coversettings`
- Added `back_page` variable on pages `climate`, `lightsettings` and `coversettings` (default: home)
- Moving to TFT close page logic on pages `climate`, `lightsettings` and `coversettings` - Pending changes on Blueprint and ESPHome
- Standardized name for `page_label` on pages `climate`, `lightsettings` and `coversettings`
- Standardized settings page names: `climate`, `cover` and `light` (Removed `settings` from page name)
* Removed `settings_entity`
* Removed `settings_entity`
* Removed `settings_entity`
* Move `entity` variable to home page (#889)
* Move `entity` variable to home page
This will enable future development of a fallback climate
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Use `en` as fallback language (#891)
* Use `en` as fallback language
Uses English if a non valid language is selected (like when using legacy language selection).
* Use `en` as fallback language
* Create `nspanel_us_land.tft` (#890)
* Create `nspanel_us_land.tft'
Add `nspanel_us_land.tft' for US panel on landscape mode, fixing the offset on the touch screen when using `nspanel_eu.tft` into a US panel.
Hides the hardware buttons labels, as Nextion cannot support rotated text.
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
solves #390
solves #432
solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4933716
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
* Fix "Button confirmation page not working correctly"
Solves #883
* Supports weather forecast with `datetime` not string
This adds support to weather integrations where the `datetime` field under `forecast` attribute is provided as a `datetime` type.
This was seen on Météo-France, while all other weather integrations tested so far used a `text` field for `datetime`.
This solves #893
* Wifi icon to indicate when API offline
This changes the behavior of Wifi icon:
How it was before:
- Wifi icon was visible only when the wifi was connected, nothing was shown when wifi was not connected.
How it is now:
- Wifi icon will have 3 states:
- Wifi & API connected: Gray wifi icon
- Wifi disconnected: Red wifi-off icon
- Wifi connected, but API disconnected (HA is out?): Red api-off icon
* API status indication on the panel
* Limit light & cover to supported settings (#896)
* Limit light to supported settings
When showing light settings, only the supported features will be shown for each light.
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
This partially solves #635
* Limits covers to supported settings
Only show cover settings when `set_position` is supported.
This solves #635
* Limits covers to supported settings
* Update instructions.md
* Add Fan speed settings page (#897)
* Add Fan speed settings page
Add an initial fan speed control page for fans supporting speed control.
Add speed (%) info in the buttons pages.
Solves #404
Solves #791
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5786106
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Fix name on confirmation page
Fix the entity name on the confirmation page.
The new order is:
1. Name set on the blueprint settings
2. Entity's `friendly_name` attribute
3. Entity's `name` attribute
4. Entity's `entity_id`
Solves #501
* Select wake-up page (#898)
* Select wake-up page
Users will be able to select the wake-up page on the blueprint inputs.
This selected page will be shown after a boot (after the boot page) and with a touch in the screen when on screen saver page.
After showing this wake-up page, all the previous behavior for closing the page (with a click or after a timeout) will be the same.
Solves #576
Solves #612
Solves #801
Probably improves for https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5715670
* Select wake-up page
* Fan update engine
Change the fan update engine to follow the same patter as other settings pages.
* Update ReleaseNotes.md
* Adding vertical bars pics
* Panel offline mode (#900)
* Panel offline mode
Introduces "offline mode" for the panel, which will be used later with a fallback climate.
Pages that are depending on the blueprint (buttons pages, entity pages, settings pages, etc) won't be shown when the API is disconnected.
* Panel offline mode
* Panel offline mode
* Panel offline mode
* Panel offline mode
* "Jump to settings" on tft
Moved "Jump to settings page" routine from ESPHome to TFT in order to reduce complexity.
* Exclude Nextion2Text
Exclude Nextion2Text
* Fix validation issue
* Time engine on ESPHome
* Time engine on ESPHome
* Notification page bigger hotspot
Added hotspots around the buttons (Accept & Clear) on Notification page to make easier to click on those.
Solves #907
* Boot page retry comm
The boot page will retry communication with the blueprint once a minute to avoid the situation where that page is shown until the automation is reloaded.
* Fix call to screen page
Fixes the call to screen page on US panel.
Reconciliate the US landscape model from EU model.
* Fix fan page `button_on`
Fixing rounding on that button.
* Fixed Fan page rounding
* Prevents boot sequence in other pages
* Physical relay local control
We are trying to make your panel as autonomous as possible by moving some of the controls from the Blueprint to ESPHome. This will reduce the load in your network and Home Assistant, but also will make a more reliable system capable to do it's core functionality even when the network is unavailable or Home Assistant is restarting.
With this version, the following engines have been moved to your panel (local control):
- Physical relay control (when hardware left button is connected to relay 1 or right button to relay 2)
Solves #910
* Embedded climate (#917)
* Performance improvements
The main focus here was to reduce the number of calls between Home Assistant and ESPHome, moving logic as much as possible to TFT and ESPHome.
- Service calls moved to ESPHome (in preparation for Alarm Control Panel)
- Page change informed via event call instead of `nspanel_event` sensor (which still in use by other calls, but might be possible to remove in the future)
* Draft embedded climate
This adds an initial version of an embedded climate/thermostat (heating only for now) with support for local control even with Wi-Fi out.
Solves #646
Solves #263
* Update ReleaseNotes.md
* Fix climate slider
Fix for climate slider opening in an incorrect position and sending only the integer part of the new target temperature
* Moving home page to ESPHome
In progress...
* Fix translations - Dutch
* Embedded chip 3
Home page - Chip 3 will be controlled locally when embedded climate is enable.
* Fixed buttons bar
Fixed buttons bar managed on ESPHome when embedded climate is visible.
* Update ReleaseNotes.md
* Services back to the Blueprint
Moving service calls back to the blueprint as latest HA requires user's permissions to call HA services from ESPHome.
This still have to be used for Alarm calls due to security concerns.
* Update ReleaseNotes.md
* support to hidden ssid (#908)
Supports hidden ssid with the use of substitutions `wifi_hidden: "true"`.
This can be breaking change for users with custom/advanced wifi settings.
Solves #906
* Update nspanel_esphome.yaml
* Removed `restore_state`
There is some incomplete work related to alarms on this commit, but the focus here is to fix `restore_state` on ESPHome v2023.7.0.
This solves #939
* US model - Fan page - Redistribute icons
Redistributed icons on Fan page on US model in order to improve usability.
Based on feedback from https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6338706
* Align `nspanel_us_land`
Apply all changes from EU to US_Land
* Fix relays chips
Fix relay status indication on chips.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/926#issuecomment-1627660273
* Fix "invalid variable" for "api"
Fix error "Nextion invalid variable name" when setting `api`.
* Default embedded climate to relay_0
* Fix translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6511043
* Fix `set_temperature` for climate
Solves #957
* Fix `fan.turn_off` call
Removed timer call from fan stop button.
This solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6494535
* Call a `fan.turn_off` when percentage is 0%
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6621756
* Fix call for fan stop button
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6622377
* Icons on ESPHome
Move icons from TFT/HMI to ESPHome to prevent error on Nextion2Text.
* Updated translations - Spanish
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6548961
* Make home page sensor's icons consistent
Make icon selection consistent with chips where the entity's icon is used in case a icon is not set in the blueprint settings.
Solves #963
* Updated translations - Slovenian
Based on:
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6665723
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-6665751
* dutch (#974)
* small ducht translations
small ducht translations
* Dutch translations
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Add-on support (#977)
Moved climate settings to an add-on.
Updated documentation.
* Fixed link to addon climate docs
* Fix change brightness when sleeping
Prevents the panel to change screen brightness when sleeping.
Solves #975
* Standardize HA service calls
* Bump version to `4.0 dev`
* Create customization.md
This will reduce the need for:
- #920
- #662
- #833
* Clean-up for customizations
Clean up ESPHome in order to make easier the use of customizations.
* Create Alarm page
* Add page Alarm
* Add Alarm docs
Update docs to reflect the current state (new features & changes)
* Creating "install.md" and update add-ons instructions
* Add Alarm page buttons pics
* Add link to Alarm on page Home
* Create Alarm page
* Alarm button font color
* Add `keyb_num` page
* Alarm Control Panel with PIN (#982)
Implements an Alarm Control Panel page on NSPanel.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/66
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/227
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/672
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4874612
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/64#issuecomment-1566204490
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718
* Fix alarm without pin not working
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/pull/930#issuecomment-1680981977
* Alarm page UI
Fixed close button
Disabled buttons are darker
* Move Entities button to ESPHome
Move logic behind Entities button (Home page) from Blueprint to ESPHome in order to gain performance on creating home page.
* Human readable Uptime (#986)
* Human readable Uptime
* Uptime from Frenck code
* Uptime with Frenck code
* Updated Human Readable Uptime
* Removed trailing spaces
* Renamed sensor to "Last started"
Sensor renamed
Update moved to the boot process
Clean-up
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Co-authored-by: Edward Firmo <edward@costafirmo.com>
* Update alarm icon & color
* Revert `fast_connect` back to `false`
* Extended chars on buttons pages (#988)
Replaces #740
Probably solves #664
Probably solves #738
Probably solves #987
* Removed `fast_connect`
* Support to `code_arm_required`
Only shows the alarm PIN keyboard if a code is required for arming (or when disarming).
* Update alarm icon on home page
Refresh icon when alarm state changes.
* Fix alarm icon not updating on home page
* Home buttons new format - Alarm
Modernise the button Alarm flow on page Home to improve performance.
* Home buttons new format - Entities
Modernise the button "Entities" flow on page Home to improve performance.
* Home buttons new format - QRcode
Modernise the button "QRcode" flow on page Home to improve performance.
* Home buttons new format - Notification
Modernise the button "Notification" flow on page Home to improve performance.
I haven't moved the code from the Blueprint to ESPHome yet, as I will leave this for when we rebuild the Notification flow in the near future (hopefully), so the performance gains may not be perceived now. Just aligning with other buttons format.
* Adding screenshots
* Delete ReleaseNotes.md
Moved to the release
* New entity filter format
This new format was released with HA v2023.4 and the old one will be deprecated soon.
* Fix Alarm page bypass icon
* Bump version to 4.0
* Rename `addon_climate_heat`
* Simplify climate substitutions
* Add support for `addon_climate_cool`
* Removed `${verbose_log}`
Use logger level `VERBOSE` instead
* Fix script call
* Clean up general entities & fallback
Store inputs into variables only when needed.
Removed fallback mode - Replaced by ESPHome local control when the relay is assigned to the button in the blueprint.
* Phase out sensor `nspanel_event` (partially)
This sensor is being replaced by event calls.
* uptime sensors (#998)
* Create ReleaseNotes.md
* Fix Climate page when embedded climate
And also added a lot of logs which should be removed later as it takes from memory.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6835260
* Move brightness control to global var
Clean up page Home
* Alarm page translations - Finnish
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6857262
* Exported pics
* Clean-up TFT
- Removed a bunch of unused pics
- Changed page indicator to new format (which will allow future development to hide unused pages)
- Standardized close button in most pages
* Fixed background pics
- Entities pages
- Weather pages
* Standardize close button
* Add "Alarm" section
* Support to wake-up page on `wake_up_display` service
This changes the behavior of a service introduced by #734.
* Optimize `wake_up_display` service
* Fix icon font sizes 10 and 64
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1701903604
And also remove all the unnecessary `wait_until`
* Fix Settings page element ids
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702109668
* Add translation keys for `settings` page
#1002
* Update settings page when brightness changes on HA
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702149796
* Clean-up page settings
* update docs (#1003)
* updated docs
* Update ReleaseNotes.md
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Clean-up Cover page
I'm preparing this page to have icons changing based on the device_class selected to a cover.
* Clean-up boot delay
* Enable `current_page` sensor by default
Otherwise the system won´t update values unless the page is reloaded.
* Use `current_page` in blueprint conditions
One more step towards the phase out of `nspanelevent`.
* Move `script.refresh_colors` to `service.global_settings`
As this is called from a single point, there's no meaning of having a separated script.
* Fix climate icon update
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891454
* Fix button show on climate page
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891335
* Visual improvements on climate page
- Add friendly name when embedded - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891465
- Make disable icons a bit darker - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6893440
- Add space for page title in EU an US Land versions
- Reset page timer when pressing/releasing on the slider - Partially solves #990
* Don't update values when page home is not visible
To reduce load on Home Assistant and the network
* Cleanup boot sequence
Move some functionalities to ESPHome
* Display internal sensor value when wifi is out
Before it was showing on home page only when API was out. This adds a test for WiFi.
* Fix `default_target_temperature`
It also updates the page home when thermostat status changes (for the chips).
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6897727
* Adding ID to components missing it
* Renamed `wake_up_display` to `wake_up`
* Re-arrange commands list
* Add service `set_component_color`
Deprecates the following services:
- `send_command_font_color`
- `send_command_background_color`
* Fix button pages not showing
* Adjusted time for HW long click
* Fixed buttons on settings page
* Minor adjustments to page climate
And replace font 10 to size 48 (it was 64 since a few days ago).
* Updates to breaking changes list
* Page settings redesign
Clean up the UI of settings page.
Prepare for translations.
* Enable translations of Settings page
* Notification word-wrap
For EU and US_LAND only, for now.
* Notifications page rebuilt
- Notification button processed on ESPHome (as all the info is there)
- Added word-wrap for main text
- Expanded text size
- Handling display mode (used to define the number of chars per line on Notifications)
- Versioning handling - As a consequence of the previous item.
* Word-wrap buttons pages
Taking advantage of the algorithm created for notifications.
* Word-wrap for Alarm page
* Version mismatch notication
* Fix ESPHome not starting with older TFT
* Rebuilt home page status bar update
* Updated translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-6926846
Thanks @MaiPiu
* Fix `Nextion reported variable name invalid!`
* Fix `Nextion variable invalid`
* Handle `embedded_indoor_temperature`
Internal temperature display will be handled locally (ESPHome) when no other sensor is selected.
* Review temperature correction engine
* Fix display climate chip
* update `temp_nspanel` when correction changes
* Fix `Fan` page not open with long press HW button
Solves #1007
* Minor adjustments on settings page
* version 4.0 ready for release
* Clean-up docs
---------
Co-authored-by: bkbartk <bartkock@outlook.com>
Co-authored-by: w00zy <WZYProjects+github@gmail.com>
* Fix Fan page button colors when opening
Solves #1017
* Translations (#1023)
* Translations
* Update nspanel_blueprint.yaml
I've changed `brightness` for now as the new design isn't implemented yet, but that string is already in use with the current design.
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Adjustments to settings page
* Fix entity info when calling detailed pages
Solves #1022
* Added `media_player` page (hidden)
* New "Confirm" pop-up
This also removes the sensor "NSPanel Event"
* Fix pages not updating values
Solves #1026
* Media player - Buttons
- Added code to buttons on media_player page.
- Clean-up:
- Moved wake-up select from Blueprint to ESPHome component
- Removed `switch.xxxxx_confirmation_message`
* Fix logging for global_settings
It was logging wakeup_page, which is deprecated
* Improved version notification
* Removed trailing spaces
* Notification for `sensor.xxxxx_current_page` missing
This might be a common issue for users migrating from v3.4 to v3.5.
This information is part of the release notes, but I believe it worth having a guide to support closely any user who miss that in the release notes.
* Simplify `touchevent` engine
The touch event is used only for the sleeping engine (it will be used for dimming later) and it was transferring all the json info with page name, component, entity, etc.
This was replaced by a simple random integer with no meaning other than "the screen was touched, reset the timer".
* Media player first buttons actions
* Fix unknown service: `media_player.null`
* Media Player control
You will be able to add a Media Player entity to any of the buttons pages and with a long press you will see the media player page.
* Remove dimming timer for now
The funcionality isn't completed.
* Home page - Custom buttons
On the blueprint you can now set up to 3 buttons to be shown on Home page.
It will show the detailed settings page, so the entity must be compatible.
* Fix Media player missing parameters
Possibly solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1030#discussioncomment-6984573
* Prevents calls to `media_player.null`
* Remove `entity` info from pages on TFT
Since v3.4, the info about entity_id shown was going all the way to Nextion and then sent back in the json return, however this requires a long (100-char) global var and the way it was implemented, it was one of those per settings page, as climate should be also recorded at the same time in case the embedded climate was installed.
This was taking too much memory, so I've moved this info to a global variable (string) in ESPHome.
There is now lots of space for code cleaning (and still pending to do the same with climate entity, as it could be only a bool to inform if embedded), but this brings the functionality.
This enabled the return to global for some components, so it probably solves #1031
* Prototyping `power` page
Thanks @Floppe for doing the design
#838
* Prototyping `power` page
* New sleep flow
* Removed trailing spaces
* Fix empty page climate
* Fix names on button pages
Fix names when a name is not provided in the blueprint settings.
* Fix call to sleep routine when timeout changes
Solves #1037
* Replace `confirm` var on buttons pages
Simpler and saves some memory.
* Clean-up
* Align the code for the 3 timers
* Extend domains supported by home page custom buttons
Based on #1034
* Fix error when btn_label is `None`
* Fix `Variable invalid` on buttons pages
* Fix constructor of Entity pages
* Fallback even when button is assigned to another entity
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/1013#issuecomment-1720107844
* Add inputs for media player refresh time
* Adjustments to Media Player refresh interval default values
* Use panel's events to reset timers
Possibly solves #1040
Possibly solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-7020153
* State based colors to home page custom buttons
* Fix alarm not changing status
Do not clear `entity_id` when opening keyboard page, so the info can be used when sending commands.
Solves #1039
* Missing `nspanel_us.tft`
* add `touchevents` to pages `media_player` and `confirm`
To avoid panel going back to Home page while user is playing with the page.
Solves #1040
* Media player minor layout changes
* Media player - Volume timer & icon size
Volume timer changed from 1000 to 500ms
Icon change from font 9 to 10
* Media player roll back font 9 and timer 1s
* Don't send to Nextion obsolete volume settings
If the volume is the same as the last one sent to the screen, don't send again, so if changes are being made on the screen it didn't receive the update all the time, making the slider unresponsive.
* Media player - Layout improvement
- Removed button "Stop"
- Increase touch area for buttons
- Redistributed buttons on page
* Add touchevents to page climate
Possibly solves #995
* Resolve validation
* Correct playing time based on `updated_at` attribute
* Prepare for when attribute is not available
* Fix attribute `media_position`
* Fix time duration when HA isn't updating position
* Fix climate page not opening when offline
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6834067
* Clean-up release notes
* Clean up code
- Removed commented out lines
- Removed temporary logs
Getting prepared to release
* Bump version to 4.0beta
To reduce the chance of an obsolete file in use after the release.
* Change version to 4.0dev
To differentiate from beta.
* Added missing translations (#1047)
* Added missing translations
Added missing translations for the Swedish translation.
* Caption first char
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Translations to Slovak on Settings page
* Refresh docs
* Update nspanel_blank.md
* Update nspanel_blank.md
* Add screensaver to `nspanel_blank.tft`
And build a new tft with latest firmware and url for instructions.
* Update nspanel_blank.md
* Fix to Slovenian translation
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-7041796
* Settings page - Translations to French
From https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-7045452
* Alarm page - Translations to French
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-7046479
* Add customization for display sleeping/awake
Probably solves #1035
* Customizations - Blank TFT button
Probably solves #1048
* Customizations - Deep sleep
Solves #955
* Customization - Deep sleep - Fix broken link
* Translations - Slovak
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-7054153
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-7054142
* New versioning - not implemented
* Bump version to `4.0b2`
---------
Co-authored-by: bkbartk <bartkock@outlook.com>
Co-authored-by: w00zy <WZYProjects+github@gmail.com>
Co-authored-by: w00zy <52609940+WZYProjects@users.noreply.github.com>
Co-authored-by: Erik Larsson <erik1337.el@gmail.com>
* v4.0 release (#1054)
* Sensor display precision (#880)
Now the values shown in your panel will follow the [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision) provided by Home Assistant.
=> If you have problems with a value exceeding the available space in your panel, please reduce the number of decimals using Home Assistant [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision).
* New language selector (#882)
* New language selector
* Update ReleaseNotes.md
* Update ReleaseNotes.md
* Remove `settings_entity` (#887)
* Remove `settings_entity`
- Bump version to 3.5_dev
- Removed references to pictures removed from TFT
- Removed code related to closing settings pages
- Removed trigger `settings_entity`
* Removed `set_settings_entity` service
- Bump version to 3.5_dev
- Removed `set_settings_entity` service - BREAKING CHANGE
- Removed `settings_entity` text-sensor - BREAKING CHANGE
- Added service `open_entity_settings_page` - BREAKING CHANGE
* Removed `settings_entity`
- Bump version to 3.5_dev
- Removed old climate page (climate_backup)
- Removed pics related to old climate page (ids 16-47, 80-83, 95-96 and 125(US only))
- Enforces brightness on any page change (this allows wake-up on settings page with long press on physical buttons) - Pending removing code from Blueprint
- Added `entity` variable on pages `climate`, `lightsettings` and `coversettings`
- Added `entity` info to `nspanelevent` on pages `climate`, `lightsettings` and `coversettings`
- Added `back_page` variable on pages `climate`, `lightsettings` and `coversettings` (default: home)
- Moving to TFT close page logic on pages `climate`, `lightsettings` and `coversettings` - Pending changes on Blueprint and ESPHome
- Standardized name for `page_label` on pages `climate`, `lightsettings` and `coversettings`
- Standardized settings page names: `climate`, `cover` and `light` (Removed `settings` from page name)
* Removed `settings_entity`
* Removed `settings_entity`
* Removed `settings_entity`
* Move `entity` variable to home page (#889)
* Move `entity` variable to home page
This will enable future development of a fallback climate
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Use `en` as fallback language (#891)
* Use `en` as fallback language
Uses English if a non valid language is selected (like when using legacy language selection).
* Use `en` as fallback language
* Create `nspanel_us_land.tft` (#890)
* Create `nspanel_us_land.tft'
Add `nspanel_us_land.tft' for US panel on landscape mode, fixing the offset on the touch screen when using `nspanel_eu.tft` into a US panel.
Hides the hardware buttons labels, as Nextion cannot support rotated text.
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
solves #390
solves #432
solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4933716
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
* Fix "Button confirmation page not working correctly"
Solves #883
* Supports weather forecast with `datetime` not string
This adds support to weather integrations where the `datetime` field under `forecast` attribute is provided as a `datetime` type.
This was seen on Météo-France, while all other weather integrations tested so far used a `text` field for `datetime`.
This solves #893
* Wifi icon to indicate when API offline
This changes the behavior of Wifi icon:
How it was before:
- Wifi icon was visible only when the wifi was connected, nothing was shown when wifi was not connected.
How it is now:
- Wifi icon will have 3 states:
- Wifi & API connected: Gray wifi icon
- Wifi disconnected: Red wifi-off icon
- Wifi connected, but API disconnected (HA is out?): Red api-off icon
* API status indication on the panel
* Limit light & cover to supported settings (#896)
* Limit light to supported settings
When showing light settings, only the supported features will be shown for each light.
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
This partially solves #635
* Limits covers to supported settings
Only show cover settings when `set_position` is supported.
This solves #635
* Limits covers to supported settings
* Update instructions.md
* Add Fan speed settings page (#897)
* Add Fan speed settings page
Add an initial fan speed control page for fans supporting speed control.
Add speed (%) info in the buttons pages.
Solves #404
Solves #791
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5786106
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Fix name on confirmation page
Fix the entity name on the confirmation page.
The new order is:
1. Name set on the blueprint settings
2. Entity's `friendly_name` attribute
3. Entity's `name` attribute
4. Entity's `entity_id`
Solves #501
* Select wake-up page (#898)
* Select wake-up page
Users will be able to select the wake-up page on the blueprint inputs.
This selected page will be shown after a boot (after the boot page) and with a touch in the screen when on screen saver page.
After showing this wake-up page, all the previous behavior for closing the page (with a click or after a timeout) will be the same.
Solves #576
Solves #612
Solves #801
Probably improves for https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5715670
* Select wake-up page
* Fan update engine
Change the fan update engine to follow the same patter as other settings pages.
* Update ReleaseNotes.md
* Adding vertical bars pics
* Panel offline mode (#900)
* Panel offline mode
Introduces "offline mode" for the panel, which will be used later with a fallback climate.
Pages that are depending on the blueprint (buttons pages, entity pages, settings pages, etc) won't be shown when the API is disconnected.
* Panel offline mode
* Panel offline mode
* Panel offline mode
* Panel offline mode
* "Jump to settings" on tft
Moved "Jump to settings page" routine from ESPHome to TFT in order to reduce complexity.
* Exclude Nextion2Text
Exclude Nextion2Text
* Fix validation issue
* Time engine on ESPHome
* Time engine on ESPHome
* Notification page bigger hotspot
Added hotspots around the buttons (Accept & Clear) on Notification page to make easier to click on those.
Solves #907
* Boot page retry comm
The boot page will retry communication with the blueprint once a minute to avoid the situation where that page is shown until the automation is reloaded.
* Fix call to screen page
Fixes the call to screen page on US panel.
Reconciliate the US landscape model from EU model.
* Fix fan page `button_on`
Fixing rounding on that button.
* Fixed Fan page rounding
* Prevents boot sequence in other pages
* Physical relay local control
We are trying to make your panel as autonomous as possible by moving some of the controls from the Blueprint to ESPHome. This will reduce the load in your network and Home Assistant, but also will make a more reliable system capable to do it's core functionality even when the network is unavailable or Home Assistant is restarting.
With this version, the following engines have been moved to your panel (local control):
- Physical relay control (when hardware left button is connected to relay 1 or right button to relay 2)
Solves #910
* Embedded climate (#917)
* Performance improvements
The main focus here was to reduce the number of calls between Home Assistant and ESPHome, moving logic as much as possible to TFT and ESPHome.
- Service calls moved to ESPHome (in preparation for Alarm Control Panel)
- Page change informed via event call instead of `nspanel_event` sensor (which still in use by other calls, but might be possible to remove in the future)
* Draft embedded climate
This adds an initial version of an embedded climate/thermostat (heating only for now) with support for local control even with Wi-Fi out.
Solves #646
Solves #263
* Update ReleaseNotes.md
* Fix climate slider
Fix for climate slider opening in an incorrect position and sending only the integer part of the new target temperature
* Moving home page to ESPHome
In progress...
* Fix translations - Dutch
* Embedded chip 3
Home page - Chip 3 will be controlled locally when embedded climate is enable.
* Fixed buttons bar
Fixed buttons bar managed on ESPHome when embedded climate is visible.
* Update ReleaseNotes.md
* Services back to the Blueprint
Moving service calls back to the blueprint as latest HA requires user's permissions to call HA services from ESPHome.
This still have to be used for Alarm calls due to security concerns.
* Update ReleaseNotes.md
* support to hidden ssid (#908)
Supports hidden ssid with the use of substitutions `wifi_hidden: "true"`.
This can be breaking change for users with custom/advanced wifi settings.
Solves #906
* Update nspanel_esphome.yaml
* Removed `restore_state`
There is some incomplete work related to alarms on this commit, but the focus here is to fix `restore_state` on ESPHome v2023.7.0.
This solves #939
* US model - Fan page - Redistribute icons
Redistributed icons on Fan page on US model in order to improve usability.
Based on feedback from https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6338706
* Align `nspanel_us_land`
Apply all changes from EU to US_Land
* Fix relays chips
Fix relay status indication on chips.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/926#issuecomment-1627660273
* Fix "invalid variable" for "api"
Fix error "Nextion invalid variable name" when setting `api`.
* Default embedded climate to relay_0
* Fix issue with `restore_state` and ESPHome v2023.7.0 (#941)
Solves #939
* Fix translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6511043
* Fix `set_temperature` for climate
Solves #957
* Fix `fan.turn_off` call
Removed timer call from fan stop button.
This solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6494535
* Call a `fan.turn_off` when percentage is 0%
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6621756
* Fix call for fan stop button
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6622377
* Icons on ESPHome
Move icons from TFT/HMI to ESPHome to prevent error on Nextion2Text.
* Updated translations - Spanish
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6548961
* Make home page sensor's icons consistent
Make icon selection consistent with chips where the entity's icon is used in case a icon is not set in the blueprint settings.
Solves #963
* Updated translations - Slovenian
Based on:
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6665723
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-6665751
* dutch (#974)
* small ducht translations
small ducht translations
* Dutch translations
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Add-on support (#977)
Moved climate settings to an add-on.
Updated documentation.
* Fixed link to addon climate docs
* Fix change brightness when sleeping
Prevents the panel to change screen brightness when sleeping.
Solves #975
* Standardize HA service calls
* Bump version to `4.0 dev`
* Create customization.md
This will reduce the need for:
- #920
- #662
- #833
* Clean-up for customizations
Clean up ESPHome in order to make easier the use of customizations.
* Create Alarm page
* Add page Alarm
* Add Alarm docs
Update docs to reflect the current state (new features & changes)
* Creating "install.md" and update add-ons instructions
* Add Alarm page buttons pics
* Add link to Alarm on page Home
* Create Alarm page
* Alarm button font color
* Add `keyb_num` page
* Alarm Control Panel with PIN (#982)
Implements an Alarm Control Panel page on NSPanel.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/66
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/227
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/672
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4874612
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/64#issuecomment-1566204490
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718
* Fix alarm without pin not working
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/pull/930#issuecomment-1680981977
* Alarm page UI
Fixed close button
Disabled buttons are darker
* Move Entities button to ESPHome
Move logic behind Entities button (Home page) from Blueprint to ESPHome in order to gain performance on creating home page.
* Human readable Uptime (#986)
* Human readable Uptime
* Uptime from Frenck code
* Uptime with Frenck code
* Updated Human Readable Uptime
* Removed trailing spaces
* Renamed sensor to "Last started"
Sensor renamed
Update moved to the boot process
Clean-up
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Co-authored-by: Edward Firmo <edward@costafirmo.com>
* Update alarm icon & color
* Revert `fast_connect` back to `false`
* Extended chars on buttons pages (#988)
Replaces #740
Probably solves #664
Probably solves #738
Probably solves #987
* Removed `fast_connect`
* Support to `code_arm_required`
Only shows the alarm PIN keyboard if a code is required for arming (or when disarming).
* Update alarm icon on home page
Refresh icon when alarm state changes.
* Fix alarm icon not updating on home page
* Home buttons new format - Alarm
Modernise the button Alarm flow on page Home to improve performance.
* Home buttons new format - Entities
Modernise the button "Entities" flow on page Home to improve performance.
* Home buttons new format - QRcode
Modernise the button "QRcode" flow on page Home to improve performance.
* Home buttons new format - Notification
Modernise the button "Notification" flow on page Home to improve performance.
I haven't moved the code from the Blueprint to ESPHome yet, as I will leave this for when we rebuild the Notification flow in the near future (hopefully), so the performance gains may not be perceived now. Just aligning with other buttons format.
* Adding screenshots
* Delete ReleaseNotes.md
Moved to the release
* New entity filter format
This new format was released with HA v2023.4 and the old one will be deprecated soon.
* Fix Alarm page bypass icon
* Bump version to 4.0
* Rename `addon_climate_heat`
* Simplify climate substitutions
* Add support for `addon_climate_cool`
* Removed `${verbose_log}`
Use logger level `VERBOSE` instead
* Fix script call
* Clean up general entities & fallback
Store inputs into variables only when needed.
Removed fallback mode - Replaced by ESPHome local control when the relay is assigned to the button in the blueprint.
* Phase out sensor `nspanel_event` (partially)
This sensor is being replaced by event calls.
* uptime sensors (#998)
* Create ReleaseNotes.md
* Fix Climate page when embedded climate
And also added a lot of logs which should be removed later as it takes from memory.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6835260
* Move brightness control to global var
Clean up page Home
* Alarm page translations - Finnish
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6857262
* Exported pics
* Clean-up TFT
- Removed a bunch of unused pics
- Changed page indicator to new format (which will allow future development to hide unused pages)
- Standardized close button in most pages
* Fixed background pics
- Entities pages
- Weather pages
* Standardize close button
* Add "Alarm" section
* Support to wake-up page on `wake_up_display` service
This changes the behavior of a service introduced by #734.
* Optimize `wake_up_display` service
* Fix icon font sizes 10 and 64
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1701903604
And also remove all the unnecessary `wait_until`
* Fix Settings page element ids
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702109668
* Add translation keys for `settings` page
#1002
* Update settings page when brightness changes on HA
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702149796
* Clean-up page settings
* update docs (#1003)
* updated docs
* Update ReleaseNotes.md
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Clean-up Cover page
I'm preparing this page to have icons changing based on the device_class selected to a cover.
* Clean-up boot delay
* Enable `current_page` sensor by default
Otherwise the system won´t update values unless the page is reloaded.
* Use `current_page` in blueprint conditions
One more step towards the phase out of `nspanelevent`.
* Move `script.refresh_colors` to `service.global_settings`
As this is called from a single point, there's no meaning of having a separated script.
* Fix climate icon update
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891454
* Fix button show on climate page
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891335
* Visual improvements on climate page
- Add friendly name when embedded - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891465
- Make disable icons a bit darker - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6893440
- Add space for page title in EU an US Land versions
- Reset page timer when pressing/releasing on the slider - Partially solves #990
* Don't update values when page home is not visible
To reduce load on Home Assistant and the network
* Cleanup boot sequence
Move some functionalities to ESPHome
* Display internal sensor value when wifi is out
Before it was showing on home page only when API was out. This adds a test for WiFi.
* Fix `default_target_temperature`
It also updates the page home when thermostat status changes (for the chips).
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6897727
* Adding ID to components missing it
* Renamed `wake_up_display` to `wake_up`
* Re-arrange commands list
* Add service `set_component_color`
Deprecates the following services:
- `send_command_font_color`
- `send_command_background_color`
* Fix button pages not showing
* Adjusted time for HW long click
* Fixed buttons on settings page
* Minor adjustments to page climate
And replace font 10 to size 48 (it was 64 since a few days ago).
* Updates to breaking changes list
* Page settings redesign
Clean up the UI of settings page.
Prepare for translations.
* Enable translations of Settings page
* Notification word-wrap
For EU and US_LAND only, for now.
* Notifications page rebuilt
- Notification button processed on ESPHome (as all the info is there)
- Added word-wrap for main text
- Expanded text size
- Handling display mode (used to define the number of chars per line on Notifications)
- Versioning handling - As a consequence of the previous item.
* Word-wrap buttons pages
Taking advantage of the algorithm created for notifications.
* Word-wrap for Alarm page
* Version mismatch notication
* Fix ESPHome not starting with older TFT
* Rebuilt home page status bar update
* Updated translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-6926846
Thanks @MaiPiu
* Fix `Nextion reported variable name invalid!`
* Fix `Nextion variable invalid`
* Handle `embedded_indoor_temperature`
Internal temperature display will be handled locally (ESPHome) when no other sensor is selected.
* Review temperature correction engine
* Fix display climate chip
* update `temp_nspanel` when correction changes
* Fix `Fan` page not open with long press HW button
Solves #1007
* Minor adjustments on settings page
* version 4.0 ready for release
* Clean-up docs
* Improve version notification
* Disable restore `notification_unread`
This must be changed to a binary sensor in the future.
* Beta v4.0 (#1012)
* Create ReleaseNotes.md (#879)
* Create ReleaseNotes.md
* sensor display precision
* Filter devices to esp32 only (#881)
* Filter devices to esp32 only
Show only ESP32 devices when selecting the panel
* Filtered device list
* Sensor display precision (#880)
Now the values shown in your panel will follow the [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision) provided by Home Assistant.
=> If you have problems with a value exceeding the available space in your panel, please reduce the number of decimals using Home Assistant [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision).
* New language selector (#882)
* New language selector
* Update ReleaseNotes.md
* Update ReleaseNotes.md
* Remove `settings_entity` (#887)
* Remove `settings_entity`
- Bump version to 3.5_dev
- Removed references to pictures removed from TFT
- Removed code related to closing settings pages
- Removed trigger `settings_entity`
* Removed `set_settings_entity` service
- Bump version to 3.5_dev
- Removed `set_settings_entity` service - BREAKING CHANGE
- Removed `settings_entity` text-sensor - BREAKING CHANGE
- Added service `open_entity_settings_page` - BREAKING CHANGE
* Removed `settings_entity`
- Bump version to 3.5_dev
- Removed old climate page (climate_backup)
- Removed pics related to old climate page (ids 16-47, 80-83, 95-96 and 125(US only))
- Enforces brightness on any page change (this allows wake-up on settings page with long press on physical buttons) - Pending removing code from Blueprint
- Added `entity` variable on pages `climate`, `lightsettings` and `coversettings`
- Added `entity` info to `nspanelevent` on pages `climate`, `lightsettings` and `coversettings`
- Added `back_page` variable on pages `climate`, `lightsettings` and `coversettings` (default: home)
- Moving to TFT close page logic on pages `climate`, `lightsettings` and `coversettings` - Pending changes on Blueprint and ESPHome
- Standardized name for `page_label` on pages `climate`, `lightsettings` and `coversettings`
- Standardized settings page names: `climate`, `cover` and `light` (Removed `settings` from page name)
* Removed `settings_entity`
* Removed `settings_entity`
* Removed `settings_entity`
* Move `entity` variable to home page (#889)
* Move `entity` variable to home page
This will enable future development of a fallback climate
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Use `en` as fallback language (#891)
* Use `en` as fallback language
Uses English if a non valid language is selected (like when using legacy language selection).
* Use `en` as fallback language
* Create `nspanel_us_land.tft` (#890)
* Create `nspanel_us_land.tft'
Add `nspanel_us_land.tft' for US panel on landscape mode, fixing the offset on the touch screen when using `nspanel_eu.tft` into a US panel.
Hides the hardware buttons labels, as Nextion cannot support rotated text.
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
solves #390
solves #432
solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4933716
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
* Fix "Button confirmation page not working correctly"
Solves #883
* Supports weather forecast with `datetime` not string
This adds support to weather integrations where the `datetime` field under `forecast` attribute is provided as a `datetime` type.
This was seen on Météo-France, while all other weather integrations tested so far used a `text` field for `datetime`.
This solves #893
* Wifi icon to indicate when API offline
This changes the behavior of Wifi icon:
How it was before:
- Wifi icon was visible only when the wifi was connected, nothing was shown when wifi was not connected.
How it is now:
- Wifi icon will have 3 states:
- Wifi & API connected: Gray wifi icon
- Wifi disconnected: Red wifi-off icon
- Wifi connected, but API disconnected (HA is out?): Red api-off icon
* API status indication on the panel
* Limit light & cover to supported settings (#896)
* Limit light to supported settings
When showing light settings, only the supported features will be shown for each light.
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
This partially solves #635
* Limits covers to supported settings
Only show cover settings when `set_position` is supported.
This solves #635
* Limits covers to supported settings
* Update instructions.md
* Add Fan speed settings page (#897)
* Add Fan speed settings page
Add an initial fan speed control page for fans supporting speed control.
Add speed (%) info in the buttons pages.
Solves #404
Solves #791
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5786106
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Fix name on confirmation page
Fix the entity name on the confirmation page.
The new order is:
1. Name set on the blueprint settings
2. Entity's `friendly_name` attribute
3. Entity's `name` attribute
4. Entity's `entity_id`
Solves #501
* Select wake-up page (#898)
* Select wake-up page
Users will be able to select the wake-up page on the blueprint inputs.
This selected page will be shown after a boot (after the boot page) and with a touch in the screen when on screen saver page.
After showing this wake-up page, all the previous behavior for closing the page (with a click or after a timeout) will be the same.
Solves #576
Solves #612
Solves #801
Probably improves for https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5715670
* Select wake-up page
* Fan update engine
Change the fan update engine to follow the same patter as other settings pages.
* Update ReleaseNotes.md
* Adding vertical bars pics
* Panel offline mode (#900)
* Panel offline mode
Introduces "offline mode" for the panel, which will be used later with a fallback climate.
Pages that are depending on the blueprint (buttons pages, entity pages, settings pages, etc) won't be shown when the API is disconnected.
* Panel offline mode
* Panel offline mode
* Panel offline mode
* Panel offline mode
* "Jump to settings" on tft
Moved "Jump to settings page" routine from ESPHome to TFT in order to reduce complexity.
* Exclude Nextion2Text
Exclude Nextion2Text
* Fix validation issue
* Time engine on ESPHome
* Time engine on ESPHome
* Notification page bigger hotspot
Added hotspots around the buttons (Accept & Clear) on Notification page to make easier to click on those.
Solves #907
* Boot page retry comm
The boot page will retry communication with the blueprint once a minute to avoid the situation where that page is shown until the automation is reloaded.
* Fix call to screen page
Fixes the call to screen page on US panel.
Reconciliate the US landscape model from EU model.
* Fix fan page `button_on`
Fixing rounding on that button.
* Fixed Fan page rounding
* Prevents boot sequence in other pages
* Physical relay local control
We are trying to make your panel as autonomous as possible by moving some of the controls from the Blueprint to ESPHome. This will reduce the load in your network and Home Assistant, but also will make a more reliable system capable to do it's core functionality even when the network is unavailable or Home Assistant is restarting.
With this version, the following engines have been moved to your panel (local control):
- Physical relay control (when hardware left button is connected to relay 1 or right button to relay 2)
Solves #910
* Embedded climate (#917)
* Performance improvements
The main focus here was to reduce the number of calls between Home Assistant and ESPHome, moving logic as much as possible to TFT and ESPHome.
- Service calls moved to ESPHome (in preparation for Alarm Control Panel)
- Page change informed via event call instead of `nspanel_event` sensor (which still in use by other calls, but might be possible to remove in the future)
* Draft embedded climate
This adds an initial version of an embedded climate/thermostat (heating only for now) with support for local control even with Wi-Fi out.
Solves #646
Solves #263
* Update ReleaseNotes.md
* Fix climate slider
Fix for climate slider opening in an incorrect position and sending only the integer part of the new target temperature
* Moving home page to ESPHome
In progress...
* Fix translations - Dutch
* Embedded chip 3
Home page - Chip 3 will be controlled locally when embedded climate is enable.
* Fixed buttons bar
Fixed buttons bar managed on ESPHome when embedded climate is visible.
* Update ReleaseNotes.md
* Services back to the Blueprint
Moving service calls back to the blueprint as latest HA requires user's permissions to call HA services from ESPHome.
This still have to be used for Alarm calls due to security concerns.
* Update ReleaseNotes.md
* support to hidden ssid (#908)
Supports hidden ssid with the use of substitutions `wifi_hidden: "true"`.
This can be breaking change for users with custom/advanced wifi settings.
Solves #906
* Update nspanel_esphome.yaml
* Removed `restore_state`
There is some incomplete work related to alarms on this commit, but the focus here is to fix `restore_state` on ESPHome v2023.7.0.
This solves #939
* US model - Fan page - Redistribute icons
Redistributed icons on Fan page on US model in order to improve usability.
Based on feedback from https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6338706
* Align `nspanel_us_land`
Apply all changes from EU to US_Land
* Fix relays chips
Fix relay status indication on chips.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/926#issuecomment-1627660273
* Fix "invalid variable" for "api"
Fix error "Nextion invalid variable name" when setting `api`.
* Default embedded climate to relay_0
* Fix translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6511043
* Fix `set_temperature` for climate
Solves #957
* Fix `fan.turn_off` call
Removed timer call from fan stop button.
This solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6494535
* Call a `fan.turn_off` when percentage is 0%
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6621756
* Fix call for fan stop button
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6622377
* Icons on ESPHome
Move icons from TFT/HMI to ESPHome to prevent error on Nextion2Text.
* Updated translations - Spanish
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6548961
* Make home page sensor's icons consistent
Make icon selection consistent with chips where the entity's icon is used in case a icon is not set in the blueprint settings.
Solves #963
* Updated translations - Slovenian
Based on:
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6665723
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-6665751
* dutch (#974)
* small ducht translations
small ducht translations
* Dutch translations
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Add-on support (#977)
Moved climate settings to an add-on.
Updated documentation.
* Fixed link to addon climate docs
* Fix change brightness when sleeping
Prevents the panel to change screen brightness when sleeping.
Solves #975
* Standardize HA service calls
* Bump version to `4.0 dev`
* Create customization.md
This will reduce the need for:
- #920
- #662
- #833
* Clean-up for customizations
Clean up ESPHome in order to make easier the use of customizations.
* Create Alarm page
* Add page Alarm
* Add Alarm docs
Update docs to reflect the current state (new features & changes)
* Creating "install.md" and update add-ons instructions
* Add Alarm page buttons pics
* Add link to Alarm on page Home
* Create Alarm page
* Alarm button font color
* Add `keyb_num` page
* Alarm Control Panel with PIN (#982)
Implements an Alarm Control Panel page on NSPanel.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/66
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/227
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/672
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4874612
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/64#issuecomment-1566204490
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718
* Fix alarm without pin not working
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/pull/930#issuecomment-1680981977
* Alarm page UI
Fixed close button
Disabled buttons are darker
* Move Entities button to ESPHome
Move logic behind Entities button (Home page) from Blueprint to ESPHome in order to gain performance on creating home page.
* Human readable Uptime (#986)
* Human readable Uptime
* Uptime from Frenck code
* Uptime with Frenck code
* Updated Human Readable Uptime
* Removed trailing spaces
* Renamed sensor to "Last started"
Sensor renamed
Update moved to the boot process
Clean-up
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Co-authored-by: Edward Firmo <edward@costafirmo.com>
* Update alarm icon & color
* Revert `fast_connect` back to `false`
* Extended chars on buttons pages (#988)
Replaces #740
Probably solves #664
Probably solves #738
Probably solves #987
* Removed `fast_connect`
* Support to `code_arm_required`
Only shows the alarm PIN keyboard if a code is required for arming (or when disarming).
* Update alarm icon on home page
Refresh icon when alarm state changes.
* Fix alarm icon not updating on home page
* Home buttons new format - Alarm
Modernise the button Alarm flow on page Home to improve performance.
* Home buttons new format - Entities
Modernise the button "Entities" flow on page Home to improve performance.
* Home buttons new format - QRcode
Modernise the button "QRcode" flow on page Home to improve performance.
* Home buttons new format - Notification
Modernise the button "Notification" flow on page Home to improve performance.
I haven't moved the code from the Blueprint to ESPHome yet, as I will leave this for when we rebuild the Notification flow in the near future (hopefully), so the performance gains may not be perceived now. Just aligning with other buttons format.
* Adding screenshots
* Delete ReleaseNotes.md
Moved to the release
* New entity filter format
This new format was released with HA v2023.4 and the old one will be deprecated soon.
* Fix Alarm page bypass icon
* Bump version to 4.0
* Rename `addon_climate_heat`
* Simplify climate substitutions
* Add support for `addon_climate_cool`
* Removed `${verbose_log}`
Use logger level `VERBOSE` instead
* Fix script call
* Clean up general entities & fallback
Store inputs into variables only when needed.
Removed fallback mode - Replaced by ESPHome local control when the relay is assigned to the button in the blueprint.
* Phase out sensor `nspanel_event` (partially)
This sensor is being replaced by event calls.
* uptime sensors (#998)
* Create ReleaseNotes.md
* Fix Climate page when embedded climate
And also added a lot of logs which should be removed later as it takes from memory.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6835260
* Move brightness control to global var
Clean up page Home
* Alarm page translations - Finnish
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6857262
* Exported pics
* Clean-up TFT
- Removed a bunch of unused pics
- Changed page indicator to new format (which will allow future development to hide unused pages)
- Standardized close button in most pages
* Fixed background pics
- Entities pages
- Weather pages
* Standardize close button
* Add "Alarm" section
* Support to wake-up page on `wake_up_display` service
This changes the behavior of a service introduced by #734.
* Optimize `wake_up_display` service
* Fix icon font sizes 10 and 64
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1701903604
And also remove all the unnecessary `wait_until`
* Fix Settings page element ids
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702109668
* Add translation keys for `settings` page
#1002
* Update settings page when brightness changes on HA
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702149796
* Clean-up page settings
* update docs (#1003)
* updated docs
* Update ReleaseNotes.md
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Clean-up Cover page
I'm preparing this page to have icons changing based on the device_class selected to a cover.
* Clean-up boot delay
* Enable `current_page` sensor by default
Otherwise the system won´t update values unless the page is reloaded.
* Use `current_page` in blueprint conditions
One more step towards the phase out of `nspanelevent`.
* Move `script.refresh_colors` to `service.global_settings`
As this is called from a single point, there's no meaning of having a separated script.
* Fix climate icon update
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891454
* Fix button show on climate page
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891335
* Visual improvements on climate page
- Add friendly name when embedded - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891465
- Make disable icons a bit darker - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6893440
- Add space for page title in EU an US Land versions
- Reset page timer when pressing/releasing on the slider - Partially solves #990
* Don't update values when page home is not visible
To reduce load on Home Assistant and the network
* Cleanup boot sequence
Move some functionalities to ESPHome
* Display internal sensor value when wifi is out
Before it was showing on home page only when API was out. This adds a test for WiFi.
* Fix `default_target_temperature`
It also updates the page home when thermostat status changes (for the chips).
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6897727
* Adding ID to components missing it
* Renamed `wake_up_display` to `wake_up`
* Re-arrange commands list
* Add service `set_component_color`
Deprecates the following services:
- `send_command_font_color`
- `send_command_background_color`
* Fix button pages not showing
* Adjusted time for HW long click
* Fixed buttons on settings page
* Minor adjustments to page climate
And replace font 10 to size 48 (it was 64 since a few days ago).
* Updates to breaking changes list
* Page settings redesign
Clean up the UI of settings page.
Prepare for translations.
* Enable translations of Settings page
* Notification word-wrap
For EU and US_LAND only, for now.
* Notifications page rebuilt
- Notification button processed on ESPHome (as all the info is there)
- Added word-wrap for main text
- Expanded text size
- Handling display mode (used to define the number of chars per line on Notifications)
- Versioning handling - As a consequence of the previous item.
* Word-wrap buttons pages
Taking advantage of the algorithm created for notifications.
* Word-wrap for Alarm page
* Version mismatch notication
* Fix ESPHome not starting with older TFT
* Rebuilt home page status bar update
* Updated translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-6926846
Thanks @MaiPiu
* Fix `Nextion reported variable name invalid!`
* Fix `Nextion variable invalid`
* Handle `embedded_indoor_temperature`
Internal temperature display will be handled locally (ESPHome) when no other sensor is selected.
* Review temperature correction engine
* Fix display climate chip
* update `temp_nspanel` when correction changes
* Fix `Fan` page not open with long press HW button
Solves #1007
* Minor adjustments on settings page
* version 4.0 ready for release
* Clean-up docs
---------
Co-authored-by: bkbartk <bartkock@outlook.com>
Co-authored-by: w00zy <WZYProjects+github@gmail.com>
* Fix Fan page button colors when opening
Solves #1017
* Translations (#1023)
* Translations
* Update nspanel_blueprint.yaml
I've changed `brightness` for now as the new design isn't implemented yet, but that string is already in use with the current design.
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Adjustments to settings page
* Fix entity info when calling detailed pages
Solves #1022
* Added `media_player` page (hidden)
* New "Confirm" pop-up
This also removes the sensor "NSPanel Event"
* Fix pages not updating values
Solves #1026
* Media player - Buttons
- Added code to buttons on media_player page.
- Clean-up:
- Moved wake-up select from Blueprint to ESPHome component
- Removed `switch.xxxxx_confirmation_message`
* Fix logging for global_settings
It was logging wakeup_page, which is deprecated
* Improved version notification
* Removed trailing spaces
* Notification for `sensor.xxxxx_current_page` missing
This might be a common issue for users migrating from v3.4 to v3.5.
This information is part of the release notes, but I believe it worth having a guide to support closely any user who miss that in the release notes.
* Simplify `touchevent` engine
The touch event is used only for the sleeping engine (it will be used for dimming later) and it was transferring all the json info with page name, component, entity, etc.
This was replaced by a simple random integer with no meaning other than "the screen was touched, reset the timer".
* Media player first buttons actions
* Fix unknown service: `media_player.null`
* Media Player control
You will be able to add a Media Player entity to any of the buttons pages and with a long press you will see the media player page.
* Remove dimming timer for now
The funcionality isn't completed.
* Home page - Custom buttons
On the blueprint you can now set up to 3 buttons to be shown on Home page.
It will show the detailed settings page, so the entity must be compatible.
* Fix Media player missing parameters
Possibly solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1030#discussioncomment-6984573
* Prevents calls to `media_player.null`
* Remove `entity` info from pages on TFT
Since v3.4, the info about entity_id shown was going all the way to Nextion and then sent back in the json return, however this requires a long (100-char) global var and the way it was implemented, it was one of those per settings page, as climate should be also recorded at the same time in case the embedded climate was installed.
This was taking too much memory, so I've moved this info to a global variable (string) in ESPHome.
There is now lots of space for code cleaning (and still pending to do the same with climate entity, as it could be only a bool to inform if embedded), but this brings the functionality.
This enabled the return to global for some components, so it probably solves #1031
* Prototyping `power` page
Thanks @Floppe for doing the design
#838
* Prototyping `power` page
* New sleep flow
* Removed trailing spaces
* Fix empty page climate
* Fix names on button pages
Fix names when a name is not provided in the blueprint settings.
* Fix call to sleep routine when timeout changes
Solves #1037
* Replace `confirm` var on buttons pages
Simpler and saves some memory.
* Clean-up
* Align the code for the 3 timers
* Extend domains supported by home page custom buttons
Based on #1034
* Fix error when btn_label is `None`
* Fix `Variable invalid` on buttons pages
* Fix constructor of Entity pages
* Fallback even when button is assigned to another entity
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/1013#issuecomment-1720107844
* Add inputs for media player refresh time
* Adjustments to Media Player refresh interval default values
* Use panel's events to reset timers
Possibly solves #1040
Possibly solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-7020153
* State based colors to home page custom buttons
* Fix alarm not changing status
Do not clear `entity_id` when opening keyboard page, so the info can be used when sending commands.
Solves #1039
* Missing `nspanel_us.tft`
* add `touchevents` to pages `media_player` and `confirm`
To avoid panel going back to Home page while user is playing with the page.
Solves #1040
* Media player minor layout changes
* Media player - Volume timer & icon size
Volume timer changed from 1000 to 500ms
Icon change from font 9 to 10
* Media player roll back font 9 and timer 1s
* Don't send to Nextion obsolete volume settings
If the volume is the same as the last one sent to the screen, don't send again, so if changes are being made on the screen it didn't receive the update all the time, making the slider unresponsive.
* Media player - Layout improvement
- Removed button "Stop"
- Increase touch area for buttons
- Redistributed buttons on page
* Add touchevents to page climate
Possibly solves #995
* Resolve validation
* Correct playing time based on `updated_at` attribute
* Prepare for when attribute is not available
* Fix attribute `media_position`
* Fix time duration when HA isn't updating position
* Fix climate page not opening when offline
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6834067
* Clean-up release notes
* Clean up code
- Removed commented out lines
- Removed temporary logs
Getting prepared to release
* Bump version to 4.0beta
To reduce the chance of an obsolete file in use after the release.
* Change version to 4.0dev
To differentiate from beta.
* Added missing translations (#1047)
* Added missing translations
Added missing translations for the Swedish translation.
* Caption first char
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Translations to Slovak on Settings page
* Refresh docs
* Update nspanel_blank.md
* Update nspanel_blank.md
* Add screensaver to `nspanel_blank.tft`
And build a new tft with latest firmware and url for instructions.
* Update nspanel_blank.md
* Fix to Slovenian translation
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-7041796
* Settings page - Translations to French
From https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-7045452
* Alarm page - Translations to French
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-7046479
* Add customization for display sleeping/awake
Probably solves #1035
* Customizations - Blank TFT button
Probably solves #1048
* Customizations - Deep sleep
Solves #955
* Customization - Deep sleep - Fix broken link
* Translations - Slovak
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-7054153
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-7054142
* New versioning - not implemented
* Bump version to `4.0b2`
* v4.0 release
---------
Co-authored-by: bkbartk <bartkock@outlook.com>
Co-authored-by: w00zy <WZYProjects+github@gmail.com>
Co-authored-by: w00zy <52609940+WZYProjects@users.noreply.github.com>
Co-authored-by: Erik Larsson <erik1337.el@gmail.com>
---------
Co-authored-by: bkbartk <bartkock@outlook.com>
Co-authored-by: w00zy <WZYProjects+github@gmail.com>
Co-authored-by: w00zy <52609940+WZYProjects@users.noreply.github.com>
Co-authored-by: Erik Larsson <erik1337.el@gmail.com>
* Sensor display precision (#880)
Now the values shown in your panel will follow the [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision) provided by Home Assistant.
=> If you have problems with a value exceeding the available space in your panel, please reduce the number of decimals using Home Assistant [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision).
* New language selector (#882)
* New language selector
* Update ReleaseNotes.md
* Update ReleaseNotes.md
* Remove `settings_entity` (#887)
* Remove `settings_entity`
- Bump version to 3.5_dev
- Removed references to pictures removed from TFT
- Removed code related to closing settings pages
- Removed trigger `settings_entity`
* Removed `set_settings_entity` service
- Bump version to 3.5_dev
- Removed `set_settings_entity` service - BREAKING CHANGE
- Removed `settings_entity` text-sensor - BREAKING CHANGE
- Added service `open_entity_settings_page` - BREAKING CHANGE
* Removed `settings_entity`
- Bump version to 3.5_dev
- Removed old climate page (climate_backup)
- Removed pics related to old climate page (ids 16-47, 80-83, 95-96 and 125(US only))
- Enforces brightness on any page change (this allows wake-up on settings page with long press on physical buttons) - Pending removing code from Blueprint
- Added `entity` variable on pages `climate`, `lightsettings` and `coversettings`
- Added `entity` info to `nspanelevent` on pages `climate`, `lightsettings` and `coversettings`
- Added `back_page` variable on pages `climate`, `lightsettings` and `coversettings` (default: home)
- Moving to TFT close page logic on pages `climate`, `lightsettings` and `coversettings` - Pending changes on Blueprint and ESPHome
- Standardized name for `page_label` on pages `climate`, `lightsettings` and `coversettings`
- Standardized settings page names: `climate`, `cover` and `light` (Removed `settings` from page name)
* Removed `settings_entity`
* Removed `settings_entity`
* Removed `settings_entity`
* Move `entity` variable to home page (#889)
* Move `entity` variable to home page
This will enable future development of a fallback climate
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Use `en` as fallback language (#891)
* Use `en` as fallback language
Uses English if a non valid language is selected (like when using legacy language selection).
* Use `en` as fallback language
* Create `nspanel_us_land.tft` (#890)
* Create `nspanel_us_land.tft'
Add `nspanel_us_land.tft' for US panel on landscape mode, fixing the offset on the touch screen when using `nspanel_eu.tft` into a US panel.
Hides the hardware buttons labels, as Nextion cannot support rotated text.
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
solves #390
solves #432
solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4933716
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
* Fix "Button confirmation page not working correctly"
Solves #883
* Supports weather forecast with `datetime` not string
This adds support to weather integrations where the `datetime` field under `forecast` attribute is provided as a `datetime` type.
This was seen on Météo-France, while all other weather integrations tested so far used a `text` field for `datetime`.
This solves #893
* Wifi icon to indicate when API offline
This changes the behavior of Wifi icon:
How it was before:
- Wifi icon was visible only when the wifi was connected, nothing was shown when wifi was not connected.
How it is now:
- Wifi icon will have 3 states:
- Wifi & API connected: Gray wifi icon
- Wifi disconnected: Red wifi-off icon
- Wifi connected, but API disconnected (HA is out?): Red api-off icon
* API status indication on the panel
* Limit light & cover to supported settings (#896)
* Limit light to supported settings
When showing light settings, only the supported features will be shown for each light.
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
This partially solves #635
* Limits covers to supported settings
Only show cover settings when `set_position` is supported.
This solves #635
* Limits covers to supported settings
* Update instructions.md
* Add Fan speed settings page (#897)
* Add Fan speed settings page
Add an initial fan speed control page for fans supporting speed control.
Add speed (%) info in the buttons pages.
Solves #404
Solves #791
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5786106
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Fix name on confirmation page
Fix the entity name on the confirmation page.
The new order is:
1. Name set on the blueprint settings
2. Entity's `friendly_name` attribute
3. Entity's `name` attribute
4. Entity's `entity_id`
Solves #501
* Select wake-up page (#898)
* Select wake-up page
Users will be able to select the wake-up page on the blueprint inputs.
This selected page will be shown after a boot (after the boot page) and with a touch in the screen when on screen saver page.
After showing this wake-up page, all the previous behavior for closing the page (with a click or after a timeout) will be the same.
Solves #576
Solves #612
Solves #801
Probably improves for https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5715670
* Select wake-up page
* Fan update engine
Change the fan update engine to follow the same patter as other settings pages.
* Update ReleaseNotes.md
* Adding vertical bars pics
* Panel offline mode (#900)
* Panel offline mode
Introduces "offline mode" for the panel, which will be used later with a fallback climate.
Pages that are depending on the blueprint (buttons pages, entity pages, settings pages, etc) won't be shown when the API is disconnected.
* Panel offline mode
* Panel offline mode
* Panel offline mode
* Panel offline mode
* "Jump to settings" on tft
Moved "Jump to settings page" routine from ESPHome to TFT in order to reduce complexity.
* Exclude Nextion2Text
Exclude Nextion2Text
* Fix validation issue
* Time engine on ESPHome
* Time engine on ESPHome
* Notification page bigger hotspot
Added hotspots around the buttons (Accept & Clear) on Notification page to make easier to click on those.
Solves #907
* Boot page retry comm
The boot page will retry communication with the blueprint once a minute to avoid the situation where that page is shown until the automation is reloaded.
* Fix call to screen page
Fixes the call to screen page on US panel.
Reconciliate the US landscape model from EU model.
* Fix fan page `button_on`
Fixing rounding on that button.
* Fixed Fan page rounding
* Prevents boot sequence in other pages
* Physical relay local control
We are trying to make your panel as autonomous as possible by moving some of the controls from the Blueprint to ESPHome. This will reduce the load in your network and Home Assistant, but also will make a more reliable system capable to do it's core functionality even when the network is unavailable or Home Assistant is restarting.
With this version, the following engines have been moved to your panel (local control):
- Physical relay control (when hardware left button is connected to relay 1 or right button to relay 2)
Solves #910
* Embedded climate (#917)
* Performance improvements
The main focus here was to reduce the number of calls between Home Assistant and ESPHome, moving logic as much as possible to TFT and ESPHome.
- Service calls moved to ESPHome (in preparation for Alarm Control Panel)
- Page change informed via event call instead of `nspanel_event` sensor (which still in use by other calls, but might be possible to remove in the future)
* Draft embedded climate
This adds an initial version of an embedded climate/thermostat (heating only for now) with support for local control even with Wi-Fi out.
Solves #646
Solves #263
* Update ReleaseNotes.md
* Fix climate slider
Fix for climate slider opening in an incorrect position and sending only the integer part of the new target temperature
* Moving home page to ESPHome
In progress...
* Fix translations - Dutch
* Embedded chip 3
Home page - Chip 3 will be controlled locally when embedded climate is enable.
* Fixed buttons bar
Fixed buttons bar managed on ESPHome when embedded climate is visible.
* Update ReleaseNotes.md
* Services back to the Blueprint
Moving service calls back to the blueprint as latest HA requires user's permissions to call HA services from ESPHome.
This still have to be used for Alarm calls due to security concerns.
* Update ReleaseNotes.md
* support to hidden ssid (#908)
Supports hidden ssid with the use of substitutions `wifi_hidden: "true"`.
This can be breaking change for users with custom/advanced wifi settings.
Solves #906
* Update nspanel_esphome.yaml
* Removed `restore_state`
There is some incomplete work related to alarms on this commit, but the focus here is to fix `restore_state` on ESPHome v2023.7.0.
This solves #939
* US model - Fan page - Redistribute icons
Redistributed icons on Fan page on US model in order to improve usability.
Based on feedback from https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6338706
* Align `nspanel_us_land`
Apply all changes from EU to US_Land
* Fix relays chips
Fix relay status indication on chips.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/926#issuecomment-1627660273
* Fix "invalid variable" for "api"
Fix error "Nextion invalid variable name" when setting `api`.
* Default embedded climate to relay_0
* Fix issue with `restore_state` and ESPHome v2023.7.0 (#941)
Solves #939
* Fix translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6511043
* Fix `set_temperature` for climate
Solves #957
* Fix `fan.turn_off` call
Removed timer call from fan stop button.
This solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6494535
* Call a `fan.turn_off` when percentage is 0%
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6621756
* Fix call for fan stop button
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6622377
* Icons on ESPHome
Move icons from TFT/HMI to ESPHome to prevent error on Nextion2Text.
* Updated translations - Spanish
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6548961
* Make home page sensor's icons consistent
Make icon selection consistent with chips where the entity's icon is used in case a icon is not set in the blueprint settings.
Solves #963
* Updated translations - Slovenian
Based on:
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6665723
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-6665751
* dutch (#974)
* small ducht translations
small ducht translations
* Dutch translations
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Add-on support (#977)
Moved climate settings to an add-on.
Updated documentation.
* Fixed link to addon climate docs
* Fix change brightness when sleeping
Prevents the panel to change screen brightness when sleeping.
Solves #975
* Standardize HA service calls
* Bump version to `4.0 dev`
* Create customization.md
This will reduce the need for:
- #920
- #662
- #833
* Clean-up for customizations
Clean up ESPHome in order to make easier the use of customizations.
* Create Alarm page
* Add page Alarm
* Add Alarm docs
Update docs to reflect the current state (new features & changes)
* Creating "install.md" and update add-ons instructions
* Add Alarm page buttons pics
* Add link to Alarm on page Home
* Create Alarm page
* Alarm button font color
* Add `keyb_num` page
* Alarm Control Panel with PIN (#982)
Implements an Alarm Control Panel page on NSPanel.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/66
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/227
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/672
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4874612
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/64#issuecomment-1566204490
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718
* Fix alarm without pin not working
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/pull/930#issuecomment-1680981977
* Alarm page UI
Fixed close button
Disabled buttons are darker
* Move Entities button to ESPHome
Move logic behind Entities button (Home page) from Blueprint to ESPHome in order to gain performance on creating home page.
* Human readable Uptime (#986)
* Human readable Uptime
* Uptime from Frenck code
* Uptime with Frenck code
* Updated Human Readable Uptime
* Removed trailing spaces
* Renamed sensor to "Last started"
Sensor renamed
Update moved to the boot process
Clean-up
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Co-authored-by: Edward Firmo <edward@costafirmo.com>
* Update alarm icon & color
* Revert `fast_connect` back to `false`
* Extended chars on buttons pages (#988)
Replaces #740
Probably solves #664
Probably solves #738
Probably solves #987
* Removed `fast_connect`
* Support to `code_arm_required`
Only shows the alarm PIN keyboard if a code is required for arming (or when disarming).
* Update alarm icon on home page
Refresh icon when alarm state changes.
* Fix alarm icon not updating on home page
* Home buttons new format - Alarm
Modernise the button Alarm flow on page Home to improve performance.
* Home buttons new format - Entities
Modernise the button "Entities" flow on page Home to improve performance.
* Home buttons new format - QRcode
Modernise the button "QRcode" flow on page Home to improve performance.
* Home buttons new format - Notification
Modernise the button "Notification" flow on page Home to improve performance.
I haven't moved the code from the Blueprint to ESPHome yet, as I will leave this for when we rebuild the Notification flow in the near future (hopefully), so the performance gains may not be perceived now. Just aligning with other buttons format.
* Adding screenshots
* Delete ReleaseNotes.md
Moved to the release
* New entity filter format
This new format was released with HA v2023.4 and the old one will be deprecated soon.
* Fix Alarm page bypass icon
* Bump version to 4.0
* Rename `addon_climate_heat`
* Simplify climate substitutions
* Add support for `addon_climate_cool`
* Removed `${verbose_log}`
Use logger level `VERBOSE` instead
* Fix script call
* Clean up general entities & fallback
Store inputs into variables only when needed.
Removed fallback mode - Replaced by ESPHome local control when the relay is assigned to the button in the blueprint.
* Phase out sensor `nspanel_event` (partially)
This sensor is being replaced by event calls.
* uptime sensors (#998)
* Create ReleaseNotes.md
* Fix Climate page when embedded climate
And also added a lot of logs which should be removed later as it takes from memory.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6835260
* Move brightness control to global var
Clean up page Home
* Alarm page translations - Finnish
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6857262
* Exported pics
* Clean-up TFT
- Removed a bunch of unused pics
- Changed page indicator to new format (which will allow future development to hide unused pages)
- Standardized close button in most pages
* Fixed background pics
- Entities pages
- Weather pages
* Standardize close button
* Add "Alarm" section
* Support to wake-up page on `wake_up_display` service
This changes the behavior of a service introduced by #734.
* Optimize `wake_up_display` service
* Fix icon font sizes 10 and 64
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1701903604
And also remove all the unnecessary `wait_until`
* Fix Settings page element ids
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702109668
* Add translation keys for `settings` page
#1002
* Update settings page when brightness changes on HA
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702149796
* Clean-up page settings
* update docs (#1003)
* updated docs
* Update ReleaseNotes.md
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Clean-up Cover page
I'm preparing this page to have icons changing based on the device_class selected to a cover.
* Clean-up boot delay
* Enable `current_page` sensor by default
Otherwise the system won´t update values unless the page is reloaded.
* Use `current_page` in blueprint conditions
One more step towards the phase out of `nspanelevent`.
* Move `script.refresh_colors` to `service.global_settings`
As this is called from a single point, there's no meaning of having a separated script.
* Fix climate icon update
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891454
* Fix button show on climate page
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891335
* Visual improvements on climate page
- Add friendly name when embedded - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891465
- Make disable icons a bit darker - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6893440
- Add space for page title in EU an US Land versions
- Reset page timer when pressing/releasing on the slider - Partially solves #990
* Don't update values when page home is not visible
To reduce load on Home Assistant and the network
* Cleanup boot sequence
Move some functionalities to ESPHome
* Display internal sensor value when wifi is out
Before it was showing on home page only when API was out. This adds a test for WiFi.
* Fix `default_target_temperature`
It also updates the page home when thermostat status changes (for the chips).
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6897727
* Adding ID to components missing it
* Renamed `wake_up_display` to `wake_up`
* Re-arrange commands list
* Add service `set_component_color`
Deprecates the following services:
- `send_command_font_color`
- `send_command_background_color`
* Fix button pages not showing
* Adjusted time for HW long click
* Fixed buttons on settings page
* Minor adjustments to page climate
And replace font 10 to size 48 (it was 64 since a few days ago).
* Updates to breaking changes list
* Page settings redesign
Clean up the UI of settings page.
Prepare for translations.
* Enable translations of Settings page
* Notification word-wrap
For EU and US_LAND only, for now.
* Notifications page rebuilt
- Notification button processed on ESPHome (as all the info is there)
- Added word-wrap for main text
- Expanded text size
- Handling display mode (used to define the number of chars per line on Notifications)
- Versioning handling - As a consequence of the previous item.
* Word-wrap buttons pages
Taking advantage of the algorithm created for notifications.
* Word-wrap for Alarm page
* Version mismatch notication
* Fix ESPHome not starting with older TFT
* Rebuilt home page status bar update
* Updated translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-6926846
Thanks @MaiPiu
* Fix `Nextion reported variable name invalid!`
* Fix `Nextion variable invalid`
* Handle `embedded_indoor_temperature`
Internal temperature display will be handled locally (ESPHome) when no other sensor is selected.
* Review temperature correction engine
* Fix display climate chip
* update `temp_nspanel` when correction changes
* Fix `Fan` page not open with long press HW button
Solves #1007
* Minor adjustments on settings page
* version 4.0 ready for release
* Clean-up docs
* Improve version notification
* Disable restore `notification_unread`
This must be changed to a binary sensor in the future.
* Beta v4.0 (#1012)
* Create ReleaseNotes.md (#879)
* Create ReleaseNotes.md
* sensor display precision
* Filter devices to esp32 only (#881)
* Filter devices to esp32 only
Show only ESP32 devices when selecting the panel
* Filtered device list
* Sensor display precision (#880)
Now the values shown in your panel will follow the [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision) provided by Home Assistant.
=> If you have problems with a value exceeding the available space in your panel, please reduce the number of decimals using Home Assistant [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision).
* New language selector (#882)
* New language selector
* Update ReleaseNotes.md
* Update ReleaseNotes.md
* Remove `settings_entity` (#887)
* Remove `settings_entity`
- Bump version to 3.5_dev
- Removed references to pictures removed from TFT
- Removed code related to closing settings pages
- Removed trigger `settings_entity`
* Removed `set_settings_entity` service
- Bump version to 3.5_dev
- Removed `set_settings_entity` service - BREAKING CHANGE
- Removed `settings_entity` text-sensor - BREAKING CHANGE
- Added service `open_entity_settings_page` - BREAKING CHANGE
* Removed `settings_entity`
- Bump version to 3.5_dev
- Removed old climate page (climate_backup)
- Removed pics related to old climate page (ids 16-47, 80-83, 95-96 and 125(US only))
- Enforces brightness on any page change (this allows wake-up on settings page with long press on physical buttons) - Pending removing code from Blueprint
- Added `entity` variable on pages `climate`, `lightsettings` and `coversettings`
- Added `entity` info to `nspanelevent` on pages `climate`, `lightsettings` and `coversettings`
- Added `back_page` variable on pages `climate`, `lightsettings` and `coversettings` (default: home)
- Moving to TFT close page logic on pages `climate`, `lightsettings` and `coversettings` - Pending changes on Blueprint and ESPHome
- Standardized name for `page_label` on pages `climate`, `lightsettings` and `coversettings`
- Standardized settings page names: `climate`, `cover` and `light` (Removed `settings` from page name)
* Removed `settings_entity`
* Removed `settings_entity`
* Removed `settings_entity`
* Move `entity` variable to home page (#889)
* Move `entity` variable to home page
This will enable future development of a fallback climate
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Use `en` as fallback language (#891)
* Use `en` as fallback language
Uses English if a non valid language is selected (like when using legacy language selection).
* Use `en` as fallback language
* Create `nspanel_us_land.tft` (#890)
* Create `nspanel_us_land.tft'
Add `nspanel_us_land.tft' for US panel on landscape mode, fixing the offset on the touch screen when using `nspanel_eu.tft` into a US panel.
Hides the hardware buttons labels, as Nextion cannot support rotated text.
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
solves #390
solves #432
solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4933716
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
* Fix "Button confirmation page not working correctly"
Solves #883
* Supports weather forecast with `datetime` not string
This adds support to weather integrations where the `datetime` field under `forecast` attribute is provided as a `datetime` type.
This was seen on Météo-France, while all other weather integrations tested so far used a `text` field for `datetime`.
This solves #893
* Wifi icon to indicate when API offline
This changes the behavior of Wifi icon:
How it was before:
- Wifi icon was visible only when the wifi was connected, nothing was shown when wifi was not connected.
How it is now:
- Wifi icon will have 3 states:
- Wifi & API connected: Gray wifi icon
- Wifi disconnected: Red wifi-off icon
- Wifi connected, but API disconnected (HA is out?): Red api-off icon
* API status indication on the panel
* Limit light & cover to supported settings (#896)
* Limit light to supported settings
When showing light settings, only the supported features will be shown for each light.
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
This partially solves #635
* Limits covers to supported settings
Only show cover settings when `set_position` is supported.
This solves #635
* Limits covers to supported settings
* Update instructions.md
* Add Fan speed settings page (#897)
* Add Fan speed settings page
Add an initial fan speed control page for fans supporting speed control.
Add speed (%) info in the buttons pages.
Solves #404
Solves #791
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5786106
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Fix name on confirmation page
Fix the entity name on the confirmation page.
The new order is:
1. Name set on the blueprint settings
2. Entity's `friendly_name` attribute
3. Entity's `name` attribute
4. Entity's `entity_id`
Solves #501
* Select wake-up page (#898)
* Select wake-up page
Users will be able to select the wake-up page on the blueprint inputs.
This selected page will be shown after a boot (after the boot page) and with a touch in the screen when on screen saver page.
After showing this wake-up page, all the previous behavior for closing the page (with a click or after a timeout) will be the same.
Solves #576
Solves #612
Solves #801
Probably improves for https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5715670
* Select wake-up page
* Fan update engine
Change the fan update engine to follow the same patter as other settings pages.
* Update ReleaseNotes.md
* Adding vertical bars pics
* Panel offline mode (#900)
* Panel offline mode
Introduces "offline mode" for the panel, which will be used later with a fallback climate.
Pages that are depending on the blueprint (buttons pages, entity pages, settings pages, etc) won't be shown when the API is disconnected.
* Panel offline mode
* Panel offline mode
* Panel offline mode
* Panel offline mode
* "Jump to settings" on tft
Moved "Jump to settings page" routine from ESPHome to TFT in order to reduce complexity.
* Exclude Nextion2Text
Exclude Nextion2Text
* Fix validation issue
* Time engine on ESPHome
* Time engine on ESPHome
* Notification page bigger hotspot
Added hotspots around the buttons (Accept & Clear) on Notification page to make easier to click on those.
Solves #907
* Boot page retry comm
The boot page will retry communication with the blueprint once a minute to avoid the situation where that page is shown until the automation is reloaded.
* Fix call to screen page
Fixes the call to screen page on US panel.
Reconciliate the US landscape model from EU model.
* Fix fan page `button_on`
Fixing rounding on that button.
* Fixed Fan page rounding
* Prevents boot sequence in other pages
* Physical relay local control
We are trying to make your panel as autonomous as possible by moving some of the controls from the Blueprint to ESPHome. This will reduce the load in your network and Home Assistant, but also will make a more reliable system capable to do it's core functionality even when the network is unavailable or Home Assistant is restarting.
With this version, the following engines have been moved to your panel (local control):
- Physical relay control (when hardware left button is connected to relay 1 or right button to relay 2)
Solves #910
* Embedded climate (#917)
* Performance improvements
The main focus here was to reduce the number of calls between Home Assistant and ESPHome, moving logic as much as possible to TFT and ESPHome.
- Service calls moved to ESPHome (in preparation for Alarm Control Panel)
- Page change informed via event call instead of `nspanel_event` sensor (which still in use by other calls, but might be possible to remove in the future)
* Draft embedded climate
This adds an initial version of an embedded climate/thermostat (heating only for now) with support for local control even with Wi-Fi out.
Solves #646
Solves #263
* Update ReleaseNotes.md
* Fix climate slider
Fix for climate slider opening in an incorrect position and sending only the integer part of the new target temperature
* Moving home page to ESPHome
In progress...
* Fix translations - Dutch
* Embedded chip 3
Home page - Chip 3 will be controlled locally when embedded climate is enable.
* Fixed buttons bar
Fixed buttons bar managed on ESPHome when embedded climate is visible.
* Update ReleaseNotes.md
* Services back to the Blueprint
Moving service calls back to the blueprint as latest HA requires user's permissions to call HA services from ESPHome.
This still have to be used for Alarm calls due to security concerns.
* Update ReleaseNotes.md
* support to hidden ssid (#908)
Supports hidden ssid with the use of substitutions `wifi_hidden: "true"`.
This can be breaking change for users with custom/advanced wifi settings.
Solves #906
* Update nspanel_esphome.yaml
* Removed `restore_state`
There is some incomplete work related to alarms on this commit, but the focus here is to fix `restore_state` on ESPHome v2023.7.0.
This solves #939
* US model - Fan page - Redistribute icons
Redistributed icons on Fan page on US model in order to improve usability.
Based on feedback from https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6338706
* Align `nspanel_us_land`
Apply all changes from EU to US_Land
* Fix relays chips
Fix relay status indication on chips.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/926#issuecomment-1627660273
* Fix "invalid variable" for "api"
Fix error "Nextion invalid variable name" when setting `api`.
* Default embedded climate to relay_0
* Fix translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6511043
* Fix `set_temperature` for climate
Solves #957
* Fix `fan.turn_off` call
Removed timer call from fan stop button.
This solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6494535
* Call a `fan.turn_off` when percentage is 0%
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6621756
* Fix call for fan stop button
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6622377
* Icons on ESPHome
Move icons from TFT/HMI to ESPHome to prevent error on Nextion2Text.
* Updated translations - Spanish
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6548961
* Make home page sensor's icons consistent
Make icon selection consistent with chips where the entity's icon is used in case a icon is not set in the blueprint settings.
Solves #963
* Updated translations - Slovenian
Based on:
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6665723
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-6665751
* dutch (#974)
* small ducht translations
small ducht translations
* Dutch translations
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Add-on support (#977)
Moved climate settings to an add-on.
Updated documentation.
* Fixed link to addon climate docs
* Fix change brightness when sleeping
Prevents the panel to change screen brightness when sleeping.
Solves #975
* Standardize HA service calls
* Bump version to `4.0 dev`
* Create customization.md
This will reduce the need for:
- #920
- #662
- #833
* Clean-up for customizations
Clean up ESPHome in order to make easier the use of customizations.
* Create Alarm page
* Add page Alarm
* Add Alarm docs
Update docs to reflect the current state (new features & changes)
* Creating "install.md" and update add-ons instructions
* Add Alarm page buttons pics
* Add link to Alarm on page Home
* Create Alarm page
* Alarm button font color
* Add `keyb_num` page
* Alarm Control Panel with PIN (#982)
Implements an Alarm Control Panel page on NSPanel.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/66
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/227
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/672
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4874612
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/64#issuecomment-1566204490
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718
* Fix alarm without pin not working
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/pull/930#issuecomment-1680981977
* Alarm page UI
Fixed close button
Disabled buttons are darker
* Move Entities button to ESPHome
Move logic behind Entities button (Home page) from Blueprint to ESPHome in order to gain performance on creating home page.
* Human readable Uptime (#986)
* Human readable Uptime
* Uptime from Frenck code
* Uptime with Frenck code
* Updated Human Readable Uptime
* Removed trailing spaces
* Renamed sensor to "Last started"
Sensor renamed
Update moved to the boot process
Clean-up
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Co-authored-by: Edward Firmo <edward@costafirmo.com>
* Update alarm icon & color
* Revert `fast_connect` back to `false`
* Extended chars on buttons pages (#988)
Replaces #740
Probably solves #664
Probably solves #738
Probably solves #987
* Removed `fast_connect`
* Support to `code_arm_required`
Only shows the alarm PIN keyboard if a code is required for arming (or when disarming).
* Update alarm icon on home page
Refresh icon when alarm state changes.
* Fix alarm icon not updating on home page
* Home buttons new format - Alarm
Modernise the button Alarm flow on page Home to improve performance.
* Home buttons new format - Entities
Modernise the button "Entities" flow on page Home to improve performance.
* Home buttons new format - QRcode
Modernise the button "QRcode" flow on page Home to improve performance.
* Home buttons new format - Notification
Modernise the button "Notification" flow on page Home to improve performance.
I haven't moved the code from the Blueprint to ESPHome yet, as I will leave this for when we rebuild the Notification flow in the near future (hopefully), so the performance gains may not be perceived now. Just aligning with other buttons format.
* Adding screenshots
* Delete ReleaseNotes.md
Moved to the release
* New entity filter format
This new format was released with HA v2023.4 and the old one will be deprecated soon.
* Fix Alarm page bypass icon
* Bump version to 4.0
* Rename `addon_climate_heat`
* Simplify climate substitutions
* Add support for `addon_climate_cool`
* Removed `${verbose_log}`
Use logger level `VERBOSE` instead
* Fix script call
* Clean up general entities & fallback
Store inputs into variables only when needed.
Removed fallback mode - Replaced by ESPHome local control when the relay is assigned to the button in the blueprint.
* Phase out sensor `nspanel_event` (partially)
This sensor is being replaced by event calls.
* uptime sensors (#998)
* Create ReleaseNotes.md
* Fix Climate page when embedded climate
And also added a lot of logs which should be removed later as it takes from memory.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6835260
* Move brightness control to global var
Clean up page Home
* Alarm page translations - Finnish
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6857262
* Exported pics
* Clean-up TFT
- Removed a bunch of unused pics
- Changed page indicator to new format (which will allow future development to hide unused pages)
- Standardized close button in most pages
* Fixed background pics
- Entities pages
- Weather pages
* Standardize close button
* Add "Alarm" section
* Support to wake-up page on `wake_up_display` service
This changes the behavior of a service introduced by #734.
* Optimize `wake_up_display` service
* Fix icon font sizes 10 and 64
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1701903604
And also remove all the unnecessary `wait_until`
* Fix Settings page element ids
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702109668
* Add translation keys for `settings` page
#1002
* Update settings page when brightness changes on HA
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702149796
* Clean-up page settings
* update docs (#1003)
* updated docs
* Update ReleaseNotes.md
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Clean-up Cover page
I'm preparing this page to have icons changing based on the device_class selected to a cover.
* Clean-up boot delay
* Enable `current_page` sensor by default
Otherwise the system won´t update values unless the page is reloaded.
* Use `current_page` in blueprint conditions
One more step towards the phase out of `nspanelevent`.
* Move `script.refresh_colors` to `service.global_settings`
As this is called from a single point, there's no meaning of having a separated script.
* Fix climate icon update
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891454
* Fix button show on climate page
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891335
* Visual improvements on climate page
- Add friendly name when embedded - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891465
- Make disable icons a bit darker - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6893440
- Add space for page title in EU an US Land versions
- Reset page timer when pressing/releasing on the slider - Partially solves #990
* Don't update values when page home is not visible
To reduce load on Home Assistant and the network
* Cleanup boot sequence
Move some functionalities to ESPHome
* Display internal sensor value when wifi is out
Before it was showing on home page only when API was out. This adds a test for WiFi.
* Fix `default_target_temperature`
It also updates the page home when thermostat status changes (for the chips).
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6897727
* Adding ID to components missing it
* Renamed `wake_up_display` to `wake_up`
* Re-arrange commands list
* Add service `set_component_color`
Deprecates the following services:
- `send_command_font_color`
- `send_command_background_color`
* Fix button pages not showing
* Adjusted time for HW long click
* Fixed buttons on settings page
* Minor adjustments to page climate
And replace font 10 to size 48 (it was 64 since a few days ago).
* Updates to breaking changes list
* Page settings redesign
Clean up the UI of settings page.
Prepare for translations.
* Enable translations of Settings page
* Notification word-wrap
For EU and US_LAND only, for now.
* Notifications page rebuilt
- Notification button processed on ESPHome (as all the info is there)
- Added word-wrap for main text
- Expanded text size
- Handling display mode (used to define the number of chars per line on Notifications)
- Versioning handling - As a consequence of the previous item.
* Word-wrap buttons pages
Taking advantage of the algorithm created for notifications.
* Word-wrap for Alarm page
* Version mismatch notication
* Fix ESPHome not starting with older TFT
* Rebuilt home page status bar update
* Updated translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-6926846
Thanks @MaiPiu
* Fix `Nextion reported variable name invalid!`
* Fix `Nextion variable invalid`
* Handle `embedded_indoor_temperature`
Internal temperature display will be handled locally (ESPHome) when no other sensor is selected.
* Review temperature correction engine
* Fix display climate chip
* update `temp_nspanel` when correction changes
* Fix `Fan` page not open with long press HW button
Solves #1007
* Minor adjustments on settings page
* version 4.0 ready for release
* Clean-up docs
---------
Co-authored-by: bkbartk <bartkock@outlook.com>
Co-authored-by: w00zy <WZYProjects+github@gmail.com>
* Fix Fan page button colors when opening
Solves #1017
* Translations (#1023)
* Translations
* Update nspanel_blueprint.yaml
I've changed `brightness` for now as the new design isn't implemented yet, but that string is already in use with the current design.
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Adjustments to settings page
* Fix entity info when calling detailed pages
Solves #1022
* Added `media_player` page (hidden)
* New "Confirm" pop-up
This also removes the sensor "NSPanel Event"
* Fix pages not updating values
Solves #1026
* Media player - Buttons
- Added code to buttons on media_player page.
- Clean-up:
- Moved wake-up select from Blueprint to ESPHome component
- Removed `switch.xxxxx_confirmation_message`
* Fix logging for global_settings
It was logging wakeup_page, which is deprecated
* Improved version notification
* Removed trailing spaces
* Notification for `sensor.xxxxx_current_page` missing
This might be a common issue for users migrating from v3.4 to v3.5.
This information is part of the release notes, but I believe it worth having a guide to support closely any user who miss that in the release notes.
* Simplify `touchevent` engine
The touch event is used only for the sleeping engine (it will be used for dimming later) and it was transferring all the json info with page name, component, entity, etc.
This was replaced by a simple random integer with no meaning other than "the screen was touched, reset the timer".
* Media player first buttons actions
* Fix unknown service: `media_player.null`
* Media Player control
You will be able to add a Media Player entity to any of the buttons pages and with a long press you will see the media player page.
* Remove dimming timer for now
The funcionality isn't completed.
* Home page - Custom buttons
On the blueprint you can now set up to 3 buttons to be shown on Home page.
It will show the detailed settings page, so the entity must be compatible.
* Fix Media player missing parameters
Possibly solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1030#discussioncomment-6984573
* Prevents calls to `media_player.null`
* Remove `entity` info from pages on TFT
Since v3.4, the info about entity_id shown was going all the way to Nextion and then sent back in the json return, however this requires a long (100-char) global var and the way it was implemented, it was one of those per settings page, as climate should be also recorded at the same time in case the embedded climate was installed.
This was taking too much memory, so I've moved this info to a global variable (string) in ESPHome.
There is now lots of space for code cleaning (and still pending to do the same with climate entity, as it could be only a bool to inform if embedded), but this brings the functionality.
This enabled the return to global for some components, so it probably solves #1031
* Prototyping `power` page
Thanks @Floppe for doing the design
#838
* Prototyping `power` page
* New sleep flow
* Removed trailing spaces
* Fix empty page climate
* Fix names on button pages
Fix names when a name is not provided in the blueprint settings.
* Fix call to sleep routine when timeout changes
Solves #1037
* Replace `confirm` var on buttons pages
Simpler and saves some memory.
* Clean-up
* Align the code for the 3 timers
* Extend domains supported by home page custom buttons
Based on #1034
* Fix error when btn_label is `None`
* Fix `Variable invalid` on buttons pages
* Fix constructor of Entity pages
* Fallback even when button is assigned to another entity
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/1013#issuecomment-1720107844
* Add inputs for media player refresh time
* Adjustments to Media Player refresh interval default values
* Use panel's events to reset timers
Possibly solves #1040
Possibly solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-7020153
* State based colors to home page custom buttons
* Fix alarm not changing status
Do not clear `entity_id` when opening keyboard page, so the info can be used when sending commands.
Solves #1039
* Missing `nspanel_us.tft`
* add `touchevents` to pages `media_player` and `confirm`
To avoid panel going back to Home page while user is playing with the page.
Solves #1040
* Media player minor layout changes
* Media player - Volume timer & icon size
Volume timer changed from 1000 to 500ms
Icon change from font 9 to 10
* Media player roll back font 9 and timer 1s
* Don't send to Nextion obsolete volume settings
If the volume is the same as the last one sent to the screen, don't send again, so if changes are being made on the screen it didn't receive the update all the time, making the slider unresponsive.
* Media player - Layout improvement
- Removed button "Stop"
- Increase touch area for buttons
- Redistributed buttons on page
* Add touchevents to page climate
Possibly solves #995
* Resolve validation
* Correct playing time based on `updated_at` attribute
* Prepare for when attribute is not available
* Fix attribute `media_position`
* Fix time duration when HA isn't updating position
* Fix climate page not opening when offline
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6834067
* Clean-up release notes
* Clean up code
- Removed commented out lines
- Removed temporary logs
Getting prepared to release
* Bump version to 4.0beta
To reduce the chance of an obsolete file in use after the release.
* Change version to 4.0dev
To differentiate from beta.
* Added missing translations (#1047)
* Added missing translations
Added missing translations for the Swedish translation.
* Caption first char
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Translations to Slovak on Settings page
* Refresh docs
* Update nspanel_blank.md
* Update nspanel_blank.md
* Add screensaver to `nspanel_blank.tft`
And build a new tft with latest firmware and url for instructions.
* Update nspanel_blank.md
* Fix to Slovenian translation
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-7041796
* Settings page - Translations to French
From https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-7045452
* Alarm page - Translations to French
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-7046479
* Add customization for display sleeping/awake
Probably solves #1035
* Customizations - Blank TFT button
Probably solves #1048
* Customizations - Deep sleep
Solves #955
* Customization - Deep sleep - Fix broken link
* Translations - Slovak
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-7054153
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-7054142
* New versioning - not implemented
* Bump version to `4.0b2`
* v4.0 release
---------
Co-authored-by: bkbartk <bartkock@outlook.com>
Co-authored-by: w00zy <WZYProjects+github@gmail.com>
Co-authored-by: w00zy <52609940+WZYProjects@users.noreply.github.com>
Co-authored-by: Erik Larsson <erik1337.el@gmail.com>
* Create ReleaseNotes.md (#879)
* Create ReleaseNotes.md
* sensor display precision
* Filter devices to esp32 only (#881)
* Filter devices to esp32 only
Show only ESP32 devices when selecting the panel
* Filtered device list
* Sensor display precision (#880)
Now the values shown in your panel will follow the [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision) provided by Home Assistant.
=> If you have problems with a value exceeding the available space in your panel, please reduce the number of decimals using Home Assistant [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision).
* New language selector (#882)
* New language selector
* Update ReleaseNotes.md
* Update ReleaseNotes.md
* Remove `settings_entity` (#887)
* Remove `settings_entity`
- Bump version to 3.5_dev
- Removed references to pictures removed from TFT
- Removed code related to closing settings pages
- Removed trigger `settings_entity`
* Removed `set_settings_entity` service
- Bump version to 3.5_dev
- Removed `set_settings_entity` service - BREAKING CHANGE
- Removed `settings_entity` text-sensor - BREAKING CHANGE
- Added service `open_entity_settings_page` - BREAKING CHANGE
* Removed `settings_entity`
- Bump version to 3.5_dev
- Removed old climate page (climate_backup)
- Removed pics related to old climate page (ids 16-47, 80-83, 95-96 and 125(US only))
- Enforces brightness on any page change (this allows wake-up on settings page with long press on physical buttons) - Pending removing code from Blueprint
- Added `entity` variable on pages `climate`, `lightsettings` and `coversettings`
- Added `entity` info to `nspanelevent` on pages `climate`, `lightsettings` and `coversettings`
- Added `back_page` variable on pages `climate`, `lightsettings` and `coversettings` (default: home)
- Moving to TFT close page logic on pages `climate`, `lightsettings` and `coversettings` - Pending changes on Blueprint and ESPHome
- Standardized name for `page_label` on pages `climate`, `lightsettings` and `coversettings`
- Standardized settings page names: `climate`, `cover` and `light` (Removed `settings` from page name)
* Removed `settings_entity`
* Removed `settings_entity`
* Removed `settings_entity`
* Move `entity` variable to home page (#889)
* Move `entity` variable to home page
This will enable future development of a fallback climate
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Use `en` as fallback language (#891)
* Use `en` as fallback language
Uses English if a non valid language is selected (like when using legacy language selection).
* Use `en` as fallback language
* Create `nspanel_us_land.tft` (#890)
* Create `nspanel_us_land.tft'
Add `nspanel_us_land.tft' for US panel on landscape mode, fixing the offset on the touch screen when using `nspanel_eu.tft` into a US panel.
Hides the hardware buttons labels, as Nextion cannot support rotated text.
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
solves #390
solves #432
solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4933716
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
* Fix "Button confirmation page not working correctly"
Solves #883
* Supports weather forecast with `datetime` not string
This adds support to weather integrations where the `datetime` field under `forecast` attribute is provided as a `datetime` type.
This was seen on Météo-France, while all other weather integrations tested so far used a `text` field for `datetime`.
This solves #893
* Wifi icon to indicate when API offline
This changes the behavior of Wifi icon:
How it was before:
- Wifi icon was visible only when the wifi was connected, nothing was shown when wifi was not connected.
How it is now:
- Wifi icon will have 3 states:
- Wifi & API connected: Gray wifi icon
- Wifi disconnected: Red wifi-off icon
- Wifi connected, but API disconnected (HA is out?): Red api-off icon
* API status indication on the panel
* Limit light & cover to supported settings (#896)
* Limit light to supported settings
When showing light settings, only the supported features will be shown for each light.
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
This partially solves #635
* Limits covers to supported settings
Only show cover settings when `set_position` is supported.
This solves #635
* Limits covers to supported settings
* Update instructions.md
* Add Fan speed settings page (#897)
* Add Fan speed settings page
Add an initial fan speed control page for fans supporting speed control.
Add speed (%) info in the buttons pages.
Solves #404
Solves #791
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5786106
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Fix name on confirmation page
Fix the entity name on the confirmation page.
The new order is:
1. Name set on the blueprint settings
2. Entity's `friendly_name` attribute
3. Entity's `name` attribute
4. Entity's `entity_id`
Solves #501
* Select wake-up page (#898)
* Select wake-up page
Users will be able to select the wake-up page on the blueprint inputs.
This selected page will be shown after a boot (after the boot page) and with a touch in the screen when on screen saver page.
After showing this wake-up page, all the previous behavior for closing the page (with a click or after a timeout) will be the same.
Solves #576
Solves #612
Solves #801
Probably improves for https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5715670
* Select wake-up page
* Fan update engine
Change the fan update engine to follow the same patter as other settings pages.
* Update ReleaseNotes.md
* Adding vertical bars pics
* Panel offline mode (#900)
* Panel offline mode
Introduces "offline mode" for the panel, which will be used later with a fallback climate.
Pages that are depending on the blueprint (buttons pages, entity pages, settings pages, etc) won't be shown when the API is disconnected.
* Panel offline mode
* Panel offline mode
* Panel offline mode
* Panel offline mode
* "Jump to settings" on tft
Moved "Jump to settings page" routine from ESPHome to TFT in order to reduce complexity.
* Exclude Nextion2Text
Exclude Nextion2Text
* Fix validation issue
* Time engine on ESPHome
* Time engine on ESPHome
* Notification page bigger hotspot
Added hotspots around the buttons (Accept & Clear) on Notification page to make easier to click on those.
Solves #907
* Boot page retry comm
The boot page will retry communication with the blueprint once a minute to avoid the situation where that page is shown until the automation is reloaded.
* Fix call to screen page
Fixes the call to screen page on US panel.
Reconciliate the US landscape model from EU model.
* Fix fan page `button_on`
Fixing rounding on that button.
* Fixed Fan page rounding
* Prevents boot sequence in other pages
* Physical relay local control
We are trying to make your panel as autonomous as possible by moving some of the controls from the Blueprint to ESPHome. This will reduce the load in your network and Home Assistant, but also will make a more reliable system capable to do it's core functionality even when the network is unavailable or Home Assistant is restarting.
With this version, the following engines have been moved to your panel (local control):
- Physical relay control (when hardware left button is connected to relay 1 or right button to relay 2)
Solves #910
* Embedded climate (#917)
* Performance improvements
The main focus here was to reduce the number of calls between Home Assistant and ESPHome, moving logic as much as possible to TFT and ESPHome.
- Service calls moved to ESPHome (in preparation for Alarm Control Panel)
- Page change informed via event call instead of `nspanel_event` sensor (which still in use by other calls, but might be possible to remove in the future)
* Draft embedded climate
This adds an initial version of an embedded climate/thermostat (heating only for now) with support for local control even with Wi-Fi out.
Solves #646
Solves #263
* Update ReleaseNotes.md
* Fix climate slider
Fix for climate slider opening in an incorrect position and sending only the integer part of the new target temperature
* Moving home page to ESPHome
In progress...
* Fix translations - Dutch
* Embedded chip 3
Home page - Chip 3 will be controlled locally when embedded climate is enable.
* Fixed buttons bar
Fixed buttons bar managed on ESPHome when embedded climate is visible.
* Update ReleaseNotes.md
* Services back to the Blueprint
Moving service calls back to the blueprint as latest HA requires user's permissions to call HA services from ESPHome.
This still have to be used for Alarm calls due to security concerns.
* Update ReleaseNotes.md
* support to hidden ssid (#908)
Supports hidden ssid with the use of substitutions `wifi_hidden: "true"`.
This can be breaking change for users with custom/advanced wifi settings.
Solves #906
* Update nspanel_esphome.yaml
* Removed `restore_state`
There is some incomplete work related to alarms on this commit, but the focus here is to fix `restore_state` on ESPHome v2023.7.0.
This solves #939
* US model - Fan page - Redistribute icons
Redistributed icons on Fan page on US model in order to improve usability.
Based on feedback from https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6338706
* Align `nspanel_us_land`
Apply all changes from EU to US_Land
* Fix relays chips
Fix relay status indication on chips.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/926#issuecomment-1627660273
* Fix "invalid variable" for "api"
Fix error "Nextion invalid variable name" when setting `api`.
* Default embedded climate to relay_0
* Fix issue with `restore_state` and ESPHome v2023.7.0 (#941)
Solves #939
* Fix translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6511043
* Fix `set_temperature` for climate
Solves #957
* Fix `fan.turn_off` call
Removed timer call from fan stop button.
This solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6494535
* Call a `fan.turn_off` when percentage is 0%
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6621756
* Fix call for fan stop button
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6622377
* Icons on ESPHome
Move icons from TFT/HMI to ESPHome to prevent error on Nextion2Text.
* Updated translations - Spanish
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6548961
* Make home page sensor's icons consistent
Make icon selection consistent with chips where the entity's icon is used in case a icon is not set in the blueprint settings.
Solves #963
* Updated translations - Slovenian
Based on:
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6665723
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-6665751
* dutch (#974)
* small ducht translations
small ducht translations
* Dutch translations
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Add-on support (#977)
Moved climate settings to an add-on.
Updated documentation.
* Fixed link to addon climate docs
* Fix change brightness when sleeping
Prevents the panel to change screen brightness when sleeping.
Solves #975
* Standardize HA service calls
* Bump version to `4.0 dev`
* Create customization.md
This will reduce the need for:
- #920
- #662
- #833
* Clean-up for customizations
Clean up ESPHome in order to make easier the use of customizations.
* Create Alarm page
* Add page Alarm
* Add Alarm docs
Update docs to reflect the current state (new features & changes)
* Creating "install.md" and update add-ons instructions
* Add Alarm page buttons pics
* Add link to Alarm on page Home
* Create Alarm page
* Alarm button font color
* Add `keyb_num` page
* Alarm Control Panel with PIN (#982)
Implements an Alarm Control Panel page on NSPanel.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/66
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/227
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/672
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4874612
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/64#issuecomment-1566204490
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718
* Fix alarm without pin not working
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/pull/930#issuecomment-1680981977
* Alarm page UI
Fixed close button
Disabled buttons are darker
* Move Entities button to ESPHome
Move logic behind Entities button (Home page) from Blueprint to ESPHome in order to gain performance on creating home page.
* Human readable Uptime (#986)
* Human readable Uptime
* Uptime from Frenck code
* Uptime with Frenck code
* Updated Human Readable Uptime
* Removed trailing spaces
* Renamed sensor to "Last started"
Sensor renamed
Update moved to the boot process
Clean-up
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Co-authored-by: Edward Firmo <edward@costafirmo.com>
* Update alarm icon & color
* Revert `fast_connect` back to `false`
* Extended chars on buttons pages (#988)
Replaces #740
Probably solves #664
Probably solves #738
Probably solves #987
* Removed `fast_connect`
* Support to `code_arm_required`
Only shows the alarm PIN keyboard if a code is required for arming (or when disarming).
* Update alarm icon on home page
Refresh icon when alarm state changes.
* Fix alarm icon not updating on home page
* Home buttons new format - Alarm
Modernise the button Alarm flow on page Home to improve performance.
* Home buttons new format - Entities
Modernise the button "Entities" flow on page Home to improve performance.
* Home buttons new format - QRcode
Modernise the button "QRcode" flow on page Home to improve performance.
* Home buttons new format - Notification
Modernise the button "Notification" flow on page Home to improve performance.
I haven't moved the code from the Blueprint to ESPHome yet, as I will leave this for when we rebuild the Notification flow in the near future (hopefully), so the performance gains may not be perceived now. Just aligning with other buttons format.
* Adding screenshots
* Delete ReleaseNotes.md
Moved to the release
* New entity filter format
This new format was released with HA v2023.4 and the old one will be deprecated soon.
* Fix Alarm page bypass icon
* Bump version to 4.0
* Rename `addon_climate_heat`
* Simplify climate substitutions
* Add support for `addon_climate_cool`
* Removed `${verbose_log}`
Use logger level `VERBOSE` instead
* Fix script call
* Clean up general entities & fallback
Store inputs into variables only when needed.
Removed fallback mode - Replaced by ESPHome local control when the relay is assigned to the button in the blueprint.
* Phase out sensor `nspanel_event` (partially)
This sensor is being replaced by event calls.
* uptime sensors (#998)
* Create ReleaseNotes.md
* Fix Climate page when embedded climate
And also added a lot of logs which should be removed later as it takes from memory.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6835260
* Move brightness control to global var
Clean up page Home
* Alarm page translations - Finnish
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6857262
* Exported pics
* Clean-up TFT
- Removed a bunch of unused pics
- Changed page indicator to new format (which will allow future development to hide unused pages)
- Standardized close button in most pages
* Fixed background pics
- Entities pages
- Weather pages
* Standardize close button
* Add "Alarm" section
* Support to wake-up page on `wake_up_display` service
This changes the behavior of a service introduced by #734.
* Optimize `wake_up_display` service
* Fix icon font sizes 10 and 64
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1701903604
And also remove all the unnecessary `wait_until`
* Fix Settings page element ids
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702109668
* Add translation keys for `settings` page
#1002
* Update settings page when brightness changes on HA
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702149796
* Clean-up page settings
* update docs (#1003)
* updated docs
* Update ReleaseNotes.md
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Clean-up Cover page
I'm preparing this page to have icons changing based on the device_class selected to a cover.
* Clean-up boot delay
* Enable `current_page` sensor by default
Otherwise the system won´t update values unless the page is reloaded.
* Use `current_page` in blueprint conditions
One more step towards the phase out of `nspanelevent`.
* Move `script.refresh_colors` to `service.global_settings`
As this is called from a single point, there's no meaning of having a separated script.
* Fix climate icon update
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891454
* Fix button show on climate page
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891335
* Visual improvements on climate page
- Add friendly name when embedded - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891465
- Make disable icons a bit darker - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6893440
- Add space for page title in EU an US Land versions
- Reset page timer when pressing/releasing on the slider - Partially solves #990
* Don't update values when page home is not visible
To reduce load on Home Assistant and the network
* Cleanup boot sequence
Move some functionalities to ESPHome
* Display internal sensor value when wifi is out
Before it was showing on home page only when API was out. This adds a test for WiFi.
* Fix `default_target_temperature`
It also updates the page home when thermostat status changes (for the chips).
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6897727
* Adding ID to components missing it
* Renamed `wake_up_display` to `wake_up`
* Re-arrange commands list
* Add service `set_component_color`
Deprecates the following services:
- `send_command_font_color`
- `send_command_background_color`
* Fix button pages not showing
* Adjusted time for HW long click
* Fixed buttons on settings page
* Minor adjustments to page climate
And replace font 10 to size 48 (it was 64 since a few days ago).
* Updates to breaking changes list
* Page settings redesign
Clean up the UI of settings page.
Prepare for translations.
* Enable translations of Settings page
* Notification word-wrap
For EU and US_LAND only, for now.
* Notifications page rebuilt
- Notification button processed on ESPHome (as all the info is there)
- Added word-wrap for main text
- Expanded text size
- Handling display mode (used to define the number of chars per line on Notifications)
- Versioning handling - As a consequence of the previous item.
* Word-wrap buttons pages
Taking advantage of the algorithm created for notifications.
* Word-wrap for Alarm page
* Version mismatch notication
* Fix ESPHome not starting with older TFT
* Rebuilt home page status bar update
* Updated translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-6926846
Thanks @MaiPiu
* Fix `Nextion reported variable name invalid!`
* Fix `Nextion variable invalid`
* Handle `embedded_indoor_temperature`
Internal temperature display will be handled locally (ESPHome) when no other sensor is selected.
* Review temperature correction engine
* Fix display climate chip
* update `temp_nspanel` when correction changes
* Fix `Fan` page not open with long press HW button
Solves #1007
* Minor adjustments on settings page
* version 4.0 ready for release
* Clean-up docs
* Improve version notification
* Disable restore `notification_unread`
This must be changed to a binary sensor in the future.
* Beta v4.0 (#1012)
* Create ReleaseNotes.md (#879)
* Create ReleaseNotes.md
* sensor display precision
* Filter devices to esp32 only (#881)
* Filter devices to esp32 only
Show only ESP32 devices when selecting the panel
* Filtered device list
* Sensor display precision (#880)
Now the values shown in your panel will follow the [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision) provided by Home Assistant.
=> If you have problems with a value exceeding the available space in your panel, please reduce the number of decimals using Home Assistant [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision).
* New language selector (#882)
* New language selector
* Update ReleaseNotes.md
* Update ReleaseNotes.md
* Remove `settings_entity` (#887)
* Remove `settings_entity`
- Bump version to 3.5_dev
- Removed references to pictures removed from TFT
- Removed code related to closing settings pages
- Removed trigger `settings_entity`
* Removed `set_settings_entity` service
- Bump version to 3.5_dev
- Removed `set_settings_entity` service - BREAKING CHANGE
- Removed `settings_entity` text-sensor - BREAKING CHANGE
- Added service `open_entity_settings_page` - BREAKING CHANGE
* Removed `settings_entity`
- Bump version to 3.5_dev
- Removed old climate page (climate_backup)
- Removed pics related to old climate page (ids 16-47, 80-83, 95-96 and 125(US only))
- Enforces brightness on any page change (this allows wake-up on settings page with long press on physical buttons) - Pending removing code from Blueprint
- Added `entity` variable on pages `climate`, `lightsettings` and `coversettings`
- Added `entity` info to `nspanelevent` on pages `climate`, `lightsettings` and `coversettings`
- Added `back_page` variable on pages `climate`, `lightsettings` and `coversettings` (default: home)
- Moving to TFT close page logic on pages `climate`, `lightsettings` and `coversettings` - Pending changes on Blueprint and ESPHome
- Standardized name for `page_label` on pages `climate`, `lightsettings` and `coversettings`
- Standardized settings page names: `climate`, `cover` and `light` (Removed `settings` from page name)
* Removed `settings_entity`
* Removed `settings_entity`
* Removed `settings_entity`
* Move `entity` variable to home page (#889)
* Move `entity` variable to home page
This will enable future development of a fallback climate
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Use `en` as fallback language (#891)
* Use `en` as fallback language
Uses English if a non valid language is selected (like when using legacy language selection).
* Use `en` as fallback language
* Create `nspanel_us_land.tft` (#890)
* Create `nspanel_us_land.tft'
Add `nspanel_us_land.tft' for US panel on landscape mode, fixing the offset on the touch screen when using `nspanel_eu.tft` into a US panel.
Hides the hardware buttons labels, as Nextion cannot support rotated text.
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
solves #390
solves #432
solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4933716
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
* Fix "Button confirmation page not working correctly"
Solves #883
* Supports weather forecast with `datetime` not string
This adds support to weather integrations where the `datetime` field under `forecast` attribute is provided as a `datetime` type.
This was seen on Météo-France, while all other weather integrations tested so far used a `text` field for `datetime`.
This solves #893
* Wifi icon to indicate when API offline
This changes the behavior of Wifi icon:
How it was before:
- Wifi icon was visible only when the wifi was connected, nothing was shown when wifi was not connected.
How it is now:
- Wifi icon will have 3 states:
- Wifi & API connected: Gray wifi icon
- Wifi disconnected: Red wifi-off icon
- Wifi connected, but API disconnected (HA is out?): Red api-off icon
* API status indication on the panel
* Limit light & cover to supported settings (#896)
* Limit light to supported settings
When showing light settings, only the supported features will be shown for each light.
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
This partially solves #635
* Limits covers to supported settings
Only show cover settings when `set_position` is supported.
This solves #635
* Limits covers to supported settings
* Update instructions.md
* Add Fan speed settings page (#897)
* Add Fan speed settings page
Add an initial fan speed control page for fans supporting speed control.
Add speed (%) info in the buttons pages.
Solves #404
Solves #791
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5786106
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Fix name on confirmation page
Fix the entity name on the confirmation page.
The new order is:
1. Name set on the blueprint settings
2. Entity's `friendly_name` attribute
3. Entity's `name` attribute
4. Entity's `entity_id`
Solves #501
* Select wake-up page (#898)
* Select wake-up page
Users will be able to select the wake-up page on the blueprint inputs.
This selected page will be shown after a boot (after the boot page) and with a touch in the screen when on screen saver page.
After showing this wake-up page, all the previous behavior for closing the page (with a click or after a timeout) will be the same.
Solves #576
Solves #612
Solves #801
Probably improves for https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5715670
* Select wake-up page
* Fan update engine
Change the fan update engine to follow the same patter as other settings pages.
* Update ReleaseNotes.md
* Adding vertical bars pics
* Panel offline mode (#900)
* Panel offline mode
Introduces "offline mode" for the panel, which will be used later with a fallback climate.
Pages that are depending on the blueprint (buttons pages, entity pages, settings pages, etc) won't be shown when the API is disconnected.
* Panel offline mode
* Panel offline mode
* Panel offline mode
* Panel offline mode
* "Jump to settings" on tft
Moved "Jump to settings page" routine from ESPHome to TFT in order to reduce complexity.
* Exclude Nextion2Text
Exclude Nextion2Text
* Fix validation issue
* Time engine on ESPHome
* Time engine on ESPHome
* Notification page bigger hotspot
Added hotspots around the buttons (Accept & Clear) on Notification page to make easier to click on those.
Solves #907
* Boot page retry comm
The boot page will retry communication with the blueprint once a minute to avoid the situation where that page is shown until the automation is reloaded.
* Fix call to screen page
Fixes the call to screen page on US panel.
Reconciliate the US landscape model from EU model.
* Fix fan page `button_on`
Fixing rounding on that button.
* Fixed Fan page rounding
* Prevents boot sequence in other pages
* Physical relay local control
We are trying to make your panel as autonomous as possible by moving some of the controls from the Blueprint to ESPHome. This will reduce the load in your network and Home Assistant, but also will make a more reliable system capable to do it's core functionality even when the network is unavailable or Home Assistant is restarting.
With this version, the following engines have been moved to your panel (local control):
- Physical relay control (when hardware left button is connected to relay 1 or right button to relay 2)
Solves #910
* Embedded climate (#917)
* Performance improvements
The main focus here was to reduce the number of calls between Home Assistant and ESPHome, moving logic as much as possible to TFT and ESPHome.
- Service calls moved to ESPHome (in preparation for Alarm Control Panel)
- Page change informed via event call instead of `nspanel_event` sensor (which still in use by other calls, but might be possible to remove in the future)
* Draft embedded climate
This adds an initial version of an embedded climate/thermostat (heating only for now) with support for local control even with Wi-Fi out.
Solves #646
Solves #263
* Update ReleaseNotes.md
* Fix climate slider
Fix for climate slider opening in an incorrect position and sending only the integer part of the new target temperature
* Moving home page to ESPHome
In progress...
* Fix translations - Dutch
* Embedded chip 3
Home page - Chip 3 will be controlled locally when embedded climate is enable.
* Fixed buttons bar
Fixed buttons bar managed on ESPHome when embedded climate is visible.
* Update ReleaseNotes.md
* Services back to the Blueprint
Moving service calls back to the blueprint as latest HA requires user's permissions to call HA services from ESPHome.
This still have to be used for Alarm calls due to security concerns.
* Update ReleaseNotes.md
* support to hidden ssid (#908)
Supports hidden ssid with the use of substitutions `wifi_hidden: "true"`.
This can be breaking change for users with custom/advanced wifi settings.
Solves #906
* Update nspanel_esphome.yaml
* Removed `restore_state`
There is some incomplete work related to alarms on this commit, but the focus here is to fix `restore_state` on ESPHome v2023.7.0.
This solves #939
* US model - Fan page - Redistribute icons
Redistributed icons on Fan page on US model in order to improve usability.
Based on feedback from https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6338706
* Align `nspanel_us_land`
Apply all changes from EU to US_Land
* Fix relays chips
Fix relay status indication on chips.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/926#issuecomment-1627660273
* Fix "invalid variable" for "api"
Fix error "Nextion invalid variable name" when setting `api`.
* Default embedded climate to relay_0
* Fix translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6511043
* Fix `set_temperature` for climate
Solves #957
* Fix `fan.turn_off` call
Removed timer call from fan stop button.
This solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6494535
* Call a `fan.turn_off` when percentage is 0%
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6621756
* Fix call for fan stop button
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6622377
* Icons on ESPHome
Move icons from TFT/HMI to ESPHome to prevent error on Nextion2Text.
* Updated translations - Spanish
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6548961
* Make home page sensor's icons consistent
Make icon selection consistent with chips where the entity's icon is used in case a icon is not set in the blueprint settings.
Solves #963
* Updated translations - Slovenian
Based on:
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6665723
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-6665751
* dutch (#974)
* small ducht translations
small ducht translations
* Dutch translations
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Add-on support (#977)
Moved climate settings to an add-on.
Updated documentation.
* Fixed link to addon climate docs
* Fix change brightness when sleeping
Prevents the panel to change screen brightness when sleeping.
Solves #975
* Standardize HA service calls
* Bump version to `4.0 dev`
* Create customization.md
This will reduce the need for:
- #920
- #662
- #833
* Clean-up for customizations
Clean up ESPHome in order to make easier the use of customizations.
* Create Alarm page
* Add page Alarm
* Add Alarm docs
Update docs to reflect the current state (new features & changes)
* Creating "install.md" and update add-ons instructions
* Add Alarm page buttons pics
* Add link to Alarm on page Home
* Create Alarm page
* Alarm button font color
* Add `keyb_num` page
* Alarm Control Panel with PIN (#982)
Implements an Alarm Control Panel page on NSPanel.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/66
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/227
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/672
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4874612
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/64#issuecomment-1566204490
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718
* Fix alarm without pin not working
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/pull/930#issuecomment-1680981977
* Alarm page UI
Fixed close button
Disabled buttons are darker
* Move Entities button to ESPHome
Move logic behind Entities button (Home page) from Blueprint to ESPHome in order to gain performance on creating home page.
* Human readable Uptime (#986)
* Human readable Uptime
* Uptime from Frenck code
* Uptime with Frenck code
* Updated Human Readable Uptime
* Removed trailing spaces
* Renamed sensor to "Last started"
Sensor renamed
Update moved to the boot process
Clean-up
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Co-authored-by: Edward Firmo <edward@costafirmo.com>
* Update alarm icon & color
* Revert `fast_connect` back to `false`
* Extended chars on buttons pages (#988)
Replaces #740
Probably solves #664
Probably solves #738
Probably solves #987
* Removed `fast_connect`
* Support to `code_arm_required`
Only shows the alarm PIN keyboard if a code is required for arming (or when disarming).
* Update alarm icon on home page
Refresh icon when alarm state changes.
* Fix alarm icon not updating on home page
* Home buttons new format - Alarm
Modernise the button Alarm flow on page Home to improve performance.
* Home buttons new format - Entities
Modernise the button "Entities" flow on page Home to improve performance.
* Home buttons new format - QRcode
Modernise the button "QRcode" flow on page Home to improve performance.
* Home buttons new format - Notification
Modernise the button "Notification" flow on page Home to improve performance.
I haven't moved the code from the Blueprint to ESPHome yet, as I will leave this for when we rebuild the Notification flow in the near future (hopefully), so the performance gains may not be perceived now. Just aligning with other buttons format.
* Adding screenshots
* Delete ReleaseNotes.md
Moved to the release
* New entity filter format
This new format was released with HA v2023.4 and the old one will be deprecated soon.
* Fix Alarm page bypass icon
* Bump version to 4.0
* Rename `addon_climate_heat`
* Simplify climate substitutions
* Add support for `addon_climate_cool`
* Removed `${verbose_log}`
Use logger level `VERBOSE` instead
* Fix script call
* Clean up general entities & fallback
Store inputs into variables only when needed.
Removed fallback mode - Replaced by ESPHome local control when the relay is assigned to the button in the blueprint.
* Phase out sensor `nspanel_event` (partially)
This sensor is being replaced by event calls.
* uptime sensors (#998)
* Create ReleaseNotes.md
* Fix Climate page when embedded climate
And also added a lot of logs which should be removed later as it takes from memory.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6835260
* Move brightness control to global var
Clean up page Home
* Alarm page translations - Finnish
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6857262
* Exported pics
* Clean-up TFT
- Removed a bunch of unused pics
- Changed page indicator to new format (which will allow future development to hide unused pages)
- Standardized close button in most pages
* Fixed background pics
- Entities pages
- Weather pages
* Standardize close button
* Add "Alarm" section
* Support to wake-up page on `wake_up_display` service
This changes the behavior of a service introduced by #734.
* Optimize `wake_up_display` service
* Fix icon font sizes 10 and 64
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1701903604
And also remove all the unnecessary `wait_until`
* Fix Settings page element ids
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702109668
* Add translation keys for `settings` page
#1002
* Update settings page when brightness changes on HA
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702149796
* Clean-up page settings
* update docs (#1003)
* updated docs
* Update ReleaseNotes.md
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Clean-up Cover page
I'm preparing this page to have icons changing based on the device_class selected to a cover.
* Clean-up boot delay
* Enable `current_page` sensor by default
Otherwise the system won´t update values unless the page is reloaded.
* Use `current_page` in blueprint conditions
One more step towards the phase out of `nspanelevent`.
* Move `script.refresh_colors` to `service.global_settings`
As this is called from a single point, there's no meaning of having a separated script.
* Fix climate icon update
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891454
* Fix button show on climate page
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891335
* Visual improvements on climate page
- Add friendly name when embedded - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891465
- Make disable icons a bit darker - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6893440
- Add space for page title in EU an US Land versions
- Reset page timer when pressing/releasing on the slider - Partially solves #990
* Don't update values when page home is not visible
To reduce load on Home Assistant and the network
* Cleanup boot sequence
Move some functionalities to ESPHome
* Display internal sensor value when wifi is out
Before it was showing on home page only when API was out. This adds a test for WiFi.
* Fix `default_target_temperature`
It also updates the page home when thermostat status changes (for the chips).
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6897727
* Adding ID to components missing it
* Renamed `wake_up_display` to `wake_up`
* Re-arrange commands list
* Add service `set_component_color`
Deprecates the following services:
- `send_command_font_color`
- `send_command_background_color`
* Fix button pages not showing
* Adjusted time for HW long click
* Fixed buttons on settings page
* Minor adjustments to page climate
And replace font 10 to size 48 (it was 64 since a few days ago).
* Updates to breaking changes list
* Page settings redesign
Clean up the UI of settings page.
Prepare for translations.
* Enable translations of Settings page
* Notification word-wrap
For EU and US_LAND only, for now.
* Notifications page rebuilt
- Notification button processed on ESPHome (as all the info is there)
- Added word-wrap for main text
- Expanded text size
- Handling display mode (used to define the number of chars per line on Notifications)
- Versioning handling - As a consequence of the previous item.
* Word-wrap buttons pages
Taking advantage of the algorithm created for notifications.
* Word-wrap for Alarm page
* Version mismatch notication
* Fix ESPHome not starting with older TFT
* Rebuilt home page status bar update
* Updated translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-6926846
Thanks @MaiPiu
* Fix `Nextion reported variable name invalid!`
* Fix `Nextion variable invalid`
* Handle `embedded_indoor_temperature`
Internal temperature display will be handled locally (ESPHome) when no other sensor is selected.
* Review temperature correction engine
* Fix display climate chip
* update `temp_nspanel` when correction changes
* Fix `Fan` page not open with long press HW button
Solves #1007
* Minor adjustments on settings page
* version 4.0 ready for release
* Clean-up docs
---------
Co-authored-by: bkbartk <bartkock@outlook.com>
Co-authored-by: w00zy <WZYProjects+github@gmail.com>
* Fix Fan page button colors when opening
Solves #1017
* Translations (#1023)
* Translations
* Update nspanel_blueprint.yaml
I've changed `brightness` for now as the new design isn't implemented yet, but that string is already in use with the current design.
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Adjustments to settings page
* Fix entity info when calling detailed pages
Solves #1022
* Added `media_player` page (hidden)
* New "Confirm" pop-up
This also removes the sensor "NSPanel Event"
* Fix pages not updating values
Solves #1026
* Media player - Buttons
- Added code to buttons on media_player page.
- Clean-up:
- Moved wake-up select from Blueprint to ESPHome component
- Removed `switch.xxxxx_confirmation_message`
* Fix logging for global_settings
It was logging wakeup_page, which is deprecated
* Improved version notification
* Removed trailing spaces
* Notification for `sensor.xxxxx_current_page` missing
This might be a common issue for users migrating from v3.4 to v3.5.
This information is part of the release notes, but I believe it worth having a guide to support closely any user who miss that in the release notes.
* Simplify `touchevent` engine
The touch event is used only for the sleeping engine (it will be used for dimming later) and it was transferring all the json info with page name, component, entity, etc.
This was replaced by a simple random integer with no meaning other than "the screen was touched, reset the timer".
* Media player first buttons actions
* Fix unknown service: `media_player.null`
* Media Player control
You will be able to add a Media Player entity to any of the buttons pages and with a long press you will see the media player page.
* Remove dimming timer for now
The funcionality isn't completed.
* Home page - Custom buttons
On the blueprint you can now set up to 3 buttons to be shown on Home page.
It will show the detailed settings page, so the entity must be compatible.
* Fix Media player missing parameters
Possibly solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1030#discussioncomment-6984573
* Prevents calls to `media_player.null`
* Remove `entity` info from pages on TFT
Since v3.4, the info about entity_id shown was going all the way to Nextion and then sent back in the json return, however this requires a long (100-char) global var and the way it was implemented, it was one of those per settings page, as climate should be also recorded at the same time in case the embedded climate was installed.
This was taking too much memory, so I've moved this info to a global variable (string) in ESPHome.
There is now lots of space for code cleaning (and still pending to do the same with climate entity, as it could be only a bool to inform if embedded), but this brings the functionality.
This enabled the return to global for some components, so it probably solves #1031
* Prototyping `power` page
Thanks @Floppe for doing the design
#838
* Prototyping `power` page
* New sleep flow
* Removed trailing spaces
* Fix empty page climate
* Fix names on button pages
Fix names when a name is not provided in the blueprint settings.
* Fix call to sleep routine when timeout changes
Solves #1037
* Replace `confirm` var on buttons pages
Simpler and saves some memory.
* Clean-up
* Align the code for the 3 timers
* Extend domains supported by home page custom buttons
Based on #1034
* Fix error when btn_label is `None`
* Fix `Variable invalid` on buttons pages
* Fix constructor of Entity pages
* Fallback even when button is assigned to another entity
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/1013#issuecomment-1720107844
* Add inputs for media player refresh time
* Adjustments to Media Player refresh interval default values
* Use panel's events to reset timers
Possibly solves #1040
Possibly solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-7020153
* State based colors to home page custom buttons
* Fix alarm not changing status
Do not clear `entity_id` when opening keyboard page, so the info can be used when sending commands.
Solves #1039
* Missing `nspanel_us.tft`
* add `touchevents` to pages `media_player` and `confirm`
To avoid panel going back to Home page while user is playing with the page.
Solves #1040
* Media player minor layout changes
* Media player - Volume timer & icon size
Volume timer changed from 1000 to 500ms
Icon change from font 9 to 10
* Media player roll back font 9 and timer 1s
* Don't send to Nextion obsolete volume settings
If the volume is the same as the last one sent to the screen, don't send again, so if changes are being made on the screen it didn't receive the update all the time, making the slider unresponsive.
* Media player - Layout improvement
- Removed button "Stop"
- Increase touch area for buttons
- Redistributed buttons on page
* Add touchevents to page climate
Possibly solves #995
* Resolve validation
* Correct playing time based on `updated_at` attribute
* Prepare for when attribute is not available
* Fix attribute `media_position`
* Fix time duration when HA isn't updating position
* Fix climate page not opening when offline
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6834067
* Clean-up release notes
* Clean up code
- Removed commented out lines
- Removed temporary logs
Getting prepared to release
* Bump version to 4.0beta
To reduce the chance of an obsolete file in use after the release.
* Change version to 4.0dev
To differentiate from beta.
* Added missing translations (#1047)
* Added missing translations
Added missing translations for the Swedish translation.
* Caption first char
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Translations to Slovak on Settings page
* Refresh docs
* Update nspanel_blank.md
* Update nspanel_blank.md
* Add screensaver to `nspanel_blank.tft`
And build a new tft with latest firmware and url for instructions.
* Update nspanel_blank.md
* Fix to Slovenian translation
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-7041796
* Settings page - Translations to French
From https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-7045452
* Alarm page - Translations to French
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-7046479
* Add customization for display sleeping/awake
Probably solves #1035
* Customizations - Blank TFT button
Probably solves #1048
* Customizations - Deep sleep
Solves #955
* Customization - Deep sleep - Fix broken link
* Translations - Slovak
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-7054153
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-7054142
* New versioning - not implemented
* Bump version to `4.0b2`
---------
Co-authored-by: bkbartk <bartkock@outlook.com>
Co-authored-by: w00zy <WZYProjects+github@gmail.com>
Co-authored-by: w00zy <52609940+WZYProjects@users.noreply.github.com>
Co-authored-by: Erik Larsson <erik1337.el@gmail.com>
* Added missing translations
Added missing translations for the Swedish translation.
* Caption first char
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Create ReleaseNotes.md (#879)
* Create ReleaseNotes.md
* sensor display precision
* Filter devices to esp32 only (#881)
* Filter devices to esp32 only
Show only ESP32 devices when selecting the panel
* Filtered device list
* Sensor display precision (#880)
Now the values shown in your panel will follow the [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision) provided by Home Assistant.
=> If you have problems with a value exceeding the available space in your panel, please reduce the number of decimals using Home Assistant [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision).
* New language selector (#882)
* New language selector
* Update ReleaseNotes.md
* Update ReleaseNotes.md
* Remove `settings_entity` (#887)
* Remove `settings_entity`
- Bump version to 3.5_dev
- Removed references to pictures removed from TFT
- Removed code related to closing settings pages
- Removed trigger `settings_entity`
* Removed `set_settings_entity` service
- Bump version to 3.5_dev
- Removed `set_settings_entity` service - BREAKING CHANGE
- Removed `settings_entity` text-sensor - BREAKING CHANGE
- Added service `open_entity_settings_page` - BREAKING CHANGE
* Removed `settings_entity`
- Bump version to 3.5_dev
- Removed old climate page (climate_backup)
- Removed pics related to old climate page (ids 16-47, 80-83, 95-96 and 125(US only))
- Enforces brightness on any page change (this allows wake-up on settings page with long press on physical buttons) - Pending removing code from Blueprint
- Added `entity` variable on pages `climate`, `lightsettings` and `coversettings`
- Added `entity` info to `nspanelevent` on pages `climate`, `lightsettings` and `coversettings`
- Added `back_page` variable on pages `climate`, `lightsettings` and `coversettings` (default: home)
- Moving to TFT close page logic on pages `climate`, `lightsettings` and `coversettings` - Pending changes on Blueprint and ESPHome
- Standardized name for `page_label` on pages `climate`, `lightsettings` and `coversettings`
- Standardized settings page names: `climate`, `cover` and `light` (Removed `settings` from page name)
* Removed `settings_entity`
* Removed `settings_entity`
* Removed `settings_entity`
* Move `entity` variable to home page (#889)
* Move `entity` variable to home page
This will enable future development of a fallback climate
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Use `en` as fallback language (#891)
* Use `en` as fallback language
Uses English if a non valid language is selected (like when using legacy language selection).
* Use `en` as fallback language
* Create `nspanel_us_land.tft` (#890)
* Create `nspanel_us_land.tft'
Add `nspanel_us_land.tft' for US panel on landscape mode, fixing the offset on the touch screen when using `nspanel_eu.tft` into a US panel.
Hides the hardware buttons labels, as Nextion cannot support rotated text.
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
solves #390
solves #432
solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4933716
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
* Fix "Button confirmation page not working correctly"
Solves #883
* Supports weather forecast with `datetime` not string
This adds support to weather integrations where the `datetime` field under `forecast` attribute is provided as a `datetime` type.
This was seen on Météo-France, while all other weather integrations tested so far used a `text` field for `datetime`.
This solves #893
* Wifi icon to indicate when API offline
This changes the behavior of Wifi icon:
How it was before:
- Wifi icon was visible only when the wifi was connected, nothing was shown when wifi was not connected.
How it is now:
- Wifi icon will have 3 states:
- Wifi & API connected: Gray wifi icon
- Wifi disconnected: Red wifi-off icon
- Wifi connected, but API disconnected (HA is out?): Red api-off icon
* API status indication on the panel
* Limit light & cover to supported settings (#896)
* Limit light to supported settings
When showing light settings, only the supported features will be shown for each light.
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
This partially solves #635
* Limits covers to supported settings
Only show cover settings when `set_position` is supported.
This solves #635
* Limits covers to supported settings
* Update instructions.md
* Add Fan speed settings page (#897)
* Add Fan speed settings page
Add an initial fan speed control page for fans supporting speed control.
Add speed (%) info in the buttons pages.
Solves #404
Solves #791
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5786106
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Fix name on confirmation page
Fix the entity name on the confirmation page.
The new order is:
1. Name set on the blueprint settings
2. Entity's `friendly_name` attribute
3. Entity's `name` attribute
4. Entity's `entity_id`
Solves #501
* Select wake-up page (#898)
* Select wake-up page
Users will be able to select the wake-up page on the blueprint inputs.
This selected page will be shown after a boot (after the boot page) and with a touch in the screen when on screen saver page.
After showing this wake-up page, all the previous behavior for closing the page (with a click or after a timeout) will be the same.
Solves #576
Solves #612
Solves #801
Probably improves for https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5715670
* Select wake-up page
* Fan update engine
Change the fan update engine to follow the same patter as other settings pages.
* Update ReleaseNotes.md
* Adding vertical bars pics
* Panel offline mode (#900)
* Panel offline mode
Introduces "offline mode" for the panel, which will be used later with a fallback climate.
Pages that are depending on the blueprint (buttons pages, entity pages, settings pages, etc) won't be shown when the API is disconnected.
* Panel offline mode
* Panel offline mode
* Panel offline mode
* Panel offline mode
* "Jump to settings" on tft
Moved "Jump to settings page" routine from ESPHome to TFT in order to reduce complexity.
* Exclude Nextion2Text
Exclude Nextion2Text
* Fix validation issue
* Time engine on ESPHome
* Time engine on ESPHome
* Notification page bigger hotspot
Added hotspots around the buttons (Accept & Clear) on Notification page to make easier to click on those.
Solves #907
* Boot page retry comm
The boot page will retry communication with the blueprint once a minute to avoid the situation where that page is shown until the automation is reloaded.
* Fix call to screen page
Fixes the call to screen page on US panel.
Reconciliate the US landscape model from EU model.
* Fix fan page `button_on`
Fixing rounding on that button.
* Fixed Fan page rounding
* Prevents boot sequence in other pages
* Physical relay local control
We are trying to make your panel as autonomous as possible by moving some of the controls from the Blueprint to ESPHome. This will reduce the load in your network and Home Assistant, but also will make a more reliable system capable to do it's core functionality even when the network is unavailable or Home Assistant is restarting.
With this version, the following engines have been moved to your panel (local control):
- Physical relay control (when hardware left button is connected to relay 1 or right button to relay 2)
Solves #910
* Embedded climate (#917)
* Performance improvements
The main focus here was to reduce the number of calls between Home Assistant and ESPHome, moving logic as much as possible to TFT and ESPHome.
- Service calls moved to ESPHome (in preparation for Alarm Control Panel)
- Page change informed via event call instead of `nspanel_event` sensor (which still in use by other calls, but might be possible to remove in the future)
* Draft embedded climate
This adds an initial version of an embedded climate/thermostat (heating only for now) with support for local control even with Wi-Fi out.
Solves #646
Solves #263
* Update ReleaseNotes.md
* Fix climate slider
Fix for climate slider opening in an incorrect position and sending only the integer part of the new target temperature
* Moving home page to ESPHome
In progress...
* Fix translations - Dutch
* Embedded chip 3
Home page - Chip 3 will be controlled locally when embedded climate is enable.
* Fixed buttons bar
Fixed buttons bar managed on ESPHome when embedded climate is visible.
* Update ReleaseNotes.md
* Services back to the Blueprint
Moving service calls back to the blueprint as latest HA requires user's permissions to call HA services from ESPHome.
This still have to be used for Alarm calls due to security concerns.
* Update ReleaseNotes.md
* support to hidden ssid (#908)
Supports hidden ssid with the use of substitutions `wifi_hidden: "true"`.
This can be breaking change for users with custom/advanced wifi settings.
Solves #906
* Update nspanel_esphome.yaml
* Removed `restore_state`
There is some incomplete work related to alarms on this commit, but the focus here is to fix `restore_state` on ESPHome v2023.7.0.
This solves #939
* US model - Fan page - Redistribute icons
Redistributed icons on Fan page on US model in order to improve usability.
Based on feedback from https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6338706
* Align `nspanel_us_land`
Apply all changes from EU to US_Land
* Fix relays chips
Fix relay status indication on chips.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/926#issuecomment-1627660273
* Fix "invalid variable" for "api"
Fix error "Nextion invalid variable name" when setting `api`.
* Default embedded climate to relay_0
* Fix issue with `restore_state` and ESPHome v2023.7.0 (#941)
Solves #939
* Fix translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6511043
* Fix `set_temperature` for climate
Solves #957
* Fix `fan.turn_off` call
Removed timer call from fan stop button.
This solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6494535
* Call a `fan.turn_off` when percentage is 0%
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6621756
* Fix call for fan stop button
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6622377
* Icons on ESPHome
Move icons from TFT/HMI to ESPHome to prevent error on Nextion2Text.
* Updated translations - Spanish
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6548961
* Make home page sensor's icons consistent
Make icon selection consistent with chips where the entity's icon is used in case a icon is not set in the blueprint settings.
Solves #963
* Updated translations - Slovenian
Based on:
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6665723
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-6665751
* dutch (#974)
* small ducht translations
small ducht translations
* Dutch translations
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Add-on support (#977)
Moved climate settings to an add-on.
Updated documentation.
* Fixed link to addon climate docs
* Fix change brightness when sleeping
Prevents the panel to change screen brightness when sleeping.
Solves #975
* Standardize HA service calls
* Bump version to `4.0 dev`
* Create customization.md
This will reduce the need for:
- #920
- #662
- #833
* Clean-up for customizations
Clean up ESPHome in order to make easier the use of customizations.
* Create Alarm page
* Add page Alarm
* Add Alarm docs
Update docs to reflect the current state (new features & changes)
* Creating "install.md" and update add-ons instructions
* Add Alarm page buttons pics
* Add link to Alarm on page Home
* Create Alarm page
* Alarm button font color
* Add `keyb_num` page
* Alarm Control Panel with PIN (#982)
Implements an Alarm Control Panel page on NSPanel.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/66
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/227
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/672
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4874612
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/64#issuecomment-1566204490
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718
* Fix alarm without pin not working
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/pull/930#issuecomment-1680981977
* Alarm page UI
Fixed close button
Disabled buttons are darker
* Move Entities button to ESPHome
Move logic behind Entities button (Home page) from Blueprint to ESPHome in order to gain performance on creating home page.
* Human readable Uptime (#986)
* Human readable Uptime
* Uptime from Frenck code
* Uptime with Frenck code
* Updated Human Readable Uptime
* Removed trailing spaces
* Renamed sensor to "Last started"
Sensor renamed
Update moved to the boot process
Clean-up
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Co-authored-by: Edward Firmo <edward@costafirmo.com>
* Update alarm icon & color
* Revert `fast_connect` back to `false`
* Extended chars on buttons pages (#988)
Replaces #740
Probably solves #664
Probably solves #738
Probably solves #987
* Removed `fast_connect`
* Support to `code_arm_required`
Only shows the alarm PIN keyboard if a code is required for arming (or when disarming).
* Update alarm icon on home page
Refresh icon when alarm state changes.
* Fix alarm icon not updating on home page
* Home buttons new format - Alarm
Modernise the button Alarm flow on page Home to improve performance.
* Home buttons new format - Entities
Modernise the button "Entities" flow on page Home to improve performance.
* Home buttons new format - QRcode
Modernise the button "QRcode" flow on page Home to improve performance.
* Home buttons new format - Notification
Modernise the button "Notification" flow on page Home to improve performance.
I haven't moved the code from the Blueprint to ESPHome yet, as I will leave this for when we rebuild the Notification flow in the near future (hopefully), so the performance gains may not be perceived now. Just aligning with other buttons format.
* Adding screenshots
* Delete ReleaseNotes.md
Moved to the release
* New entity filter format
This new format was released with HA v2023.4 and the old one will be deprecated soon.
* Fix Alarm page bypass icon
* Bump version to 4.0
* Rename `addon_climate_heat`
* Simplify climate substitutions
* Add support for `addon_climate_cool`
* Removed `${verbose_log}`
Use logger level `VERBOSE` instead
* Fix script call
* Clean up general entities & fallback
Store inputs into variables only when needed.
Removed fallback mode - Replaced by ESPHome local control when the relay is assigned to the button in the blueprint.
* Phase out sensor `nspanel_event` (partially)
This sensor is being replaced by event calls.
* uptime sensors (#998)
* Create ReleaseNotes.md
* Fix Climate page when embedded climate
And also added a lot of logs which should be removed later as it takes from memory.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6835260
* Move brightness control to global var
Clean up page Home
* Alarm page translations - Finnish
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6857262
* Exported pics
* Clean-up TFT
- Removed a bunch of unused pics
- Changed page indicator to new format (which will allow future development to hide unused pages)
- Standardized close button in most pages
* Fixed background pics
- Entities pages
- Weather pages
* Standardize close button
* Add "Alarm" section
* Support to wake-up page on `wake_up_display` service
This changes the behavior of a service introduced by #734.
* Optimize `wake_up_display` service
* Fix icon font sizes 10 and 64
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1701903604
And also remove all the unnecessary `wait_until`
* Fix Settings page element ids
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702109668
* Add translation keys for `settings` page
#1002
* Update settings page when brightness changes on HA
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702149796
* Clean-up page settings
* update docs (#1003)
* updated docs
* Update ReleaseNotes.md
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Clean-up Cover page
I'm preparing this page to have icons changing based on the device_class selected to a cover.
* Clean-up boot delay
* Enable `current_page` sensor by default
Otherwise the system won´t update values unless the page is reloaded.
* Use `current_page` in blueprint conditions
One more step towards the phase out of `nspanelevent`.
* Move `script.refresh_colors` to `service.global_settings`
As this is called from a single point, there's no meaning of having a separated script.
* Fix climate icon update
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891454
* Fix button show on climate page
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891335
* Visual improvements on climate page
- Add friendly name when embedded - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891465
- Make disable icons a bit darker - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6893440
- Add space for page title in EU an US Land versions
- Reset page timer when pressing/releasing on the slider - Partially solves #990
* Don't update values when page home is not visible
To reduce load on Home Assistant and the network
* Cleanup boot sequence
Move some functionalities to ESPHome
* Display internal sensor value when wifi is out
Before it was showing on home page only when API was out. This adds a test for WiFi.
* Fix `default_target_temperature`
It also updates the page home when thermostat status changes (for the chips).
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6897727
* Adding ID to components missing it
* Renamed `wake_up_display` to `wake_up`
* Re-arrange commands list
* Add service `set_component_color`
Deprecates the following services:
- `send_command_font_color`
- `send_command_background_color`
* Fix button pages not showing
* Adjusted time for HW long click
* Fixed buttons on settings page
* Minor adjustments to page climate
And replace font 10 to size 48 (it was 64 since a few days ago).
* Updates to breaking changes list
* Page settings redesign
Clean up the UI of settings page.
Prepare for translations.
* Enable translations of Settings page
* Notification word-wrap
For EU and US_LAND only, for now.
* Notifications page rebuilt
- Notification button processed on ESPHome (as all the info is there)
- Added word-wrap for main text
- Expanded text size
- Handling display mode (used to define the number of chars per line on Notifications)
- Versioning handling - As a consequence of the previous item.
* Word-wrap buttons pages
Taking advantage of the algorithm created for notifications.
* Word-wrap for Alarm page
* Version mismatch notication
* Fix ESPHome not starting with older TFT
* Rebuilt home page status bar update
* Updated translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-6926846
Thanks @MaiPiu
* Fix `Nextion reported variable name invalid!`
* Fix `Nextion variable invalid`
* Handle `embedded_indoor_temperature`
Internal temperature display will be handled locally (ESPHome) when no other sensor is selected.
* Review temperature correction engine
* Fix display climate chip
* update `temp_nspanel` when correction changes
* Fix `Fan` page not open with long press HW button
Solves #1007
* Minor adjustments on settings page
* version 4.0 ready for release
* Clean-up docs
* Improve version notification
* Disable restore `notification_unread`
This must be changed to a binary sensor in the future.
* Beta v4.0 (#1012)
* Create ReleaseNotes.md (#879)
* Create ReleaseNotes.md
* sensor display precision
* Filter devices to esp32 only (#881)
* Filter devices to esp32 only
Show only ESP32 devices when selecting the panel
* Filtered device list
* Sensor display precision (#880)
Now the values shown in your panel will follow the [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision) provided by Home Assistant.
=> If you have problems with a value exceeding the available space in your panel, please reduce the number of decimals using Home Assistant [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision).
* New language selector (#882)
* New language selector
* Update ReleaseNotes.md
* Update ReleaseNotes.md
* Remove `settings_entity` (#887)
* Remove `settings_entity`
- Bump version to 3.5_dev
- Removed references to pictures removed from TFT
- Removed code related to closing settings pages
- Removed trigger `settings_entity`
* Removed `set_settings_entity` service
- Bump version to 3.5_dev
- Removed `set_settings_entity` service - BREAKING CHANGE
- Removed `settings_entity` text-sensor - BREAKING CHANGE
- Added service `open_entity_settings_page` - BREAKING CHANGE
* Removed `settings_entity`
- Bump version to 3.5_dev
- Removed old climate page (climate_backup)
- Removed pics related to old climate page (ids 16-47, 80-83, 95-96 and 125(US only))
- Enforces brightness on any page change (this allows wake-up on settings page with long press on physical buttons) - Pending removing code from Blueprint
- Added `entity` variable on pages `climate`, `lightsettings` and `coversettings`
- Added `entity` info to `nspanelevent` on pages `climate`, `lightsettings` and `coversettings`
- Added `back_page` variable on pages `climate`, `lightsettings` and `coversettings` (default: home)
- Moving to TFT close page logic on pages `climate`, `lightsettings` and `coversettings` - Pending changes on Blueprint and ESPHome
- Standardized name for `page_label` on pages `climate`, `lightsettings` and `coversettings`
- Standardized settings page names: `climate`, `cover` and `light` (Removed `settings` from page name)
* Removed `settings_entity`
* Removed `settings_entity`
* Removed `settings_entity`
* Move `entity` variable to home page (#889)
* Move `entity` variable to home page
This will enable future development of a fallback climate
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Use `en` as fallback language (#891)
* Use `en` as fallback language
Uses English if a non valid language is selected (like when using legacy language selection).
* Use `en` as fallback language
* Create `nspanel_us_land.tft` (#890)
* Create `nspanel_us_land.tft'
Add `nspanel_us_land.tft' for US panel on landscape mode, fixing the offset on the touch screen when using `nspanel_eu.tft` into a US panel.
Hides the hardware buttons labels, as Nextion cannot support rotated text.
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
solves #390
solves #432
solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4933716
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
* Fix "Button confirmation page not working correctly"
Solves #883
* Supports weather forecast with `datetime` not string
This adds support to weather integrations where the `datetime` field under `forecast` attribute is provided as a `datetime` type.
This was seen on Météo-France, while all other weather integrations tested so far used a `text` field for `datetime`.
This solves #893
* Wifi icon to indicate when API offline
This changes the behavior of Wifi icon:
How it was before:
- Wifi icon was visible only when the wifi was connected, nothing was shown when wifi was not connected.
How it is now:
- Wifi icon will have 3 states:
- Wifi & API connected: Gray wifi icon
- Wifi disconnected: Red wifi-off icon
- Wifi connected, but API disconnected (HA is out?): Red api-off icon
* API status indication on the panel
* Limit light & cover to supported settings (#896)
* Limit light to supported settings
When showing light settings, only the supported features will be shown for each light.
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
This partially solves #635
* Limits covers to supported settings
Only show cover settings when `set_position` is supported.
This solves #635
* Limits covers to supported settings
* Update instructions.md
* Add Fan speed settings page (#897)
* Add Fan speed settings page
Add an initial fan speed control page for fans supporting speed control.
Add speed (%) info in the buttons pages.
Solves #404
Solves #791
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5786106
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Fix name on confirmation page
Fix the entity name on the confirmation page.
The new order is:
1. Name set on the blueprint settings
2. Entity's `friendly_name` attribute
3. Entity's `name` attribute
4. Entity's `entity_id`
Solves #501
* Select wake-up page (#898)
* Select wake-up page
Users will be able to select the wake-up page on the blueprint inputs.
This selected page will be shown after a boot (after the boot page) and with a touch in the screen when on screen saver page.
After showing this wake-up page, all the previous behavior for closing the page (with a click or after a timeout) will be the same.
Solves #576
Solves #612
Solves #801
Probably improves for https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5715670
* Select wake-up page
* Fan update engine
Change the fan update engine to follow the same patter as other settings pages.
* Update ReleaseNotes.md
* Adding vertical bars pics
* Panel offline mode (#900)
* Panel offline mode
Introduces "offline mode" for the panel, which will be used later with a fallback climate.
Pages that are depending on the blueprint (buttons pages, entity pages, settings pages, etc) won't be shown when the API is disconnected.
* Panel offline mode
* Panel offline mode
* Panel offline mode
* Panel offline mode
* "Jump to settings" on tft
Moved "Jump to settings page" routine from ESPHome to TFT in order to reduce complexity.
* Exclude Nextion2Text
Exclude Nextion2Text
* Fix validation issue
* Time engine on ESPHome
* Time engine on ESPHome
* Notification page bigger hotspot
Added hotspots around the buttons (Accept & Clear) on Notification page to make easier to click on those.
Solves #907
* Boot page retry comm
The boot page will retry communication with the blueprint once a minute to avoid the situation where that page is shown until the automation is reloaded.
* Fix call to screen page
Fixes the call to screen page on US panel.
Reconciliate the US landscape model from EU model.
* Fix fan page `button_on`
Fixing rounding on that button.
* Fixed Fan page rounding
* Prevents boot sequence in other pages
* Physical relay local control
We are trying to make your panel as autonomous as possible by moving some of the controls from the Blueprint to ESPHome. This will reduce the load in your network and Home Assistant, but also will make a more reliable system capable to do it's core functionality even when the network is unavailable or Home Assistant is restarting.
With this version, the following engines have been moved to your panel (local control):
- Physical relay control (when hardware left button is connected to relay 1 or right button to relay 2)
Solves #910
* Embedded climate (#917)
* Performance improvements
The main focus here was to reduce the number of calls between Home Assistant and ESPHome, moving logic as much as possible to TFT and ESPHome.
- Service calls moved to ESPHome (in preparation for Alarm Control Panel)
- Page change informed via event call instead of `nspanel_event` sensor (which still in use by other calls, but might be possible to remove in the future)
* Draft embedded climate
This adds an initial version of an embedded climate/thermostat (heating only for now) with support for local control even with Wi-Fi out.
Solves #646
Solves #263
* Update ReleaseNotes.md
* Fix climate slider
Fix for climate slider opening in an incorrect position and sending only the integer part of the new target temperature
* Moving home page to ESPHome
In progress...
* Fix translations - Dutch
* Embedded chip 3
Home page - Chip 3 will be controlled locally when embedded climate is enable.
* Fixed buttons bar
Fixed buttons bar managed on ESPHome when embedded climate is visible.
* Update ReleaseNotes.md
* Services back to the Blueprint
Moving service calls back to the blueprint as latest HA requires user's permissions to call HA services from ESPHome.
This still have to be used for Alarm calls due to security concerns.
* Update ReleaseNotes.md
* support to hidden ssid (#908)
Supports hidden ssid with the use of substitutions `wifi_hidden: "true"`.
This can be breaking change for users with custom/advanced wifi settings.
Solves #906
* Update nspanel_esphome.yaml
* Removed `restore_state`
There is some incomplete work related to alarms on this commit, but the focus here is to fix `restore_state` on ESPHome v2023.7.0.
This solves #939
* US model - Fan page - Redistribute icons
Redistributed icons on Fan page on US model in order to improve usability.
Based on feedback from https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6338706
* Align `nspanel_us_land`
Apply all changes from EU to US_Land
* Fix relays chips
Fix relay status indication on chips.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/926#issuecomment-1627660273
* Fix "invalid variable" for "api"
Fix error "Nextion invalid variable name" when setting `api`.
* Default embedded climate to relay_0
* Fix translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6511043
* Fix `set_temperature` for climate
Solves #957
* Fix `fan.turn_off` call
Removed timer call from fan stop button.
This solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6494535
* Call a `fan.turn_off` when percentage is 0%
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6621756
* Fix call for fan stop button
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6622377
* Icons on ESPHome
Move icons from TFT/HMI to ESPHome to prevent error on Nextion2Text.
* Updated translations - Spanish
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6548961
* Make home page sensor's icons consistent
Make icon selection consistent with chips where the entity's icon is used in case a icon is not set in the blueprint settings.
Solves #963
* Updated translations - Slovenian
Based on:
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6665723
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-6665751
* dutch (#974)
* small ducht translations
small ducht translations
* Dutch translations
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Add-on support (#977)
Moved climate settings to an add-on.
Updated documentation.
* Fixed link to addon climate docs
* Fix change brightness when sleeping
Prevents the panel to change screen brightness when sleeping.
Solves #975
* Standardize HA service calls
* Bump version to `4.0 dev`
* Create customization.md
This will reduce the need for:
- #920
- #662
- #833
* Clean-up for customizations
Clean up ESPHome in order to make easier the use of customizations.
* Create Alarm page
* Add page Alarm
* Add Alarm docs
Update docs to reflect the current state (new features & changes)
* Creating "install.md" and update add-ons instructions
* Add Alarm page buttons pics
* Add link to Alarm on page Home
* Create Alarm page
* Alarm button font color
* Add `keyb_num` page
* Alarm Control Panel with PIN (#982)
Implements an Alarm Control Panel page on NSPanel.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/66
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/227
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/672
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4874612
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/64#issuecomment-1566204490
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718
* Fix alarm without pin not working
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/pull/930#issuecomment-1680981977
* Alarm page UI
Fixed close button
Disabled buttons are darker
* Move Entities button to ESPHome
Move logic behind Entities button (Home page) from Blueprint to ESPHome in order to gain performance on creating home page.
* Human readable Uptime (#986)
* Human readable Uptime
* Uptime from Frenck code
* Uptime with Frenck code
* Updated Human Readable Uptime
* Removed trailing spaces
* Renamed sensor to "Last started"
Sensor renamed
Update moved to the boot process
Clean-up
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Co-authored-by: Edward Firmo <edward@costafirmo.com>
* Update alarm icon & color
* Revert `fast_connect` back to `false`
* Extended chars on buttons pages (#988)
Replaces #740
Probably solves #664
Probably solves #738
Probably solves #987
* Removed `fast_connect`
* Support to `code_arm_required`
Only shows the alarm PIN keyboard if a code is required for arming (or when disarming).
* Update alarm icon on home page
Refresh icon when alarm state changes.
* Fix alarm icon not updating on home page
* Home buttons new format - Alarm
Modernise the button Alarm flow on page Home to improve performance.
* Home buttons new format - Entities
Modernise the button "Entities" flow on page Home to improve performance.
* Home buttons new format - QRcode
Modernise the button "QRcode" flow on page Home to improve performance.
* Home buttons new format - Notification
Modernise the button "Notification" flow on page Home to improve performance.
I haven't moved the code from the Blueprint to ESPHome yet, as I will leave this for when we rebuild the Notification flow in the near future (hopefully), so the performance gains may not be perceived now. Just aligning with other buttons format.
* Adding screenshots
* Delete ReleaseNotes.md
Moved to the release
* New entity filter format
This new format was released with HA v2023.4 and the old one will be deprecated soon.
* Fix Alarm page bypass icon
* Bump version to 4.0
* Rename `addon_climate_heat`
* Simplify climate substitutions
* Add support for `addon_climate_cool`
* Removed `${verbose_log}`
Use logger level `VERBOSE` instead
* Fix script call
* Clean up general entities & fallback
Store inputs into variables only when needed.
Removed fallback mode - Replaced by ESPHome local control when the relay is assigned to the button in the blueprint.
* Phase out sensor `nspanel_event` (partially)
This sensor is being replaced by event calls.
* uptime sensors (#998)
* Create ReleaseNotes.md
* Fix Climate page when embedded climate
And also added a lot of logs which should be removed later as it takes from memory.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6835260
* Move brightness control to global var
Clean up page Home
* Alarm page translations - Finnish
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6857262
* Exported pics
* Clean-up TFT
- Removed a bunch of unused pics
- Changed page indicator to new format (which will allow future development to hide unused pages)
- Standardized close button in most pages
* Fixed background pics
- Entities pages
- Weather pages
* Standardize close button
* Add "Alarm" section
* Support to wake-up page on `wake_up_display` service
This changes the behavior of a service introduced by #734.
* Optimize `wake_up_display` service
* Fix icon font sizes 10 and 64
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1701903604
And also remove all the unnecessary `wait_until`
* Fix Settings page element ids
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702109668
* Add translation keys for `settings` page
#1002
* Update settings page when brightness changes on HA
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702149796
* Clean-up page settings
* update docs (#1003)
* updated docs
* Update ReleaseNotes.md
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Clean-up Cover page
I'm preparing this page to have icons changing based on the device_class selected to a cover.
* Clean-up boot delay
* Enable `current_page` sensor by default
Otherwise the system won´t update values unless the page is reloaded.
* Use `current_page` in blueprint conditions
One more step towards the phase out of `nspanelevent`.
* Move `script.refresh_colors` to `service.global_settings`
As this is called from a single point, there's no meaning of having a separated script.
* Fix climate icon update
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891454
* Fix button show on climate page
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891335
* Visual improvements on climate page
- Add friendly name when embedded - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891465
- Make disable icons a bit darker - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6893440
- Add space for page title in EU an US Land versions
- Reset page timer when pressing/releasing on the slider - Partially solves #990
* Don't update values when page home is not visible
To reduce load on Home Assistant and the network
* Cleanup boot sequence
Move some functionalities to ESPHome
* Display internal sensor value when wifi is out
Before it was showing on home page only when API was out. This adds a test for WiFi.
* Fix `default_target_temperature`
It also updates the page home when thermostat status changes (for the chips).
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6897727
* Adding ID to components missing it
* Renamed `wake_up_display` to `wake_up`
* Re-arrange commands list
* Add service `set_component_color`
Deprecates the following services:
- `send_command_font_color`
- `send_command_background_color`
* Fix button pages not showing
* Adjusted time for HW long click
* Fixed buttons on settings page
* Minor adjustments to page climate
And replace font 10 to size 48 (it was 64 since a few days ago).
* Updates to breaking changes list
* Page settings redesign
Clean up the UI of settings page.
Prepare for translations.
* Enable translations of Settings page
* Notification word-wrap
For EU and US_LAND only, for now.
* Notifications page rebuilt
- Notification button processed on ESPHome (as all the info is there)
- Added word-wrap for main text
- Expanded text size
- Handling display mode (used to define the number of chars per line on Notifications)
- Versioning handling - As a consequence of the previous item.
* Word-wrap buttons pages
Taking advantage of the algorithm created for notifications.
* Word-wrap for Alarm page
* Version mismatch notication
* Fix ESPHome not starting with older TFT
* Rebuilt home page status bar update
* Updated translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-6926846
Thanks @MaiPiu
* Fix `Nextion reported variable name invalid!`
* Fix `Nextion variable invalid`
* Handle `embedded_indoor_temperature`
Internal temperature display will be handled locally (ESPHome) when no other sensor is selected.
* Review temperature correction engine
* Fix display climate chip
* update `temp_nspanel` when correction changes
* Fix `Fan` page not open with long press HW button
Solves #1007
* Minor adjustments on settings page
* version 4.0 ready for release
* Clean-up docs
---------
Co-authored-by: bkbartk <bartkock@outlook.com>
Co-authored-by: w00zy <WZYProjects+github@gmail.com>
* Fix Fan page button colors when opening
Solves #1017
* Translations (#1023)
* Translations
* Update nspanel_blueprint.yaml
I've changed `brightness` for now as the new design isn't implemented yet, but that string is already in use with the current design.
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Adjustments to settings page
* Fix entity info when calling detailed pages
Solves #1022
* Added `media_player` page (hidden)
* New "Confirm" pop-up
This also removes the sensor "NSPanel Event"
* Fix pages not updating values
Solves #1026
* Media player - Buttons
- Added code to buttons on media_player page.
- Clean-up:
- Moved wake-up select from Blueprint to ESPHome component
- Removed `switch.xxxxx_confirmation_message`
* Fix logging for global_settings
It was logging wakeup_page, which is deprecated
* Improved version notification
* Removed trailing spaces
* Notification for `sensor.xxxxx_current_page` missing
This might be a common issue for users migrating from v3.4 to v3.5.
This information is part of the release notes, but I believe it worth having a guide to support closely any user who miss that in the release notes.
* Simplify `touchevent` engine
The touch event is used only for the sleeping engine (it will be used for dimming later) and it was transferring all the json info with page name, component, entity, etc.
This was replaced by a simple random integer with no meaning other than "the screen was touched, reset the timer".
* Media player first buttons actions
* Fix unknown service: `media_player.null`
* Media Player control
You will be able to add a Media Player entity to any of the buttons pages and with a long press you will see the media player page.
* Remove dimming timer for now
The funcionality isn't completed.
* Home page - Custom buttons
On the blueprint you can now set up to 3 buttons to be shown on Home page.
It will show the detailed settings page, so the entity must be compatible.
* Fix Media player missing parameters
Possibly solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1030#discussioncomment-6984573
* Prevents calls to `media_player.null`
* Remove `entity` info from pages on TFT
Since v3.4, the info about entity_id shown was going all the way to Nextion and then sent back in the json return, however this requires a long (100-char) global var and the way it was implemented, it was one of those per settings page, as climate should be also recorded at the same time in case the embedded climate was installed.
This was taking too much memory, so I've moved this info to a global variable (string) in ESPHome.
There is now lots of space for code cleaning (and still pending to do the same with climate entity, as it could be only a bool to inform if embedded), but this brings the functionality.
This enabled the return to global for some components, so it probably solves #1031
* Prototyping `power` page
Thanks @Floppe for doing the design
#838
* Prototyping `power` page
* New sleep flow
* Removed trailing spaces
* Fix empty page climate
* Fix names on button pages
Fix names when a name is not provided in the blueprint settings.
* Fix call to sleep routine when timeout changes
Solves #1037
* Replace `confirm` var on buttons pages
Simpler and saves some memory.
* Clean-up
* Align the code for the 3 timers
* Extend domains supported by home page custom buttons
Based on #1034
* Fix error when btn_label is `None`
* Fix `Variable invalid` on buttons pages
* Fix constructor of Entity pages
* Fallback even when button is assigned to another entity
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/1013#issuecomment-1720107844
* Add inputs for media player refresh time
* Adjustments to Media Player refresh interval default values
* Use panel's events to reset timers
Possibly solves #1040
Possibly solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-7020153
* State based colors to home page custom buttons
* Fix alarm not changing status
Do not clear `entity_id` when opening keyboard page, so the info can be used when sending commands.
Solves #1039
* Missing `nspanel_us.tft`
* add `touchevents` to pages `media_player` and `confirm`
To avoid panel going back to Home page while user is playing with the page.
Solves #1040
* Media player minor layout changes
* Media player - Volume timer & icon size
Volume timer changed from 1000 to 500ms
Icon change from font 9 to 10
* Media player roll back font 9 and timer 1s
* Don't send to Nextion obsolete volume settings
If the volume is the same as the last one sent to the screen, don't send again, so if changes are being made on the screen it didn't receive the update all the time, making the slider unresponsive.
* Media player - Layout improvement
- Removed button "Stop"
- Increase touch area for buttons
- Redistributed buttons on page
* Add touchevents to page climate
Possibly solves #995
* Resolve validation
* Correct playing time based on `updated_at` attribute
* Prepare for when attribute is not available
* Fix attribute `media_position`
* Fix time duration when HA isn't updating position
* Fix climate page not opening when offline
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6834067
* Clean-up release notes
* Clean up code
- Removed commented out lines
- Removed temporary logs
Getting prepared to release
* Bump version to 4.0beta
To reduce the chance of an obsolete file in use after the release.
---------
Co-authored-by: bkbartk <bartkock@outlook.com>
Co-authored-by: w00zy <WZYProjects+github@gmail.com>
Co-authored-by: w00zy <52609940+WZYProjects@users.noreply.github.com>
* Create ReleaseNotes.md (#879)
* Create ReleaseNotes.md
* sensor display precision
* Filter devices to esp32 only (#881)
* Filter devices to esp32 only
Show only ESP32 devices when selecting the panel
* Filtered device list
* Sensor display precision (#880)
Now the values shown in your panel will follow the [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision) provided by Home Assistant.
=> If you have problems with a value exceeding the available space in your panel, please reduce the number of decimals using Home Assistant [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision).
* New language selector (#882)
* New language selector
* Update ReleaseNotes.md
* Update ReleaseNotes.md
* Remove `settings_entity` (#887)
* Remove `settings_entity`
- Bump version to 3.5_dev
- Removed references to pictures removed from TFT
- Removed code related to closing settings pages
- Removed trigger `settings_entity`
* Removed `set_settings_entity` service
- Bump version to 3.5_dev
- Removed `set_settings_entity` service - BREAKING CHANGE
- Removed `settings_entity` text-sensor - BREAKING CHANGE
- Added service `open_entity_settings_page` - BREAKING CHANGE
* Removed `settings_entity`
- Bump version to 3.5_dev
- Removed old climate page (climate_backup)
- Removed pics related to old climate page (ids 16-47, 80-83, 95-96 and 125(US only))
- Enforces brightness on any page change (this allows wake-up on settings page with long press on physical buttons) - Pending removing code from Blueprint
- Added `entity` variable on pages `climate`, `lightsettings` and `coversettings`
- Added `entity` info to `nspanelevent` on pages `climate`, `lightsettings` and `coversettings`
- Added `back_page` variable on pages `climate`, `lightsettings` and `coversettings` (default: home)
- Moving to TFT close page logic on pages `climate`, `lightsettings` and `coversettings` - Pending changes on Blueprint and ESPHome
- Standardized name for `page_label` on pages `climate`, `lightsettings` and `coversettings`
- Standardized settings page names: `climate`, `cover` and `light` (Removed `settings` from page name)
* Removed `settings_entity`
* Removed `settings_entity`
* Removed `settings_entity`
* Move `entity` variable to home page (#889)
* Move `entity` variable to home page
This will enable future development of a fallback climate
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Use `en` as fallback language (#891)
* Use `en` as fallback language
Uses English if a non valid language is selected (like when using legacy language selection).
* Use `en` as fallback language
* Create `nspanel_us_land.tft` (#890)
* Create `nspanel_us_land.tft'
Add `nspanel_us_land.tft' for US panel on landscape mode, fixing the offset on the touch screen when using `nspanel_eu.tft` into a US panel.
Hides the hardware buttons labels, as Nextion cannot support rotated text.
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
solves #390
solves #432
solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4933716
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
* Fix "Button confirmation page not working correctly"
Solves #883
* Supports weather forecast with `datetime` not string
This adds support to weather integrations where the `datetime` field under `forecast` attribute is provided as a `datetime` type.
This was seen on Météo-France, while all other weather integrations tested so far used a `text` field for `datetime`.
This solves #893
* Wifi icon to indicate when API offline
This changes the behavior of Wifi icon:
How it was before:
- Wifi icon was visible only when the wifi was connected, nothing was shown when wifi was not connected.
How it is now:
- Wifi icon will have 3 states:
- Wifi & API connected: Gray wifi icon
- Wifi disconnected: Red wifi-off icon
- Wifi connected, but API disconnected (HA is out?): Red api-off icon
* API status indication on the panel
* Limit light & cover to supported settings (#896)
* Limit light to supported settings
When showing light settings, only the supported features will be shown for each light.
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
This partially solves #635
* Limits covers to supported settings
Only show cover settings when `set_position` is supported.
This solves #635
* Limits covers to supported settings
* Update instructions.md
* Add Fan speed settings page (#897)
* Add Fan speed settings page
Add an initial fan speed control page for fans supporting speed control.
Add speed (%) info in the buttons pages.
Solves #404
Solves #791
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5786106
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Fix name on confirmation page
Fix the entity name on the confirmation page.
The new order is:
1. Name set on the blueprint settings
2. Entity's `friendly_name` attribute
3. Entity's `name` attribute
4. Entity's `entity_id`
Solves #501
* Select wake-up page (#898)
* Select wake-up page
Users will be able to select the wake-up page on the blueprint inputs.
This selected page will be shown after a boot (after the boot page) and with a touch in the screen when on screen saver page.
After showing this wake-up page, all the previous behavior for closing the page (with a click or after a timeout) will be the same.
Solves #576
Solves #612
Solves #801
Probably improves for https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5715670
* Select wake-up page
* Fan update engine
Change the fan update engine to follow the same patter as other settings pages.
* Update ReleaseNotes.md
* Adding vertical bars pics
* Panel offline mode (#900)
* Panel offline mode
Introduces "offline mode" for the panel, which will be used later with a fallback climate.
Pages that are depending on the blueprint (buttons pages, entity pages, settings pages, etc) won't be shown when the API is disconnected.
* Panel offline mode
* Panel offline mode
* Panel offline mode
* Panel offline mode
* "Jump to settings" on tft
Moved "Jump to settings page" routine from ESPHome to TFT in order to reduce complexity.
* Exclude Nextion2Text
Exclude Nextion2Text
* Fix validation issue
* Time engine on ESPHome
* Time engine on ESPHome
* Notification page bigger hotspot
Added hotspots around the buttons (Accept & Clear) on Notification page to make easier to click on those.
Solves #907
* Boot page retry comm
The boot page will retry communication with the blueprint once a minute to avoid the situation where that page is shown until the automation is reloaded.
* Fix call to screen page
Fixes the call to screen page on US panel.
Reconciliate the US landscape model from EU model.
* Fix fan page `button_on`
Fixing rounding on that button.
* Fixed Fan page rounding
* Prevents boot sequence in other pages
* Physical relay local control
We are trying to make your panel as autonomous as possible by moving some of the controls from the Blueprint to ESPHome. This will reduce the load in your network and Home Assistant, but also will make a more reliable system capable to do it's core functionality even when the network is unavailable or Home Assistant is restarting.
With this version, the following engines have been moved to your panel (local control):
- Physical relay control (when hardware left button is connected to relay 1 or right button to relay 2)
Solves #910
* Embedded climate (#917)
* Performance improvements
The main focus here was to reduce the number of calls between Home Assistant and ESPHome, moving logic as much as possible to TFT and ESPHome.
- Service calls moved to ESPHome (in preparation for Alarm Control Panel)
- Page change informed via event call instead of `nspanel_event` sensor (which still in use by other calls, but might be possible to remove in the future)
* Draft embedded climate
This adds an initial version of an embedded climate/thermostat (heating only for now) with support for local control even with Wi-Fi out.
Solves #646
Solves #263
* Update ReleaseNotes.md
* Fix climate slider
Fix for climate slider opening in an incorrect position and sending only the integer part of the new target temperature
* Moving home page to ESPHome
In progress...
* Fix translations - Dutch
* Embedded chip 3
Home page - Chip 3 will be controlled locally when embedded climate is enable.
* Fixed buttons bar
Fixed buttons bar managed on ESPHome when embedded climate is visible.
* Update ReleaseNotes.md
* Services back to the Blueprint
Moving service calls back to the blueprint as latest HA requires user's permissions to call HA services from ESPHome.
This still have to be used for Alarm calls due to security concerns.
* Update ReleaseNotes.md
* support to hidden ssid (#908)
Supports hidden ssid with the use of substitutions `wifi_hidden: "true"`.
This can be breaking change for users with custom/advanced wifi settings.
Solves #906
* Update nspanel_esphome.yaml
* Removed `restore_state`
There is some incomplete work related to alarms on this commit, but the focus here is to fix `restore_state` on ESPHome v2023.7.0.
This solves #939
* US model - Fan page - Redistribute icons
Redistributed icons on Fan page on US model in order to improve usability.
Based on feedback from https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6338706
* Align `nspanel_us_land`
Apply all changes from EU to US_Land
* Fix relays chips
Fix relay status indication on chips.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/926#issuecomment-1627660273
* Fix "invalid variable" for "api"
Fix error "Nextion invalid variable name" when setting `api`.
* Default embedded climate to relay_0
* Fix issue with `restore_state` and ESPHome v2023.7.0 (#941)
Solves #939
* Fix translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6511043
* Fix `set_temperature` for climate
Solves #957
* Fix `fan.turn_off` call
Removed timer call from fan stop button.
This solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6494535
* Call a `fan.turn_off` when percentage is 0%
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6621756
* Fix call for fan stop button
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6622377
* Icons on ESPHome
Move icons from TFT/HMI to ESPHome to prevent error on Nextion2Text.
* Updated translations - Spanish
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6548961
* Make home page sensor's icons consistent
Make icon selection consistent with chips where the entity's icon is used in case a icon is not set in the blueprint settings.
Solves #963
* Updated translations - Slovenian
Based on:
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6665723
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-6665751
* dutch (#974)
* small ducht translations
small ducht translations
* Dutch translations
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Add-on support (#977)
Moved climate settings to an add-on.
Updated documentation.
* Fixed link to addon climate docs
* Fix change brightness when sleeping
Prevents the panel to change screen brightness when sleeping.
Solves #975
* Standardize HA service calls
* Bump version to `4.0 dev`
* Create customization.md
This will reduce the need for:
- #920
- #662
- #833
* Clean-up for customizations
Clean up ESPHome in order to make easier the use of customizations.
* Create Alarm page
* Add page Alarm
* Add Alarm docs
Update docs to reflect the current state (new features & changes)
* Creating "install.md" and update add-ons instructions
* Add Alarm page buttons pics
* Add link to Alarm on page Home
* Create Alarm page
* Alarm button font color
* Add `keyb_num` page
* Alarm Control Panel with PIN (#982)
Implements an Alarm Control Panel page on NSPanel.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/66
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/227
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/672
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4874612
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/64#issuecomment-1566204490
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718
* Fix alarm without pin not working
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/pull/930#issuecomment-1680981977
* Alarm page UI
Fixed close button
Disabled buttons are darker
* Move Entities button to ESPHome
Move logic behind Entities button (Home page) from Blueprint to ESPHome in order to gain performance on creating home page.
* Human readable Uptime (#986)
* Human readable Uptime
* Uptime from Frenck code
* Uptime with Frenck code
* Updated Human Readable Uptime
* Removed trailing spaces
* Renamed sensor to "Last started"
Sensor renamed
Update moved to the boot process
Clean-up
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Co-authored-by: Edward Firmo <edward@costafirmo.com>
* Update alarm icon & color
* Revert `fast_connect` back to `false`
* Extended chars on buttons pages (#988)
Replaces #740
Probably solves #664
Probably solves #738
Probably solves #987
* Removed `fast_connect`
* Support to `code_arm_required`
Only shows the alarm PIN keyboard if a code is required for arming (or when disarming).
* Update alarm icon on home page
Refresh icon when alarm state changes.
* Fix alarm icon not updating on home page
* Home buttons new format - Alarm
Modernise the button Alarm flow on page Home to improve performance.
* Home buttons new format - Entities
Modernise the button "Entities" flow on page Home to improve performance.
* Home buttons new format - QRcode
Modernise the button "QRcode" flow on page Home to improve performance.
* Home buttons new format - Notification
Modernise the button "Notification" flow on page Home to improve performance.
I haven't moved the code from the Blueprint to ESPHome yet, as I will leave this for when we rebuild the Notification flow in the near future (hopefully), so the performance gains may not be perceived now. Just aligning with other buttons format.
* Adding screenshots
* Delete ReleaseNotes.md
Moved to the release
* New entity filter format
This new format was released with HA v2023.4 and the old one will be deprecated soon.
* Fix Alarm page bypass icon
* Bump version to 4.0
* Rename `addon_climate_heat`
* Simplify climate substitutions
* Add support for `addon_climate_cool`
* Removed `${verbose_log}`
Use logger level `VERBOSE` instead
* Fix script call
* Clean up general entities & fallback
Store inputs into variables only when needed.
Removed fallback mode - Replaced by ESPHome local control when the relay is assigned to the button in the blueprint.
* Phase out sensor `nspanel_event` (partially)
This sensor is being replaced by event calls.
* uptime sensors (#998)
* Create ReleaseNotes.md
* Fix Climate page when embedded climate
And also added a lot of logs which should be removed later as it takes from memory.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6835260
* Move brightness control to global var
Clean up page Home
* Alarm page translations - Finnish
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6857262
* Exported pics
* Clean-up TFT
- Removed a bunch of unused pics
- Changed page indicator to new format (which will allow future development to hide unused pages)
- Standardized close button in most pages
* Fixed background pics
- Entities pages
- Weather pages
* Standardize close button
* Add "Alarm" section
* Support to wake-up page on `wake_up_display` service
This changes the behavior of a service introduced by #734.
* Optimize `wake_up_display` service
* Fix icon font sizes 10 and 64
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1701903604
And also remove all the unnecessary `wait_until`
* Fix Settings page element ids
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702109668
* Add translation keys for `settings` page
#1002
* Update settings page when brightness changes on HA
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702149796
* Clean-up page settings
* update docs (#1003)
* updated docs
* Update ReleaseNotes.md
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Clean-up Cover page
I'm preparing this page to have icons changing based on the device_class selected to a cover.
* Clean-up boot delay
* Enable `current_page` sensor by default
Otherwise the system won´t update values unless the page is reloaded.
* Use `current_page` in blueprint conditions
One more step towards the phase out of `nspanelevent`.
* Move `script.refresh_colors` to `service.global_settings`
As this is called from a single point, there's no meaning of having a separated script.
* Fix climate icon update
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891454
* Fix button show on climate page
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891335
* Visual improvements on climate page
- Add friendly name when embedded - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891465
- Make disable icons a bit darker - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6893440
- Add space for page title in EU an US Land versions
- Reset page timer when pressing/releasing on the slider - Partially solves #990
* Don't update values when page home is not visible
To reduce load on Home Assistant and the network
* Cleanup boot sequence
Move some functionalities to ESPHome
* Display internal sensor value when wifi is out
Before it was showing on home page only when API was out. This adds a test for WiFi.
* Fix `default_target_temperature`
It also updates the page home when thermostat status changes (for the chips).
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6897727
* Adding ID to components missing it
* Renamed `wake_up_display` to `wake_up`
* Re-arrange commands list
* Add service `set_component_color`
Deprecates the following services:
- `send_command_font_color`
- `send_command_background_color`
* Fix button pages not showing
* Adjusted time for HW long click
* Fixed buttons on settings page
* Minor adjustments to page climate
And replace font 10 to size 48 (it was 64 since a few days ago).
* Updates to breaking changes list
* Page settings redesign
Clean up the UI of settings page.
Prepare for translations.
* Enable translations of Settings page
* Notification word-wrap
For EU and US_LAND only, for now.
* Notifications page rebuilt
- Notification button processed on ESPHome (as all the info is there)
- Added word-wrap for main text
- Expanded text size
- Handling display mode (used to define the number of chars per line on Notifications)
- Versioning handling - As a consequence of the previous item.
* Word-wrap buttons pages
Taking advantage of the algorithm created for notifications.
* Word-wrap for Alarm page
* Version mismatch notication
* Fix ESPHome not starting with older TFT
* Rebuilt home page status bar update
* Updated translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-6926846
Thanks @MaiPiu
* Fix `Nextion reported variable name invalid!`
* Fix `Nextion variable invalid`
* Handle `embedded_indoor_temperature`
Internal temperature display will be handled locally (ESPHome) when no other sensor is selected.
* Review temperature correction engine
* Fix display climate chip
* update `temp_nspanel` when correction changes
* Fix `Fan` page not open with long press HW button
Solves #1007
* Minor adjustments on settings page
* version 4.0 ready for release
* Clean-up docs
* Improve version notification
* Disable restore `notification_unread`
This must be changed to a binary sensor in the future.
* Beta v4.0 (#1012)
* Create ReleaseNotes.md (#879)
* Create ReleaseNotes.md
* sensor display precision
* Filter devices to esp32 only (#881)
* Filter devices to esp32 only
Show only ESP32 devices when selecting the panel
* Filtered device list
* Sensor display precision (#880)
Now the values shown in your panel will follow the [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision) provided by Home Assistant.
=> If you have problems with a value exceeding the available space in your panel, please reduce the number of decimals using Home Assistant [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision).
* New language selector (#882)
* New language selector
* Update ReleaseNotes.md
* Update ReleaseNotes.md
* Remove `settings_entity` (#887)
* Remove `settings_entity`
- Bump version to 3.5_dev
- Removed references to pictures removed from TFT
- Removed code related to closing settings pages
- Removed trigger `settings_entity`
* Removed `set_settings_entity` service
- Bump version to 3.5_dev
- Removed `set_settings_entity` service - BREAKING CHANGE
- Removed `settings_entity` text-sensor - BREAKING CHANGE
- Added service `open_entity_settings_page` - BREAKING CHANGE
* Removed `settings_entity`
- Bump version to 3.5_dev
- Removed old climate page (climate_backup)
- Removed pics related to old climate page (ids 16-47, 80-83, 95-96 and 125(US only))
- Enforces brightness on any page change (this allows wake-up on settings page with long press on physical buttons) - Pending removing code from Blueprint
- Added `entity` variable on pages `climate`, `lightsettings` and `coversettings`
- Added `entity` info to `nspanelevent` on pages `climate`, `lightsettings` and `coversettings`
- Added `back_page` variable on pages `climate`, `lightsettings` and `coversettings` (default: home)
- Moving to TFT close page logic on pages `climate`, `lightsettings` and `coversettings` - Pending changes on Blueprint and ESPHome
- Standardized name for `page_label` on pages `climate`, `lightsettings` and `coversettings`
- Standardized settings page names: `climate`, `cover` and `light` (Removed `settings` from page name)
* Removed `settings_entity`
* Removed `settings_entity`
* Removed `settings_entity`
* Move `entity` variable to home page (#889)
* Move `entity` variable to home page
This will enable future development of a fallback climate
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Use `en` as fallback language (#891)
* Use `en` as fallback language
Uses English if a non valid language is selected (like when using legacy language selection).
* Use `en` as fallback language
* Create `nspanel_us_land.tft` (#890)
* Create `nspanel_us_land.tft'
Add `nspanel_us_land.tft' for US panel on landscape mode, fixing the offset on the touch screen when using `nspanel_eu.tft` into a US panel.
Hides the hardware buttons labels, as Nextion cannot support rotated text.
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
solves #390
solves #432
solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4933716
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
* Fix "Button confirmation page not working correctly"
Solves #883
* Supports weather forecast with `datetime` not string
This adds support to weather integrations where the `datetime` field under `forecast` attribute is provided as a `datetime` type.
This was seen on Météo-France, while all other weather integrations tested so far used a `text` field for `datetime`.
This solves #893
* Wifi icon to indicate when API offline
This changes the behavior of Wifi icon:
How it was before:
- Wifi icon was visible only when the wifi was connected, nothing was shown when wifi was not connected.
How it is now:
- Wifi icon will have 3 states:
- Wifi & API connected: Gray wifi icon
- Wifi disconnected: Red wifi-off icon
- Wifi connected, but API disconnected (HA is out?): Red api-off icon
* API status indication on the panel
* Limit light & cover to supported settings (#896)
* Limit light to supported settings
When showing light settings, only the supported features will be shown for each light.
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
This partially solves #635
* Limits covers to supported settings
Only show cover settings when `set_position` is supported.
This solves #635
* Limits covers to supported settings
* Update instructions.md
* Add Fan speed settings page (#897)
* Add Fan speed settings page
Add an initial fan speed control page for fans supporting speed control.
Add speed (%) info in the buttons pages.
Solves #404
Solves #791
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5786106
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Fix name on confirmation page
Fix the entity name on the confirmation page.
The new order is:
1. Name set on the blueprint settings
2. Entity's `friendly_name` attribute
3. Entity's `name` attribute
4. Entity's `entity_id`
Solves #501
* Select wake-up page (#898)
* Select wake-up page
Users will be able to select the wake-up page on the blueprint inputs.
This selected page will be shown after a boot (after the boot page) and with a touch in the screen when on screen saver page.
After showing this wake-up page, all the previous behavior for closing the page (with a click or after a timeout) will be the same.
Solves #576
Solves #612
Solves #801
Probably improves for https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5715670
* Select wake-up page
* Fan update engine
Change the fan update engine to follow the same patter as other settings pages.
* Update ReleaseNotes.md
* Adding vertical bars pics
* Panel offline mode (#900)
* Panel offline mode
Introduces "offline mode" for the panel, which will be used later with a fallback climate.
Pages that are depending on the blueprint (buttons pages, entity pages, settings pages, etc) won't be shown when the API is disconnected.
* Panel offline mode
* Panel offline mode
* Panel offline mode
* Panel offline mode
* "Jump to settings" on tft
Moved "Jump to settings page" routine from ESPHome to TFT in order to reduce complexity.
* Exclude Nextion2Text
Exclude Nextion2Text
* Fix validation issue
* Time engine on ESPHome
* Time engine on ESPHome
* Notification page bigger hotspot
Added hotspots around the buttons (Accept & Clear) on Notification page to make easier to click on those.
Solves #907
* Boot page retry comm
The boot page will retry communication with the blueprint once a minute to avoid the situation where that page is shown until the automation is reloaded.
* Fix call to screen page
Fixes the call to screen page on US panel.
Reconciliate the US landscape model from EU model.
* Fix fan page `button_on`
Fixing rounding on that button.
* Fixed Fan page rounding
* Prevents boot sequence in other pages
* Physical relay local control
We are trying to make your panel as autonomous as possible by moving some of the controls from the Blueprint to ESPHome. This will reduce the load in your network and Home Assistant, but also will make a more reliable system capable to do it's core functionality even when the network is unavailable or Home Assistant is restarting.
With this version, the following engines have been moved to your panel (local control):
- Physical relay control (when hardware left button is connected to relay 1 or right button to relay 2)
Solves #910
* Embedded climate (#917)
* Performance improvements
The main focus here was to reduce the number of calls between Home Assistant and ESPHome, moving logic as much as possible to TFT and ESPHome.
- Service calls moved to ESPHome (in preparation for Alarm Control Panel)
- Page change informed via event call instead of `nspanel_event` sensor (which still in use by other calls, but might be possible to remove in the future)
* Draft embedded climate
This adds an initial version of an embedded climate/thermostat (heating only for now) with support for local control even with Wi-Fi out.
Solves #646
Solves #263
* Update ReleaseNotes.md
* Fix climate slider
Fix for climate slider opening in an incorrect position and sending only the integer part of the new target temperature
* Moving home page to ESPHome
In progress...
* Fix translations - Dutch
* Embedded chip 3
Home page - Chip 3 will be controlled locally when embedded climate is enable.
* Fixed buttons bar
Fixed buttons bar managed on ESPHome when embedded climate is visible.
* Update ReleaseNotes.md
* Services back to the Blueprint
Moving service calls back to the blueprint as latest HA requires user's permissions to call HA services from ESPHome.
This still have to be used for Alarm calls due to security concerns.
* Update ReleaseNotes.md
* support to hidden ssid (#908)
Supports hidden ssid with the use of substitutions `wifi_hidden: "true"`.
This can be breaking change for users with custom/advanced wifi settings.
Solves #906
* Update nspanel_esphome.yaml
* Removed `restore_state`
There is some incomplete work related to alarms on this commit, but the focus here is to fix `restore_state` on ESPHome v2023.7.0.
This solves #939
* US model - Fan page - Redistribute icons
Redistributed icons on Fan page on US model in order to improve usability.
Based on feedback from https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6338706
* Align `nspanel_us_land`
Apply all changes from EU to US_Land
* Fix relays chips
Fix relay status indication on chips.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/926#issuecomment-1627660273
* Fix "invalid variable" for "api"
Fix error "Nextion invalid variable name" when setting `api`.
* Default embedded climate to relay_0
* Fix translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6511043
* Fix `set_temperature` for climate
Solves #957
* Fix `fan.turn_off` call
Removed timer call from fan stop button.
This solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6494535
* Call a `fan.turn_off` when percentage is 0%
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6621756
* Fix call for fan stop button
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6622377
* Icons on ESPHome
Move icons from TFT/HMI to ESPHome to prevent error on Nextion2Text.
* Updated translations - Spanish
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6548961
* Make home page sensor's icons consistent
Make icon selection consistent with chips where the entity's icon is used in case a icon is not set in the blueprint settings.
Solves #963
* Updated translations - Slovenian
Based on:
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6665723
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-6665751
* dutch (#974)
* small ducht translations
small ducht translations
* Dutch translations
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Add-on support (#977)
Moved climate settings to an add-on.
Updated documentation.
* Fixed link to addon climate docs
* Fix change brightness when sleeping
Prevents the panel to change screen brightness when sleeping.
Solves #975
* Standardize HA service calls
* Bump version to `4.0 dev`
* Create customization.md
This will reduce the need for:
- #920
- #662
- #833
* Clean-up for customizations
Clean up ESPHome in order to make easier the use of customizations.
* Create Alarm page
* Add page Alarm
* Add Alarm docs
Update docs to reflect the current state (new features & changes)
* Creating "install.md" and update add-ons instructions
* Add Alarm page buttons pics
* Add link to Alarm on page Home
* Create Alarm page
* Alarm button font color
* Add `keyb_num` page
* Alarm Control Panel with PIN (#982)
Implements an Alarm Control Panel page on NSPanel.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/66
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/227
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/672
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4874612
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/64#issuecomment-1566204490
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718
* Fix alarm without pin not working
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/pull/930#issuecomment-1680981977
* Alarm page UI
Fixed close button
Disabled buttons are darker
* Move Entities button to ESPHome
Move logic behind Entities button (Home page) from Blueprint to ESPHome in order to gain performance on creating home page.
* Human readable Uptime (#986)
* Human readable Uptime
* Uptime from Frenck code
* Uptime with Frenck code
* Updated Human Readable Uptime
* Removed trailing spaces
* Renamed sensor to "Last started"
Sensor renamed
Update moved to the boot process
Clean-up
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Co-authored-by: Edward Firmo <edward@costafirmo.com>
* Update alarm icon & color
* Revert `fast_connect` back to `false`
* Extended chars on buttons pages (#988)
Replaces #740
Probably solves #664
Probably solves #738
Probably solves #987
* Removed `fast_connect`
* Support to `code_arm_required`
Only shows the alarm PIN keyboard if a code is required for arming (or when disarming).
* Update alarm icon on home page
Refresh icon when alarm state changes.
* Fix alarm icon not updating on home page
* Home buttons new format - Alarm
Modernise the button Alarm flow on page Home to improve performance.
* Home buttons new format - Entities
Modernise the button "Entities" flow on page Home to improve performance.
* Home buttons new format - QRcode
Modernise the button "QRcode" flow on page Home to improve performance.
* Home buttons new format - Notification
Modernise the button "Notification" flow on page Home to improve performance.
I haven't moved the code from the Blueprint to ESPHome yet, as I will leave this for when we rebuild the Notification flow in the near future (hopefully), so the performance gains may not be perceived now. Just aligning with other buttons format.
* Adding screenshots
* Delete ReleaseNotes.md
Moved to the release
* New entity filter format
This new format was released with HA v2023.4 and the old one will be deprecated soon.
* Fix Alarm page bypass icon
* Bump version to 4.0
* Rename `addon_climate_heat`
* Simplify climate substitutions
* Add support for `addon_climate_cool`
* Removed `${verbose_log}`
Use logger level `VERBOSE` instead
* Fix script call
* Clean up general entities & fallback
Store inputs into variables only when needed.
Removed fallback mode - Replaced by ESPHome local control when the relay is assigned to the button in the blueprint.
* Phase out sensor `nspanel_event` (partially)
This sensor is being replaced by event calls.
* uptime sensors (#998)
* Create ReleaseNotes.md
* Fix Climate page when embedded climate
And also added a lot of logs which should be removed later as it takes from memory.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6835260
* Move brightness control to global var
Clean up page Home
* Alarm page translations - Finnish
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6857262
* Exported pics
* Clean-up TFT
- Removed a bunch of unused pics
- Changed page indicator to new format (which will allow future development to hide unused pages)
- Standardized close button in most pages
* Fixed background pics
- Entities pages
- Weather pages
* Standardize close button
* Add "Alarm" section
* Support to wake-up page on `wake_up_display` service
This changes the behavior of a service introduced by #734.
* Optimize `wake_up_display` service
* Fix icon font sizes 10 and 64
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1701903604
And also remove all the unnecessary `wait_until`
* Fix Settings page element ids
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702109668
* Add translation keys for `settings` page
#1002
* Update settings page when brightness changes on HA
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702149796
* Clean-up page settings
* update docs (#1003)
* updated docs
* Update ReleaseNotes.md
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Clean-up Cover page
I'm preparing this page to have icons changing based on the device_class selected to a cover.
* Clean-up boot delay
* Enable `current_page` sensor by default
Otherwise the system won´t update values unless the page is reloaded.
* Use `current_page` in blueprint conditions
One more step towards the phase out of `nspanelevent`.
* Move `script.refresh_colors` to `service.global_settings`
As this is called from a single point, there's no meaning of having a separated script.
* Fix climate icon update
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891454
* Fix button show on climate page
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891335
* Visual improvements on climate page
- Add friendly name when embedded - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891465
- Make disable icons a bit darker - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6893440
- Add space for page title in EU an US Land versions
- Reset page timer when pressing/releasing on the slider - Partially solves #990
* Don't update values when page home is not visible
To reduce load on Home Assistant and the network
* Cleanup boot sequence
Move some functionalities to ESPHome
* Display internal sensor value when wifi is out
Before it was showing on home page only when API was out. This adds a test for WiFi.
* Fix `default_target_temperature`
It also updates the page home when thermostat status changes (for the chips).
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6897727
* Adding ID to components missing it
* Renamed `wake_up_display` to `wake_up`
* Re-arrange commands list
* Add service `set_component_color`
Deprecates the following services:
- `send_command_font_color`
- `send_command_background_color`
* Fix button pages not showing
* Adjusted time for HW long click
* Fixed buttons on settings page
* Minor adjustments to page climate
And replace font 10 to size 48 (it was 64 since a few days ago).
* Updates to breaking changes list
* Page settings redesign
Clean up the UI of settings page.
Prepare for translations.
* Enable translations of Settings page
* Notification word-wrap
For EU and US_LAND only, for now.
* Notifications page rebuilt
- Notification button processed on ESPHome (as all the info is there)
- Added word-wrap for main text
- Expanded text size
- Handling display mode (used to define the number of chars per line on Notifications)
- Versioning handling - As a consequence of the previous item.
* Word-wrap buttons pages
Taking advantage of the algorithm created for notifications.
* Word-wrap for Alarm page
* Version mismatch notication
* Fix ESPHome not starting with older TFT
* Rebuilt home page status bar update
* Updated translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-6926846
Thanks @MaiPiu
* Fix `Nextion reported variable name invalid!`
* Fix `Nextion variable invalid`
* Handle `embedded_indoor_temperature`
Internal temperature display will be handled locally (ESPHome) when no other sensor is selected.
* Review temperature correction engine
* Fix display climate chip
* update `temp_nspanel` when correction changes
* Fix `Fan` page not open with long press HW button
Solves #1007
* Minor adjustments on settings page
* version 4.0 ready for release
* Clean-up docs
---------
Co-authored-by: bkbartk <bartkock@outlook.com>
Co-authored-by: w00zy <WZYProjects+github@gmail.com>
* Fix Fan page button colors when opening
Solves #1017
* Translations (#1023)
* Translations
* Update nspanel_blueprint.yaml
I've changed `brightness` for now as the new design isn't implemented yet, but that string is already in use with the current design.
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Adjustments to settings page
* Fix entity info when calling detailed pages
Solves #1022
* Added `media_player` page (hidden)
* New "Confirm" pop-up
This also removes the sensor "NSPanel Event"
* Fix pages not updating values
Solves #1026
* Media player - Buttons
- Added code to buttons on media_player page.
- Clean-up:
- Moved wake-up select from Blueprint to ESPHome component
- Removed `switch.xxxxx_confirmation_message`
* Fix logging for global_settings
It was logging wakeup_page, which is deprecated
* Improved version notification
* Removed trailing spaces
* Notification for `sensor.xxxxx_current_page` missing
This might be a common issue for users migrating from v3.4 to v3.5.
This information is part of the release notes, but I believe it worth having a guide to support closely any user who miss that in the release notes.
* Simplify `touchevent` engine
The touch event is used only for the sleeping engine (it will be used for dimming later) and it was transferring all the json info with page name, component, entity, etc.
This was replaced by a simple random integer with no meaning other than "the screen was touched, reset the timer".
* Media player first buttons actions
* Fix unknown service: `media_player.null`
* Media Player control
You will be able to add a Media Player entity to any of the buttons pages and with a long press you will see the media player page.
* Remove dimming timer for now
The funcionality isn't completed.
* Home page - Custom buttons
On the blueprint you can now set up to 3 buttons to be shown on Home page.
It will show the detailed settings page, so the entity must be compatible.
* Fix Media player missing parameters
Possibly solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1030#discussioncomment-6984573
* Prevents calls to `media_player.null`
* Remove `entity` info from pages on TFT
Since v3.4, the info about entity_id shown was going all the way to Nextion and then sent back in the json return, however this requires a long (100-char) global var and the way it was implemented, it was one of those per settings page, as climate should be also recorded at the same time in case the embedded climate was installed.
This was taking too much memory, so I've moved this info to a global variable (string) in ESPHome.
There is now lots of space for code cleaning (and still pending to do the same with climate entity, as it could be only a bool to inform if embedded), but this brings the functionality.
This enabled the return to global for some components, so it probably solves #1031
* Prototyping `power` page
Thanks @Floppe for doing the design
#838
* Prototyping `power` page
* New sleep flow
* Removed trailing spaces
* Fix empty page climate
* Fix names on button pages
Fix names when a name is not provided in the blueprint settings.
* Fix call to sleep routine when timeout changes
Solves #1037
* Replace `confirm` var on buttons pages
Simpler and saves some memory.
* Clean-up
* Align the code for the 3 timers
* Extend domains supported by home page custom buttons
Based on #1034
* Fix error when btn_label is `None`
* Fix `Variable invalid` on buttons pages
* Fix constructor of Entity pages
* Fallback even when button is assigned to another entity
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/1013#issuecomment-1720107844
* Add inputs for media player refresh time
* Adjustments to Media Player refresh interval default values
* Use panel's events to reset timers
Possibly solves #1040
Possibly solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-7020153
* State based colors to home page custom buttons
* Fix alarm not changing status
Do not clear `entity_id` when opening keyboard page, so the info can be used when sending commands.
Solves #1039
* Missing `nspanel_us.tft`
* add `touchevents` to pages `media_player` and `confirm`
To avoid panel going back to Home page while user is playing with the page.
Solves #1040
* Media player minor layout changes
* Media player - Volume timer & icon size
Volume timer changed from 1000 to 500ms
Icon change from font 9 to 10
* Media player roll back font 9 and timer 1s
* Don't send to Nextion obsolete volume settings
If the volume is the same as the last one sent to the screen, don't send again, so if changes are being made on the screen it didn't receive the update all the time, making the slider unresponsive.
* Media player - Layout improvement
- Removed button "Stop"
- Increase touch area for buttons
- Redistributed buttons on page
* Add touchevents to page climate
Possibly solves #995
* Resolve validation
* Correct playing time based on `updated_at` attribute
* Prepare for when attribute is not available
* Fix attribute `media_position`
* Fix time duration when HA isn't updating position
* Fix climate page not opening when offline
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6834067
* Clean-up release notes
* Clean up code
- Removed commented out lines
- Removed temporary logs
Getting prepared to release
---------
Co-authored-by: bkbartk <bartkock@outlook.com>
Co-authored-by: w00zy <WZYProjects+github@gmail.com>
Co-authored-by: w00zy <52609940+WZYProjects@users.noreply.github.com>
If the volume is the same as the last one sent to the screen, don't send again, so if changes are being made on the screen it didn't receive the update all the time, making the slider unresponsive.
* Create ReleaseNotes.md (#879)
* Create ReleaseNotes.md
* sensor display precision
* Filter devices to esp32 only (#881)
* Filter devices to esp32 only
Show only ESP32 devices when selecting the panel
* Filtered device list
* Sensor display precision (#880)
Now the values shown in your panel will follow the [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision) provided by Home Assistant.
=> If you have problems with a value exceeding the available space in your panel, please reduce the number of decimals using Home Assistant [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision).
* New language selector (#882)
* New language selector
* Update ReleaseNotes.md
* Update ReleaseNotes.md
* Remove `settings_entity` (#887)
* Remove `settings_entity`
- Bump version to 3.5_dev
- Removed references to pictures removed from TFT
- Removed code related to closing settings pages
- Removed trigger `settings_entity`
* Removed `set_settings_entity` service
- Bump version to 3.5_dev
- Removed `set_settings_entity` service - BREAKING CHANGE
- Removed `settings_entity` text-sensor - BREAKING CHANGE
- Added service `open_entity_settings_page` - BREAKING CHANGE
* Removed `settings_entity`
- Bump version to 3.5_dev
- Removed old climate page (climate_backup)
- Removed pics related to old climate page (ids 16-47, 80-83, 95-96 and 125(US only))
- Enforces brightness on any page change (this allows wake-up on settings page with long press on physical buttons) - Pending removing code from Blueprint
- Added `entity` variable on pages `climate`, `lightsettings` and `coversettings`
- Added `entity` info to `nspanelevent` on pages `climate`, `lightsettings` and `coversettings`
- Added `back_page` variable on pages `climate`, `lightsettings` and `coversettings` (default: home)
- Moving to TFT close page logic on pages `climate`, `lightsettings` and `coversettings` - Pending changes on Blueprint and ESPHome
- Standardized name for `page_label` on pages `climate`, `lightsettings` and `coversettings`
- Standardized settings page names: `climate`, `cover` and `light` (Removed `settings` from page name)
* Removed `settings_entity`
* Removed `settings_entity`
* Removed `settings_entity`
* Move `entity` variable to home page (#889)
* Move `entity` variable to home page
This will enable future development of a fallback climate
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Use `en` as fallback language (#891)
* Use `en` as fallback language
Uses English if a non valid language is selected (like when using legacy language selection).
* Use `en` as fallback language
* Create `nspanel_us_land.tft` (#890)
* Create `nspanel_us_land.tft'
Add `nspanel_us_land.tft' for US panel on landscape mode, fixing the offset on the touch screen when using `nspanel_eu.tft` into a US panel.
Hides the hardware buttons labels, as Nextion cannot support rotated text.
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
solves #390
solves #432
solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4933716
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
* Fix "Button confirmation page not working correctly"
Solves #883
* Supports weather forecast with `datetime` not string
This adds support to weather integrations where the `datetime` field under `forecast` attribute is provided as a `datetime` type.
This was seen on Météo-France, while all other weather integrations tested so far used a `text` field for `datetime`.
This solves #893
* Wifi icon to indicate when API offline
This changes the behavior of Wifi icon:
How it was before:
- Wifi icon was visible only when the wifi was connected, nothing was shown when wifi was not connected.
How it is now:
- Wifi icon will have 3 states:
- Wifi & API connected: Gray wifi icon
- Wifi disconnected: Red wifi-off icon
- Wifi connected, but API disconnected (HA is out?): Red api-off icon
* API status indication on the panel
* Limit light & cover to supported settings (#896)
* Limit light to supported settings
When showing light settings, only the supported features will be shown for each light.
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
This partially solves #635
* Limits covers to supported settings
Only show cover settings when `set_position` is supported.
This solves #635
* Limits covers to supported settings
* Update instructions.md
* Add Fan speed settings page (#897)
* Add Fan speed settings page
Add an initial fan speed control page for fans supporting speed control.
Add speed (%) info in the buttons pages.
Solves #404
Solves #791
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5786106
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Fix name on confirmation page
Fix the entity name on the confirmation page.
The new order is:
1. Name set on the blueprint settings
2. Entity's `friendly_name` attribute
3. Entity's `name` attribute
4. Entity's `entity_id`
Solves #501
* Select wake-up page (#898)
* Select wake-up page
Users will be able to select the wake-up page on the blueprint inputs.
This selected page will be shown after a boot (after the boot page) and with a touch in the screen when on screen saver page.
After showing this wake-up page, all the previous behavior for closing the page (with a click or after a timeout) will be the same.
Solves #576
Solves #612
Solves #801
Probably improves for https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5715670
* Select wake-up page
* Fan update engine
Change the fan update engine to follow the same patter as other settings pages.
* Update ReleaseNotes.md
* Adding vertical bars pics
* Panel offline mode (#900)
* Panel offline mode
Introduces "offline mode" for the panel, which will be used later with a fallback climate.
Pages that are depending on the blueprint (buttons pages, entity pages, settings pages, etc) won't be shown when the API is disconnected.
* Panel offline mode
* Panel offline mode
* Panel offline mode
* Panel offline mode
* "Jump to settings" on tft
Moved "Jump to settings page" routine from ESPHome to TFT in order to reduce complexity.
* Exclude Nextion2Text
Exclude Nextion2Text
* Fix validation issue
* Time engine on ESPHome
* Time engine on ESPHome
* Notification page bigger hotspot
Added hotspots around the buttons (Accept & Clear) on Notification page to make easier to click on those.
Solves #907
* Boot page retry comm
The boot page will retry communication with the blueprint once a minute to avoid the situation where that page is shown until the automation is reloaded.
* Fix call to screen page
Fixes the call to screen page on US panel.
Reconciliate the US landscape model from EU model.
* Fix fan page `button_on`
Fixing rounding on that button.
* Fixed Fan page rounding
* Prevents boot sequence in other pages
* Physical relay local control
We are trying to make your panel as autonomous as possible by moving some of the controls from the Blueprint to ESPHome. This will reduce the load in your network and Home Assistant, but also will make a more reliable system capable to do it's core functionality even when the network is unavailable or Home Assistant is restarting.
With this version, the following engines have been moved to your panel (local control):
- Physical relay control (when hardware left button is connected to relay 1 or right button to relay 2)
Solves #910
* Embedded climate (#917)
* Performance improvements
The main focus here was to reduce the number of calls between Home Assistant and ESPHome, moving logic as much as possible to TFT and ESPHome.
- Service calls moved to ESPHome (in preparation for Alarm Control Panel)
- Page change informed via event call instead of `nspanel_event` sensor (which still in use by other calls, but might be possible to remove in the future)
* Draft embedded climate
This adds an initial version of an embedded climate/thermostat (heating only for now) with support for local control even with Wi-Fi out.
Solves #646
Solves #263
* Update ReleaseNotes.md
* Fix climate slider
Fix for climate slider opening in an incorrect position and sending only the integer part of the new target temperature
* Moving home page to ESPHome
In progress...
* Fix translations - Dutch
* Embedded chip 3
Home page - Chip 3 will be controlled locally when embedded climate is enable.
* Fixed buttons bar
Fixed buttons bar managed on ESPHome when embedded climate is visible.
* Update ReleaseNotes.md
* Services back to the Blueprint
Moving service calls back to the blueprint as latest HA requires user's permissions to call HA services from ESPHome.
This still have to be used for Alarm calls due to security concerns.
* Update ReleaseNotes.md
* support to hidden ssid (#908)
Supports hidden ssid with the use of substitutions `wifi_hidden: "true"`.
This can be breaking change for users with custom/advanced wifi settings.
Solves #906
* Update nspanel_esphome.yaml
* Removed `restore_state`
There is some incomplete work related to alarms on this commit, but the focus here is to fix `restore_state` on ESPHome v2023.7.0.
This solves #939
* US model - Fan page - Redistribute icons
Redistributed icons on Fan page on US model in order to improve usability.
Based on feedback from https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6338706
* Align `nspanel_us_land`
Apply all changes from EU to US_Land
* Fix relays chips
Fix relay status indication on chips.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/926#issuecomment-1627660273
* Fix "invalid variable" for "api"
Fix error "Nextion invalid variable name" when setting `api`.
* Default embedded climate to relay_0
* Fix issue with `restore_state` and ESPHome v2023.7.0 (#941)
Solves #939
* Fix translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6511043
* Fix `set_temperature` for climate
Solves #957
* Fix `fan.turn_off` call
Removed timer call from fan stop button.
This solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6494535
* Call a `fan.turn_off` when percentage is 0%
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6621756
* Fix call for fan stop button
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6622377
* Icons on ESPHome
Move icons from TFT/HMI to ESPHome to prevent error on Nextion2Text.
* Updated translations - Spanish
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6548961
* Make home page sensor's icons consistent
Make icon selection consistent with chips where the entity's icon is used in case a icon is not set in the blueprint settings.
Solves #963
* Updated translations - Slovenian
Based on:
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6665723
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-6665751
* dutch (#974)
* small ducht translations
small ducht translations
* Dutch translations
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Add-on support (#977)
Moved climate settings to an add-on.
Updated documentation.
* Fixed link to addon climate docs
* Fix change brightness when sleeping
Prevents the panel to change screen brightness when sleeping.
Solves #975
* Standardize HA service calls
* Bump version to `4.0 dev`
* Create customization.md
This will reduce the need for:
- #920
- #662
- #833
* Clean-up for customizations
Clean up ESPHome in order to make easier the use of customizations.
* Create Alarm page
* Add page Alarm
* Add Alarm docs
Update docs to reflect the current state (new features & changes)
* Creating "install.md" and update add-ons instructions
* Add Alarm page buttons pics
* Add link to Alarm on page Home
* Create Alarm page
* Alarm button font color
* Add `keyb_num` page
* Alarm Control Panel with PIN (#982)
Implements an Alarm Control Panel page on NSPanel.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/66
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/227
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/672
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4874612
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/64#issuecomment-1566204490
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718
* Fix alarm without pin not working
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/pull/930#issuecomment-1680981977
* Alarm page UI
Fixed close button
Disabled buttons are darker
* Move Entities button to ESPHome
Move logic behind Entities button (Home page) from Blueprint to ESPHome in order to gain performance on creating home page.
* Human readable Uptime (#986)
* Human readable Uptime
* Uptime from Frenck code
* Uptime with Frenck code
* Updated Human Readable Uptime
* Removed trailing spaces
* Renamed sensor to "Last started"
Sensor renamed
Update moved to the boot process
Clean-up
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Co-authored-by: Edward Firmo <edward@costafirmo.com>
* Update alarm icon & color
* Revert `fast_connect` back to `false`
* Extended chars on buttons pages (#988)
Replaces #740
Probably solves #664
Probably solves #738
Probably solves #987
* Removed `fast_connect`
* Support to `code_arm_required`
Only shows the alarm PIN keyboard if a code is required for arming (or when disarming).
* Update alarm icon on home page
Refresh icon when alarm state changes.
* Fix alarm icon not updating on home page
* Home buttons new format - Alarm
Modernise the button Alarm flow on page Home to improve performance.
* Home buttons new format - Entities
Modernise the button "Entities" flow on page Home to improve performance.
* Home buttons new format - QRcode
Modernise the button "QRcode" flow on page Home to improve performance.
* Home buttons new format - Notification
Modernise the button "Notification" flow on page Home to improve performance.
I haven't moved the code from the Blueprint to ESPHome yet, as I will leave this for when we rebuild the Notification flow in the near future (hopefully), so the performance gains may not be perceived now. Just aligning with other buttons format.
* Adding screenshots
* Delete ReleaseNotes.md
Moved to the release
* New entity filter format
This new format was released with HA v2023.4 and the old one will be deprecated soon.
* Fix Alarm page bypass icon
* Bump version to 4.0
* Rename `addon_climate_heat`
* Simplify climate substitutions
* Add support for `addon_climate_cool`
* Removed `${verbose_log}`
Use logger level `VERBOSE` instead
* Fix script call
* Clean up general entities & fallback
Store inputs into variables only when needed.
Removed fallback mode - Replaced by ESPHome local control when the relay is assigned to the button in the blueprint.
* Phase out sensor `nspanel_event` (partially)
This sensor is being replaced by event calls.
* uptime sensors (#998)
* Create ReleaseNotes.md
* Fix Climate page when embedded climate
And also added a lot of logs which should be removed later as it takes from memory.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6835260
* Move brightness control to global var
Clean up page Home
* Alarm page translations - Finnish
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6857262
* Exported pics
* Clean-up TFT
- Removed a bunch of unused pics
- Changed page indicator to new format (which will allow future development to hide unused pages)
- Standardized close button in most pages
* Fixed background pics
- Entities pages
- Weather pages
* Standardize close button
* Add "Alarm" section
* Support to wake-up page on `wake_up_display` service
This changes the behavior of a service introduced by #734.
* Optimize `wake_up_display` service
* Fix icon font sizes 10 and 64
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1701903604
And also remove all the unnecessary `wait_until`
* Fix Settings page element ids
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702109668
* Add translation keys for `settings` page
#1002
* Update settings page when brightness changes on HA
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702149796
* Clean-up page settings
* update docs (#1003)
* updated docs
* Update ReleaseNotes.md
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Clean-up Cover page
I'm preparing this page to have icons changing based on the device_class selected to a cover.
* Clean-up boot delay
* Enable `current_page` sensor by default
Otherwise the system won´t update values unless the page is reloaded.
* Use `current_page` in blueprint conditions
One more step towards the phase out of `nspanelevent`.
* Move `script.refresh_colors` to `service.global_settings`
As this is called from a single point, there's no meaning of having a separated script.
* Fix climate icon update
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891454
* Fix button show on climate page
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891335
* Visual improvements on climate page
- Add friendly name when embedded - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891465
- Make disable icons a bit darker - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6893440
- Add space for page title in EU an US Land versions
- Reset page timer when pressing/releasing on the slider - Partially solves #990
* Don't update values when page home is not visible
To reduce load on Home Assistant and the network
* Cleanup boot sequence
Move some functionalities to ESPHome
* Display internal sensor value when wifi is out
Before it was showing on home page only when API was out. This adds a test for WiFi.
* Fix `default_target_temperature`
It also updates the page home when thermostat status changes (for the chips).
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6897727
* Adding ID to components missing it
* Renamed `wake_up_display` to `wake_up`
* Re-arrange commands list
* Add service `set_component_color`
Deprecates the following services:
- `send_command_font_color`
- `send_command_background_color`
* Fix button pages not showing
* Adjusted time for HW long click
* Fixed buttons on settings page
* Minor adjustments to page climate
And replace font 10 to size 48 (it was 64 since a few days ago).
* Updates to breaking changes list
* Page settings redesign
Clean up the UI of settings page.
Prepare for translations.
* Enable translations of Settings page
* Notification word-wrap
For EU and US_LAND only, for now.
* Notifications page rebuilt
- Notification button processed on ESPHome (as all the info is there)
- Added word-wrap for main text
- Expanded text size
- Handling display mode (used to define the number of chars per line on Notifications)
- Versioning handling - As a consequence of the previous item.
* Word-wrap buttons pages
Taking advantage of the algorithm created for notifications.
* Word-wrap for Alarm page
* Version mismatch notication
* Fix ESPHome not starting with older TFT
* Rebuilt home page status bar update
* Updated translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-6926846
Thanks @MaiPiu
* Fix `Nextion reported variable name invalid!`
* Fix `Nextion variable invalid`
* Handle `embedded_indoor_temperature`
Internal temperature display will be handled locally (ESPHome) when no other sensor is selected.
* Review temperature correction engine
* Fix display climate chip
* update `temp_nspanel` when correction changes
* Fix `Fan` page not open with long press HW button
Solves #1007
* Minor adjustments on settings page
* version 4.0 ready for release
* Clean-up docs
* Improve version notification
* Disable restore `notification_unread`
This must be changed to a binary sensor in the future.
* Beta v4.0 (#1012)
* Create ReleaseNotes.md (#879)
* Create ReleaseNotes.md
* sensor display precision
* Filter devices to esp32 only (#881)
* Filter devices to esp32 only
Show only ESP32 devices when selecting the panel
* Filtered device list
* Sensor display precision (#880)
Now the values shown in your panel will follow the [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision) provided by Home Assistant.
=> If you have problems with a value exceeding the available space in your panel, please reduce the number of decimals using Home Assistant [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision).
* New language selector (#882)
* New language selector
* Update ReleaseNotes.md
* Update ReleaseNotes.md
* Remove `settings_entity` (#887)
* Remove `settings_entity`
- Bump version to 3.5_dev
- Removed references to pictures removed from TFT
- Removed code related to closing settings pages
- Removed trigger `settings_entity`
* Removed `set_settings_entity` service
- Bump version to 3.5_dev
- Removed `set_settings_entity` service - BREAKING CHANGE
- Removed `settings_entity` text-sensor - BREAKING CHANGE
- Added service `open_entity_settings_page` - BREAKING CHANGE
* Removed `settings_entity`
- Bump version to 3.5_dev
- Removed old climate page (climate_backup)
- Removed pics related to old climate page (ids 16-47, 80-83, 95-96 and 125(US only))
- Enforces brightness on any page change (this allows wake-up on settings page with long press on physical buttons) - Pending removing code from Blueprint
- Added `entity` variable on pages `climate`, `lightsettings` and `coversettings`
- Added `entity` info to `nspanelevent` on pages `climate`, `lightsettings` and `coversettings`
- Added `back_page` variable on pages `climate`, `lightsettings` and `coversettings` (default: home)
- Moving to TFT close page logic on pages `climate`, `lightsettings` and `coversettings` - Pending changes on Blueprint and ESPHome
- Standardized name for `page_label` on pages `climate`, `lightsettings` and `coversettings`
- Standardized settings page names: `climate`, `cover` and `light` (Removed `settings` from page name)
* Removed `settings_entity`
* Removed `settings_entity`
* Removed `settings_entity`
* Move `entity` variable to home page (#889)
* Move `entity` variable to home page
This will enable future development of a fallback climate
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Use `en` as fallback language (#891)
* Use `en` as fallback language
Uses English if a non valid language is selected (like when using legacy language selection).
* Use `en` as fallback language
* Create `nspanel_us_land.tft` (#890)
* Create `nspanel_us_land.tft'
Add `nspanel_us_land.tft' for US panel on landscape mode, fixing the offset on the touch screen when using `nspanel_eu.tft` into a US panel.
Hides the hardware buttons labels, as Nextion cannot support rotated text.
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
solves #390
solves #432
solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4933716
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
* Fix "Button confirmation page not working correctly"
Solves #883
* Supports weather forecast with `datetime` not string
This adds support to weather integrations where the `datetime` field under `forecast` attribute is provided as a `datetime` type.
This was seen on Météo-France, while all other weather integrations tested so far used a `text` field for `datetime`.
This solves #893
* Wifi icon to indicate when API offline
This changes the behavior of Wifi icon:
How it was before:
- Wifi icon was visible only when the wifi was connected, nothing was shown when wifi was not connected.
How it is now:
- Wifi icon will have 3 states:
- Wifi & API connected: Gray wifi icon
- Wifi disconnected: Red wifi-off icon
- Wifi connected, but API disconnected (HA is out?): Red api-off icon
* API status indication on the panel
* Limit light & cover to supported settings (#896)
* Limit light to supported settings
When showing light settings, only the supported features will be shown for each light.
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
This partially solves #635
* Limits covers to supported settings
Only show cover settings when `set_position` is supported.
This solves #635
* Limits covers to supported settings
* Update instructions.md
* Add Fan speed settings page (#897)
* Add Fan speed settings page
Add an initial fan speed control page for fans supporting speed control.
Add speed (%) info in the buttons pages.
Solves #404
Solves #791
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5786106
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Fix name on confirmation page
Fix the entity name on the confirmation page.
The new order is:
1. Name set on the blueprint settings
2. Entity's `friendly_name` attribute
3. Entity's `name` attribute
4. Entity's `entity_id`
Solves #501
* Select wake-up page (#898)
* Select wake-up page
Users will be able to select the wake-up page on the blueprint inputs.
This selected page will be shown after a boot (after the boot page) and with a touch in the screen when on screen saver page.
After showing this wake-up page, all the previous behavior for closing the page (with a click or after a timeout) will be the same.
Solves #576
Solves #612
Solves #801
Probably improves for https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5715670
* Select wake-up page
* Fan update engine
Change the fan update engine to follow the same patter as other settings pages.
* Update ReleaseNotes.md
* Adding vertical bars pics
* Panel offline mode (#900)
* Panel offline mode
Introduces "offline mode" for the panel, which will be used later with a fallback climate.
Pages that are depending on the blueprint (buttons pages, entity pages, settings pages, etc) won't be shown when the API is disconnected.
* Panel offline mode
* Panel offline mode
* Panel offline mode
* Panel offline mode
* "Jump to settings" on tft
Moved "Jump to settings page" routine from ESPHome to TFT in order to reduce complexity.
* Exclude Nextion2Text
Exclude Nextion2Text
* Fix validation issue
* Time engine on ESPHome
* Time engine on ESPHome
* Notification page bigger hotspot
Added hotspots around the buttons (Accept & Clear) on Notification page to make easier to click on those.
Solves #907
* Boot page retry comm
The boot page will retry communication with the blueprint once a minute to avoid the situation where that page is shown until the automation is reloaded.
* Fix call to screen page
Fixes the call to screen page on US panel.
Reconciliate the US landscape model from EU model.
* Fix fan page `button_on`
Fixing rounding on that button.
* Fixed Fan page rounding
* Prevents boot sequence in other pages
* Physical relay local control
We are trying to make your panel as autonomous as possible by moving some of the controls from the Blueprint to ESPHome. This will reduce the load in your network and Home Assistant, but also will make a more reliable system capable to do it's core functionality even when the network is unavailable or Home Assistant is restarting.
With this version, the following engines have been moved to your panel (local control):
- Physical relay control (when hardware left button is connected to relay 1 or right button to relay 2)
Solves #910
* Embedded climate (#917)
* Performance improvements
The main focus here was to reduce the number of calls between Home Assistant and ESPHome, moving logic as much as possible to TFT and ESPHome.
- Service calls moved to ESPHome (in preparation for Alarm Control Panel)
- Page change informed via event call instead of `nspanel_event` sensor (which still in use by other calls, but might be possible to remove in the future)
* Draft embedded climate
This adds an initial version of an embedded climate/thermostat (heating only for now) with support for local control even with Wi-Fi out.
Solves #646
Solves #263
* Update ReleaseNotes.md
* Fix climate slider
Fix for climate slider opening in an incorrect position and sending only the integer part of the new target temperature
* Moving home page to ESPHome
In progress...
* Fix translations - Dutch
* Embedded chip 3
Home page - Chip 3 will be controlled locally when embedded climate is enable.
* Fixed buttons bar
Fixed buttons bar managed on ESPHome when embedded climate is visible.
* Update ReleaseNotes.md
* Services back to the Blueprint
Moving service calls back to the blueprint as latest HA requires user's permissions to call HA services from ESPHome.
This still have to be used for Alarm calls due to security concerns.
* Update ReleaseNotes.md
* support to hidden ssid (#908)
Supports hidden ssid with the use of substitutions `wifi_hidden: "true"`.
This can be breaking change for users with custom/advanced wifi settings.
Solves #906
* Update nspanel_esphome.yaml
* Removed `restore_state`
There is some incomplete work related to alarms on this commit, but the focus here is to fix `restore_state` on ESPHome v2023.7.0.
This solves #939
* US model - Fan page - Redistribute icons
Redistributed icons on Fan page on US model in order to improve usability.
Based on feedback from https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6338706
* Align `nspanel_us_land`
Apply all changes from EU to US_Land
* Fix relays chips
Fix relay status indication on chips.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/926#issuecomment-1627660273
* Fix "invalid variable" for "api"
Fix error "Nextion invalid variable name" when setting `api`.
* Default embedded climate to relay_0
* Fix translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6511043
* Fix `set_temperature` for climate
Solves #957
* Fix `fan.turn_off` call
Removed timer call from fan stop button.
This solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6494535
* Call a `fan.turn_off` when percentage is 0%
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6621756
* Fix call for fan stop button
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6622377
* Icons on ESPHome
Move icons from TFT/HMI to ESPHome to prevent error on Nextion2Text.
* Updated translations - Spanish
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6548961
* Make home page sensor's icons consistent
Make icon selection consistent with chips where the entity's icon is used in case a icon is not set in the blueprint settings.
Solves #963
* Updated translations - Slovenian
Based on:
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6665723
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-6665751
* dutch (#974)
* small ducht translations
small ducht translations
* Dutch translations
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Add-on support (#977)
Moved climate settings to an add-on.
Updated documentation.
* Fixed link to addon climate docs
* Fix change brightness when sleeping
Prevents the panel to change screen brightness when sleeping.
Solves #975
* Standardize HA service calls
* Bump version to `4.0 dev`
* Create customization.md
This will reduce the need for:
- #920
- #662
- #833
* Clean-up for customizations
Clean up ESPHome in order to make easier the use of customizations.
* Create Alarm page
* Add page Alarm
* Add Alarm docs
Update docs to reflect the current state (new features & changes)
* Creating "install.md" and update add-ons instructions
* Add Alarm page buttons pics
* Add link to Alarm on page Home
* Create Alarm page
* Alarm button font color
* Add `keyb_num` page
* Alarm Control Panel with PIN (#982)
Implements an Alarm Control Panel page on NSPanel.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/66
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/227
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/672
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4874612
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/64#issuecomment-1566204490
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718
* Fix alarm without pin not working
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/pull/930#issuecomment-1680981977
* Alarm page UI
Fixed close button
Disabled buttons are darker
* Move Entities button to ESPHome
Move logic behind Entities button (Home page) from Blueprint to ESPHome in order to gain performance on creating home page.
* Human readable Uptime (#986)
* Human readable Uptime
* Uptime from Frenck code
* Uptime with Frenck code
* Updated Human Readable Uptime
* Removed trailing spaces
* Renamed sensor to "Last started"
Sensor renamed
Update moved to the boot process
Clean-up
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Co-authored-by: Edward Firmo <edward@costafirmo.com>
* Update alarm icon & color
* Revert `fast_connect` back to `false`
* Extended chars on buttons pages (#988)
Replaces #740
Probably solves #664
Probably solves #738
Probably solves #987
* Removed `fast_connect`
* Support to `code_arm_required`
Only shows the alarm PIN keyboard if a code is required for arming (or when disarming).
* Update alarm icon on home page
Refresh icon when alarm state changes.
* Fix alarm icon not updating on home page
* Home buttons new format - Alarm
Modernise the button Alarm flow on page Home to improve performance.
* Home buttons new format - Entities
Modernise the button "Entities" flow on page Home to improve performance.
* Home buttons new format - QRcode
Modernise the button "QRcode" flow on page Home to improve performance.
* Home buttons new format - Notification
Modernise the button "Notification" flow on page Home to improve performance.
I haven't moved the code from the Blueprint to ESPHome yet, as I will leave this for when we rebuild the Notification flow in the near future (hopefully), so the performance gains may not be perceived now. Just aligning with other buttons format.
* Adding screenshots
* Delete ReleaseNotes.md
Moved to the release
* New entity filter format
This new format was released with HA v2023.4 and the old one will be deprecated soon.
* Fix Alarm page bypass icon
* Bump version to 4.0
* Rename `addon_climate_heat`
* Simplify climate substitutions
* Add support for `addon_climate_cool`
* Removed `${verbose_log}`
Use logger level `VERBOSE` instead
* Fix script call
* Clean up general entities & fallback
Store inputs into variables only when needed.
Removed fallback mode - Replaced by ESPHome local control when the relay is assigned to the button in the blueprint.
* Phase out sensor `nspanel_event` (partially)
This sensor is being replaced by event calls.
* uptime sensors (#998)
* Create ReleaseNotes.md
* Fix Climate page when embedded climate
And also added a lot of logs which should be removed later as it takes from memory.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6835260
* Move brightness control to global var
Clean up page Home
* Alarm page translations - Finnish
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6857262
* Exported pics
* Clean-up TFT
- Removed a bunch of unused pics
- Changed page indicator to new format (which will allow future development to hide unused pages)
- Standardized close button in most pages
* Fixed background pics
- Entities pages
- Weather pages
* Standardize close button
* Add "Alarm" section
* Support to wake-up page on `wake_up_display` service
This changes the behavior of a service introduced by #734.
* Optimize `wake_up_display` service
* Fix icon font sizes 10 and 64
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1701903604
And also remove all the unnecessary `wait_until`
* Fix Settings page element ids
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702109668
* Add translation keys for `settings` page
#1002
* Update settings page when brightness changes on HA
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702149796
* Clean-up page settings
* update docs (#1003)
* updated docs
* Update ReleaseNotes.md
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Clean-up Cover page
I'm preparing this page to have icons changing based on the device_class selected to a cover.
* Clean-up boot delay
* Enable `current_page` sensor by default
Otherwise the system won´t update values unless the page is reloaded.
* Use `current_page` in blueprint conditions
One more step towards the phase out of `nspanelevent`.
* Move `script.refresh_colors` to `service.global_settings`
As this is called from a single point, there's no meaning of having a separated script.
* Fix climate icon update
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891454
* Fix button show on climate page
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891335
* Visual improvements on climate page
- Add friendly name when embedded - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891465
- Make disable icons a bit darker - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6893440
- Add space for page title in EU an US Land versions
- Reset page timer when pressing/releasing on the slider - Partially solves #990
* Don't update values when page home is not visible
To reduce load on Home Assistant and the network
* Cleanup boot sequence
Move some functionalities to ESPHome
* Display internal sensor value when wifi is out
Before it was showing on home page only when API was out. This adds a test for WiFi.
* Fix `default_target_temperature`
It also updates the page home when thermostat status changes (for the chips).
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6897727
* Adding ID to components missing it
* Renamed `wake_up_display` to `wake_up`
* Re-arrange commands list
* Add service `set_component_color`
Deprecates the following services:
- `send_command_font_color`
- `send_command_background_color`
* Fix button pages not showing
* Adjusted time for HW long click
* Fixed buttons on settings page
* Minor adjustments to page climate
And replace font 10 to size 48 (it was 64 since a few days ago).
* Updates to breaking changes list
* Page settings redesign
Clean up the UI of settings page.
Prepare for translations.
* Enable translations of Settings page
* Notification word-wrap
For EU and US_LAND only, for now.
* Notifications page rebuilt
- Notification button processed on ESPHome (as all the info is there)
- Added word-wrap for main text
- Expanded text size
- Handling display mode (used to define the number of chars per line on Notifications)
- Versioning handling - As a consequence of the previous item.
* Word-wrap buttons pages
Taking advantage of the algorithm created for notifications.
* Word-wrap for Alarm page
* Version mismatch notication
* Fix ESPHome not starting with older TFT
* Rebuilt home page status bar update
* Updated translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-6926846
Thanks @MaiPiu
* Fix `Nextion reported variable name invalid!`
* Fix `Nextion variable invalid`
* Handle `embedded_indoor_temperature`
Internal temperature display will be handled locally (ESPHome) when no other sensor is selected.
* Review temperature correction engine
* Fix display climate chip
* update `temp_nspanel` when correction changes
* Fix `Fan` page not open with long press HW button
Solves #1007
* Minor adjustments on settings page
* version 4.0 ready for release
* Clean-up docs
---------
Co-authored-by: bkbartk <bartkock@outlook.com>
Co-authored-by: w00zy <WZYProjects+github@gmail.com>
* Fix Fan page button colors when opening
Solves #1017
* Translations (#1023)
* Translations
* Update nspanel_blueprint.yaml
I've changed `brightness` for now as the new design isn't implemented yet, but that string is already in use with the current design.
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Adjustments to settings page
* Fix entity info when calling detailed pages
Solves #1022
* Added `media_player` page (hidden)
* New "Confirm" pop-up
This also removes the sensor "NSPanel Event"
* Fix pages not updating values
Solves #1026
* Media player - Buttons
- Added code to buttons on media_player page.
- Clean-up:
- Moved wake-up select from Blueprint to ESPHome component
- Removed `switch.xxxxx_confirmation_message`
* Fix logging for global_settings
It was logging wakeup_page, which is deprecated
* Improved version notification
* Removed trailing spaces
* Notification for `sensor.xxxxx_current_page` missing
This might be a common issue for users migrating from v3.4 to v3.5.
This information is part of the release notes, but I believe it worth having a guide to support closely any user who miss that in the release notes.
* Simplify `touchevent` engine
The touch event is used only for the sleeping engine (it will be used for dimming later) and it was transferring all the json info with page name, component, entity, etc.
This was replaced by a simple random integer with no meaning other than "the screen was touched, reset the timer".
* Media player first buttons actions
* Fix unknown service: `media_player.null`
* Media Player control
You will be able to add a Media Player entity to any of the buttons pages and with a long press you will see the media player page.
* Remove dimming timer for now
The funcionality isn't completed.
* Home page - Custom buttons
On the blueprint you can now set up to 3 buttons to be shown on Home page.
It will show the detailed settings page, so the entity must be compatible.
* Fix Media player missing parameters
Possibly solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1030#discussioncomment-6984573
* Prevents calls to `media_player.null`
* Remove `entity` info from pages on TFT
Since v3.4, the info about entity_id shown was going all the way to Nextion and then sent back in the json return, however this requires a long (100-char) global var and the way it was implemented, it was one of those per settings page, as climate should be also recorded at the same time in case the embedded climate was installed.
This was taking too much memory, so I've moved this info to a global variable (string) in ESPHome.
There is now lots of space for code cleaning (and still pending to do the same with climate entity, as it could be only a bool to inform if embedded), but this brings the functionality.
This enabled the return to global for some components, so it probably solves #1031
---------
Co-authored-by: bkbartk <bartkock@outlook.com>
Co-authored-by: w00zy <WZYProjects+github@gmail.com>
Co-authored-by: w00zy <52609940+WZYProjects@users.noreply.github.com>
Since v3.4, the info about entity_id shown was going all the way to Nextion and then sent back in the json return, however this requires a long (100-char) global var and the way it was implemented, it was one of those per settings page, as climate should be also recorded at the same time in case the embedded climate was installed.
This was taking too much memory, so I've moved this info to a global variable (string) in ESPHome.
There is now lots of space for code cleaning (and still pending to do the same with climate entity, as it could be only a bool to inform if embedded), but this brings the functionality.
This enabled the return to global for some components, so it probably solves #1031
The touch event is used only for the sleeping engine (it will be used for dimming later) and it was transferring all the json info with page name, component, entity, etc.
This was replaced by a simple random integer with no meaning other than "the screen was touched, reset the timer".
This might be a common issue for users migrating from v3.4 to v3.5.
This information is part of the release notes, but I believe it worth having a guide to support closely any user who miss that in the release notes.
- Added code to buttons on media_player page.
- Clean-up:
- Moved wake-up select from Blueprint to ESPHome component
- Removed `switch.xxxxx_confirmation_message`
* Translations
* Update nspanel_blueprint.yaml
I've changed `brightness` for now as the new design isn't implemented yet, but that string is already in use with the current design.
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Create ReleaseNotes.md (#879)
* Create ReleaseNotes.md
* sensor display precision
* Filter devices to esp32 only (#881)
* Filter devices to esp32 only
Show only ESP32 devices when selecting the panel
* Filtered device list
* Sensor display precision (#880)
Now the values shown in your panel will follow the [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision) provided by Home Assistant.
=> If you have problems with a value exceeding the available space in your panel, please reduce the number of decimals using Home Assistant [sensor display precision](https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision).
* New language selector (#882)
* New language selector
* Update ReleaseNotes.md
* Update ReleaseNotes.md
* Remove `settings_entity` (#887)
* Remove `settings_entity`
- Bump version to 3.5_dev
- Removed references to pictures removed from TFT
- Removed code related to closing settings pages
- Removed trigger `settings_entity`
* Removed `set_settings_entity` service
- Bump version to 3.5_dev
- Removed `set_settings_entity` service - BREAKING CHANGE
- Removed `settings_entity` text-sensor - BREAKING CHANGE
- Added service `open_entity_settings_page` - BREAKING CHANGE
* Removed `settings_entity`
- Bump version to 3.5_dev
- Removed old climate page (climate_backup)
- Removed pics related to old climate page (ids 16-47, 80-83, 95-96 and 125(US only))
- Enforces brightness on any page change (this allows wake-up on settings page with long press on physical buttons) - Pending removing code from Blueprint
- Added `entity` variable on pages `climate`, `lightsettings` and `coversettings`
- Added `entity` info to `nspanelevent` on pages `climate`, `lightsettings` and `coversettings`
- Added `back_page` variable on pages `climate`, `lightsettings` and `coversettings` (default: home)
- Moving to TFT close page logic on pages `climate`, `lightsettings` and `coversettings` - Pending changes on Blueprint and ESPHome
- Standardized name for `page_label` on pages `climate`, `lightsettings` and `coversettings`
- Standardized settings page names: `climate`, `cover` and `light` (Removed `settings` from page name)
* Removed `settings_entity`
* Removed `settings_entity`
* Removed `settings_entity`
* Move `entity` variable to home page (#889)
* Move `entity` variable to home page
This will enable future development of a fallback climate
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Use `en` as fallback language (#891)
* Use `en` as fallback language
Uses English if a non valid language is selected (like when using legacy language selection).
* Use `en` as fallback language
* Create `nspanel_us_land.tft` (#890)
* Create `nspanel_us_land.tft'
Add `nspanel_us_land.tft' for US panel on landscape mode, fixing the offset on the touch screen when using `nspanel_eu.tft` into a US panel.
Hides the hardware buttons labels, as Nextion cannot support rotated text.
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
solves #390
solves #432
solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4933716
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
* Fix "Button confirmation page not working correctly"
Solves #883
* Supports weather forecast with `datetime` not string
This adds support to weather integrations where the `datetime` field under `forecast` attribute is provided as a `datetime` type.
This was seen on Météo-France, while all other weather integrations tested so far used a `text` field for `datetime`.
This solves #893
* Wifi icon to indicate when API offline
This changes the behavior of Wifi icon:
How it was before:
- Wifi icon was visible only when the wifi was connected, nothing was shown when wifi was not connected.
How it is now:
- Wifi icon will have 3 states:
- Wifi & API connected: Gray wifi icon
- Wifi disconnected: Red wifi-off icon
- Wifi connected, but API disconnected (HA is out?): Red api-off icon
* API status indication on the panel
* Limit light & cover to supported settings (#896)
* Limit light to supported settings
When showing light settings, only the supported features will be shown for each light.
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
This partially solves #635
* Limits covers to supported settings
Only show cover settings when `set_position` is supported.
This solves #635
* Limits covers to supported settings
* Update instructions.md
* Add Fan speed settings page (#897)
* Add Fan speed settings page
Add an initial fan speed control page for fans supporting speed control.
Add speed (%) info in the buttons pages.
Solves #404
Solves #791
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5786106
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Fix name on confirmation page
Fix the entity name on the confirmation page.
The new order is:
1. Name set on the blueprint settings
2. Entity's `friendly_name` attribute
3. Entity's `name` attribute
4. Entity's `entity_id`
Solves #501
* Select wake-up page (#898)
* Select wake-up page
Users will be able to select the wake-up page on the blueprint inputs.
This selected page will be shown after a boot (after the boot page) and with a touch in the screen when on screen saver page.
After showing this wake-up page, all the previous behavior for closing the page (with a click or after a timeout) will be the same.
Solves #576
Solves #612
Solves #801
Probably improves for https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5715670
* Select wake-up page
* Fan update engine
Change the fan update engine to follow the same patter as other settings pages.
* Update ReleaseNotes.md
* Adding vertical bars pics
* Panel offline mode (#900)
* Panel offline mode
Introduces "offline mode" for the panel, which will be used later with a fallback climate.
Pages that are depending on the blueprint (buttons pages, entity pages, settings pages, etc) won't be shown when the API is disconnected.
* Panel offline mode
* Panel offline mode
* Panel offline mode
* Panel offline mode
* "Jump to settings" on tft
Moved "Jump to settings page" routine from ESPHome to TFT in order to reduce complexity.
* Exclude Nextion2Text
Exclude Nextion2Text
* Fix validation issue
* Time engine on ESPHome
* Time engine on ESPHome
* Notification page bigger hotspot
Added hotspots around the buttons (Accept & Clear) on Notification page to make easier to click on those.
Solves #907
* Boot page retry comm
The boot page will retry communication with the blueprint once a minute to avoid the situation where that page is shown until the automation is reloaded.
* Fix call to screen page
Fixes the call to screen page on US panel.
Reconciliate the US landscape model from EU model.
* Fix fan page `button_on`
Fixing rounding on that button.
* Fixed Fan page rounding
* Prevents boot sequence in other pages
* Physical relay local control
We are trying to make your panel as autonomous as possible by moving some of the controls from the Blueprint to ESPHome. This will reduce the load in your network and Home Assistant, but also will make a more reliable system capable to do it's core functionality even when the network is unavailable or Home Assistant is restarting.
With this version, the following engines have been moved to your panel (local control):
- Physical relay control (when hardware left button is connected to relay 1 or right button to relay 2)
Solves #910
* Embedded climate (#917)
* Performance improvements
The main focus here was to reduce the number of calls between Home Assistant and ESPHome, moving logic as much as possible to TFT and ESPHome.
- Service calls moved to ESPHome (in preparation for Alarm Control Panel)
- Page change informed via event call instead of `nspanel_event` sensor (which still in use by other calls, but might be possible to remove in the future)
* Draft embedded climate
This adds an initial version of an embedded climate/thermostat (heating only for now) with support for local control even with Wi-Fi out.
Solves #646
Solves #263
* Update ReleaseNotes.md
* Fix climate slider
Fix for climate slider opening in an incorrect position and sending only the integer part of the new target temperature
* Moving home page to ESPHome
In progress...
* Fix translations - Dutch
* Embedded chip 3
Home page - Chip 3 will be controlled locally when embedded climate is enable.
* Fixed buttons bar
Fixed buttons bar managed on ESPHome when embedded climate is visible.
* Update ReleaseNotes.md
* Services back to the Blueprint
Moving service calls back to the blueprint as latest HA requires user's permissions to call HA services from ESPHome.
This still have to be used for Alarm calls due to security concerns.
* Update ReleaseNotes.md
* support to hidden ssid (#908)
Supports hidden ssid with the use of substitutions `wifi_hidden: "true"`.
This can be breaking change for users with custom/advanced wifi settings.
Solves #906
* Update nspanel_esphome.yaml
* Removed `restore_state`
There is some incomplete work related to alarms on this commit, but the focus here is to fix `restore_state` on ESPHome v2023.7.0.
This solves #939
* US model - Fan page - Redistribute icons
Redistributed icons on Fan page on US model in order to improve usability.
Based on feedback from https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6338706
* Align `nspanel_us_land`
Apply all changes from EU to US_Land
* Fix relays chips
Fix relay status indication on chips.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/926#issuecomment-1627660273
* Fix "invalid variable" for "api"
Fix error "Nextion invalid variable name" when setting `api`.
* Default embedded climate to relay_0
* Fix translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6511043
* Fix `set_temperature` for climate
Solves #957
* Fix `fan.turn_off` call
Removed timer call from fan stop button.
This solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6494535
* Call a `fan.turn_off` when percentage is 0%
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6621756
* Fix call for fan stop button
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/791#discussioncomment-6622377
* Icons on ESPHome
Move icons from TFT/HMI to ESPHome to prevent error on Nextion2Text.
* Updated translations - Spanish
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6548961
* Make home page sensor's icons consistent
Make icon selection consistent with chips where the entity's icon is used in case a icon is not set in the blueprint settings.
Solves #963
* Updated translations - Slovenian
Based on:
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6665723
- https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/829#discussioncomment-6665751
* dutch (#974)
* small ducht translations
small ducht translations
* Dutch translations
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Add-on support (#977)
Moved climate settings to an add-on.
Updated documentation.
* Fixed link to addon climate docs
* Fix change brightness when sleeping
Prevents the panel to change screen brightness when sleeping.
Solves #975
* Standardize HA service calls
* Bump version to `4.0 dev`
* Create customization.md
This will reduce the need for:
- #920
- #662
- #833
* Clean-up for customizations
Clean up ESPHome in order to make easier the use of customizations.
* Create Alarm page
* Add page Alarm
* Add Alarm docs
Update docs to reflect the current state (new features & changes)
* Creating "install.md" and update add-ons instructions
* Add Alarm page buttons pics
* Add link to Alarm on page Home
* Create Alarm page
* Alarm button font color
* Add `keyb_num` page
* Alarm Control Panel with PIN (#982)
Implements an Alarm Control Panel page on NSPanel.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/66
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/227
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/672
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4874612
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/64#issuecomment-1566204490
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718
* Fix alarm without pin not working
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/pull/930#issuecomment-1680981977
* Alarm page UI
Fixed close button
Disabled buttons are darker
* Move Entities button to ESPHome
Move logic behind Entities button (Home page) from Blueprint to ESPHome in order to gain performance on creating home page.
* Human readable Uptime (#986)
* Human readable Uptime
* Uptime from Frenck code
* Uptime with Frenck code
* Updated Human Readable Uptime
* Removed trailing spaces
* Renamed sensor to "Last started"
Sensor renamed
Update moved to the boot process
Clean-up
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Co-authored-by: Edward Firmo <edward@costafirmo.com>
* Update alarm icon & color
* Revert `fast_connect` back to `false`
* Extended chars on buttons pages (#988)
Replaces #740
Probably solves #664
Probably solves #738
Probably solves #987
* Removed `fast_connect`
* Support to `code_arm_required`
Only shows the alarm PIN keyboard if a code is required for arming (or when disarming).
* Update alarm icon on home page
Refresh icon when alarm state changes.
* Fix alarm icon not updating on home page
* Home buttons new format - Alarm
Modernise the button Alarm flow on page Home to improve performance.
* Home buttons new format - Entities
Modernise the button "Entities" flow on page Home to improve performance.
* Home buttons new format - QRcode
Modernise the button "QRcode" flow on page Home to improve performance.
* Home buttons new format - Notification
Modernise the button "Notification" flow on page Home to improve performance.
I haven't moved the code from the Blueprint to ESPHome yet, as I will leave this for when we rebuild the Notification flow in the near future (hopefully), so the performance gains may not be perceived now. Just aligning with other buttons format.
* Adding screenshots
* Delete ReleaseNotes.md
Moved to the release
* New entity filter format
This new format was released with HA v2023.4 and the old one will be deprecated soon.
* Fix Alarm page bypass icon
* Bump version to 4.0
* Rename `addon_climate_heat`
* Simplify climate substitutions
* Add support for `addon_climate_cool`
* Removed `${verbose_log}`
Use logger level `VERBOSE` instead
* Fix script call
* Clean up general entities & fallback
Store inputs into variables only when needed.
Removed fallback mode - Replaced by ESPHome local control when the relay is assigned to the button in the blueprint.
* Phase out sensor `nspanel_event` (partially)
This sensor is being replaced by event calls.
* uptime sensors (#998)
* Create ReleaseNotes.md
* Fix Climate page when embedded climate
And also added a lot of logs which should be removed later as it takes from memory.
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6835260
* Move brightness control to global var
Clean up page Home
* Alarm page translations - Finnish
https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/940#discussioncomment-6857262
* Exported pics
* Clean-up TFT
- Removed a bunch of unused pics
- Changed page indicator to new format (which will allow future development to hide unused pages)
- Standardized close button in most pages
* Fixed background pics
- Entities pages
- Weather pages
* Standardize close button
* Add "Alarm" section
* Support to wake-up page on `wake_up_display` service
This changes the behavior of a service introduced by #734.
* Optimize `wake_up_display` service
* Fix icon font sizes 10 and 64
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1701903604
And also remove all the unnecessary `wait_until`
* Fix Settings page element ids
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702109668
* Add translation keys for `settings` page
#1002
* Update settings page when brightness changes on HA
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/960#issuecomment-1702149796
* Clean-up page settings
* update docs (#1003)
* updated docs
* Update ReleaseNotes.md
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
* Clean-up Cover page
I'm preparing this page to have icons changing based on the device_class selected to a cover.
* Clean-up boot delay
* Enable `current_page` sensor by default
Otherwise the system won´t update values unless the page is reloaded.
* Use `current_page` in blueprint conditions
One more step towards the phase out of `nspanelevent`.
* Move `script.refresh_colors` to `service.global_settings`
As this is called from a single point, there's no meaning of having a separated script.
* Fix climate icon update
Partially solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891454
* Fix button show on climate page
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891335
* Visual improvements on climate page
- Add friendly name when embedded - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6891465
- Make disable icons a bit darker - Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6893440
- Add space for page title in EU an US Land versions
- Reset page timer when pressing/releasing on the slider - Partially solves #990
* Don't update values when page home is not visible
To reduce load on Home Assistant and the network
* Cleanup boot sequence
Move some functionalities to ESPHome
* Display internal sensor value when wifi is out
Before it was showing on home page only when API was out. This adds a test for WiFi.
* Fix `default_target_temperature`
It also updates the page home when thermostat status changes (for the chips).
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/995#discussioncomment-6897727
* Adding ID to components missing it
* Renamed `wake_up_display` to `wake_up`
* Re-arrange commands list
* Add service `set_component_color`
Deprecates the following services:
- `send_command_font_color`
- `send_command_background_color`
* Fix button pages not showing
* Adjusted time for HW long click
* Fixed buttons on settings page
* Minor adjustments to page climate
And replace font 10 to size 48 (it was 64 since a few days ago).
* Updates to breaking changes list
* Page settings redesign
Clean up the UI of settings page.
Prepare for translations.
* Enable translations of Settings page
* Notification word-wrap
For EU and US_LAND only, for now.
* Notifications page rebuilt
- Notification button processed on ESPHome (as all the info is there)
- Added word-wrap for main text
- Expanded text size
- Handling display mode (used to define the number of chars per line on Notifications)
- Versioning handling - As a consequence of the previous item.
* Word-wrap buttons pages
Taking advantage of the algorithm created for notifications.
* Word-wrap for Alarm page
* Version mismatch notication
* Fix ESPHome not starting with older TFT
* Rebuilt home page status bar update
* Updated translations - Italian
Based on https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1002#discussioncomment-6926846
Thanks @MaiPiu
* Fix `Nextion reported variable name invalid!`
* Fix `Nextion variable invalid`
* Handle `embedded_indoor_temperature`
Internal temperature display will be handled locally (ESPHome) when no other sensor is selected.
* Review temperature correction engine
* Fix display climate chip
* update `temp_nspanel` when correction changes
* Fix `Fan` page not open with long press HW button
Solves #1007
* Minor adjustments on settings page
* version 4.0 ready for release
* Clean-up docs
---------
Co-authored-by: bkbartk <bartkock@outlook.com>
Co-authored-by: w00zy <WZYProjects+github@gmail.com>
- Notification button processed on ESPHome (as all the info is there)
- Added word-wrap for main text
- Expanded text size
- Handling display mode (used to define the number of chars per line on Notifications)
- Versioning handling - As a consequence of the previous item.
- Removed a bunch of unused pics
- Changed page indicator to new format (which will allow future development to hide unused pages)
- Standardized close button in most pages
Store inputs into variables only when needed.
Removed fallback mode - Replaced by ESPHome local control when the relay is assigned to the button in the blueprint.
Modernise the button "Notification" flow on page Home to improve performance.
I haven't moved the code from the Blueprint to ESPHome yet, as I will leave this for when we rebuild the Notification flow in the near future (hopefully), so the performance gains may not be perceived now. Just aligning with other buttons format.
* Human readable Uptime
* Uptime from Frenck code
* Uptime with Frenck code
* Updated Human Readable Uptime
* Removed trailing spaces
* Renamed sensor to "Last started"
Sensor renamed
Update moved to the boot process
Clean-up
---------
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
Co-authored-by: Edward Firmo <edward@costafirmo.com>
Supports hidden ssid with the use of substitutions `wifi_hidden: "true"`.
This can be breaking change for users with custom/advanced wifi settings.
Solves #906
Moving service calls back to the blueprint as latest HA requires user's permissions to call HA services from ESPHome.
This still have to be used for Alarm calls due to security concerns.
* Performance improvements
The main focus here was to reduce the number of calls between Home Assistant and ESPHome, moving logic as much as possible to TFT and ESPHome.
- Service calls moved to ESPHome (in preparation for Alarm Control Panel)
- Page change informed via event call instead of `nspanel_event` sensor (which still in use by other calls, but might be possible to remove in the future)
* Draft embedded climate
This adds an initial version of an embedded climate/thermostat (heating only for now) with support for local control even with Wi-Fi out.
Solves #646
Solves #263
* Update ReleaseNotes.md
* Fix climate slider
Fix for climate slider opening in an incorrect position and sending only the integer part of the new target temperature
* Moving home page to ESPHome
In progress...
* Fix translations - Dutch
* Embedded chip 3
Home page - Chip 3 will be controlled locally when embedded climate is enable.
* Fixed buttons bar
Fixed buttons bar managed on ESPHome when embedded climate is visible.
We are trying to make your panel as autonomous as possible by moving some of the controls from the Blueprint to ESPHome. This will reduce the load in your network and Home Assistant, but also will make a more reliable system capable to do it's core functionality even when the network is unavailable or Home Assistant is restarting.
With this version, the following engines have been moved to your panel (local control):
- Physical relay control (when hardware left button is connected to relay 1 or right button to relay 2)
Solves #910
The boot page will retry communication with the blueprint once a minute to avoid the situation where that page is shown until the automation is reloaded.
* Panel offline mode
Introduces "offline mode" for the panel, which will be used later with a fallback climate.
Pages that are depending on the blueprint (buttons pages, entity pages, settings pages, etc) won't be shown when the API is disconnected.
* Panel offline mode
* Panel offline mode
* Panel offline mode
* Panel offline mode
* Select wake-up page
Users will be able to select the wake-up page on the blueprint inputs.
This selected page will be shown after a boot (after the boot page) and with a touch in the screen when on screen saver page.
After showing this wake-up page, all the previous behavior for closing the page (with a click or after a timeout) will be the same.
Solves #576
Solves #612
Solves #801
Probably improves for https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5715670
* Select wake-up page
Fix the entity name on the confirmation page.
The new order is:
1. Name set on the blueprint settings
2. Entity's `friendly_name` attribute
3. Entity's `name` attribute
4. Entity's `entity_id`
Solves #501
* Add Fan speed settings page
Add an initial fan speed control page for fans supporting speed control.
Add speed (%) info in the buttons pages.
Solves #404
Solves #791
Solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/718#discussioncomment-5786106
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Add Fan speed settings page
* Limit light to supported settings
When showing light settings, only the supported features will be shown for each light.
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
* Limit light to supported settings
This partially solves #635
* Limits covers to supported settings
Only show cover settings when `set_position` is supported.
This solves #635
* Limits covers to supported settings
This changes the behavior of Wifi icon:
How it was before:
- Wifi icon was visible only when the wifi was connected, nothing was shown when wifi was not connected.
How it is now:
- Wifi icon will have 3 states:
- Wifi & API connected: Gray wifi icon
- Wifi disconnected: Red wifi-off icon
- Wifi connected, but API disconnected (HA is out?): Red api-off icon
This adds support to weather integrations where the `datetime` field under `forecast` attribute is provided as a `datetime` type.
This was seen on Météo-France, while all other weather integrations tested so far used a `text` field for `datetime`.
This solves #893
* Create `nspanel_us_land.tft'
Add `nspanel_us_land.tft' for US panel on landscape mode, fixing the offset on the touch screen when using `nspanel_eu.tft` into a US panel.
Hides the hardware buttons labels, as Nextion cannot support rotated text.
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
solves #390
solves #432
solves https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/299#discussioncomment-4933716
* Created `nspanel_us_land.tft`
* Created `nspanel_us_land.tft`
* Use `en` as fallback language
Uses English if a non valid language is selected (like when using legacy language selection).
* Use `en` as fallback language
* Move `entity` variable to home page
This will enable future development of a fallback climate
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Move `entity` variable to home page
* Remove `settings_entity`
- Bump version to 3.5_dev
- Removed references to pictures removed from TFT
- Removed code related to closing settings pages
- Removed trigger `settings_entity`
* Removed `set_settings_entity` service
- Bump version to 3.5_dev
- Removed `set_settings_entity` service - BREAKING CHANGE
- Removed `settings_entity` text-sensor - BREAKING CHANGE
- Added service `open_entity_settings_page` - BREAKING CHANGE
* Removed `settings_entity`
- Bump version to 3.5_dev
- Removed old climate page (climate_backup)
- Removed pics related to old climate page (ids 16-47, 80-83, 95-96 and 125(US only))
- Enforces brightness on any page change (this allows wake-up on settings page with long press on physical buttons) - Pending removing code from Blueprint
- Added `entity` variable on pages `climate`, `lightsettings` and `coversettings`
- Added `entity` info to `nspanelevent` on pages `climate`, `lightsettings` and `coversettings`
- Added `back_page` variable on pages `climate`, `lightsettings` and `coversettings` (default: home)
- Moving to TFT close page logic on pages `climate`, `lightsettings` and `coversettings` - Pending changes on Blueprint and ESPHome
- Standardized name for `page_label` on pages `climate`, `lightsettings` and `coversettings`
- Standardized settings page names: `climate`, `cover` and `light` (Removed `settings` from page name)
* Removed `settings_entity`
* Removed `settings_entity`
* Removed `settings_entity`
Removed all inputs related to customization of chip03 (Climate entity) and instead will follow the same icons and colors used by page climate, with a thermometer replacing the fire icon for heating.
* Fix `hvac_action` indication icons
Fix for pages home and climate.
This should remove the need for all the 25~30 instances of hot water in the code.
* Update nspanel_esphome.yaml
* Climate - Custom buttons - Long press
This add long press functionality to Custom buttons and also fix a bug on short press.
I believe the new custom page is ready for get user's feedback with this.
* Climate - Custom buttons - Long press
* Climate - Custom buttons - Long press
* Climate - Custom buttons - Long press
* Climate page - Performance & bug fix
Performance improvement:
- Moved icon definition to TFT, so only buttons related to supported hvac modes will be updated and just icon color and link enabling is sent.
Bug fixing:
- Removed incorrect button name on buttons update
Others:
- Merged `set_climate_target_temp` into `set_climate` services
- Update current temperature when target temperature is updated
* Removed reference to `set_climate_target_temp`
Removed unused entry from blueprint.
* Removed service `set_climate_target_temp`
* Update `nspanel_eu`
- Set climate buttons on the TFT.
- Bump version to 3.3.2 (temporarily, to align with ESPHome and Blueprint)
* Update `nspanel_eu_code`
* Climate: support to `target_temp_step`
Adding support to attribute `target_temp_step` to define the step of changing temperature.
`0.5` will be used if this attribute is not available on the climate entity.
* Update nspanel_esphome.yaml
* Update nspanel_eu files
* Update nspanel_eu_code files
* 2sec hold for sending target_temp
Added 2sec hold of `target_temp` value before sending it to ESPHome and Blueprint, so the climate service is not called at every click on the slider or +/-.
* Update nspanel_eu_code
* Fix buttons on climate page
Fix icon for dry and auto.
Move Off for last position.
Fix TFT sending incorrect id for buttons.
* Update TFT
* Update nspanel_eu_code
* Move target_temp set to TFT
Use TFT to set target temp from slider and +/-.
Using decimals for slider.
* Update nspanel_esphome.yaml
* Update nspanel_eu files
* update nspanel_eu_code folder
* New climate page - basic support
Basic support to the new climate page.
Still pending values and buttons.
* Support to new climate services
* New climate page - basic
* Enable users select alignment for entity values
Users will be able to select the alignment for the column with values on the entity pages.
The options are:
- Right (default)
- Center
- Left
solves #732
* Add support to `xcen` on `set_entity`
* More flexible `date_format` engine
This is not changing anything for normal users other than minor UI on the blueprint setting, however will start using the `date_format` in a python standard string, but translating `%A` with existing weekdays in MUI.
Advanced users will be able to edit they automation yaml (either in `automations.yaml` file or editing the automation in yaml mode) in order to use any format they want.
=> This is not adding new translations to short week days or months, so if users add this in advanced mode, it will be shown in English.
* Added support for translation of date strings
Support translations to all date related strings.
=> Pending the translations - to ask support from the community.
* Support for custom date formats
* Fixed translation PRT
* Update nspanel_blueprint.yaml
This is a simplified version of #728 which is easier to maintain, as only conditions for entities pages have being added.
So the scope is limited to:
- Auto-update entity pages without compromising overall performance. (Entities page values not updating unless re-opened #410)
Takes advantage of new global vars implemented by eee2bb7295
This will improve drastically the speed on displaying the Home page.
This push removes the update of date & time from the Home page and moved it to the time minute trigger (every minute), regardless the page shown (including when sleeping).
The time is also update after a boot (to ensure there's a time value when the Home page is displayed for the first time) and with an automation reload (just to cover the case when time format changes).
This prevents message `Nextion reported variable name invalid!` when the button have a state other than `on` or `off`, like when it is connected to a stateless entity (scene, automation, etc.).
The systems won't crash if the climate entity doesn't have a `temperature` attribute.
It will try to calculate target from `target_temp_high` and `target_temp_low` otherwise will keep target temperature as empty.
This solves #749
* Fix units on indoor temperature
It will now show units from ùnit_of_measurement` to keep consistence with other value entities on Home page.
This solves #755
* Removing redundancy
Implement visual feedback for stateless entities (whatever finishes with a state other than `on`, `off`, `open` and `closed`, like scenes, automations, buttons, etc.).
This extends b18f2848f4 and solves #691.
* Changes to nextion_inited
Changed from `switch` named `Nextion inited` (with entity_id like `switch.xxxx_nextion_inited`) to a `binary_sensor` named `Nextion display` (`binary_sensor.xxxx_nextion_display`).
The idea is to avoid users trying to change it's state from Home Assistant (with unknown consequences) and make this entity more clear, improving usability.
* Change `nextion_inited` to a sensor
* Rename 'Sleep mode' switch
Renamed from `Sleep Modus` to `Sleep mode`.
Breaking change: This will rename the entity_id of that switch and this can affect existing automations created by users and also will require changes in the blueprint if #698 is merged.
Note: Variable names in HMI/TFT not renamed.
* Align with other PR
The QR code have a link to the repository, but perhaps this could be changed later to point directly to a page with instruction of what to do if a user see that screen.
The file is growing by less than 1kb and I believe a QR code with a link gives to the users a better feeling than a totally white screen where they cannot interact with.
* Standardize inputs descriptions
Standardize the descriptions on all inputs (visible to users when setting up the Blueprint)
* Removing trailing spaces
* Break down long lines
To improve readability.
* Update nspanel_blueprint.yaml
* Breaking down long lines
To improve readability.
* Clean-up
* Breaking down long lines
Tested with the following integrations:
- AccuWeather - Better when forecast is enabled
- Met.no - Better when hourly entity is enabled
- OpenMeteo
- OpenWeatherMap
- SMHI
1. The blueprint will now ask for user to select the panel from the list of ESPHome devices instead of typing it's name, in order to reduce the chance of an error
-> The old name format still supported, so this is not a breaking change.
2. If a weather entity is not provided, the blueprint will pick one weather entity available, if any.
* Use Home Assistant icon selector for icons
Replace all icon selection to Home Assistant native icon selector, improving the user experience.
Note: As not all the MDI icons are available for Nextion, if one of those icons is selected it will be displayed as a question mark `?`.
* Fix button icon when unavailable
Apply fixed from PR#660 into this branch to avoid merging conflicts in the future.
* Supports legacy icon selection
This add the support for legacy icon selection, so icons will still be shown if users install the new version in an environment where icons where previously selected.
This was already implemented on #543 but it was lost later:
As it is now, using minutes: "/1", the time will update every minute, but that could happen when lots of seconds has passed on that minute, making possible the displayed time to be up to 59s late.
By changing that to seconds: 0 if forces the update in the same rate, but always in the first second of a minute, keeping the displayed time always updated.
This reduces the number of parallel instances of the blueprint running. I've done several tests and couldn't see more than 10 instances, so I believe if we should limit the concurrent runs and this will probably be an indication of a problem we want to know about.
This supports users mistyping the NSPanel name in the blueprint settings. One of the most common mistakes is using `-` in the name, instead of `_` and this change will try to replace that when users type the name with this invalid char.
The weather integration is now automatically detected by the Blueprint, based on the attributes provided by the integration itself, so an user selection is not needed anymore.
* Code refactoring - Nextion constants - Colors
No changes in functionalities. Just renaming variables related to colors in order to improve readability.
* Code refactoring - Nextion constants - Icons
* Adding aliases on the first level actions
This will make easier troubleshooting as aliases are shown in the logs.
* Nextion constants - Pages
* Nextion constants - Commands
* Nextion constants - Other pics
* Fixed typo in nextion.pics.hardware.button
* Fixed " 'mui_weekday_today' is undefined"
* Code refactoring/standardization
Refactoring:
- Weather pages
- It might support any weather integration now, including OpenWeather)
- New string for translation (when weather info is not available for a certain day)
- Home page (partial)
* Fix bug "'home_page_values' is undefined"
* Code refactoring - Button pages
Rebuilt button pages in order to improve readability and maintainability.
No changes on functionalities,
* Changed blueprint version to v3.2.2
* Refactoring entities pages
* Reorganizing inputs to improve readability
* Bug fixes: qrcode icon & weather provider
- Fixed bug preventing to detect that QR Code was enabled in order to display the QR code icon on Home page
- Fixed weather integration detection
* Review states(entity_id) to make it more resilient
Reduce the chances of crash if a `states(entity_id)` returns an error.
* Make state_attr(entity_id, attr) more resilitent
To avoid crashes with an invalid return.
* Perf improv: Don't load weather vars unless needed
Performance improvement - don't load weather vars when those are not needed.
* Using alias for delay_value
To make easier to maintain the code.
* Code refactoring: Button press/status
Optimizing code in order to improve readability & maintainability.
* Reorganizing pages variables
As it is now, using `minutes: "/1"`, the time will update every minute, but that could happen when lots of seconds has passed on that minute, making possible the displayed time to be up to 59s late.
By changing that to `seconds: 0` if forces the update in the same rate, but always in the first second of a minute, keeping the displayed time always updated.
- All the weather pages now shares the same code, increasing standardization
- Support for other forecast parameters when supported by the integration
- Removed empty rows between the forecast parameters
Fix for the following error happening when opening climate page (and maybe other pages also):
```
Template variable warning: list object has no element 3 when rendering '{%- if settings_entity_value != "unknown" and settings_entity_value.split(',') | count >= 3 -%} {{ settings_entity_value.split(',')[3] }} {%- else -%} unknown {%- endif -%}'
```
- Fix for "Loading..." taking forever when a color was selected prior to the new RGB picker and was not updated.
* This is no fixing the input itself, so users still having to pick a color again with the new selector, but the panel won't get stuck on "Loading..." before the new color selection is made.
This fix the following error which happens when an entity with a non-numeric value ('unknown', 'unavailable', some text, etc.) is sent to the device:
```
Error: Error rendering data template: ValueError: Template error: round got invalid input 'Geen' when rendering template '{{ states(repeat.item.entity) |round(1) }}{{ state_attr(repeat.item.entity, "unit_of_measurement") }}' but no default was specified
```
This may also implement the feature requested in #490
This add the support to user selected date and time formats.
The following formats are supported now:
- Date formats:
- EU: 22.03
- UK: 22/03
- US: 3/22
- Time formats:
- EU/UK: 13:30
- US: 1:30 AM/PM (the AM7PM info will be depending on updates on TFT file)
- Fix the error where a missing/invalid entity causes the panel to slow down when opening a new page or keeps with "Loading..." on the screen until it timeouts.
This will probably fix#493
- Optimizing MUI (Multilingual User Interface) code in order to make easier add new languages and to read the code. It will probably consume a bit less resources by reducing the number of `if..elif...` and by removing a bunch of `string.replace`.
- Language selection list sorted alphabetically in order to make easier to find
Used YAML alias to simplify the code in the `input:` area. This will make easier to maintain as it creates single points of changes, promoting consistence.
Fix warning message:
Template variable warning: list object has no element 3 when rendering '{%- if settings_entity_value != "unknown" -%} {{ settings_entity_value.split(',')[3] }} {%- else -%} unknown {%- endif -%}'
* This is a breaking change. Existing automation using the Switch version will need an update to use the button version instead.
This was originally set as a switch, but in reality it behaves as a button, as when the user click it runs an action (in this case, update the TFT display file). Switches should be used only when an entity will remain in one of the two states (on/off), which is not the case here.
This is related to #328.
description:If something isn't working as expected, let us know here.
title:"`Bug` "
labels:[Bug]
body:
- type:markdown
attributes:
value:|
Thanks for taking the time to fill out a bug report!
We aim to keep everything working perfectly, so your detailed reports are crucial.
Report only one specific issue per submission. If you encounter another issue, create a new report for effective tracking and resolution.
The more detail you provide, the quicker we can help.
> [!WARNING]
> Omit any private or sensitive information, as this bug report will be publicly visible.
- type:markdown
attributes:
value:|
## Version Information
Provide version numbers for TFT, ESPHome, and Blueprint. These can be found on your device's boot screen and in the automation where the blueprint is set.
- type:input
attributes:
label:TFT Version
description:Enter the TFT version number.
placeholder:e.g., 4.3.2
validations:
required:false
- type:input
attributes:
label:ESPHome Version
description:Enter the ESPHome version number.
placeholder:e.g., 4.3.2
validations:
required:false
- type:input
attributes:
label:Blueprint Version
description:Enter the Blueprint version number.
placeholder:e.g., 4.3.2
validations:
required:false
- type:dropdown
attributes:
label:Panel Model
description:Select your NSPanel model.
options:
- EU
- US
- US (Landscape)
validations:
required:false
- type:markdown
attributes:
value:|
## Bug Details
- type:textarea
attributes:
label:What is the bug?
description:Describe the bug clearly and concisely.
placeholder:e.g., When I try this, I get this result, but I expected that...
- type:textarea
attributes:
label:Steps to Reproduce
description:Detail the steps to reproduce the behavior. Include screenshots or other relevant information.
placeholder:|
1. Go to '...'
2. Click on '...'
3. See error on '...'
- type:markdown
attributes:
value:|
## Additional Information (Optional)
- type:textarea
attributes:
label:Your Panel's YAML
description:Provide your panel's YAML configuration.
render:yaml
placeholder:|
# Example YAML configuration
# ...
- type:textarea
attributes:
label:ESPHome Logs
description:>
Access these logs via the **Logs** button on the ESPHome Dashboard.
These logs are crucial for diagnosing issues with your device.
Please follow the guidelines below to ensure the logs are comprehensive:
- **Boot Issues**: If the problem occurs during boot, capture the logs from the start of your device to a minute or two after the boot completes.
Look for errors or unusual messages during this period.
- **TFT File Update Issues**: For problems related to TFT file updates,
include logs from the moment you press the **Update TFT Display** button until a few seconds after the device restarts.
Pay attention to any error messages or warnings during the update process.
- **Other Issues**: For other types of problems, include logs that encompass the issue's onset and continue for a short duration thereafter.
This will help in pinpointing the exact moment and nature of the issue.
Remember, the more detailed the logs, the easier it is to identify and resolve the problem.
- type:textarea
attributes:
label:Home Assistant Logs
description:>
To access Home Assistant logs, navigate to **Settings** > **System** > [**Logs**](https://my.home-assistant.io/redirect/logs/).
When reporting an issue, please focus on providing logs specifically relevant to the problem:
- **NSPanel Blueprint Automation**: If your issue is related to automation using the NSPanel blueprint, include only those logs that directly pertain to this process.
- **Panel and ESPHome**: For issues involving your panel and ESPHome, carefully select and share logs that show interactions or errors between these components.
- **Relevancy is Key**: To expedite troubleshooting, avoid including logs that are not related to the issue at hand. This helps in focusing on the pertinent information.
Your attention to sharing targeted and relevant log data is greatly appreciated and aids in efficient problem resolution.
[](https://my.home-assistant.io/redirect/blueprint_import/?blueprint_url=https%3A%2F%2Fgithub.com%2FBlackymas%2FNSPanel_HA_Blueprint%2Fblob%2Fmain%2Fnspanel_blueprint.yaml)
This project allows you to configure your complete NSPanel via a Blueprint with UI.
## Table of Contents
### *That means you don't have to customize any code or change any lines in the code.*
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.
## 🌟 Project Highlights
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!!!!* ;)
- **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!
📕 Full documentation and installation is available here [NSPanel Configuration, Setup and HowTo](https://github.com/Blackymas/NSPanel_HA_Blueprint/wiki).
## 📚 Documentation & Resources
🚀 How to create "Issues" when I have a problem [WIKI HowTo](https://github.com/Blackymas/NSPanel_HA_Blueprint/wiki)
- **Getting Started:** Dive into our comprehensive [Documentation and Setup Guide](docs/README.md) for detailed instructions.
- **Troubleshooting:** Encounter an issue? Here's how to report it: [WIKI HowTo](docs/README.md).
- **Feature Requests:** Got ideas? Share them [here](https://github.com/Blackymas/NSPanel_HA_Blueprint/labels/new%20feature%20request).
- **What's Next?:** Discover what's next and what we are working on right now in our [Milestones](https://github.com/Blackymas/NSPanel_HA_Blueprint/milestones?direction=asc&sort=due_date)
⭐ All Feature Requests can be found here [All Feature Request](https://github.com/Blackymas/NSPanel_HA_Blueprint/labels/new%20feature%20request)
## 🚀 Features
🎉 Roadmap Roadmap can be found here [Roadmap](https://github.com/Blackymas/NSPanel_HA_Blueprint/labels/roadmap)
🙋 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 :)**_
- Cover battery value if available (I use Ikea roller blind)
- Cover battery value (when available)
- jump back to the right button page
### Thermostat / Climate
## Thermostat
-Touch Temp control
-Outside temperature
-Hot water
-heating on, off and idle
-Hot water button
- Target temperature control slider
-Current temperature
-4 user's selectable values (for water and external temperatures, etc.)
-All the standard climate controls from Home Assistant (`heat`, `fan`, `cool`, `auto`, `dry`)
-2 user's selectable buttons
-[Can be used for local control (even when Wi-Fi is unavailable) when your panel's relays are used to control your cooler/heater](docs/addon_climate.md)
### Fan speed
## Weather Forcast
-5 days Weather Forcast via swipe (Integration Accuweather - but should also go with another integration)
-Lowest and highest temperature outside
- Turn-on and turn-off fan
-Set speed via slider or buttons
-jump back to the right button page
### Alarm
- Arm/disarm an alarm (standard modes supported by Home Assistant)
# v4.3 - Welcome to Framework ESP-IDF, an Utilities Dashboard and Enhanced Localization
## General
This milestone release is not just about adopting a new technical foundation;
it's about enhancing the capabilities and experiences of our users through significant performance improvements,
more comprehensive API documentation, customizable user interfaces and improved localization.
And with a nice Utilities Dashboard as a bonus!!
Our dedication to refining the user experience and expanding customization options continues, with this release featuring:
- **Utilities Dashboard**: A new addition, offering a customizable overview for essential utility metrics such as solar production,
wind energy, EV charging status, battery levels, and water or gas consumption.
- **Comprehensive API Documentation**: Simplifying customization and integration for developers and users, enabling tailored experiences with detailed service documentation.
- **Localization and Personalization**: Advances in user-defined settings, like decimal separators and value translations, contribute to a more intuitive interface.
We’ve also streamlined the display to exclude empty pages, making navigation more efficient.
- **Performance and Functionality**: The shift to the ESP-IDF framework not only boosts performance but also paves the way for future enhancements,
keeping NSPanel at the forefront of smart control technology.
As we embrace the ESP-IDF framework, we're excited to explore the new horizons it brings to the NSPanel firmware. Dive into v4.3 and discover the advancements that await.
## ESP-IDF Framework Transition
With this release, we've officially transitioned to the **ESP-IDF** framework.
This move is part of our ongoing efforts to enhance the memory capacity and expand the features available on the ESP, facilitating broader customization and new functionalities.
For users updating to this version:
- **Flashing Required**: To adopt the ESP-IDF framework, flashing your device using a serial cable is necessary. This step mirrors the initial custom firmware setup process.
- **Arduino Framework Still Available**: For those who prefer the `arduino` framework or require Over-The-Air (OTA) updates, it remains an option.
Detailed guidance on how to choose your framework is provided in our [customization documentation](https://github.com/Blackymas/NSPanel_HA_Blueprint/blob/main/docs/customization.md#frameworks).
This transition is a significant milestone for us, promising a robust platform for our community.
We're here to help with any questions or assistance needed during this change.
For more details and support, visit our [community discussion](https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1756).
## Updating
Please review your settings post-update to ensure compatibility.
Refer to the update procedures [here](https://github.com/Blackymas/NSPanel_HA_Blueprint/blob/main/docs/howto.md#update-blueprint).
## Breaking Changes and Guidance
With this release, we're implementing several important changes.
While we strive to improve the panel, we understand that changes can affect your setups.
Here's a detailed overview and guidance for a smooth transition:
1.**Home Assistant v2024.3.0 is required**. You can see the full version compatibility list [here](docs/version_compatibility.md).
2.**Transition to ESP-IDF Framework**: This release marks the official switch to the ESP-IDF framework, enhancing performance and allowing for more complex features.
- **What to Do**: You'll need to flash your device with the new firmware using a serial connection.
Detailed instructions are available in our [installation guide](docs/install.md#flashing-the-device-for-the-first-time).
- **Support for Arduino Framework**: If you're not ready to make the switch or prefer the Arduino framework, it's still supported for OTA updates.
See our [framework customization documentation](https://github.com/Blackymas/NSPanel_HA_Blueprint/blob/main/docs/customization.md#frameworks) for details on how to select your preferred framework.
3.**Several Services Changed**: In our pursuit to enhance integration capabilities and future-proof our services, we've undertaken a comprehensive restructuring of our API.
This change is aimed at improving functionality and compatibility but may require adjustments to your current automations.
- **What to Do**: We strongly encourage you to review our updated [API documentation](docs/api.md).
This resource has been meticulously updated to assist you in updating your automation scripts accordingly.
Pay special attention to the examples section, which offers valuable insights and practical guidance for adapting your existing setups seamlessly.
4.**15s Hardware Button Press No Longer Restarts the Device**: This feature was removed to repurpose the hardware button for more versatile uses.
- **What to Do**: If you relied on this feature, see our [customization guide](https://github.com/Blackymas/NSPanel_HA_Blueprint/blob/main/docs/customization.md#restart-with-15s-button-press) for alternatives.
Additionally, the reset pin remains an option for manual resets.
5.**Relay Fallback Switches Removed**: These switches were deprecated and have now been removed to streamline the firmware and reduce memory usage.
- **What to Do**: For users who utilized customizations to expose these switches, refer to our updated customization guide.
Alternatively, use the `esphome.xxxxx_init_hardware` service for a similar functionality without the memory overhead.
6.**Home Page Redesign**: We've redesigned the Home page layout to incorporate an additional value (sensor) and a utilities button, resulting in a minor repositioning of some components.
This change enhances the page's functionality, offering you a broader overview of your smart home at a glance.
While adjusting to the new layout, you might find some of your usual indicators or controls have shifted places, but they're all still readily accessible, designed with intuitive interaction in mind.
We appreciate your understanding and patience during this transition.
Our goal is to ensure NSPanel continues to evolve in a way that enhances your experience and meets future needs.
Our community and support channels are open for any questions or assistance you may require.
## Overview of noteworthy changes
- [Transition to ESP-IDF as Default Framework](#transition-to-esp-idf-as-default-framework)
- [New API documentation](#new-api-documentation)
- [Selectable font size for screensaver time display](#selectable-font-size-for-screensaver-time-display)
- [Enhanced Visibility of Hardware Button Bars Across Pages](#enhanced-visibility-of-hardware-button-bars-across-pages)
> For this time to be displayed you must select a brightness higher than 0 on the device's page (under **Settings** > **Devices & Services** > **ESPHome**).
> [!WARNING]
> Some fonts may not support all the languages.
> [!WARNING]
> Bigger fonts may not fit well on your display and the selected time format.
> Please select a different font in that case.
<!-- markdownlint-enable MD028 -->
### Enhanced Visibility of Hardware Button Bars Across Pages
The hardware button bars, which display the status of entities linked to physical buttons, are now configurable to appear across all pages,
including the screensaver, providing a constant visual reference to your system's status.
This update introduces a new setting within the blueprint, allowing you to customize the visibility of these bars according to your preferences.
Whether you need continuous monitoring on certain pages or want to maintain a cleaner look on others, this flexibility enhances your control.
Additionally, we've introduced the option to personalize the color of these bars, offering further customization to match your panel's aesthetic or to signify different statuses at a glance.

This feature enhances the NSPanel's functionality by ensuring important status indicators are always within view, tailored precisely to how you use your smart home.
### User-Defined Decimal Separator
You can now select the decimal separator for displaying numbers on your NSPanel.
This feature allows for consistency with your regional number format preferences, improving the clarity of numerical information.
Simply go to the settings to choose between the dot (.) and comma (,) as your decimal separator for a display that matches your preference.
This update aims to enhance the flexibility and usability of the NSPanel interface for users worldwide.
### Page Light with Power Button
The page Light has been updated to include a power button, simplifying the process of toggling your light on or off.
This intuitive addition allows for quick adjustments directly from the page Light, enhancing the user experience by providing a straightforward control mechanism.

This enhancement streamlines light management, making it more accessible and convenient for everyday use.
### Page Fan with Oscillate Button
The Fan page now features an oscillate button, making it easier to control your fan's oscillation settings.
This convenient update enables users to activate or deactivate the oscillation function with a single tap, directly from the Fan page itself.
It's designed to improve the user experience by offering a simple and effective control option.

This update simplifies fan operation, enhancing accessibility and usability for all users.
### Streamlined Interface: No More Empty Pages
We've improved the NSPanel interface by ensuring that only populated pages are displayed, both for button and entities pages.
This update creates a more intuitive and clutter-free experience, automatically hiding any pages without assigned entities.
There's no need for additional setup; if a page has no entities linked to it, it simply won't appear on your panel, making navigation smoother and more efficient.
### Enhanced Localization: Translated Values
In a significant step towards a more localized user experience, the values displayed on the NSPanel are now translated using Home Assistant's `state_translated` function, introduced in HA v2024.3.0.
This means that not only are the project's strings translated, but also values provided by Home Assistant, such as those from text sensors or binary sensors.
This enhancement simplifies readability and usability for users interacting with the panel in different languages.
> [!NOTE]
> The translations are managed by Home Assistant and will correspond to the language settings
> specified under [**Settings** > **System** > **General**](https://my.home-assistant.io/redirect/general/).
### Expanded Entity Selection for Home and Climate Pages
With the latest update, we've significantly broadened the range of entities that can be incorporated into the Home and Climate pages,
aligning these sections with the extensive capabilities of the Entities pages.
This enhancement enables a more versatile and detailed representation of your smart home's metrics directly on your NSPanel,
from environmental sensors to energy monitors, offering a tailored view of your home's status at a glance.
When combined with the [Translated Values](#enhanced-localization-translated-values),
this expanded entity selection not only allows for a more personalized dashboard but also ensures that the information displayed is accessible and understandable,
regardless of your preferred language.
Together, these features elevate the NSPanel's functionality, providing you with a richer, more contextually relevant interface that adapts to your specific monitoring needs and preferences.
### Introducing the Utilities Dashboard
The "Utilities Dashboard" is a versatile feature tailored to offer a straightforward overview of your chosen utility metrics.
It's designed for flexibility, allowing you to customize up to six data points, such as solar production, wind energy, EV charging status,
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.
 
### 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.
This development significantly broadens your ability to interact with and control lock mechanisms directly from the NSPanel.
Whether securing your home or managing access to different areas, these updates streamline the control process, integrating seamlessly with your smart home's security setup.
### Additional Value on Home Page
In our continuous effort to enhance the NSPanel's utility and efficiency, we're pleased to announce that the Home page now accommodates a fourth value, complete with its icon.
This addition allows for a more comprehensive at-a-glance view of your essential metrics directly from the home screen, ensuring that crucial information is always just a glance away.
### Automatic Font Size Adjustment for Entity Page Values
We've enhanced the entities pages with an automatic font size adjustment feature to improve the display of values, especially for longer strings or values with lengthy units.
This smart adjustment reduces the occurrence of truncated values by dynamically resizing the font based on the string length.
While the selection of fonts for the panel remains limited, this automatic resizing significantly enhances readability,
ensuring that all displayed information is clear and fully visible at a glance.
## v4.3.1 - Ensuring Compatibility with ESPHome v2024.3.0 and Enhancing Stability
Patch v4.3.1 focuses primarily on ensuring full compatibility with the latest ESPHome v2024.3.0 IP address format changes, crucial for the smooth compilation and operation of the NSPanel project.
This timely update addresses critical compatibility issues, alongside implementing key bug fixes and optimizations.
It underscores our ongoing commitment to enhancing stability and ensuring a reliable experience for all NSPanel users, keeping pace with the evolving ESPHome ecosystem.
### Support for ESPHome v2024.3.0 IP Address Format
- **Criticality:** Critical (required for compiling with ESPHome 2024.3.0)
- **Affected Components:** ESPHome
- **Description:** This update introduces necessary adjustments to accommodate the new IP address format introduced by ESPHome v2024.3.0,
ensuring uninterrupted project compilation and enhancing compatibility.
This critical update is the cornerstone of patch v4.3.1, deployed simultaneously with ESPHome to ensure NSPanel users experience no disruption in service.
This adaptation ensures that NSPanel firmware remains fully functional and up-to-date with ESPHome's latest advancements,
reaffirming our commitment to providing a seamless and stable user experience.
### Button Bars Visibility Enhancement and Configuration Change
- **Description:** The visibility of button bars, indicating the status of entities linked to hardware buttons,
has been updated to be visible across all pages by default, including the screensaver.
This enhancement improves the accessibility of crucial status information.
Users who previously customized the visibility settings for button bars will need to review and adjust their configurations to align with the new default behavior.
This change enables users to selectively exclude button bars from specific pages if desired, providing greater flexibility and control over the interface's appearance.
- **Description:** The method for controlling the state of hardware buttons has been refined with the introduction of a `button_mask` parameter.
This update simplifies the process of simultaneously updating the visual state of multiple hardware buttons,
enhancing user interaction by providing a more intuitive interface for managing button states.
Users can now specify the buttons they wish to control using a single `button_mask` parameter,
offering a streamlined approach for activating or deactivating the on-screen indication bars of the hardware buttons.
This change fosters a more flexible and efficient user experience in configuring the visual feedback for button states.
### Celsius Display Issue for Embedded Temperature Sensor Resolved (#1834)
- **Criticality:** Medium
- **Affected Components:** ESPHome
- **Description:** Addressed an issue where the NSPanel's built-in temperature sensor incorrectly displayed temperature readings in Celsius, even when Fahrenheit was expected.
This fix ensures temperature readings are accurately represented according to the user's settings, improving usability and consistency across the system.
### Resolution for Panel Naming When `device_name` Is Not Provided (#1907)
- **Criticality:** Medium
- **Affected Components:** ESPHome
- **Description:** Corrected a bug that caused the new "Device Name" sensor to report "nspanel"
and therefore fail on defining services names when a `device_name` substitution was not specified by the user.
### External Temperature Sensor Selection Now Correctly Overrides Embedded Sensor Value (#1911)
- **Criticality:** Medium
- **Affected Components:** Blueprint and ESPHome
- **Description:** Fixed a display issue where the built-in sensor's temperature reading persisted despite configuration for an external sensor.
### Utilities Dashboard Now Correctly Omits Default Labels When Customized (#1899)
- **Criticality:** Minor
- **Affected Components:** Blueprint
- **Description:** Enhanced the utilities dashboard by ensuring custom labels properly replace or remove default ones for a personalized display.
### Clarification and Improvements to `rtttl_play` Service Documentation (#1901 and #1912)
- **Criticality:** Minor
- **Affected Components:** Documentation
- **Description:** Updated documentation for clearer guidance on using the `rtttl_play` service for custom sounds and alerts.
### Correction of Missing Icon Display Issue on Entities Page 3 (#1902)
- **Criticality:** Minor
- **Affected Components:** TFT
- **Description:** Addressed a bug preventing certain icons from displaying on the third Entities page, ensuring a consistent user interface.
### Icons No Longer Appear "Disabled" for Sensor Values of 0.0 (#1902)
- **Criticality:** Minor
- **Affected Components:** Blueprint
- **Description:** Resolved an incorrect icon color display issue where they appeared disabled at a sensor value of exactly 0.0.
### Vertical Alignment Improvements on Entities Pages for Enhanced Readability (#1903)
- **Criticality:** Minor
- **Affected Components:** TFT
- **Description:** Adjusted the vertical alignment of text and icons on Entities pages for a more visually appealing presentation.
### Enhanced Guidance on Handling Duplicated Entities on the Device's Page (#1905)
- **Criticality:** Minor
- **Affected Components:** Documentation
- **Description:** Updated documentation to better address and resolve issues related to entity duplication on the device's page on Home Assistant.
### Compilation Guidance Updated for Customizations with the Latest Version (#1914)
- **Criticality:** Minor
- **Affected Components:** Documentation
- **Description:** Resolved documentation issues leading to compilation errors during customization, facilitating smoother custom feature implementation.
### Elimination of Transient Icon Flashes on the Home Page During Page Transitions (#1915)
- **Criticality:** Minor
- **Affected Components:** Blueprint, ESPHome and TFT
- **Description:** Fixed a visual glitch where icons briefly flashed during transitions, streamlining the visual experience.
### Real-Time Brightness Adjustment Now Effective Even During Sleep Mode (#1919)
- **Criticality:** Minor
- **Affected Components:** ESPHome
- **Description:** Ensured brightness settings changes are immediately applied, even when the panel is in sleep mode.
### Smooth Cursor Movement on Utilities Page Near Zero Sensor Readings (#1926)
- **Criticality:** Minor
- **Affected Components:** Blueprint
- **Description:** Ensured cursor movement on the Utilities page is smooth and accurate, even with sensor readings defining the cursor direction is between 0 and 1.
### Notification Screen Clearing Now Functional with `notification_clear` Service Call (#1931)
- **Criticality:** Minor
- **Affected Components:** ESPHome
- **Description:** Enabled clear display of notifications from the screen upon invoking the `notification_clear` service, enhancing display control.
### Page Indicator Removed for Single-Page Views (#1883)
- **Criticality:** Enhancement
- **Affected Components:** TFT
- **Description:** Improved UI by removing unnecessary page indicators when only one page is present, simplifying navigation.
### Entities Page Font Adjustment for CJK Fonts Improved (#1884)
- **Criticality:** Enhancement
- **Affected Components:** ESPHome
- **Description:** Optimized font sizing and display on Entities pages for CJK fonts, addressing readability issues.
### User Option Added to Disable Entities Page Icons for a Text-Focused View (#1885)
- **Criticality:** Enhancement
- **Affected Components:** Blueprint
- **Description:** Introduced an option to disable icons on Entities pages, allowing for a simplified, text-only display.
### Utilities Page Line Cursor Size Customization Option Added (#1910)
- **Criticality:** Enhancement
- **Affected Components:** Blueprint
- **Description:** Provided customization options for cursor size on the Utilities dashboard, enhancing data visualization.
### Temperature Measurement Sampling Enhancement (#1918)
- **Criticality:** Enhancement
- **Affected Components:** ESPHome
- **Description:** Enhanced the temperature reporting mechanism of the NSPanel's built-in temperature sensor by implementing a sampling method.
Now, the sensor collects 12 intermediate measurements and calculates their average before reporting the temperature.
This enhancement, which does not alter the 1-minute measurement interval, aims to provide smoother and more stable temperature readings,
improving accuracy and reliability for users monitoring their environment.
### Boot Page Visual Feedback Enhancements for Clearer System Status Display (#1923)
- **Criticality:** Enhancement
- **Affected Components:** ESPHome and TFT
- **Description:** Updated the Boot page to offer clearer visual feedback on version information and system status, with a new progress bar.
## v4.3.2 - Enhancements and Critical Fixes for a Seamless Experience
In this patch, we focus on enhancing the NSPanel experience by introducing critical fixes and requested enhancements to improve overall system stability and user interaction.
This update addresses key issues, such as the incorrect display of the "boot" page upon wake-up, and optimizes the performance of the Utilities Dashboard to prevent potential overload states.
With updates across firmware, user interface, and documentation, v4.3.2 underscores our dedication to delivering a seamless and robust smart home control solution.
### Device Reboot Issue on Wake Up Resolved (#1947 and #1976)
- **Criticality:** Medium
- **Affected Components:** Blueprint
- **Issue Number:** #1947 and #1976
- **Description:** Resolved a critical issue causing the NSPanel to boot to the "boot" page rather than the "home" page under certain conditions, such as upon waking.
This correction ensures the panel directly accesses the "home" page, streamlining user interaction by promptly presenting the main interface.
Effective implementation of this fix necessitates clearing the build files before updating.
The procedure below guides you through cleaning build files in the ESPHome Dashboard, an essential step to actualize this update.
### Utilities Dashboard Performance Bug Resolved (#1949 and #1964)
- **Criticality:** Medium
- **Affected Components:** Blueprint and ESPHome
- **Issue Number:** #1949 and #1964
- **Description:** Fixed a significant performance bug in the "Utilities Dashboard" related to sensors with high update frequencies.
Previously, sensors updating frequently could overload the Home Assistant host, causing the blueprint execution to delay.
As updates persisted, this led to multiple instances of the blueprint being triggered, eventually hitting the limit of 50 concurrent instances.
This update minimizes the issue, ensuring smooth operation and reducing the chances of a overload state, thereby maintaining efficient and reliable dashboard performance.
#### How to Clean-up Build Files
1. Navigate to your ESPHome Dashboard.
2. Select the 3-dot menu adjacent to your device's listing.
> Cleaning build files is a mandatory step for this update to apply successfully.
> It ensures your NSPanel operates smoothly with the new improvements post-update.
### Fix for Inverted Chip Icon Color Issue (#1928)
- **Criticality:** Minor
- **Affected Components:** Blueprint, TFT
- **Issue Number:** #1928
- **Description:** Resolved an issue where the color of icons on inverted chips did not display correctly on the home page, affecting the visual distinction and readability of these elements.
This fix ensures that icons on inverted chips are now properly rendered, maintaining consistency and enhancing the overall aesthetic of the user interface.
This correction contributes to a more intuitive and visually appealing experience for users, reinforcing the clarity of information presented on the NSPanel.
### Fix for Numeric Button Page Labels Not Displaying (#1961)
- **Criticality:** Minor
- **Affected Components:** Blueprint
- **Issue Number:** #1961
- **Description:** Resolved an issue where button page labels consisting solely of numbers were not being displayed, ensuring that numeric titles are now properly shown.
This fix enhances interface clarity by allowing users to utilize numerical identifiers for their button pages, thereby improving navigation and usability within the NSPanel environment.
### Automatic Update for Weather Icon at Sunrise and Sunset (#1971)
- **Criticality:** Minor
- **Affected Components:** Blueprint
- **Issue Number:** #1971
- **Description:** Addressed a bug where the weather icon on the home page did not automatically update to reflect changes at sunrise and sunset, necessitating a manual page reload.
With this fix, the icon now refreshes automatically to provide an accurate representation of the weather conditions in relation to the day and night cycle.
This improvement ensures a more dynamic and responsive user interface, enhancing the visual experience by seamlessly integrating natural environmental changes.
### Fix for Missing Titles and Icons on Detailed Entities Pages (#1978)
- **Criticality:** Minor
- **Affected Components:** Blueprint
- **Issue Number:** #1978
- **Description:** Resolved an issue on detailed entities pages where page titles and icons were not being displayed, leading to a lack of clarity and navigation challenges for users.
This fix ensures that each detailed page now correctly showcases its respective title and icon,
enhancing the overall user interface by providing immediate context and visual cues for better usability and navigation within the NSPanel environment.
### Swipe Functionality Restored on Button and Home Pages (#1980 and #1994)
- **Criticality:** Minor
- **Affected Components:** TFT
- **Issue Number:** #1980 and #1994
- **Description:** Addressed issues impacting swipe functionality on button pages and the home page, which previously hindered smooth navigation through swipe gestures.
This update restores proper swipe operation, allowing users to effortlessly switch between pages with a simple gesture.
Enhancing swipe responsiveness contributes to a more fluid and intuitive user experience, reinforcing the ease of navigating the NSPanel's interface.
### Typo Correction in Blueprint Inputs (#2003)
- **Criticality:** Minor
- **Affected Components:** Blueprint
- **Issue Number:** #2003
- **Description:** Corrected a minor typo in the blueprint inputs to ensure accuracy and clarity in the configuration options.
This adjustment, made in the description for the `hw_buttons_bar_color_off` input, showcases our commitment to detail and high-quality documentation,
enhancing user experience by providing clear and precise instructions.
- **Special Thanks:** Our thanks go to @colincachia for this attentive correction.
This action highlights the importance of community involvement and the collective effort to maintain the project's high standards, even in the smallest details.
### Immediate Brightness Adjustment from Home Assistant Fixed
- **Criticality:** Minor
- **Affected Components:** ESPHome
- **Issue Number:** #2006
- **Description:** Resolved a minor issue affecting brightness adjustments made from Home Assistant.
Previously, when the brightness target was reduced via Home Assistant, the change was not immediately reflected on the NSPanel.
This update ensures that any adjustments to brightness settings are promptly applied,
maintaining consistency between the Home Assistant interface and the NSPanel's display for a more synchronized and responsive user experience.
### Custom Binary State Entities for Hardware Button Status Display Enhancement (#1904, #1933, #1959, #1973)
- **Criticality:** Enhancement
- **Affected Components:** Blueprint
- **Issue Number:** #1904, #1933, #1959, #1973
- **Description:** This update introduces the capability to assign custom binary state entities to the hardware button status display.
This significant enhancement allows for the hardware button bar to reflect the status of a different entity than the one assigned to the button itself,
providing users with greater customization and flexibility in their interface interactions.
This development enriches user feedback mechanisms, enabling more intuitive and dynamic control options within the NSPanel environment.
- **Special Thanks:** Our heartfelt appreciation goes to @lafriks for their invaluable contribution and initiative in developing this feature.
These efforts have notably advanced the customization potential of NSPanel, fostering a more versatile and user-centric experience.
### Enhanced Temperature Measurement Strategy (#1918)
- **Criticality:** Enhancement
- **Affected Components:** ESPHome
- **Issue Number:** #1918
- **Description:** Thanks to the dedicated efforts and thorough testing by our community,
the NSPanel's built-in temperature sensor now employs a more sophisticated measurement strategy for enhanced accuracy and responsiveness.
By integrating a combination of four samples per measurement and employing a `sliding_window_moving_average` filter with a window size of six,
the sensor's reporting frequency has been adjusted to every 10 seconds.
This methodological enhancement, chiefly proposed and tested by community members @andythomas and @grigi,
ensures a smoother temperature curve and faster response to environmental changes such as opening a window.
While the adjusted frequency means data is reported more often, ESPHome's efficient data transmission only when changes occur ensures that the impact on Home Assistant's data processing is minimal.
This significant improvement, sparked by proactive community involvement,
not only enhances the NSPanel's functionality but also broadens the scope for more dynamic and responsive environmental automations.
- **Special Thanks:** To @andythomas and @grigi for their exceptional work in testing and proposing these adjustments, truly embodying the spirit of community-driven development.
Your active participation and contributions have been instrumental in refining this feature.
### Enhanced Version Mismatch Notifications for Comprehensive System Compatibility (#1966 and #1968)
- **Criticality:** Enhancement
- **Affected Components:** Blueprint
- **Issue Number:** #1966 and #1968
- **Description:** The version mismatch notification system has been significantly improved to cover all critical components of the NSPanel project,
including the ESPHome firmware, Home Assistant blueprint, and Nextion TFT file.
This update ensures that notifications are more descriptive, pinpointing which component is out of sync and providing specific instructions for resolution.
This targeted approach helps users quickly identify and rectify compatibility issues, maintaining the system's overall harmony and preventing disruptions in functionality.
### Documentation Improvement for TFT Upload Process (#1969)
- **Criticality:** Enhancement
- **Affected Components:** Documentation
- **Issue Number:** #1969
- **Description:** Enhanced the documentation to clarify the necessity of DNS for downloading TFT files from GitHub during the TFT upload process.
This update addresses confusion encountered when manually setting IP addresses as part of customizations, emphasizing that a DNS server must be specified to enable remote TFT downloads.
For setups lacking DNS configuration, the documentation now highlights the alternative of using local TFT transfer via the `nextion_update_url` substitution.
This clarification aims to streamline the TFT update process, ensuring users have a clear understanding of the requirements for successful TFT file downloads and uploads,
thereby enhancing the overall setup experience.
### Documentation Update for "Folder-Watcher" Engine Use (#1974)
- **Criticality:** Enhancement
- **Affected Components:** Blueprint
- **Issue Number:** #1974
- **Description:** Updated documentation to provide clearer instructions on the "folder-watcher" engine's use within the NSPanel project.
This engine, which triggers TFT updates upon changes in a user-specified folder, may not be widely used but offers valuable functionality for those who do.
The documentation now more accurately describes how to leverage this feature for automated TFT updates, aiming to improve understanding and ease of use for interested users.
### Close Icon Visibility Enhancement (#1984)
- **Criticality:** Enhancement
- **Affected Components:** TFT
- **Issue Number:** #1984
- **Description:** Enhanced the visibility of the "close" icon (represented as an "x" sign) located at the top right corner of various pages.
By slightly increasing the size of this icon, users can now more easily identify and interact with it, improving the overall usability of the NSPanel interface.
This minor yet impactful adjustment ensures a smoother, more intuitive navigation experience for all users.
### Alarm Control with Hardware Button Enhancement (#1995)
- **Criticality:** Enhancement
- **Affected Components:** Blueprint
- **Issue Number:** #1995
- **Description:** Enhanced the functionality of hardware buttons for a more intuitive interaction with alarm control panels.
Now, a short click on a hardware button assigned to an entity from the `alarm_control_panel` domain will open its detailed page, aligning with the behavior for `climate` and `media_player` entities.
This update facilitates quicker access to alarm controls directly from the NSPanel, streamlining user interactions.
Long clicks continue to open the detailed page for these and other domains, maintaining a consistent and user-friendly experience across various controls.
### Documentation Updates for Arduino References (#1997)
- **Criticality:** Enhancement
- **Affected Components:** Documentation
- **Issue Number:** #1997
- **Description:** Comprehensive updates and refinements were made to the project documentation, with a particular focus on correcting and clarifying references related to the Arduino framework.
This effort led to a thorough review and subsequent enhancement of various sections of the documentation, improving clarity, accuracy, and usefulness across the board.
Special thanks to the author of this PR, @andythomas, whose dedicated work went beyond just addressing
Arduino framework references to include minor fixes and overall improvements to the documentation.
These contributions have significantly elevated the quality of information available to users, ensuring that the documentation remains a reliable and up-to-date resource for the community.
### Expanded Wake-Up Sensor Support (#1998)
- **Criticality:** Enhancement
- **Affected Components:** Blueprint
- **Issue Number:** #1998
- **Description:** The range of supported device classes for wake-up sensors on the NSPanel has been significantly expanded.
Now, in addition to the previously supported door, motion, and occupancy sensors, the NSPanel firmware accommodates a wider variety of sensor types.
These enhancements enable the panel to wake up from sleep mode upon detecting various environmental changes, improving responsiveness and user interaction.
The newly supported device classes include:
- door
- garage_door
- lock
- motion
- occupancy
- opening
- smoke
- sound
- vibration
- window
This update broadens the NSPanel's integration capabilities with home automation systems, allowing for a more dynamic and reactive smart home environment.
### Hebrew Translation Text Reversal Fix (#1999)
- **Criticality:** Enhancement
- **Affected Components:** Blueprint
- **Issue Number:** #1999
- **Description:** Addressed a specific issue with the Hebrew translation where text was displayed in reverse order, hindering readability and user experience.
This fix ensures that Hebrew text is correctly aligned and presented, enhancing the interface for Hebrew-speaking users.
The commitment to support diverse languages and correct such localization issues underscores our dedication to providing a user-friendly experience for all NSPanel users,
regardless of their language.
### Enhanced TFT Update Reliability in ESPHome Nextion Component
- **Criticality:** Enhancement
- **Affected Components:** ESPHome
- **Description:** Improved the reliability of TFT updates within the ESPHome Nextion component.
This enhancement optimizes the process of updating the NSPanel's display, ensuring smoother transitions and reducing the potential for update failures.
The upgrade targets the underlying mechanisms of the Nextion component in ESPHome,
refining its functionality to offer a more dependable and efficient update experience for users implementing TFT changes.
## v4.3.3 - Enhancing Flexibility and User Experience
With the v4.3.3 update, we're focused on refining the NSPanel's usability and customization capabilities, addressing user feedback to enhance the intuitive interaction with the panel.
From streamlining light entity controls to expanding text length for entities on the home page, each change is aimed at improving the user experience.
This patch also introduces experimental features, such as prebuilt firmware updates and PSRAM use, pushing the boundaries of what's possible with NSPanel,
while also ensuring a smoother, more reliable interface across different languages and configurations.
### Simplified Light Entity Control on Custom Buttons (#1844)
- **Criticality:** Minor
- **Affected Components:** Blueprint
- **Issue Number:** #1844
- **Description:** Addressed an inconsistency where light entities with only on/off capabilities erroneously showed an extended screen with a brightness slider.
This fix streamlines the control interface for such light entities, aligning with their actual capabilities.
### Deletion of Button Icons from Home Page Enabled (#1992)
- **Criticality:** Minor
- **Affected Components:** Blueprint
- **Issue Number:** #1992
- **Description:** Resolved an issue preventing the removal of button icons from the home page.
Users can now delete or change button icons as needed, providing flexibility in customizing the panel's appearance.
### Correction of Missing Characters on Button Pages for Multi-Byte Languages (#2000)
- **Criticality:** Minor
- **Affected Components:** Blueprint, ESPHome, and TFT
- **Issue Number:** #2000
- **Description:** Resolved a display issue affecting multi-byte languages, where specific characters were missing on the button pages.
This fix ensures complete and accurate representation of all languages across the NSPanel interface, including Hebrew and others where a character may occupy more than a single byte.
### Entity Display Persistence on Home Page Addressed (#2018)
- **Criticality:** Minor
- **Affected Components:** Blueprint
- **Issue Number:** #2018
- **Description:** Fixed a bug where entities removed from the blueprint continued to display on the home page.
This update ensures that the home page accurately reflects the current configuration, removing any unassigned entities.
### Resolved Unintended Climate Control Page Access (#2021)
- **Criticality:** Minor
- **Affected Components:** Blueprint
- **Issue Number:** #2021
- **Description:** Fixed an issue where touching the temperature display on the home page erroneously opened the climate control page, even in the absence of configured climate entities.
This update ensures that interactions with the temperature display are consistent with the available configurations, enhancing the intuitive use of the NSPanel.
### Internal Temperature Reporting Fix After Sleep (#2030)
- **Criticality:** Minor
- **Affected Components:** Blueprint
- **Issue Number:** #2030
- **Description:** Resolved an issue where the internal temperature indicator disappeared for a few seconds upon waking the panel from sleep mode.
This fix ensures the internal temperature, especially when sourced from the panel's internal sensor,
remains consistently displayed without interruption when transitioning from sleep to the home page, enhancing the stability and reliability of environmental monitoring on the NSPanel.
### Advanced Settings Page Entity Name Enhancement (#1909)
- **Criticality:** Enhancement
- **Affected Components:** Blueprint
- **Issue Number:** #1909
- **Description:** Improved the advanced settings page by providing clearer entity names when opened from a custom button,
enhancing user navigation and configuration understanding within the NSPanel settings.
### Support for `mdi:void` Icon on Homepage for Blank Display (#2019)
- **Criticality:** Enhancement
- **Affected Components:** Blueprint
- **Issue Number:** #2019
- **Description:** Implemented support for the `mdi:void` icon on the homepage, allowing for a blank display where no icon is preferred.
This enhancement provides users with greater customization flexibility, enabling a cleaner and more minimalistic interface by opting not to show any icon.
### Extended Text Length for Entities on Home Page (#2020)
- **Criticality:** Enhancement
- **Affected Components:** TFT
- **Issue Number:** #2020
- **Description:** Enhanced the home page by allowing for longer text for entities values.
This improvement accommodates more detailed values, improving clarity and user understanding of displayed data and controls.
### Timezone Selector Added to Blueprint
- **Criticality:** Enhancement
- **Affected Components:** Blueprint and ESPHome
- **Description:** Introduced a timezone selector within the Blueprint configuration, streamlining the setup process and enhancing user convenience.
This addition simplifies the configuration of the NSPanel, significantly reducing the need for YAML customizations related to timezone settings.
By providing a direct method to specify the timezone, this enhancement ensures that time displays and other time-sensitive features on the NSPanel accurately reflect the user's local time,
contributing to a more personalized and accurate user experience.
- **Description:** The prebuilt firmware has been updated to incorporate the latest fixes and enhancements,
ensuring users have access to the most current and stable version without the need for manual compilation.
This is another important step in our goal torwards [Simplifying User Experience for NSPanel Firmware](https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1602),
allowing users to directly download the firmware from GitHub without the need of compiling it locally.
- **Special Thanks:** To @MichaelHeimann for trimming this feature, fixing bugs and reviving this idea.
### Use of PSRAM (#1815, #1946, and #1983) - EXPERIMENTAL
- **Criticality:** Enhancement
- **Affected Components:** ESPHome
- **Issue Number:** #1815, #1946, and #1983
- **Description:** We are introducing the use of PSRAM memory available on the NSPanel.
This will possibly open space for additional features to be developed in the future and the use of more customizations for your panel.
- **Special Thanks:** To @Bascht74 and @olicooper for giving the directions to enable the use of non-standard pins for PSRAM used in NSPanel,
and to @X-Ryl669 and @MichaelHeimann for all the tests, tips, and feedback around this.
## v4.3.4 - Urgent Fix for Home Screen Interaction
This patch release addresses a critical issue from the v4.3.3 update that affected the touch functionality on the Home screen, specifically impacting the ability to navigate to the climate page.
### Critical Touch Interaction Bug Fixed (#2040)
- **Criticality:** Critical
- **Affected Components:** Blueprint
- **Issue Number:** #2040
- **Description:** Fixed an issue where users were unable to navigate to the climate control page by touching the temperature display on the Home screen.
This bug was inadvertently introduced in the v4.3.3 update and has been promptly resolved to restore full functionality.
Users can now interact with the temperature display as intended, facilitating seamless access to the climate controls.
This update is essential for ensuring that the NSPanel functions correctly, maintaining the quality and reliability expected by our users.
We apologize for any inconvenience caused and thank you for your continued support.
## v4.3.5 - Experimenting with Bluetooth Capabilities
This patch release v4.3.5 introduces experimental Bluetooth features alongside critical fixes and enhancements.
The new Bluetooth capabilities leverage the previously untapped potential of the NSPanel's Bluetooth modem, enabled by the increased memory availability in the ESP-IDF framework.
### New Bluetooth Features (Experimental)
- **BLE Tracker Add-on**
- **Description:** This add-on enables the NSPanel to act as a Bluetooth Low Energy (BLE) tracker, allowing it to detect and report the presence of BLE devices in its vicinity.
This feature is instrumental for presence detection and smart home automation scenarios.
- **Bluetooth Proxy Add-on**
- **Description:** The Bluetooth Proxy add-on allows the NSPanel to act as a bridge or proxy for other Bluetooth devices, facilitating communication between BLE devices and Home Assistant.
This can significantly extend the functionality of Home Assistant in managing Bluetooth devices without direct connectivity.
### Temperature Display and Control Fixes
- **Temperature Increment Error in Climate Card Resolved (#2076)**
- **Criticality:** Medium
- **Affected Components:** ESPHome
- **Description:** Corrected a rounding error in the climate card, which caused temperature set points to adjust in increments of 0.9 degrees.
This fix ensures temperature adjustments are now rounded to the nearest whole number, aligning with expected control behavior.
- **Consistent Temperature Unit Display Across Panels (#2056)**
- **Criticality:** Medium
- **Affected Components:** ESPHome
- **Description:** Resolved an issue where the internal temperature sensor did not convert temperatures from Celsius to Fahrenheit for display on the home screen,
despite displaying correctly on the climate page. Temperatures are now consistently shown in the user-defined units across all NSPanel displays.
### Control and Interface Enhancements
- **Improved Custom Button Response for Dimmable Color Lights (#2072)**
- **Criticality:** Minor
- **Affected Components:** Blueprint
- **Description:** Fixed a bug where custom buttons for dimmable color lights only toggled the lights on/off.
The buttons now correctly adjust brightness and color settings, enhancing user control.
- **Homepage Weather and Climate Control Delay Minimized (#2056)**
- **Criticality:** Minor
- **Affected Components:** ESPHome and TFT
- **Description:** Introduced a minor delay optimization for weather updates and climate control interactions on the home page, improving the responsiveness and user experience.
- **Consistent Icon Color Display on Home Page (#2043)**
- **Criticality:** Minor
- **Affected Components:** Blueprint
- **Description:** Addressed an issue where icons on the home page always displayed in white, regardless of the set color.
Icons now correctly reflect the specified colors, enhancing visual consistency and user interface aesthetics.
### System Stability and Functionality
- **Restoration of Webserver Functionality Post-Upgrade (#2054, #2050)**
- **Criticality:** Critical
- **Affected Components:** ESPHome
- **Description:** Fixed issues that caused the webserver component to stop functioning following recent upgrades.
This repair restores full webserver functionality, essential for user access and system configuration via a web interface.
- **Reliability Improvements for TFT Uploads with Bluetooth Components (#1946, #1815)**
- **Criticality:** Medium
- **Affected Components:** ESPHome
- **Description:** Enhanced the reliability of TFT file uploads when the Bluetooth proxy or the BLE Tracker are enabled.
This fix addresses disruptions previously experienced during TFT updates, ensuring smoother and more reliable firmware installations.
This update, v4.3.5, is a significant step towards harnessing the full potential of the NSPanel's hardware capabilities, especially its Bluetooth functionality,
while continuing to refine the user experience and system stability.
We appreciate the community's active involvement in identifying these issues and thank everyone for their contributions to improving the firmware.
## v4.3.6 - Critical Fixes for Custom Buttons
This release of v4.3.6 is an urgent patch to address critical issues affecting the functionality of custom buttons on the NSPanel.
These fixes ensure that custom buttons properly trigger actions for climate and alarm controls, and correct the integration with external thermostat entities.
### Fixes for Custom Button Functionality
- **Climate Page Accessibility Restored (#2067)**
- **Criticality:** Critical
- **Affected Components:** Blueprint
- **Description:** Resolved an issue where the climate page was not opening when triggered from a custom button.
Users can now access the climate controls directly from the home screen without interruption.
- **Alarm Control from Custom Button Restored (#2081)**
- **Criticality:** Critical
- **Affected Components:** Blueprint
- **Description:** Fixed a malfunction where custom buttons configured for alarm control were unresponsive.
This update restores full functionality, allowing for immediate access and control of alarm settings from the home page.
- **Integration of External Thermostat Entities Fixed (#2080)**
- **Criticality:** Critical
- **Affected Components:** ESPHome
- **Description:** Corrected an issue introduced in v4.3.5 where external thermostat entities (the ones controlled by Home Assistant) linked to custom buttons were not functioning correctly.
With this fix, users can again utilize custom buttons to control their external thermostats effectively.
This patch release v4.3.6 ensures that custom buttons on the NSPanel are fully operational, addressing urgent issues that impacted user interaction and control of climate and alarm systems.
We thank our community for their prompt reporting and patience as we continue to enhance the NSPanel experience.
## v4.3.7 - Quick Fix for Captive Portal Compile Error
This patch addresses a critical compile error related to the captive portal feature, ensuring smooth and successful firmware compilations for users utilizing this feature.
### Captive Portal Compile Error Resolved (#2088)
- **Criticality:** Critical
- **Affected Components:** ESPHome
- **Issue Number:** #2088
- **Description:** Fixed a critical issue where users faced a compilation error due to an undeclared reference to 'ap_captive_portal'.
This fix corrects the reference error, restoring the ability to compile with the captive portal enabled.
Users who do not utilize the captive portal can continue without modification, while those who do should see successful compilations without further adjustments.
This release ensures that all users, regardless of their use of the captive portal feature, can compile and update their firmware without interruption.
We apologize for any inconvenience caused and appreciate your patience as we continue to improve the NSPanel firmware.
## Support
For support or more information about this update,
or our [online documentation](https://github.com/Blackymas/NSPanel_HA_Blueprint/blob/main/docs/README.md).
## What's Next?
Discover our upcoming projects in our [Milestones](https://github.com/Blackymas/NSPanel_HA_Blueprint/milestones?direction=asc&sort=title&state=open).
## Special Thanks
We extend our heartfelt thanks to the contributors who have played a pivotal role in enhancing the NSPanel's capabilities and documentation in this release:
- **@shing6326**: For diligently addressing and fixing issues related to the new Fan oscillating feature.
Your efforts have significantly improved its functionality and reliability (#1839).
- **@andythomas**: For the comprehensive enhancements made to our documentation.
Your contributions have made our guides more informative and accessible, enriching the user experience for everyone (#1865).
## Previous releases
- [v4.3.6 - Critical Fixes for Custom Buttons](https://github.com/Blackymas/NSPanel_HA_Blueprint/releases/tag/v4.3.6)
- [v4.3.5 - Experimenting with Bluetooth Capabilities](https://github.com/Blackymas/NSPanel_HA_Blueprint/releases/tag/v4.3.5)
- [v4.3.4 - Urgent Fix for Home Screen Interaction](https://github.com/Blackymas/NSPanel_HA_Blueprint/releases/tag/v4.3.4)
- [v4.3.3 - Enhancing Flexibility and User Experience](https://github.com/Blackymas/NSPanel_HA_Blueprint/releases/tag/v4.3.3)
- [v4.3.2 - Enhancements and Critical Fixes for a Seamless Experience](https://github.com/Blackymas/NSPanel_HA_Blueprint/releases/tag/v4.3.2)
- [v4.3.1 - Ensuring Compatibility with ESPHome v2024.3.0 and Enhancing Stability](https://github.com/Blackymas/NSPanel_HA_Blueprint/releases/tag/v4.3.1)
- [v4.3 - Welcome to Framework ESP-IDF, an Utilities Dashboard and Enhanced Localization](https://github.com/Blackymas/NSPanel_HA_Blueprint/releases/tag/v4.3.0)
- [v4.2.6 - Enhancing Stability and User Experience](https://github.com/Blackymas/NSPanel_HA_Blueprint/releases/tag/v4.2.6)
- [v4.2.5 - Celebrating 1000 Stars with Enhanced Functionality and UI Improvements](https://github.com/Blackymas/NSPanel_HA_Blueprint/releases/tag/v4.2.5)
Custom Firmware for NsPanel (esphome) and HA Blueprint with configuration of button, light settings, thermostate, colorwheel, colortemp, cover, weather preview, automatic TFT upload etc.
Why another version for the NSPanel?
Well - all versions I've seen have been missing something everywhere.
That's why I decided to create something myself.
My thanks to Masto, Marcfager, lovejoy777, Hellis81 and SmartHome yourself ( link see below) for sharing your code. Give them the credit they deserve, I'm merely a copy paste ninja. XDD
### GOAL:
My goal was to create a version that could be quickly adopted for multiple NSPanels.
In addition, the configuration should be as simple as possible. Therefore I decided to put most of it into a HA Blueprint
In addition, another NSPanel can be configured very quickly. But have a look yourself ;)

# Pages
## Home
- current weather with button to Weather Forcast page
- Temperature outside
- Status icons at the top
- Room temperature with button to thermostat page
- Room humidity
- Hot water temperature
- Button to display settings page
## Weather Forcast
- 5 days Weather Forcast via swipe (Integration Accuweather - but should also go with another integration)
- Lowest and highest temperature outside
- Date
- Rain probability
- Sunshine hours
- Sun pressure
- Thunderstorm probability
- Wind speed
- Night thunderstorm probability and wind speed
## Thermostat
- Touch Temp control
- Outside temperature
- Hot water
- Floor heating on, off and idle
- Hot water button
- Status icons
## Display Settings
- Restart NSPanel
- Sleep mode - display off after time X
- Display brightness slider
- Display dim brightness slider
- Status Brightness in %
## Light Settings
- Light on and off (alignment with HA)
- Light color with Colorwheel
- Light color with TempColor slider
- Brightness Slider
- Brightness in %.
- Tempcolor value
- Jump back to the right button page
## Cover Settings
- Open and close cover
- Cover position via slider
- Cover battery value (I use Ikea roller blind)
- jump back to the right button page
## Button Page
- 40 Button
- 5 Button pages
- all buttons with long press function
- automatic detection by long press if it is a light or cover for submenu
- swipe between all pages
- swipe also down and up for fast access to certain pages
- number of buttons and button pages can be extended - functions like long press, light settings and cover settings stay the same
## Upcoming Features
- Shorten Esphome code and transfer to Blueprint
- Cover page with window open status as image
- small design adjustments
- Notifications on Home Page
- Energy and Gas consumption on home page
- Extra page for energy dashboard
- Garbage plan with icon on home page
- Let's see what ideas I still have ;)
## HowTo Deutsch
1. den Code aus der Datei esphome.yaml kopieren und in HA unter esphome einfügen. Vorher muss natürlich ein Device erstellt werden.
1.2 in der ESPhome Datei müssen Passwörter eingesetzt werden. Entweder in der ESPHome Secret oder einfach in der ESPhome Datei
1.3 Einige Entities sind aktuell noch in der Esphome Datei angegeben (direkt unter den Passwörtern. Diese Entities müssen noch angepasst werden. In zukunft will ich aber auch diese ins Bluebrint einbauen
3. den Code aus der Datei blueprint.yaml kopieren und eine neue yaml Datei unter config/blueprints erstellen und den Code einfügen
4. HA Automationen neu starten -> Enticklerwerkzege -> YAML -> Automatisierungen
5. den Code aus der Datei sensor.yaml und climate.yaml kopieren und eine eigenen yaml Datei erstellen. Der Code wird in zukunft direkt im Blueprint eingebaut.
6. den Code aus der Datei folder_wather kopieren und in der coniguration.yaml einfügen
7. TFT File auf Home Assistant hochladen (Der Pfad kann später im Blueprint angegeben werden
8. Blueprint unter Automationen auswählen und und Felder ausfüllen.
Custom Firmware for NsPanel (esphome) and HA Blueprint with configuration of button, light settings, thermostate, colorwheel, colortemp, cover, weather preview, automatic TFT upload etc.
Why another version for the NSPanel?
Well - all versions I've seen have been missing something everywhere.
That's why I decided to create something myself.
My thanks to Masto, Marcfager, lovejoy777, Hellis81 and SmartHome yourself ( link see below) for sharing your code. Give them the credit they deserve, I'm merely a copy paste ninja. XDD
### GOAL:
My goal was to create a version that could be quickly adopted for multiple NSPanels.
In addition, the configuration should be as simple as possible. Therefore I decided to put most of it into a HA Blueprint
In addition, another NSPanel can be configured very quickly. But have a look yourself ;)

# Pages
## Home
- current weather with button to Weather Forcast page
- Temperature outside
- Status icons at the top
- Room temperature with button to thermostat page
- Room humidity
- Hot water temperature
- Button to display settings page
## Weather Forcast
- 5 days Weather Forcast via swipe (Integration Accuweather - but should also go with another integration)
- Lowest and highest temperature outside
- Date
- Rain probability
- Sunshine hours
- Sun pressure
- Thunderstorm probability
- Wind speed
- Night thunderstorm probability and wind speed
## Thermostat
- Touch Temp control
- Outside temperature
- Hot water
- Floor heating on, off and idle
- Hot water button
- Status icons
## Display Settings
- Restart NSPanel
- Sleep mode - display off after time X
- Display brightness slider
- Display dim brightness slider
- Status Brightness in %
## Light Settings
- Light on and off (alignment with HA)
- Light color with Colorwheel
- Light color with TempColor slider
- Brightness Slider
- Brightness in %.
- Tempcolor value
- Jump back to the right button page
## Cover Settings
- Open and close cover
- Cover position via slider
- Cover battery value (I use Ikea roller blind)
- jump back to the right button page
## Button Page
- 40 Button
- 5 Button pages
- all buttons with long press function
- automatic detection by long press if it is a light or cover for submenu
- swipe between all pages
- swipe also down and up for fast access to certain pages
- number of buttons and button pages can be extended - functions like long press, light settings and cover settings stay the same
## Upcoming Features
- Shorten Esphome code and transfer to Blueprint
- Cover page with window open status as image
- small design adjustments
- Notifications on Home Page
- Energy and Gas consumption on home page
- Extra page for energy dashboard
- Garbage plan with icon on home page
- Let's see what ideas I still have ;)
## HowTo Deutsch
1. den Code aus der Datei esphome.yaml kopieren und in HA unter esphome einfügen. Vorher muss natürlich ein Device erstellt werden.
1.2 in der ESPhome Datei müssen Passwörter eingesetzt werden. Entweder in der ESPHome Secret oder einfach in der ESPhome Datei
1.3 Einige Entities sind aktuell noch in der Esphome Datei angegeben (direkt unter den Passwörtern. Diese Entities müssen noch angepasst werden. In zukunft will ich aber auch diese ins Bluebrint einbauen
3. den Code aus der Datei blueprint.yaml kopieren und eine neue yaml Datei unter config/blueprints erstellen und den Code einfügen
4. HA Automationen neu starten -> Enticklerwerkzege -> YAML -> Automatisierungen
5. den Code aus der Datei sensor.yaml und climate.yaml kopieren und eine eigenen yaml Datei erstellen. Der Code wird in zukunft direkt im Blueprint eingebaut.
6. den Code aus der Datei folder_wather kopieren und in der coniguration.yaml einfügen
7. TFT File auf Home Assistant hochladen (Der Pfad kann später im Blueprint angegeben werden
8. Blueprint unter Automationen auswählen und und Felder ausfüllen.
This add-on enables your NSPanel to use its internal Bluetooth module to track nearby Bluetooth Low Energy (BLE) devices
using the [ESPHome BLE Tracker component](https://esphome.io/components/esp32_ble_tracker.html).
> [!IMPORTANT]
> Configuring the BLE Tracker on your NSPanel is crucial for enabling device discovery and presence detection functionalities efficiently.
This component should be managed with careful consideration of ESP32's memory capabilities, especially when other Bluetooth components are used concurrently.
## Prerequisites
- The `esp-idf` framework is recommended for the [ESP32 Platform](customization.md#framework-esp-idf) to ensure optimal operation and compatibility when using BLE features.
The `arduino` framework is not advised as it may increase memory usage and impact the performance negatively.
> [!WARNING]
> Using the `arduino` framework can lead to high memory consumption which might interfere with the stability of BLE operations on the NSPanel.
It is crucial to use the `esp-idf` framework to avoid such issues.
## Configuration Steps
1.**Edit Your ESPHome YAML File**: Incorporate the BLE Tracker component into your NSPanel's configuration by adding the necessary entries under the `esp32_ble_tracker:` section as shown below:
```yaml
substitutions:
device_name: "YOUR_NSPANEL_NAME" # Set your NSPanel's device name
friendly_name: "Your Friendly Name" # Set a friendly display name
wifi_ssid: !secret wifi_ssid # Your Wi-Fi SSID
wifi_password: !secret wifi_password # Your Wi-Fi password
# Optional configurations (uncomment if needed)
## Add-on for specific tracked devices or automation triggers
# sensor:
# - platform: ble_rssi
# mac_address: MAC_ADDRESS_OF_DEVICE
# name: "BLE Device RSSI"
## If you wanna set non-standard parameters to your BLE tracker, just add like this:
2. **Update Substitutions**: Customize `"YOUR_NSPANEL_NAME"` and `"Your Friendly Name"` to appropriate identifiers for your device and its Bluetooth functionality.
3.**Save and Upload**: After making the necessary changes, save your configuration file and upload it to your NSPanel via the ESPHome dashboard.
> [!NOTE]
> The first time this component is enabled for an ESP32, the code partition needs to be resized.
> Please flash the ESP32 via USB when adding this to your configuration. After that, you can use OTA updates again.
This configuration allows your NSPanel to efficiently manage Bluetooth connections, acting as a proxy for various BLE operations.
This add-on enables your NSPanel to function as a Bluetooth Low Energy (BLE) proxy utilizing its internal Bluetooth module
along with the [ESPHome Bluetooth Proxy component](https://esphome.io/components/bluetooth_proxy.html).
> [!IMPORTANT]
> It is crucial to configure the Bluetooth Proxy using this add-on for optimal memory management, which involves releasing the Bluetooth stack prior to any TFT updates.
### Prerequisites
- Ensure the `esp-idf` framework is utilized for the [ESP32 Platform](customization.md#framework-esp-idf) when enabling Bluetooth features.
Avoid switching to the `arduino` framework as it significantly increases memory usage, potentially causing installation failures on your panel.
> [!WARNING]
> The `arduino` framework, while compatible, should not be used for Bluetooth-intensive applications on the NSPanel due to its higher memory consumption.
### Configuration Steps
1.**Edit Your ESPHome YAML File**: Add the Bluetooth Proxy add-on to your configuration by including the `remote_package` entry under the `packages` section as illustrated below:
```yaml
substitutions:
device_name: "YOUR_NSPANEL_NAME" # Set your NSPanel's device name
friendly_name: "Your Friendly Name" # Set a friendly display name
wifi_ssid: !secret wifi_ssid # Your Wi-Fi SSID
wifi_password: !secret wifi_password # Your Wi-Fi password
# Optional configurations (uncomment if needed)
## Add-on for climate control
# heater_relay: "1" # Options: "1" or "2"
# Begin Customization Section
##### Customization - Start #####
## If you wanna set non-standard parameters to your Bluetooth proxy just add like this:
2. **Update Substitutions**: Customize `"YOUR_NSPANEL_NAME"` and `"Your Friendly Name"` to appropriate identifiers for your device and its Bluetooth functionality.
3.**Save and Upload**: After making the necessary changes, save your configuration file and upload it to your NSPanel via the ESPHome dashboard.
> [!NOTE]
> The first time this component is enabled for an ESP32, the code partition needs to be resized.
> Please flash the ESP32 via USB when adding this to your configuration. After that, you can use OTA updates again.
This configuration allows your NSPanel to efficiently manage Bluetooth connections, acting as a proxy for various BLE operations.
This add-on enables the use of your panel's relays to act as a thermostat (either cooler or heater)
using the internal temperature sensor and independent of the network availability.
### Attention
1. The NSPanel is limited to 2A per relay.
Don't use it for directly power your cooler/heater if exceeding the panel specifications:
- 150W/110V/Gang, 300W/110V/Total
- 300W/220V/Gang, 600W/220V/Total
2. A target temperature must be set on the climate entity in Home Assistant or the page Climate in your panel.
> [!NOTE]
> More details on the [Sonoff NSPanel's page](https://sonoff.tech/product/central-control-panel/nspanel/)
> and the [product specifications document](https://sonoff.tech/wp-content/uploads/2021/11/%E4%BA%A7%E5%93%81%E5%8F%82%E6%95%B0%E8%A1%A8-NSPanel-20210831.pdf).
## Installation
You will need to add the reference to `addon_climate_heat`, `addon_climate_cool` or `addon_climate_dual` files on your ESPHome settings in the `package` section
and after the `remote_package` (base code), as shown below (for `heat` in this example):
> [!NOTE]
> Occasionally, ESPHome updates may result in the `entity_id` of embedded thermostats being appended with `_2`.
> If you experience this change, refer to this [forum post](https://community.home-assistant.io/t/esphome-devices-all-renamed-with-2-added/388146) on the Home Assistant Forum for guidance.
The following keys are available to be used in your `substitutions`:
<!-- markdownlint-disable MD013 MD033 -->
Key|Required|Supported values|Default|Description
:-|:-:|:-:|:-:|:-
cooler_relay|Mandatory for *cool* and *dual*|`1` or `2`|`0` (disabled)|Relay used for control the cooler. User `1` for "Relay 1" or `2` for "Relay 2".
heater_relay|Mandatory for *heat* and *dual*|`1` or `2`|`0` (disabled)|Relay used for control the heater. User `1` for "Relay 1" or `2` for "Relay 2".
temp_units|Optional|`°C` or `°F`|`°C`|Temperature unit.
min_off_time|Optional|Positive integer representing the number of seconds|`300`|Minimum duration (in seconds) the cooling/heating action must be disengaged before it may be engaged.
min_run_time|Optional|Positive integer representing the number of seconds|`300`|Minimum duration (in seconds) the cooling/heating action must be engaged before it may be disengaged.
min_idle_time|Optional|Positive integer representing the number of seconds|`30`|Minimum duration (in seconds) the idle action must be active before calling another climate action.
target_low|Optional|Number representing a temperature in the selected unit|`18`|The initial lower treshold for the target temperature.
target_high|Optional|Number representing a temperature in the selected unit|`24`|The initial higher treshold for the target temperature.
temp_min|Optional|Number representing a temperature in the selected unit|*cool: `15`*<br>*heat: `7`*<br>*dual: `7`* |The minimum temperature the climate device can reach. Used to set the range of the frontend gauge.
temp_max|Optional|Number representing a temperature in the selected unit|*cool: `45`*<br>*heat: `35`*<br>*dual: `45`* |The maximum temperature the climate device can reach. Used to set the range of the frontend gauge.
temp_step|Optional|Number representing a temperature in the selected unit|`0.5`|The granularity with which the target temperature can be controlled.
cool_deadband|Optional|Number representing a temperature hysteresis in the selected unit|`0.5`|The minimum temperature differential (temperature above the set point) before engaging cooling.
cool_overrun|Optional|Number representing a temperature hysteresis in the selected unit|`0.5`|The minimum temperature differential (cooling beyond the set point) before disengaging cooling.
heat_deadband|Optional|Number representing a temperature hysteresis in the selected unit|`0.5`|The minimum temperature differential (temperature below the set point) before engaging heat.
heat_overrun|Optional|Number representing a temperature hysteresis in the selected unit|`0.5`|The minimum temperature differential (heating beyond the set point) before disengaging heat.
<!-- markdownlint-enable MD013 MD033 -->
- All values must be delimited with `""`
- For more details on the keys, please take a look at [ESPHome Base Climate Configurations](https://esphome.io/components/climate/index.html#base-climate-configuration)
and [ESPHome Climate Thermostat - Additional actions behavior](https://esphome.io/components/climate/thermostat.html#additional-actions-behavior).
## Examples
### Cooler
```yaml
substitutions:
# Settings - Editable values
device_name:"YOUR_NSPANEL_NAME"
friendly_name:"Your panel's friendly name"
wifi_ssid:!secret wifi_ssid
wifi_password:!secret wifi_password
# Add-on configuration (if needed)
## Add-on climate
cooler_relay:"1"# Possible values: "1" or "2"
temp_units:"°F"# Temperatures in Fahrenheit
temp_min:"40"# Min supported temperature is 40°F
temp_max:"80"# Max supported temperature is 80°F
temp_step:"1"# Temperature granularity is 1°F
cool_deadband:"1.2"# Temperature delta before engaging cooling
cool_overrun:"1.2"# Temperature delta before disengaging cooling
### Real Use Case Example: Water Underfloor Heating with NSPanel
The NSPanel works nicely as a replacement for existing water underfloor heating controllers, installed at eye level and often powered by 100-240VAC.
In my specific use case, the control valve is of the 'normally closed' type, meaning that an open relay indicates 'no heating.'
I have utilized relay #1 for this purpose. It's important to note that this setup does not act as a PID controller, but operates on a simple on-off mechanism.
The system initiates heating at a preset value below and turns it off at a value above the set point.
I have set these values to `0.1°C` below and `0.1°C` above the target temperature, respectively.
These adjustments have been effectively maintaining the desired temperature in all of our four rooms.
The thermostat's settings range from a minimum of `15°C` to a maximum of `22°C`, with a granularity of `0.1°C` for adjustments.
Furthermore, I have selected `18.3°C` as the default target temperature.
```yaml
##### addon-configuration #####
## addon_climate ##
heater_relay:"1"#Use relay 1
temp_min:"15"
temp_max:"22"
temp_step:"0.1"
cold_tolerance:"0.1"
hot_tolerance:"0.1"
##### CHANGE ME END #####
climate:
- id:!extend thermostat_embedded
visual:
temperature_step:${temp_step}
preset:
- name:Home
default_target_temperature_low:18.3
mode:"heat"
```
Please note that employing any filter to smooth the temperature readings, such as averaging, is discouraged if the relevant timescale exceeds 1min.
Such filtering methods can delay the response times of an already slow underfloor heating system.
Despite this, the temperature stability achieved is quite satisfactory, as illustrated in the graph below.

*On March 24th (around 9:20 PM) and March 25th (around 7:30AM) a window was opened, and all heaters were set to 'off.' for 30min*
You can control an Alarm Control Panel from your NSPanel, which allows you to set the alarm mode to standard
modes supported by Home Assistant (Home, Away, Night, Vacation, or Custom bypass) or disarm the alarm.
Currently, the NSPanel supports alarms without a code or with a numeric code. For alarms using a text code,
the NSPanel will display it, but interactions (like button clicks) will send service calls to Home Assistant
without the code, leading to failed operations that require a code.
> [!IMPORTANT]
> **Security advisory**
> The default communication between your NSPanel (ESPHome) and Home Assistant (HA) is not encrypted. This
> could allow someone with network access to monitor and replicate the service calls. This risk is
> particularly relevant when controlling your alarm system.
>
> To enhance security, we strongly recommend enabling API encryption for NSPanel users managing an Alarm
> system. Follow the instructions in the ["API encryption" example here](customization.md#api-encryption)
> to implement this security measure.
## Configuration
### Allow the device to make Home Assistant service calls
First, you need to configure your Home Assistant to permit your NSPanel to make service calls. While
most services are handled via the Blueprint, ESPHome needs to send events with all necessary data in
plain text for these service calls. To mitigate any security risks, alarm-related calls are managed
directly by the panel.
To enable this:
1. Go to your ESPHome integrations panel (Settings > Devices and Services > ESPHome).
2. Click "Configure" next to your panel's entry.

3. Select the "Allow the device to make Home Assistant service calls" option.

### Blueprint settings
To assign Alarm Control Panel entities to buttons:
1. Open the NSPanel Blueprint automation.
2. Find the button configuration section.
3. Choose a button and select your alarm control panel entity.
4. Click "Save" to complete setup.

Follow these steps to ensure your NSPanel is correctly configured for controlling your alarm system.
## Controlling your alarm from your panel
When an alarm control panel is configured in your Blueprint automation, the alarm icon appears on your
NSPanel's Home page or the respective button page. This icon changes based on the alarm state, detailed
in the following table.
Clicking this button opens the Alarm Control Panel page. Here, you can adjust alarm settings with a
single click or return to the Home page.

### Description of states shown with the alarm icon
<!-- markdownlint-disable MD013 -->
State | Color | Icon | Icon Name | Description
-- | -- | -- | -- | --
disarmed | White |  | mdi:shield-off-outline | The alarm is disarmed (off).
armed_home | Green |  | mdi:shield-home-outline | The alarm is armed in home mode.
armed_away | Green |  | mdi:shield-lock-outline | The alarm is armed in away mode.
armed_night | Green |  | mdi:shield-moon-outline | The alarm is armed in night mode.
armed_vacation | Green |  | mdi:shield-airplane-outline | The alarm is armed in vacation mode.
armed_custom_bypass | Green |  | mdi:shield-half-full | The alarm is armed in bypass mode.
pending | Amber |  | mdi:shield-outline | The alarm is pending (towards triggered).
arming | Amber |  | mdi:shield-outline | The alarm is arming.
disarming | Amber |  | mdi:shield-off-outline | The alarm is disarming.
triggered | Red |  | mdi:shield-alert-outline | The alarm is triggered.
unknown/unavailable | White |  | mdi:shield-alert-outline | The alarm state is unknown or unavailable.
This document provides details on custom services designed for integration with Home Assistant, including their usage, parameters, and examples.
## Summary
- [Service Documentation](#service-documentation)
- [Button Service (`button`)](#button-service-button): Configures properties and state of buttons on a specified button page.
- [Command Service (`command`)](#command-service-command): Sends a custom command directly to the display.
- [Component Color Service (`component_color`)](#component-color-service-component_color): Changes the foreground color of a specified component on the display.
- [Component Text Service (`component_text`)](#component-text-service-component_text): Updates the text of a specified component on the display.
- [Component Value Service (`component_val`)](#component-value-service-component_val): Updates the value of a specified component on the display.
- [Components Visibility Service (`components_visibility`)](#components-visibility-service-components_visibility): Hides or shows a specified component on the display.
- [Entity Details Show Service (`entity_details_show`)](#entity-details-show-service-entity_details_show): Displays detailed information for a specific entity.
- [Hardware Button State Indication Service (`hw_button_state`)](#hardware-button-state-indication-service-hw_button_state):
Updates the visual state (on/off) of the left and right hardware button indicators on the panel.
- [Icon Service (`icon`)](#icon-service-icon): Updates a chip or custom button's icon, color, and visibility.
- [Initialization Service: Global (`init_global`)](#initialization-service-init_global): Transfers global settings on initialization.
- [Initialization Service: Home Page (`init_page_home`)](#initialization-service-init_page_home): Transfers settings for the "Home" page on initialization.
- [Initialization Service: Settings Page (`init_page_settings`)](#initialization-service-init_page_settings): Transfers settings for the "Settings" page on initialization.
- [Notification Clear Service (`notification_clear`)](#notification-clear-service-notification_clear): Clears the current notification from the screen.
- [Notification Show Service (`notification_show`)](#notification-show-service-notification_show): Displays a notification-message on the screen.
- [QR Code Service (`qrcode`)](#qr-code-service-qrcode): Displays a QR code on the panel or updates the QR code information for local control.
- [RTTTL Play Service (`rtttl_play`)](#rtttl-play-service-rtttl_play): Plays melodies encoded in the RTTTL format.
- [Upload TFT Service (`upload_tft`)](#tft-file-update-service-upload_tft): Enables TFT file updates from a URL, requiring the "Upload TFT" add-on.
- [Value Service (`value`)](#value-service-value): Updates an entity to display specific values.
- [Wake Up Service (`wake_up`)](#wake-up-service-wake_up): Activates the display from a screensaver or low-brightness state.
- [Alarm Settings Page Service (`page_alarm`)](#alarm-settings-page-service-page_alarm): Updates the Alarm page with current state information.
- [Climate Page Service (`page_climate`)](#climate-page-service-page_climate): Updates the Climate page with current state information.
- [Media Player Page Service (`page_media_player`)](#media-player-page-service-page_media_player): Updates the Media Player page with current state information.
In general, there's no validation on the content of the parameters in a service call.
Please make sure to fulfill the validation from the service caller side, otherwise it can drive to a crash in the ESPHome side, it will most likely restart the panel.
One example is with colors. In almost all cases, it is expected an array with 3 unsigned integers between 0 to 255.
If you send anything different, the conversion to the RGB565 used by Nextion will crash.
### Table of Contents
<!-- markdownlint-disable MD013 -->
| Service ID | Service Name | Description |
|------------|--------------|-------------|
| [`button`](#button-service-button) | [Button Service](#button-service-button) | Configures properties and state of buttons on a specified button page. |
| [`command`](#command-service-command) | [Command Service](#command-service-command) | Sends a custom command directly to the display. |
| [`component_color`](#component-color-service-component_color) | [Component Color Service](#component-color-service-component_color) | Changes the foreground color of a specified component on the display. |
| [`component_text`](#component-text-service-component_text) | [Component Text Service](#component-text-service-component_text) | Updates the text of a specified component on the display. |
| [`component_val`](#component-value-service-component_val) | [Component Value Service](#component-value-service-component_val) | Updates the value of a specified component on the display. |
| [`components_visibility`](#components-visibility-service-components_visibility) | [Components Visibility Service](#components-visibility-service-components_visibility) | Hides or shows a specified component on the display. |
| [`entity_details_show`](#entity-details-show-service-entity_details_show) | [Entity Details Show Service](#entity-details-show-service-entity_details_show) | Displays detailed information for a specific entity. |
| [`hw_button_state`](#hardware-button-state-indication-service-hw_button_state) | [Hardware Button State Indication Service](#hardware-button-state-indication-service-hw_button_state) | Updates the visual state (on/off) of the left and right hardware button indicators on the panel. |
| [`icon`](#icon-service-icon) | [Icon Service](#icon-service-icon) | Updates a chip or custom button's icon, color, and visibility. |
| [`init_global`](#initialization-service-init_global) | [Initialization Service](#initialization-service-init_global) | Transfers global settings on initialization. |
| [`init_page_home`](#initialization-service-init_page_home) | [Initialization Service](#initialization-service-init_page_home) | Transfers settings for the "Home" page on initialization. |
| [`init_page_settings`](#initialization-service-init_page_settings) | [Initialization Service](#initialization-service-init_page_settings) | Transfers settings for the "Settings" page on initialization. |
| [`notification_clear`](#notification-clear-service-notification_clear) | [Notification Clear Service](#notification-clear-service-notification_clear) | Clears the current notification from the screen. |
| [`notification_show`](#notification-show-service-notification_show) | [Notification Show Service](#notification-show-service-notification_show) | Displays a notification-message on the screen. |
| [`page_alarm`](#alarm-settings-page-service-page_alarm) | [Alarm Settings Page Service](#alarm-settings-page-service-page_alarm) | Updates the Alarm page with current state information. |
| [`page_climate`](#climate-page-service-page_climate) | [Climate Page Service](#climate-page-service-page_climate) | Updates the Climate page with current state information. |
| [`page_media_player`](#media-player-page-service-page_media_player) | [Media Player Page Service](#media-player-page-service-page_media_player) | Updates the Media Player page with current state information. |
| [`qrcode`](#qr-code-service-qrcode) | [QR Code Service](#qr-code-service-qrcode) | Displays a QR code on the panel or update the QR code information for local control. |
| [`rtttl_play`](#rtttl-play-service-rtttl_play) | [RTTTL Play Service](#rtttl-play-service-rtttl_play) | Plays melodies encoded in the RTTTL format. |
| [`upload_tft`](#tft-file-update-service-upload_tft) | [Upload TFT Service](#tft-file-update-service-upload_tft) | Enables TFT file updates from a URL, requiring the "Upload TFT" add-on. |
| [`value`](#value-service-value) | [Value Service](#value-service-value) | Updates an entity to display specific values. |
| [`wake_up`](#wake-up-service-wake_up) | [Wake Up Service](#wake-up-service-wake_up) | Activates the display from a screensaver or low-brightness state. |
<!-- markdownlint-enable MD013 -->
### Button Service: `button`
Configures the properties and state of buttons on a specified button page, allowing for dynamic updates to button appearance and behavior based on specified parameters.
**Usage:**
This service is designed for dynamic user interface adjustments, enabling the customization of button states, icons, colors, and labels.
It's particularly useful for reflecting changes in device states or user interactions within the UI.
**Parameters:**
-`page` (string): The page identifier where the button is located.
-`id` (string): The button's unique identifier.
-`state` (bool): The state of the button, which can affect its background picture and other visual elements.
-`icon` (string): Icon codepoint from [HASwitchPlate Material Design Icons](https://htmlpreview.github.io/?https://github.com/jobr99/Generate-HASP-Fonts/blob/master/cheatsheet.html).
Example: "\uE6E8" for `mdi:lightbulb-on-outline`.
-`icon_color` (int[]): The RGB color array for the icon.
-`icon_font` (int): The Nextion font identifier for the icon (default is 8).
-`bri` (string): Brightness level or other dynamic information to display on the button close to the icon.
-`label` (string): The main text label displayed on the button.
**Home Assistant Example:**
```yaml
service:esphome.<your_panel_name>_button
data:
page:"buttonpage01"
id:"button08"
state:true
icon:"\uE6E8"# Example for mdi:lightbulb-on-outline
icon_color:[255,0,0]# Red
icon_font:2
bri:"75%"
label:"Living Room"
```
> [!NOTE]
> Replace `<your_panel_name>` with the specific name of your panel configured in Home Assistant.
> This service dynamically updates the specified button's properties to match the provided parameters.
### Command Service: `command`
Sends a custom command directly to the display, enabling direct interaction and dynamic content updates.
**Usage:**
This service is particularly useful for advanced customizations and direct display manipulations, such as showing messages, updating statuses, or any other display-centric commands.
**Parameters:**
-`cmd` (string): The command string to be sent to the display. Please refer to [The Nextion Instruction Set](https://nextion.tech/instruction-set/) for a comprehensive list of commands supported.
**Home Assistant Example:**
```yaml
service:esphome.<your_panel_name>_command
data:
cmd:"page home"# Go to page "Home"
```
> [!NOTE]
> Replace `<your_panel_name>` with your specific panel name as configured in Home Assistant to ensure correct service execution.
>
> Ensure the command string (`cmd`) is properly formatted according to your display's command processing capabilities.
### Component Color Service: `component_color`
Changes the foreground color of a specified component on the display, enabling dynamic color updates for user interface customization.
**Usage:**
This service is ideal for creating visually dynamic interfaces, allowing elements to change color based on conditions,
events, or user actions, such as indicating status changes or highlighting specific UI components.
**Parameters:**
-`id` (string): Identifier of the component whose color will be updated. It is essential that this matches the component's ID in your display layout to ensure the correct element is targeted.
-`color` (int[]): The new color for the component, specified as an RGB array (e.g., `[255, 0, 0]` for red).
**Home Assistant Example:**
```yaml
service:esphome.<your_panel_name>_component_color
data:
id:"home.time"
color:[255,0,0]# Changes the component's color to red
```
> [!NOTE]
> Replace `<your_panel_name>` with your specific panel name as configured in Home Assistant to ensure correct service execution.
>
> Ensure the `id` and color parameters accurately target and define the new color for the component.
### Component Text Service: `component_text`
Updates the text of a specified component on the display, enabling dynamic text content updates.
**Usage:**
Ideal for user interfaces that require real-time text updates, such as status messages, labels, or any text-based information display.
**Parameters:**
-`id` (string): Identifier of the component whose text will be updated. Ensure this matches the component's ID in your display layout.
-`txt` (string): The new text content to display. This can include static text or dynamic information passed at runtime.
**Home Assistant Example:**
```yaml
service:esphome.<your_panel_name>_component_text
data:
id:"home.time"
txt:"12:34"
```
> [!NOTE]
> Replace `<your_panel_name>` with your specific panel name as configured in Home Assistant to ensure correct service execution.
>
> Make sure the `id` corresponds to the correct component on your display for the text update to work as intended.
### Component Value Service: `component_val`
Updates the value of a specified component on the display, enabling dynamic value updates.
**Usage:**
Ideal for interfaces requiring real-time updates of numerical values, such as counters, temperature readings, or any numeric indicators.
**Parameters:**
-`id` (string): Identifier of the component whose value will be updated. It's crucial this matches the component's ID in your display layout accurately.
-`val` (int): The new integer value to be set for the component. This can represent various data types, depending on the component's purpose (e.g., temperature, humidity levels).
**Home Assistant Example:**
```yaml
service:esphome.<your_panel_name>_component_val
data:
id:"cover.coverslider"
val:25
```
> [!NOTE]
> Replace `<your_panel_name>` with your specific panel name as configured in Home Assistant to ensure correct service execution.
>
> Ensure the `id` accurately matches the component on your display to successfully update its value.
Hides or shows a list of component on the display, allowing for dynamic interface changes.
**Usage:**
This service is ideal for creating interactive user interfaces that adapt by hiding or showing certain elements based on user actions, conditions, or events.
**Parameters:**
-`ids` (string[]): Array of identifiers of the components to be hidden/shown. It is crucial that this matches the component's ID in your display layout to ensure the correct element is hidden/shown.
-`visible` (bool): Set to true to show the component, or false to hide it.
**Home Assistant Example:**
```yaml
service:esphome.<your_panel_name>_component_hide
data:
ids:["date","time"]# Hides the date and time display on Home page
visible:false
```
<!-- markdownlint-disable MD028 -->
> [!NOTE]
> Replace <your_panel_name> with your specific panel name as configured in Home Assistant to ensure correct service execution.
>
> Ensure the ids matches the component on your display you wish to hide or show.
> [!IMPORTANT]
> This command only works when the page is visible.
>
> If a component being hidden/shown is not part of the current page, the command will fail and an error message will be logged.
<!-- markdownlint-enable MD028 -->
### Entity Details Show Service: `entity_details_show`
This service is designed to display detailed information about a specific entity within the panel's interface.
It enables users to navigate to a dedicated page showing extensive details about an entity, such as a light or a climate,
and provides a structured way to return to either the home page or a specific button page.
**Usage:**
Ideal for interfaces requiring detailed entity information across various contexts.
By specifying the `entity` and `back_page`, users are offered a seamless navigation experience,
ensuring they can easily access detailed information and return to their initial navigation point within the interface.
**Parameters:**
-`entity` (string): The unique identifier of the entity (`entity_id` in Home Assistant) for which details are displayed.
-`back_page` (string): The page identifier to return to after viewing entity details.
Valid options are `home` for the home page or `buttonpage01` to `buttonpage04` for button pages.
No other pages are supported to maintain navigation consistency.
> Ensure to replace <your_panel_name> with the specific name of your panel configured in Home Assistant.
> This setup provides a direct and user-friendly way to access and return from detailed entity information, enhancing the interface's usability.
### Hardware Button State Indication Service: `hw_button_state`
This service dynamically updates the on-screen indication bars for the hardware buttons, reflecting the current state of the entities they control.
It's designed to provide immediate visual feedback, enhancing the user interface by showing the active/inactive state of the left and right hardware button indicators on the panel.
**Usage:**
Utilize this service to modify the visual state (on/off) of hardware button indicators on the panel, corresponding to the state of entities controlled by these buttons.
This allows for visual feedback that matches the operational state of the buttons.
**Parameters:**
-`button_mask` (int): A bitwise identifier for buttons. Use `1` for the left button, `2` for the right button, and `3` for both buttons.
-`state` (bool): The state to apply to the button(s) indicated by `button_mask`. True for on (active), false for off (inactive).
**Home Assistant Example:**
```yaml
service:esphome.<your_panel_name>_hw_button_state
data:
button_mask:3# Targets both the left (1) and right (2) buttons
state:true# Turns the indication bars on for both buttons
```
> [!NOTE]
> Replace `<your_panel_name>` with your specific panel name as configured in Home Assistant.
> This service leverages a bitmask (`button_mask`) for flexible control over multiple hardware buttons simultaneously, offering a streamlined method for updating their visual states.
### Icon Service: `icon`
Updates a chip or custom button's icon, color, and visibility within Home Assistant.
**Usage:**
This service is ideal for dynamically updating icons on your Panel, allowing for a customizable and interactive user interface.
**Parameters:**
-`id` (string): Identifier of the chip or button component. Refer to "[Screen components](#screen-components)" for more details.
-`icon` (string): Icon codepoint from [HASwitchPlate Material Design Icons](https://htmlpreview.github.io/?https://github.com/jobr99/Generate-HASP-Fonts/blob/master/cheatsheet.html).
Example: "\uE6E8" for `mdi:lightbulb-on-outline`.
-`icon_color` (int[]): RGB color array for the icon. Example: `[0, 255, 0]` for green.
-`visible` (bool): Flag indicating whether the icon should be visible (`true`) or hidden (`false`).
**Home Assistant Example:**
```yaml
service:esphome.<your_panel_name>_icon
data:
id:"home.chip03"
icon:"\uE6E8"# Example for mdi:lightbulb-on-outline
icon_color:[0,255,0]# Green
visible:true
```
> [!NOTE]
> Ensure the placeholder `<your_panel_name>` is replaced with the specific panel name you will need to reference in your Home Assistant configuration.
### Initialization Service: `init_global`
Transfers global settings from the blueprint to ESPHome,
ensuring that ESPHome is configured with the necessary parameters for operation according to the blueprint specifications.
**Usage:**
This service is crucial during the initialization phase or when global settings need to be updated to reflect changes in the blueprint.
It configures ESPHome with settings that affect overall functionality and user interface aspects.
**Parameters:**
-`blueprint_version` (string): Specifies the version of the blueprint being used.
-`ent_value_xcen` (int): Alignment of values on entities pages (0 for right (default), 1 for center or 2 for left).
-`mui_please_confirm` (string): Localized (language based) message used for asking for confirmation in the UI.
-`mui_unavailable` (string): Localized (language based) message used for indicating unavailability in the UI.
-`screensaver_time` (bool): Enables or disables the screensaver time display.
-`screensaver_time_font` (int): Specifies the font id for the screensaver time display.
-`screensaver_time_color` (int[]): Specifies the RGB color array for the screensaver time display.
-`decimal_separator` (string): The char to be used as decimal separator.
**Home Assistant Example:**
```yaml
service:esphome.<your_panel_name>_init_global
data:
blueprint_version:"4.2.5"
ent_value_xcen:0
mui_please_confirm:"Confirme, por favor."
mui_unavailable:"Indisponível"
screensaver_time:true
screensaver_time_font:11
screensaver_time_color:[165,42,42]# Reddish-brown
decimal_separator:","
```
> [!NOTE]
> Replace `<your_panel_name>` with the specific name of your panel configured in Home Assistant.
>
> This service should be called to update ESPHome with the latest global settings as specified in your blueprint.
### Initialization Service: `init_hardware`
Configures NSPanel hardware settings in ESPHome according to the specifications provided in the blueprint,
ensuring each component operates with the correct parameters for control, appearance, and fallback behavior.
**Usage:**
This service is essential for initializing or updating button and relay configurations to reflect changes in the blueprint.
It tailors ESPHome's hardware operations for specific use cases, including local control capabilities, iconography, color indications, and fallback states.
**Parameters:**
-`relay1_local_control` (bool): Enables or disables local control for Relay 1.
-`relay1_icon` (string):
Icon codepoint from [HASwitchPlate Material Design Icons](https://htmlpreview.github.io/?https://github.com/jobr99/Generate-HASP-Fonts/blob/master/cheatsheet.html) for Relay 1.
-`relay1_icon_color` (int[]): The RGB color array for Relay 1's icon.
-`relay1_fallback` (bool): Determines the fallback state for Relay 1 in case of communication loss.
-`relay2_local_control` (bool): Enables or disables local control for Relay 2.
-`relay2_icon` (string):
Icon codepoint from [HASwitchPlate Material Design Icons](https://htmlpreview.github.io/?https://github.com/jobr99/Generate-HASP-Fonts/blob/master/cheatsheet.html) for Relay 2.
-`relay2_icon_color` (int[]): The RGB color array for Relay 2's icon.
-`relay2_fallback` (bool): Determines the fallback state for Relay 2 in case of communication loss.
-`button_left` (bool): Enable/disable left button status visualization.
-`button_right` (bool): Enable/disable right button status visualization.
-`button_bar_color_on` (int[]): RGB color array for the hardware button bar when the status is `On`.
-`button_bar_color_off` (int[]): RGB color array for the hardware button bar when the status is `Off`.
-`embedded_climate` (bool): Indicates whether climate control is embedded in the panel.
-`embedded_climate_friendly_name` (string): Provides a friendly name for the embedded climate control.
-`embedded_indoor_temperature` (bool): Determines if indoor temperature display is enabled.
**Home Assistant Example:**
```yaml
service:esphome.<your_panel_name>_init_hardware
data:
relay1_local_control:true
relay1_icon:"\uE3A5"# Example for mdi:numeric-1-box-outline
relay1_icon_color:[248,0,0]# Red
relay1_fallback:false
relay2_local_control:true
relay2_icon:"\uE3A8"# Example for mdi:numeric-2-box-outline
relay2_icon_color:[0,252,0]# Green
relay2_fallback:true
button_left:true
button_right:true
button_bar_color_on:[31,169,255]# Blueish
button_bar_color_off:[44,44,44]# Dark gray
embedded_climate:true
embedded_climate_friendly_name:"Termostato da Sala"
embedded_indoor_temperature:true
```
> [!NOTE]
> Replace `<your_panel_name>` with the specific name of your panel configured in Home Assistant.
> This service initializes buttons and relay settings based on the provided parameters, customizing relay functionality and presentation as defined in the blueprint.
### Initialization Service: `init_page_home`
Configures the "Home" page settings and user interface elements in ESPHome,
aligning with the blueprint specifications to create a personalized and functional home screen.
**Usage:**
This service plays a crucial role in the initial setup and ongoing updates of the "Home" page,
facilitating dynamic adjustments to layout, appearance, and interactive elements.
It accommodates extensive customizations, impacting both visual appeal and functionality of UI components.
**Parameters:**
-`date_color` (int[]): RGB color array for the date display.
-`time_format` (string): Format string for displaying time, supporting standard time formatting symbols.
-`time_color` (int[]): RGB color array for the time display.
-`meridiem` (string[]): Array of strings for AM/PM labels, applicable if the time format includes meridiem.
-`chip_font` (int): Font Id for icons or chips displayed on the "Home" page.
-`custom_buttons_font` (int): Font Id for custom button icons on the "Home" page.
-`qrcode` (bool): Flag indicating whether the QR code button is enabled.
-`qrcode_icon` (string):
Icon codepoint from [HASwitchPlate Material Design Icons](https://htmlpreview.github.io/?https://github.com/jobr99/Generate-HASP-Fonts/blob/master/cheatsheet.html)
for the QR code button.
-`qrcode_icon_color` (int[]): RGB color array for the QR code button icon.
-`entities_pages_icon` (string):
Icon codepoint from [HASwitchPlate Material Design Icons](https://htmlpreview.github.io/?https://github.com/jobr99/Generate-HASP-Fonts/blob/master/cheatsheet.html)
for the entities page button.
-`entities_pages_icon_color` (int[]): RGB color array for the entities page button icon.
-`utilities` (bool): Flag indicating whether the utilities page button is enabled.
-`utilities_icon` (string):
Icon codepoint from [HASwitchPlate Material Design Icons](https://htmlpreview.github.io/?https://github.com/jobr99/Generate-HASP-Fonts/blob/master/cheatsheet.html)
for the utilities page button.
-`utilities_icon_color` (int[]): RGB color array for utilities page button icon.
-`outdoor_temp_font` (int): Font Id for outdoor temperature indication on the "Home" page.
**Home Assistant Example:**
```yaml
service:esphome.<your_panel_name>_init_page_home
data:
date_color:[255,255,255]# White
time_format:"HH:mm"
time_color:[255,255,255]# White
meridiem:["AM","PM"]
chip_font:8
custom_buttons_font:9
qrcode:true
qrcode_icon:"\uE432"# Example for mdi:qrcode-scan
qrcode_icon_color:[0,255,0]# Green
entities_pages_icon:"\uEDCF"# Example for mdi:format-list-bulleted-square
entities_pages_icon_color:[0,0,255]# Blue
utilities:true
utilities_icon:"\uE299"# Example for mdi:gauge
utilities_icon_color:[255,255,255]# White
outdoor_temp_font:5
```
> [!NOTE]
> Ensure to replace `<your_panel_name>` with the actual name of your panel configured in Home Assistant.
> This service customizes the "Home" page with specified settings, enhancing the panel's interface based on the project's blueprint.
### Initialization Service: `init_page_settings`
Populates the "Settings" page with configurable options in the panel,
tailored according to the project's blueprint to create a user-friendly and cohesive settings interface.
**Usage:**
This service is crucial for the initial configuration and subsequent updates of the "Settings" page.
It facilitates the customization of labels and functionalities, including reboot actions and screen brightness adjustments, directly from the panel's interface.
This customization ensures that the settings are not only accessible but also intuitive for end-users.
**Parameters:**
-`reboot` (string): Text label for the reboot button, guiding users on the action to restart the device.
-`brightness` (string): Description label for adjusting the screen's brightness.
-`bright` (string): Label preceding the slider for selecting the high brightness level, indicating the option for a brighter screen setting.
-`dim` (string): Label preceding the slider for selecting the dimmed brightness level, indicating the option for a lower light setting.
message:"Front door opened at 10:30 PM\rPlease check the entrance."
```
> [!NOTE]
> Replace `<your_panel_name>` with the specific name of your panel configured in Home Assistant.
> The action ensures the service executes correctly, displaying the notification with the specified `label` and `message`.
>
> Utilize `\r` within the message for custom line breaks, offering precise formatting control.
### Alarm Settings Page Service: `page_alarm`
Populates the alarm settings page with the current configuration and state information,
seamlessly integrating with the panel's interface to reflect the latest settings and statuses of the alarm system.
**Usage:**
The `page_alarm` service is specifically designed to dynamically update the alarm settings page, providing users with immediate access to the alarm system's controls and information.
It plays a crucial role in ensuring a responsive and user-friendly interface for alarm management, allowing for real-time interaction with the alarm system directly from the panel.
**Parameters:**
-`page_title` (string): The title displayed at the top of the alarm settings page.
-`state` (string): The current state of the alarm system, such as "armed_home" or "disarmed".
-`supported_features` (int): A bitmask indicating the features supported by the alarm system.
This determines the controls and options available on the alarm settings page.
The bitmask values are aligned with the
[Home Assistant Alarm Control Panel Supported Features](https://github.com/home-assistant/core/blob/33ff6b5b6ee3d92f4bb8deb9594d67748ea23d7c/homeassistant/components/alarm_control_panel/const.py#L32).
-`code_format` (string): Specifies the code format required for arming/disarming the alarm system, such as numeric or alphanumeric.
-`code_arm_required` (bool): Indicates whether a code is required to arm the system.
-`entity` (string): The entity ID of the alarm system, used for state updates and control actions.
-`mui_alarm` (string[]): An array of localized text strings for the alarm control buttons, supporting various alarm states and actions.
**Home Assistant Example:**
```yaml
service:esphome.<your_panel_name>_page_alarm
data:
page_title:"Home Security System"
state:"disarmed"
supported_features: 31 # Example:Supports arm/disarm, home/away modes, etc.
code_format:"number"
code_arm_required:true
entity:"alarm_control_panel.home_alarm"
mui_alarm:
- "Zuhause"
- "Abwesend"
- "Nacht"
- "Urlaub"
- "Umgehen"
- "Entwaffnen"
```
> [!NOTE]
> Ensure to replace `<your_panel_name>` with the actual name of your panel configured in Home Assistant.
> This service configuration allows for the alarm settings page to dynamically reflect the current features, state, and control options of your alarm system, enhancing the overall user experience.
### Climate Page Service: `page_climate`
Updates the climate page with the current state information, seamlessly integrating with the panel's interface to display the latest climate settings and statuses.
**Usage:**
Designed to dynamically update the climate page, this service ensures users have instant access to climate control settings and information.
It's crucial for maintaining a responsive and informative interface for efficient climate management.
**Parameters:**
-`current_temp` (float): The current temperature.
-`supported_features` (int): Bitmask indicating the climate device's supported features.
These features determine the available climate controls and settings on the device.
The bitmask values correspond to features such as temperature control, mode setting, fan speed adjustment, etc., as defined in Home Assistant's climate component constants.
For detailed descriptions of each feature and its corresponding bitmask value, refer to the
-`target_temp` (float): The set target temperature.
-`target_temp_high` (float): The high end of the target temperature range, for devices that support temperature ranges.
-`target_temp_low` (float): The low end of the target temperature range.
-`temp_step` (int): Increment step for temperature adjustment, effectively the granularity of temperature change allowed.
-`total_steps` (int): Total number of steps for temperature adjustment, calculated as ((temp_max - temp_min) / temp_step).
-`temp_offset` (int): Offset applied to the temperature reading for calibration.
-`climate_icon` (string): Icon representing the current climate status,
selected from [HASwitchPlate Material Design Icons](https://htmlpreview.github.io/?https://github.com/jobr99/Generate-HASP-Fonts/blob/master/cheatsheet.html).
-`embedded_climate` (bool): Flag indicating if climate controls are embedded within the interface.
-`entity` (string): Entity ID for the climate device.
**Home Assistant Example:**
```yaml
service:esphome.<your_panel_name>_page_climate
data:
current_temp:22.5
supported_features:1| 4 # Assuming '1' is for temperature control and '4' is for fan mode, as an example.
target_temp:24.0
target_temp_high:25.0
target_temp_low:19.0
temp_step:5# Adjust in 0.5°C increments.
total_steps:56# Calculated based on the device's temperature range and step.
temp_offset:70# Applied as a calibration offset.
climate_icon:"\uE392"# mdi:thermostat
embedded_climate:true
entity:"climate.living_room"
```
> [!NOTE]
> Replace `<your_panel_name>` with the specific name of your panel configured in Home Assistant.
> This service ensures the climate page reflects the latest in climate control settings, enhancing the user experience by providing up-to-date information.
### Media Player Page Service: `page_media_player`
Updates the media player page with current configuration and state information,
integrating seamlessly with the panel's interface to display the latest media playback status and controls.
**Usage:**
The `page_media_player` service is specifically tailored to dynamically update the media player page, ensuring users have immediate access to media playback controls and information.
This service is essential for providing a responsive and user-friendly interface for media management, allowing real-time interaction with the media player directly from the panel.
**Parameters:**
- `entity` (string):The entity ID of the media player.
- `state` (string):The current state of the media player (e.g., playing, paused, stopped).
- `is_volume_muted` (bool):Indicates whether the volume is currently muted.
- `friendly_name` (string):The friendly name of the media player to be displayed as the page title.
- `volume_level` (int):The current volume level of the media player.
- `media_title` (string):The title of the currently playing media.
- `media_artist` (string):The artist of the currently playing media.
- `media_duration` (float):The total duration of the currently playing media in seconds.
- `media_position` (float):The current playback position within the media in seconds.
- `media_position_delta` (float):The amount of time in seconds since the last update of the media position.
- `supported_features` (int):A bitmask indicating the features supported by the media player, such as play/pause, next/previous track, volume control, etc.
The bitmask values correspond to the
[Home Assistant Media Player Supported Features](https://github.com/home-assistant/core/blob/33ff6b5b6ee3d92f4bb8deb9594d67748ea23d7c/homeassistant/components/media_player/const.py#L177).
> Replace `<your_panel_name>` with the specific name of your panel configured in Home Assistant.
> This service ensures the media player page reflects the latest in media playback settings and status, enhancing the user experience by providing up-to-date information.
### QR Code Service: `qrcode`
Displays a QR code on the display, which can be used for various purposes such as sharing a WiFi password or linking to a website.
**Usage:**
This service enables the dynamic display of QR codes on a specified page of the ESPHome user interface, allowing for the convenient sharing of information.
It's particularly useful for settings where quick, scannable access to data is beneficial.
**Parameters:**
-`title` (string): The title or heading to display above the QR code, providing context or instructions.
-`qrcode` (string): The actual data or URL to be encoded into the QR code.
-`show` (bool): A flag that determines whether to immediately display the QR code page upon calling the service.
**Home Assistant Example:**
```yaml
service:esphome.<your_panel_name>_qrcode
data:
title:"Wi-Fi Access"
qrcode:"WIFI:T:WPA;S:mynetwork;P:mypass;;"
show:true
```
<!-- markdownlint-disable MD028 -->
> [!NOTE]
> Replace `<your_panel_name>` with the specific name of your panel configured in Home Assistant.
> This service will generate and display the QR code based on the provided data, navigating to the QR code page if `show` is set to `true`.
> [!NOTE]
> This service is typically invoked during initialization to preload QR Code information based on blueprint settings,
> ensuring the data is accessible on the panel even without Wi-Fi connectivity.
> To update the QR Code information without immediately displaying it, call this service with `show: false`.
> This allows for seamless updates to the QR Code content without disrupting the current user interface.
<!-- markdownlint-enable MD028 -->
### RTTTL Play Service: `rtttl_play`
Plays melodies encoded in the RTTTL format, enabling the integration of audio feedback or alerts with simple text-based melody strings.
**Usage:**
This service is perfect for projects requiring audio signals, such as notifications, alerts, or simple melodies, by interpreting RTTTL (Ring Tone Text Transfer Language) strings.
RTTTL is a compact format for storing melody sequences in a text-based format, making it ideal for simple audio devices like buzzers.
**Parameters:**
-`tone` (string): The RTTTL string representing the melody to be played.
This string must conform to the RTTTL format, which includes the melody's name, default settings, and a sequence of notes.
**Example Tones:**
For example tones and further inspiration, you can visit examples of RTTTL songs [here](https://codebender.cc/sketch:109888#RTTTL%20Songs.ino).
> Replace `<your_panel_name>` with your specific panel name as configured in Home Assistant to ensure correct service execution.
>
> Ensure the `tone` parameter contains a valid RTTTL string to successfully play the melody.
### TFT File Update Service: `upload_tft`
Enables the remote update of the panel's TFT file from a specified URL or a default location, available exclusively with the "Upload TFT" add-on installed.
This service is valuable for downloading alternative TFT files for customization or addressing file access issues.
**Usage:**
This service is crucial for dynamically updating the TFT file, facilitating seamless transitions between different configurations or updates.
It's particularly useful for applying custom interface designs or updates when direct access to the repository is limited.
**Parameters:**
-`url` (string): The URL for downloading the TFT file.
If set to "default", it utilizes the URL from the "**Update TFT - Display Model**" selection in Home Assistant (**Settings** > **Devices & Services** > **ESPHome**).
**Home Assistant Example:**
```yaml
service:esphome.<your_panel_name>_upload_tft
data:
url:"http://homeassistant.local:8123/local/custom_tft_file.tft"# URL to the new TFT file
```
<!-- markdownlint-disable MD028 -->
> [!NOTE]
> Replace `<your_panel_name>` with your specific panel name as configured in Home Assistant.
> Using "default" fetches the URL associated with the selected display model in Home Assistant settings, simplifying updates or customizations.
> [!ATTENTION]
> The "Upload TFT" add-on must be installed for this service to be available, enhancing the panel's flexibility for interface customization or troubleshooting.
<!-- markdownlint-enable MD028 -->
### Value Service: `value`
Updates an entity to display specific values, allowing for dynamic updates of icons, names, and value colors within Home Assistant.
**Usage:**
This service is intended for entities that need to display information dynamically, such as sensor readings or state values, with customized icons, names, and color coding for both icon and value.
**Parameters:**
-`id` (string): Identifier of the entity being updated. For details on entity identifiers, refer to "[Screen components](#screen-components)".
-`icon` (string): Icon codepoint from [HASwitchPlate Material Design Icons](https://htmlpreview.github.io/?https://github.com/jobr99/Generate-HASP-Fonts/blob/master/cheatsheet.html).
Indicates the icon displayed next to the value.
-`icon_color` (int[]): RGB color array for the icon, allowing for custom icon colors.
-`name` (string): The display name for the entity, useful for labeling the value displayed.
-`value` (string): The actual value to be displayed next to the icon and name.
-`value_color` (int[]): RGB color array for the value text, enabling custom coloring of the displayed value.
**Home Assistant Example:**
```yaml
service:esphome.<your_panel_name>_value
data:
id:"sensor.temperature"
icon:"\uE6E8"# Example for mdi:thermometer
icon_color:[255,0,0]# Red
name:"Temperature"
value:"75°F"
value_color:[255,255,0]# Yellow
```
> [!NOTE]
> Replace `<your_panel_name>` with your specific panel name as configured in Home Assistant to ensure correct service execution.
### Wake Up Service: `wake_up`
Activates the display from a screensaver or low-power state, enabling dynamic interface adjustments based on user interactions or automated triggers.
**Usage:**
Ideal for scenarios requiring the display to become active upon certain events, such as motion detection, thereby conserving energy while ensuring the display is available when needed.
**Parameters:**
-`reset_timer` (bool): Determines whether to reset the sleep and dimming timers upon waking up the display.
Setting this to `true` ensures the display remains active during user presence, while `false` retains the existing timer durations.
**Home Assistant Example:**
```yaml
service:esphome.<your_panel_name>_wake_up
data:
reset_timer:true
```
> [!NOTE]
> Replace `<your_panel_name>` with the specific name of your panel configured in Home Assistant.
> This action ensures the service is executed correctly, waking the display and optionally resetting timers based on the reset_timer parameter.
**Practical Use Case: Motion Sensor Activation:**
This service can be seamlessly integrated with a motion sensor to wake the display when motion is detected, making it instantly usable.
Additionally, if the display is already awake, calling this service with `reset_timer: true` can reset the sleep timer,
keeping the display active as long as there is movement and allowing it to sleep normally once no motion is detected.
The example bellow integrates the `wake_up` service with a motion sensor to ensure the display wakes or remains awake during periods of activity, reverting to sleep mode after inactivity.
```yaml
automation:
- alias:"Wake Display on Motion"
trigger:
- platform:state
entity_id:binary_sensor.motion_sensor_123
to:'on'
action:
- service:esphome.<your_panel_name>_wake_up
data:
reset_timer:true
mode:restart
```
> [!NOTE]
> Adjust `<your_panel_name>` and `binary_sensor.motion_sensor_123` to your actual panel and sensor entity IDs.
> This setup ensures the display is responsive to environmental conditions, enhancing user interaction while managing energy consumption efficiently.
This is a multi-component system, with names `value01` to `value03` containing the state of the entity,
where `value01_icon` to `value03_icon` supports the icons.
### Entities Pages - Values
Just like in "[Home Page - Values](#home-page---values)", this is a multi-component system, with names `value01` to `value08` containing the state of the entity,
where `value01_icon` to `value08_icon` supports the icons and, exclusivelly in the Entities pages, `value01_label` to `value08_label`,
which will contain the friendly name or some alternative label for the entities.
Each to these sets are sent using the [Value Service (`value`)](#value-service-value), with up to 8 individual calls to this service for each page construction.
This article covers the settings in the Blueprint Automation.
The Blueprint Automation is the central configuration element of this solution for the NSPanel.
In principle, the setup of the automation is self-explanatory.
The individual elements of the Blueprint are described below.
It is possible to change both the color of the labels and the icons for most of the elements on each screen.
On the blueprint settings, you will be able to select any of the MDI icons supported by Home Assistant, however, your panel will only support the icons available on the [HASwitchPlate Material Design Icons](https://htmlpreview.github.io/?https://github.com/jobr99/Generate-HASP-Fonts/blob/master/cheatsheet.html).
For an easier overview, the menu items "Icon Color" and "Label Color" will not be described separately in the following documentation.
## Basic settings
### NSPanel device (REQUIRED)
You will be presented with a list of all of your ESPHome ESP32 devices and you must select your panel from the list.
This is technically the only required field, as basic functionality will be available when the Blueprint knows to which panel it has to send the settings.
> [!NOTE]
> You cannot have more than one blueprint based automation per each panel
### Language for NSPanel
The language can be selected via the drop-down menu.
Currently around 30 languages are supported, but if you cannot find your language there,
please create a [new feature request](https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/new) and we will be happy to help.
### Date format
Select how you want to see the date displayed on your panel (Home page and weather pages are affected).
### Time format
Select how you want to see the time displayed on your panel's Home page.
### Timezone
Select the timezone for this panel. Default (nothing) sets the timezone of the machine the firmware was compiled on. Important to set for prebuilt firmware.
## Weather and Temperature
### Weather entity from HA
Select a Weather entity to use.
Most of the weather integrations are supported, however some may be able to provide more information than others.
We run all of our tests with "Accuweather", so the parameters shown on the panel are targetting this integration and will be shown with your integration when available.
### Outdoor temperature Sensor (Optional)
Optionally, the value of an outdoor temperature sensor can be used here.
If no separate sensor is used, the value of the weather integration will be used.
### Indoor Temperature Sensor (Optional)
An indoor temperature sensor is not necessary.
Leave the field empty if you want to use the temperature sensor of the NSPanel.
If the value of the sensor needs to be corrected, this can be done via the temperature correction for the NSPanel under HA Devices.
## Home page - Entities States
### Home page - Entity 01-04 (Optional)
Up to four entities can be displayed on the home screen.
Select the corresponding HA entity.
## Home page - Chips
### Chip 01-07 - Entity (Optional)
Used to display HA entities on the home screen.
For example to display the status of a specific switch on the NSPanel.
## Home page - Custom buttons
### Custom button 01-06 - Entity (Optional)
Your panel will show 10 buttons on the Home page.
4 of those are fixed for Notifications, QR Code, Entities pages and Alarm, but you have additional 6 custom buttons that can be assigned to different entities from your Home Assistant.
The behavior of these buttons will depend on the entity's domain (light, media player, etc).
## Alarm Control Panel
An alarm control panel entity can be controlled by your panel.
When you assign the entity here, its icon will be shown as a button on the Home page.
## Climate
### Climate to Control (Optional)
Here you select the main climate entity controlled by your panel.
Its temperature will be used on the Home page and by clicking on that value you will be able to control the climate settings.
You can optionally use your panel to control a climate system locally, using its temperature sensor and relays.
You will find more details about this on the Add-on Climate documentation.
If you are using the climate add-on, it will create a climate entity in your panel's device page.
You still have to select that entity on this field in the blueprint settings to have it used as your main climate.
Additional climate entities can be assigned to buttons and will be explained later in this document.
On the blueprint settings, you will also find settings for sensors and custom buttons to be shown on all the climate pages.
## QR Code
### Activate QR Code (Optional)
Activates the QR Code page and shows the QR Code button on the Home page.
### QR Code content (Optional)
String, which is shown as a QR Code on the NSPanel.
This can be a simple text, an URL or could also be used for a simplified login to the Wi-Fi.
Here is an example (simply change SSID and password to your credentials and either use "WPA" or "WEP"):
`WIFI:S:SSID;T:WPA/WEP;P:PASSWORD;;`
#### Example:
For a network with the following parameters:
- **SSID:** my_ssid
- **Pass:** MySecurePa$$w0rd
- **Type:** WPA
Your QR code string will look like this:
`WIFI:S:my_ssid;T:WPA;P:MySecurePa$$w0rd;;`
For more details about these specifications, please visit the [WPA3™ Specification v3.1, chapter 7](https://www.wi-fi.org/system/files/WPA3%20Specification%20v3.1.pdf#page=24).
## Hardware Buttons
### Visibility Pages
Choose the pages where the bars, indicating the status of entities linked to hardware buttons, will be displayed.
### Activate Relay x local Fallback (Optional)
Normally, the internal relays of the NSPanels are triggered via HA.
If the NSPanel loses Wi-Fi connection or HA is down, the hardware button can then switch the corresponding relay directly.
The entity that should be switched with the left/right hardware button.
### Left/Right Hardware Button Name - Label (Optional)
Text on the screen above the corresponding hardware button (home screen).
### Left/Right Hardware Button hold assignment - VALUE (optional)
Selection of what action should happen when the button is pressed for a longer time.
### Left/Right Hardware Button custom hold action - VALUE (Optional)
Selection of the action to start when holding the button.
## Button Page 01-04
### Button Page 01-04 name - LABEL (Optional)
Text on the respective button screens.
### Buttons 01 - 32 (Optional)
The buttons can be accessed by swiping on the Home Screen and their functions are completely identical.
Either the individual button pages can be accessed one after the other by swiping to the left, or the button pages can be accessed directly by swiping up, down or to the right.
When the respective button is pressed, a toggle action is executed or the corresponding page is automatically opened, e.g.
the cover control for covers, etc.
For 2 state buttons (where toggle is the default action), a long press in the button will open it's corresponding page, when supported.
For each button an own name can be specified optionally.
All buttons offer the possibility to optionally confirm the execution of the action.
This can be activated or deactivated separately for each button via *"Confirm execution of the button press"*.
## Entity Page 01-04
### Activate Entity Page (Optional)
This option activates the entity pages on the Home Screen.
The entity pages can be used for example to display values or statuses of entities on the individual pages.
### Entity Page 01-04 name - LABEL (Optional)
Naming of the corresponding Entity Screens.
### Entity 01 - 32 (Optional)
The entity pages can be accessed by pressing the symbol on the Home Screen and their functions are completely identical.
The entities are numbered as follows:
| Entity page | Entities shown |
| :--: | :--: |
| 1 | 01 to 08 |
| 2 | 09 to 16 |
| 3 | 17 to 24 |
| 4 | 25 to 32 |
Additionally there is the possibility to choose an icon of your choice for the Entities button on the Home page.
Of course there is also the possibility to enter a label for each of the 4 pages and the aligment for the values on the entities pages.
## Advanced Settings
### System settings - Decimal Separator
Choose the decimal separator for displaying numbers.
### Delay to avoid synchronization problems
If the Wi-Fi signal is poor, you may have issues when loading some pages.
If this happens, try to increase this delay as that may help.
### Nextion TFT File Folder (Optional)
Specify the path to the folder containing the Nextion TFT file. This is to be used together with the option nextion_upload_tft on the "Update TFT Display - Model" option on the device's page.
This project adds lots of functionalities to your NSPanel and we are constantly adding new features based on user's feedback.
However, you might have some specific case that are not included on the current implementation or is not a common case for other users.
You can take advantage of [ESPHome Configuration Types](https://esphome.io/guides/configuration-types.html) to add your custom functionality
or even to customize an existing functionality with minimum effort and this document intents to clarify how to use this and give some examples of customization.
Please feel free to add your own customation to this document by creating a PR in the `dev` branch.
***IMPORTANT:***
- *Use customization at your own risk. Custom/advanced systems won't be supported by this project's team.*
- *Please monitor the memory consumption when using customizations. Getting closer to the full memory can drive to errors in the system or prevent your system to support the future updates.*
## Instructions
There's nothing particular for this project, so you can just use any of the [ESPHome Configuration Types](https://esphome.io/guides/configuration-types.html)
and only edit your local ESPHome yaml settings.
Most of the ESPHome components in this project contains an `Id`, which can be used together with the `!extend` key to add or replace existing code.
You should add your customizations at the end of your ESPHome yaml, as in the example bellow:
```yaml
substitutions:
# Settings - Editable values
device_name:"YOUR_NSPANEL_NAME"
friendly_name:"Your panel's friendly name"
wifi_ssid:!secret wifi_ssid
wifi_password:!secret wifi_password
# Add-on configuration (if needed)
## Add-on climate
# heater_relay: "1" # Possible values: "1" or "2"
# Customization area
##### My customization - Start #####
# Encrypt the communication between ESPHome and Home Assistant
RAM: [= ] 10.5% (used 34484 bytes from 327680 bytes)
Flash: [======= ] 67.5% (used 1239253 bytes from 1835008 bytes)
Building .pioenvs/office-workstation-panel/firmware.bin
Creating esp32 image...
Successfully created esp32 image.
```
- **Static Memory**: This is the memory required to load your firmware.
Running your firmware requires additional memory.
- **Dynamic Memory**: This is the memory allocated while your firmware is running.
ESPHome checks if your static memory usage exceeds your device's limits to prevent installation issues, but it doesn't check dynamic memory usage.
**Aim to keep static RAM usage below 20% and static Flash usage below 75%** to ensure there's enough room for dynamic operations.
### Risks of Exceeding Memory Limits
Exceeding memory limits can lead to issues:
- **During Compilation**: ESPHome might prevent firmware installation if static memory is too high.
- **During Runtime**: Exceeding dynamic memory can cause unexpected restarts.
- **During Startup**: If your device runs out of memory at startup, it may not load the firmware, resulting in a black screen and an unresponsive device.
The solution is to use a serial cable to reflash your device with a lighter firmware.
### Tips for Managing Memory
- Be cautious when adding memory-intensive components like `bluetooth_proxy`.
- Compile your firmware with the option to download it before installation.
This lets you check static memory usage without risking wireless installation issues.
## Removing Standard Settings
You can use customizations to remove certain default components or settings from this project.
This is useful for altering standard settings or freeing up memory for additional components.
Here's how you might remove some default settings:
```yaml
# Removes the `captive_portal` component
captive_portal:!remove
# Removes the OTA password
ota:
password:!remove
```
> [!ATTENTION]
> Be aware of the implications before removing components or settings.
> Some of them are crucial for allowing your panel to interact correctly with the blueprint or for enabling ESPHome to install the firmware Over The Air.
> Incorrect removals could render your panel unusable, potentially requiring a reflash via a serial cable.
## Examples
### API encryption
> [!IMPORTANT]
> Changing the API encryption can break the connection to Home Assistant,
> requiring the device to be removed from integrations (**Settings** > **Devices & Services** > **ESPHome**) and then re-added.
This is highly recommended when you are transfer sensitive information between your panel and Home Assistant,
as when you use your panel to enter the PIN for an Alarm Control Panel.
```yaml
# Encrypt the communication between ESPHome and Home Assistant
api:
encryption:
key:!secret api_encryption_key
```
### Custom OTA password
By default, the Wi-Fi password will be used as your OTA password, but you can replace it.
First, you need to change the default password using this code.
```yaml
# change OTA password, remove after flashing
esphome:
on_boot:
- priority:601.0
then:
- lambda:|-
id(my_ota).set_auth_password("New password");
ota:
password:!secret wifi_password
id:my_ota
```
After flashing the device, you must remove the code above and replace it with the code below to start using this customization.
```yaml
# Use my global OTA password
ota:
password:!secret ota_password
```
### Web server credentials
By default, the web server credentials are defined by this project using `admin` as `username` and your `Wi-Fi password` as `password`, but you can replace it using this customization:
```yaml
# Custom web server credentials
web_server:
auth:
username:!secret web_server_username
password:!secret web_server_password
```
### Reboot when API fails
Reboot your panel if it loses it's connection to Home Assistant for more than a certain time (15 minutes in this example).
Sometimes the low level ESP functions could report that the ESP is connected to the network, when in fact it is not and only a full reboot fixes it.
To support long times without Wi-Fi, this is disabled by default in this project, but you can set a reasonable interval to restart, based on your network reliability.
```yaml
# Reboot if HA is not connected for 15 minutes
api:
reboot_timeout:15min
```
### Manual IP
Set IP address manually.
> [!ATTENTION]
> At least one DNS server is required to enable TFT transfer direcly from GitHub, otherwise use `nextion_update_url`.
```yaml
# Set IP address manually
wifi:
networks:
- id:!extend wifi_default
manual_ip:
static_ip:192.168.0.123
gateway:192.168.0.1
subnet:255.255.255.0
dns1:1.1.1.1# At least one DNS server is required to enable TFT transfer direcly from GitHub, otherwise use `nextion_update_url`.
dns2:8.8.8.8
```
### Hidden Wi-Fi
Connect to a hidden Wi-Fi network.
```yaml
# Connect to a hidden Wi-Fi network.
wifi:
networks:
- id:!extend wifi_default
hidden:true
fast_connect:true
```
### Connect to multiple networks
NSPanel will attempt to connect to the one with the highest signal strength or, if you set a priority, it will try to connect to the highest priority.
After failing it will connect to the second network.
```yaml
# Set dual network
wifi:
networks:
- id:!extend wifi_default
priority:10
- ssid:!secret wifi_ssid_backup
password:!secret wifi_password_backup
priority:0
```
### SNTP (time) server
ESPHome takes it's time from Home Assistant, however you can configure it to use a Network Time Server instead.
```yaml
# Use my own local network time server
time:
- id:!extend time_provider
platform:sntp
servers:
- !secret mysntpserver
- europe.pool.ntp.org
- 0.pool.ntp.org
```
### Sensor for display awake vs sleeping
Creates a binary sensor to indicate either when the display is showing some page (`on`) or sleeping (`off`).
```yaml
# Is display awake?
binary_sensor:
- name:Display state
id:display_state
platform:template
lambda:|-
return (current_page->state != "screensaver");
```
You can easily invert the meaning to have a sensor for display sleeping:
```yaml
# Is display sleeping?
binary_sensor:
- name:Display sleeping
id:display_sleeping
platform:template
lambda:|-
return (current_page->state == "screensaver");
```
### Deep sleep
In this example, the panel will deep sleep for 7 hours, starting at 23:00:00 every day, for its maximum energy saving.
During this time, nothing will be shown, the screen will be off and therefore no response to touch, and the panel will be disconnected from Wi-Fi,
but you can still wake-up the panel by pressing one of the hardware buttons (the left one in this example):
```yaml
# Define the wake-up button. Use pin 14 for left button or pin 27 for right button
deep_sleep:
wakeup_pin:
number:14
allow_other_uses:true
wakeup_pin_mode:INVERT_WAKEUP
binary_sensor:
- id:!extend left_button
pin:
allow_other_uses:true
time:
- id:!extend time_provider
on_time:
- hours:23
minutes:0
seconds:0
then:
- deep_sleep.enter:
sleep_duration:7h
```
You can find more ideas around this on [#955](https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/955).
### Enforce time zone
Until v3.4 (including), the time was coming from Home Assistant with it's timezone, so the Blueprint was sending the info with no transformation, to the panel.
From v4.0, the time reference still coming from HA (or optionally from a time server), but is calculated in ESPHome, which will try to detect the timezone from the server.
From v4.3.3 or later, the time still calculated on ESPHome side, however, you can select the timezone on the Blueprint, making this customization obsolete.
If your system is not showing the time in the correct timezone, it's probabily ESPHome not succeeding on finding your time zone.
You can easily force a timezone by adding this to your ESPHome settings:
```yaml
time:
- id:!extend time_provider
timezone:"America/Cancun"
```
### Compiling ESPHome on lower powered machines
For systems with lower CPU or memory capabilities, like an RPi 3 or systems with less than 2GB of RAM, this could help preventing errors caused by lack of resources when compiling ESPHome firmware.
More datails on the [ESPHome docs](https://esphome.io/changelog/2022.11.0.html#running-esphome-on-lower-powered-machines).
```yaml
# Limit the amount of resources used for compiling
esphome:
compile_process_limit:1
```
### Sleep & Wake-up buttons
There are several ways to wake-up or put your panel to sleep, but in this example we tried a simple approach by adding two buttons (you can implement only one of those if you want):
```yaml
button:
# Adds a button to put the panel to sleep
- name:Sleep
id:force_sleep
platform:template
icon:mdi:sleep
on_press:
then:
- logger.log:Button Sleep pressed
- lambda:|-
goto_page->execute("screensaver");
# Adds a button to wake-up the panel (similar to the existing service)
- name:Wake-up
id:force_wake_up
platform:template
icon:mdi:alarm
on_press:
then:
- logger.log:Button Wake-up pressed
- lambda:|-
if (current_page->state == "screensaver") id(disp1).goto_page(id(wakeup_page_name).state.c_str());
// timer_page->execute(); // enable this if you want page timeout to be reset
timer_sleep->execute();
timer_dim->execute();
```
### Set display as a light
You can set your display as a light in Home Assistant, so you can control the brightness and turn on/off just like any other light,
and even use this in your automation to control when your panel is on with the same automation you use for your lights:
```yaml
light:
# Add the display as a light in Home Assistant
- name:Display
id:display_light
icon:mdi:tablet-dashboard
platform:monochromatic
output:display_output
default_transition_length:0s
on_turn_on:
then:
- lambda:|-
ESP_LOGD("light.display_light", "Turn-on");
if (current_page->state == "screensaver") disp1->goto_page(wakeup_page_name->state.c_str());
timer_reset_all->execute();
on_turn_off:
then:
- lambda:|-
ESP_LOGD("light.display_light", "Turn-off");
goto_page->execute("screensaver");
output:
# Output required by `display_light` to send the commands to Nextion
} else if (display_light->current_values.is_on()) {
auto call = display_light->turn_off();
call.set_brightness(0);
call.perform();
}
}
```
### Scheduled actions
Although ESPHome doesn't have a Scheduler component, it is possible to use the timer to schedule actions and this is entirely managed in the device,
so it will work even if Home Assistant and/or the Wi-Fi are unavailable.
Following some examples:
#### Scheduled relay
```yaml
# Scheduled relay
time:
- id:!extend time_provider
on_time:
- hours:7
minutes:30
seconds:0
then:
- switch.turn_on:relay_1
- hours:12
minutes:15
seconds:0
then:
- switch.turn_off:relay_1
- hours:19
minutes:0
seconds:0
then:
- switch.turn_on:relay_1
- hours:23
minutes:30
seconds:0
then:
- switch.turn_off:relay_1
```
#### Scheduled climate
> [!NOTE]
> This requires add-on climate to be installed
```yaml
# Scheduled climate
time:
- id:!extend time_provider
on_time:
- hours:7
minutes:0
seconds:0
then:
- climate.control:
id:thermostat_embedded
mode:auto
target_temperature:22°C
- hours:19
minutes:0
seconds:0
then:
- climate.control:
id:thermostat_embedded
mode:auto
target_temperature:20°C
- hours:23
minutes:0
seconds:0
then:
- climate.control:
id:thermostat_embedded
mode:auto
target_temperature:18°C
```
### Frameworks
> [!IMPORTANT]
> When switching between frameworks, make sure to update the device with a serial cable as the partition table is different between the two frameworks
as [OTA Update Component](https://esphome.io/components/ota) updates will not change the partition table. While it will appear to work, the device will boot the old framework after a reset.
This project currently uses `esp-idf` as default framework.
You can overlap the settings with this customization.
> [!NOTE]
> For more info about frameworks, please visit [ESPHome docs](https://esphome.io/components/esp32).
`esp-idf` is maintained by EspressIF and is kept updated,
more boards are supported and the memory management is better, making it ideal if you wanna customize your panel to support memory consumption functionalities,
like `bluetooth_proxy` or [Improv](https://www.improv-wifi.com/). Consequently, this project uses `esp-idf` as the default framework since `v4.3`.
However, the `arduino` protocol still very popular and, therefore, more components are available and the project allows to switch between the frameworks
by adding the following lines in your panel's yaml file.
#### Framework `arduino`
```yaml
# Change framework to `arduino`
esp32:
framework:
type:arduino
```
#### Framework `esp-idf`
```yaml
# Change framework to `esp-idf`
# (should not be required)
esp32:
framework:
type:esp-idf
```
### Bluetooth Proxy
Please refer to the "[Add-on: Bluetooth Proxy](addon_bluetooth_proxy.md)" guide.
### BLE Tracker
Please refer to the "[Add-on: BLE Tracker Proxy](addon_ble_tracker.md)" guide.
### Logger via UART
By default, the logging via hardware UART is disable in this project.
You can enable it by setting the baud rate accordingly to your interface:
```yaml
# Enable hardware UART serial logging
logger:
baud_rate:115200
```
### Climate custom presets
```yaml
# Add custom presets to your climate (heat in this example)
You can configure a local fallback relay to integrate with Home Assistant.
This is particularly useful for devices like WiFi-connected lights.
For instance, you can program it to cut the power to a connected light under certain conditions, directly via a switch.
#### Use Case
One application, as utilized by @tikismoke and detailed in [#1349](https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/1349), is in response to fluctuating energy prices.
When the energy price is high, an automation can change the fallback mode to cut off the relay.
This ensures that the bulb does not consume energy in standby mode. However, it will still function normally with `light.toggle` from the blueprint in all other cases.
Local control is reinstated when the power price returns to normal.
On the next switch activation, the relay turns `on`, powering up the bulb.
Subsequent activations will trigger `light.toggle` from the blueprint, as this functionality is already embedded in the ESPHome YAML code.
> [!NOTE]
> In this scenario, the bulb must be set to turn `on` automatically when power is restored.
```yaml
# Expose relay local control switch to Home Assistant
This is using ESPHome capability to prevents the two relays to be active at the same time, which could be useful in some cases,
like to control a cover like discussed in [#965](https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/965).
> [!ATTENTION]
> There are some considerations about using software interlocking on the [ESPHome GPIO Switch documentation](https://esphome.io/components/switch/gpio.html#interlocking).
Please read that carefully to understand what this is doing.
```yaml
switch:
# Prevents the two relays to be on simultaneously
- id:!extend relay_1
interlock:[relay_1, relay_2]
interlock_wait_time:500ms # Please adjust this accordingly
- id:!extend relay_2
interlock:[relay_1, relay_2]
interlock_wait_time:500ms # Please adjust this accordingly
```
### Remove non-essential components
This can be useful to free-up memory, so other custom components could be used instead.
```yaml
# Removes captive portal
captive_portal:!remove
# Removes embedded web server
web_server:!remove
```
### Restart with 15s button press
This could be used to have an easy way to restart your panel locally in addition to the [reset pin in the bottom of your panel](pics/eu_reset_button.png).
```yaml
binary_sensor:
# Restarts the Nextion display after pressing and holding the left button for 15s
- id:!extend left_button
on_multi_click:
- timing:
- ONfor at least 15.0s
invalid_cooldown:${invalid_cooldown}
then:# Restart the display
- switch.turn_off:screen_power
- delay:5s
- switch.turn_on:screen_power
- delay:2s
- lambda:disp1->soft_reset();
- delay:2s
- script.execute:setup_sequence
# Restarts ESPHome after pressing and holding the right button for 15s
# Guide to Using Different Versions of This Project
## Introduction
This guide provides instructions on how to switch between different versions for each component of this project:
Blueprint, ESPHome, and Nextion TFT, allowing users to access development (`dev`), beta, or previous versions.
<!-- markdownlint-disable MD028 -->
> [!WARNING]
> Use non-main versions at your own risk. Only the `main`/latest release is officially supported.
> [!IMPORTANT]
> Ensure all three components (Blueprint, ESPHome, TFT) are synchronized at the same version for system stability.
<!-- markdownlint-enable MD028 -->
## Suggested Update Order
1.**ESPHome**: Start with ESPHome for its straightforward update process.
2.**TFT**: Then proceed with Nextion TFT.
3.**Blueprint**: Finally, update Blueprint, as it requires more manual effort and careful handling.
## Finding Available Versions
For available versions and branches, visit: [NSPanel_HA_Blueprint Tags](https://github.com/Blackymas/NSPanel_HA_Blueprint/tags).
Take note of the branch (`dev`, `beta`, or `main`) or version name exactly as it is published, as this is case-sensitive.
> [!NOTE]
> **Understanding Tags in GitHub**
> Tags on GitHub mark specific versions of a project, akin to bookmarks.
They're created for each new release, allowing easy access to different project stages.
### Special Versions
- **dev**: The development version, containing the latest code but potentially unstable.
- **beta**: The pre-release version, more stable than `dev` but still undergoing final testing.
- **main**: The default latest version, where you will find the most recent release code.
> [!NOTE]
> When using `dev` or `beta`, report findings in the [issues](https://github.com/Blackymas/NSPanel_HA_Blueprint/issues) section, clearly stating the version.
>
> **Please do not report issues related to old released versions.**
## Instructions
### For ESPHome Component
1. Open your device's YAML config and find the key `ref:`, which is under `remote_package:` in the `packages:` area:
> Please refer to this guide for setting the framework properly: [Change framework](customization.md#frameworks)
> [!WARNING]
> Older versions of the components may not be compatible with the latest ESPHome compiler or Home Assistant.
>
> Ensure you are using a compatible version of Home Assistant and the compiler when working with older project versions to avoid potential issues.
> You can use our [Version compatibility matrix](version_compatibility.md) to identify the minimum requirement per version as a reference for possible version incompatibility,
> although we don't have a register of the "Maximum version" supported.
<!-- markdownlint-enable MD028 -->
### For Nextion TFT Component
The instructions to upload TFT will vary depending on the version you are installing and the framework you are using.
#### v4.2 or later (if you are using ESP-IDF) or v4.2.5 or later (if you are using Arduino)
1. Go to your device's page under **Settings** > **Devices & Services** > **ESPHome**.
2. On the **Configuration** group, press **Update TFT display** and wait for the upload to complete. The system will automatically find the right TFT file for the ESPHome version you are running.
#### v4.1 or earlier (in either case) or v4.2.4 or earlier (if you are using Arduino)
1. On the GitHub repository, click on your chosen version name on the [NSPanel_HA_Blueprint Tags](https://github.com/Blackymas/NSPanel_HA_Blueprint/tags) list, then select the tab **Code**.
2. Double-check that the correct version is shown below the repository name:
The most common cases for compiling errors are related to build files needing to be cleaned up and the lack of resources on your ESPHome compiler host.
These are our suggestions for both cases:
## Clean-up build files
Go to your ESPHome Dashboard, click the 3-dot menu related to your device and then "**Clean Build Files**":
1. First, please check the available memory of the ESPHome compiler host. 4GB of memory are recommended if you are installing ESPHome as a Home Assistant add-on.
Therefore, a RasPi 4 with 4GB RAM is the minimum if you are using a Raspberry Pi.
A manual installation requires at least 2GB of memory and 500MB of swap space or 3GB of memory.
With less memory the compiler will crash!
2. Add the following to your device's YAML to reduce resource usage (this may slow down the compilation process):
```yaml
# Limit the amount of resources used for compiling
esphome:
compile_process_limit: 1
```
> [!TIP]
> Place this in a dedicated customization section in your YAML for easier maintenance,
similar to [this example](https://github.com/Blackymas/NSPanel_HA_Blueprint/blob/main/docs/customization.md#instructions).
3. Restart your host system, not just Home Assistant. Use the advanced options to **Reboot system**, which also restarts add-ons and can free up memory.
4. Temporarily stop non-essential add-ons in Home Assistant, especially resource-intensive ones like Studio Code Server.
5. [Clean up build files](#clean-up-build-files)
6. Try compiling again.
7. After completion, restart your host system to reactivate the stopped add-ons.
### Compile Using Your Computer
1. Install ESPHome on your computer (Windows, Mac, or Linux) following this guide: [Installing ESPHome Manually](https://esphome.io/guides/installing_esphome.html).
2. With ESPHome installed locally, you can use the ESPHome Dashboard or the [ESPHome Command Line Interface](https://esphome.io/guides/cli.html#command-line-interface) for compilation.
When your panel starts, a number of different things needs to be set and the ESPHome must establish connection to the Nextion display used by your panel
and also to your Home Assistant, which will provide the proper settings required by your panel.
If everything goes right, the boot page will be shown for just a few seconds, then the wake-up page will be shown.
If something happens during this process, your panel may get stuck on this page.
In many cases, restarting your panel can resolve the issue, but if it is still showing the boot page after a reboot, this guide may help you.
Understanding what is shown on the boot page can be useful to find the cause of the problem or when you are looking for help.

### What is shown on the screen
#### Initializing or IP address
In the top, you will see the message "Initializing..." while the display is executing it's boot sequence or waiting for a connection from ESPHome.
Once ESPHome is connected to both the display and the Wi-Fi network, that text will be replace by the IP address, which can be useful for troubleshooting.
#### Baud rate (bps)
On the top right corner, it's shown the baud rate used by the display to communicate to ESPHome.
By default, all the communication should happens at 115200 bps, but as 921600 bps is also supported, the display will alternate between these 2 rates every 30 seconds until ESPHome gets connected.
#### Framework
Right bellow the baud rate information, you may see the framework used by ESPHome, which is either `esp-idf` (default for new installations) or `arduino` (default for installations prior v4.1.4).
That information will be available only when ESPHome establishes communication with the display.
If you cannot see that information after a couple of seconds then you may have an issue on the communication between ESPHome and the display (explained later).
#### Versions
Here you may see the version of TFT, ESPHome and Blueprint used by this project.
If some of those versions are not shown, you can have an indication of where a possible communication issue is.
- **TFT** version will always be shown, as that is part of the display itself.
- **ESPHome** version will be shown as soon the ESPHome establishes the communication with the display.
- **Blueprint** version requires both ESPHome and the Blueprint (in Home Assistant) to establish communication to be shown.
In normal situation, all the versions should be displayed and should be the same. Different patch versions are supported.
#### Reboot button
You can use this button to force a reboot of your panel. This button is available when ESPHome establishes communication with the display.
## Common issues
### ESPHome cannot establish communication to your panel's Nextion display
**Symptoms:** The ESPHome version (and other info) won't be shown in the boot page.
<!-- markdownlint-disable MD013 MD033 -->
| Possible causes | Suggestions |
| :-- | :-- |
| You may have an older version of ESPHome installed or ESPHome is not installed. | Make sure you have the latest version of ESPHome and flash your device again. |
| Baud rate mismatch. | The default baud rate for this project is 115200 bps, however your device might be set with a different baud rate. Use the baud rate selector under your device's page to adjust to the same baud rate as the display, then change it back to 115200 bps, which will instruct the display to start using that. |
<!-- markdownlint-enable MD013 MD033 -->
### Blueprint is not detected
**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:

In some cases you can also see duplicate entities on the device's page in Home Assistant, and some of these entities may have the `entity_id` ending with `_2`, `_3`, etc.
| You may have an older version of the blueprint installed or the blueprint isn't installed into your Home Assistant. | [Install the blueprint](https://my.home-assistant.io/redirect/blueprint_import/?blueprint_url=https%3A%2F%2Fgithub.com%2FBlackymas%2FNSPanel_HA_Blueprint%2Fblob%2Fmain%2Fnspanel_blueprint.yaml).<br>[Update the blueprint](howto.md#update-blueprint).|
| You don't have an automation created using the blueprint. | On Home Assistant, go to **Settings** --> **Automations & Scenes** --> **Blueprints** --> **NSPanel Configuration** --> **CREATE AUTOMATION** and follow the [instructions to setup your automation](blueprint.md).<br>**Attention!!** You need one automation per panel, if you have more than one panel set. |
| Your panel is not selected in the automation. | Open the automation related to your panel and make sure the right device is set on the **NSPanel device** field. |
| Your panel's connection to Home Assistant may have issues.<br>This could be from an invalid entity Id (e.g. ending with `_2`), or some service missing registration. | Reconnect the Panel's device to Home Assistant:<br>1. Go to **Settings** --> **Devices & Services** --> **ESPHome**<br>2. Delete the device<br>3. Restart Home Assistant host<br>4. Go back to **Settings** --> **Devices & Services**<br>5. Click **Add integration**<br>6. Select **ESPHome**<br>7. Enter your panel's hostname or IP address.|
<!-- markdownlint-enable MD013 MD033 -->
## Additional Tips and Resources
After troubleshooting, if issues persist, consult the [Issues](https://github.com/Blackymas/NSPanel_HA_Blueprint/issues) and feel free to create a new one asking for more personalized assistance.
Please share as much info as possible, like:
1. Describing (or a picture of) what is on your screen
2. Are you updating from a previous version of this project, or you coming from another NSPanel customization (which one?) or are you customizing for the first time a panel with the original Sonoff settings?
3. Please share the ESPHome logs from when your panel starts to the moment the upload fails.
4. Describe what you have already tried.
## Important note
Remember, these steps are a guideline and might vary slightly based on your specific setup and previously installed system.
> These instructions are for updating a panel where an older version of these files are already installed.
1. Go to ***Settings --> Devices & Services --> Integrations***, select the display under the ESPHome integration.
2. Select the "**Update TFT Display - Model**" accordingly, under **Configuration**.
3. Press the button "**Update TFT Display**".
4. The display starts the update process and then restarts.
## Notification via HA
To show a notification on the NSPanel, the following service call can be used:
```yaml
service:esphome.panelname_notification_show
data:
label:Example label text
message:Example message text
```
> [!NOTE]
> For more details about this service call, please refer to our [API documentation](api.md#notification-show-service-notification_show).
To clear any notifications, the following service call can be used:
```yaml
service:esphome.panelname_notification_clear
```
> [!NOTE]
> For more details about this service call, please refer to our [API documentation](api.md#notification-clear-service-notification_clear).
To use the notifications in an automation, again simply use the service call as shown in the example below:
```yaml
description:""
mode:single
trigger:
- platform:state
entity_id:
- binary_sensor.motion_detector
to:"on"
condition:[]
action:
- service:esphome.panelname_notification_show
data:
label:Motion Detected
message:Example for a Notification on the Panel Screen
```
## Climate control with Relays
> [!ATTENTION]
> Although these instructions are still valid, since v4.0 there is a better way to setup a climate control using the panel's relays an the [add-on climate](addon_climate.md),
> which will continue to work even if Home Assistant and/or WiFi are not available.
> You probably only want to use this approach, if you are not using the build-in thermometer.
In order to use the NSPanel to control a radiator or underfloor heating, at least one Generic Thermostat must be created in the HA.
More information can be found here: https://www.home-assistant.io/integrations/generic_thermostat/
Example configuration Generic Thermostat:
```yaml
climate:
- platform:generic_thermostat
name:Study
heater:switch.study_heater## Wenn das NSPanel Relays den Heizkreis Regler schaltet, kann dieses hier definiert werden
target_sensor:sensor.study_temperature## Hier kann der NSPanel Sensor verwendet werden
min_temp:15
max_temp:21
ac_mode:false
target_temp:17
cold_tolerance:0.3
hot_tolerance:0
min_cycle_duration:
seconds:5
keep_alive:
minutes:3
initial_hvac_mode:"off"
away_temp:16
precision:0.1
```
Afterwards, the climate.entity must be assigned accordingly in the panel configuration.
## Call a Page Directly
In user-created automations within Home Assistant, there are scenarios where you might want to automatically display a specific page on your device's screen.
The following services enable this functionality:
### Basic Pages
To open a specific page, you can utilize the `esphome.xxxxxx_command` service.
Here's an example that demonstrates how to open the `home` page:
```yaml
service:esphome.xxxxx_command
data:
cmd:page home
```
Currently, the following pages can be accessed using this method:
-`buttonpage01`
-`buttonpage02`
-`buttonpage03`
-`buttonpage04`
-`entitypage01`
-`entitypage02`
-`entitypage03`
-`entitypage04`
-`home`
-`qrcode`
-`screensaver`
-`utilities`
For instance, to directly navigate to button page 2, replace `home` in the command with `buttonpage02`:
```yaml
service:esphome.xxxxx_command
data:
cmd:page buttonpage02
```
> [!NOTE]
> For more details about this service call, please refer to our [API documentation](api.md#command-service-command).
### Entity-Specific Pages
For entity-specific pages, a more detailed call is required as it involves specifying the entity.
You can use the service `esphome.xxxxx_entity_details_show` as shown in the following example:
```yaml
service:esphome.xxxxx_entity_details_show
data:
entity_id:climate.my_thermostat
back_page:buttonpage01
```
> [!NOTE]
> For more details about this service call, please refer to our [API documentation](api.md#entity-details-show-service-entity_details_show).
### Wake-up Page
You may have configured a specific **Wake-up page** on your device.
This page is automatically displayed after the device boots up or wakes up from sleep mode (such as the `screensaver` page).
To open this page, you have two options:
1. Directly call the page if it is one of the [Basic pages](#basic-pages).
2. Use the `esphome.xxxxx_wake_up` service as follows:
```yaml
service: esphome.xxxxx_wake_up
data:
reset_timer: true
```
The `reset_timer` parameter allows you to control the **Timeout sleep timer**.
Setting it to `true` resets the timer, while `false` continues counting down from the current value.
The **Wake-up** service differs from a normal page call in that it only opens the wake-up page if the panel is in sleep mode.
If the panel is already active, the current page remains displayed.
This feature is particularly useful in conjunction with a motion sensor to wake up your panel automatically.
By repeatedly calling this service whenever motion is detected, the panel can be either woken up or have its sleep timeout timer reset (if `reset_timer` is set to `true`).
> [!NOTE]
> For more details about this service call, please refer to our [API documentation](api.md#wake-up-service-wake_up).
## Play RTTTL Sound
HA can send a RTTTL to the NSPanel, custom melodies are possible.
The use this function, the following service is called: `rtttl_play`
You can find many RTTTL strings on the web, the important thing is that they must start with the name and then a colon.
Here is an example:
```txt
The Simpsons:d=4,o=5,b=160:c.6,e6,f#6,8a6,g.6,e6,c6,8a,8f#,8f#,8f#,2g,8p,8p,8f#,8f#,8f#,8g,a#.,8c6,8c6,8c6,c6
More information: https://esphome.io/components/rtttl.html#common-beeps
More songs: https://codebender.cc/sketch:109888#RTTTL%20Songs.ino
> [!NOTE]
> For more details about this service call, please refer to our [API documentation](api.md#rtttl-play-service-rtttl_play).
## Start Automations via Input_Boolean
Although the NSPanel can execute scripts directly over the buttons, there is also the possibility of starting automations directly by the means of Input_Boolean.
For this, a helper must first be created under ***Settings --> Devices&Services --> Helpers***
Now add the created Input_Boolean as a trigger in the desired automation under State.
In the last step, assign the trigger to a button in the Panel Config.
## Updating Wi-Fi settings and OTA Passwords in ESPHome with This Project
### Overview
When you update your Wi-Fi password in a device with firmware from our project,
it's important to remember that the `wifi_password` substitution is used for both Wi-Fi and OTA updates (and a few more places that are not relevant now).
Failing to update both simultaneously can lead to connection issues.
### Step-by-Step Guide
1. **Prepare Your Device for Update**
- Ensure your device is connected to your computer and is accessible via your current Wi-Fi network.
2. **Update OTA Password First**
- Open your panel's YAML.
- Add the following in the customization area:
```yaml
esphome:
on_boot:
- priority: 600
then:
- lambda: |-
id(my_ota).set_auth_password("Your new Wi-Fi password");
ota:
password: "Your current Wi-Fi password"
id: my_ota
```
- Flash your device.
It will use the current password for this flash and will inform your device to start using the new password for the next OTA.
- When your device starts, **remove the lines above**.
- Find the `wifi_ssid` and `wifi_password` key in the `substitutions` area (usually at the beginning of the file) and change it to your new Wi-Fi password.
If that is point to `!secret`, you will have to edit it in your `secrets.yaml` file instead.
- Flash your device again with the updated YAML.
It will use the current Wi-Fi to connect to your device and the new Wi-Fi password as the OTA password, then will inform your device to connect to the Wi-Fi with the new settings.
3.**Update Wi-Fi Settings in Your Access Point**
### Important Notes
- The device will still be using the old Wi-Fi settings for this update.
If you've already changed your Wi-Fi network settings, this step will fail.
- **Troubleshooting: Unable to Connect via Wi-Fi**
- If your device cannot connect to Wi-Fi due to a password or SSID change, you will need to flash the device via a serial connection.
- Connect your device to your computer using a USB-to-Serial adapter.
- Use the ESPHome flasher tool to upload the new configuration.
- In this case, don't worry about the OTA password, as it's not required when flashing via serial.
### Verify the Update
- Once the new configuration is uploaded, your device should automatically connect to your Wi-Fi network with the new settings.
- Verify that OTA updates are working with the new password.
### Additional Tips
- **Backup Your Configuration:** Always keep a backup of your ESPHome configuration files.
- **Network Accessibility:** Ensure your device remains within your Wi-Fi network's range during the update process.
- **Serial Flashing:** Familiarize yourself with the process of flashing via serial, as it's a reliable fallback method.
### Conclusion
By carefully updating both your Wi-Fi settings and OTA passwords in your ESPHome configuration, you can avoid connection issues.
Remember to always back up your configuration and be prepared to use a serial connection if Wi-Fi connectivity is lost.
Welcome to this setup guide, a community-driven approach to integrating NSPanel into your smart home.
This guide is designed to be user-friendly, aiming to assist users who have a basic understanding of Home Assistant and ESPHome.
While it's crafted to be accessible at all levels, a foundational knowledge in smart home automation will help you make the most of it.
Whether you're taking your first steps in customizing your smart home or you're an enthusiast looking to further personalize your setup, this guide provides essential tools and instructions.
Let’s embark on this journey together to create a smart home that’s uniquely yours.
<!-- markdownlint-disable MD028 -->
> [!TIP]
> For troubleshooting TFT transfer issues, the most popular topic for new users, please consult our [TFT Transfer Troubleshooting Guide](tft_upload.md).
> [!NOTE]
> We encourage users with absolute beginner-level knowledge in Home Assistant, ESPHome, or YAML editing to familiarize themselves with the basics of these platforms.
> Our community is here to support, but please note that this guide may not cover the fundamental aspects of Home Assistant and ESPHome extensively.
> [!NOTE]
> Some images or instructions on this guide might be slighly different due to different configurations depending on your ESPHome and Home Assistant implementation or versions.
>
> If you find something that is not understandable or needs to be updated, please let us know.
> You can create an issue reporting this, or fix it yourself and submit a [Pull Request](https://github.com/Blackymas/NSPanel_HA_Blueprint/pulls) to this repository.
<!-- markdownlint-enable MD028 -->
## Summary
- [Preparation](#preparation)
- [ESPHome Firmware](#esphome-firmware)
- [Preparing the ESPHome Environment](#preparing-the-esphome-environment)
- [Setting Up a Device on ESPHome Dashboard](#setting-up-a-device-on-esphome-dashboard)
- [Flashing the Device for the First Time](#flashing-the-device-for-the-first-time)
- [Integrating Your Panel to Home Assistant](#integrating-your-panel-to-home-assistant)
- [Making Changes Over The Air (OTA)](#making-changes-over-the-air-ota)
- [Updating Your NSPanel Firmware](#updating-your-nspanel-firmware)
- [Migrating from Other Custom Firmware](#migrating-from-other-custom-firmware)
- [Upload TFT](#upload-tft)
- [Select the Right File](#select-the-right-file)
- [Uploading to Nextion](#uploading-to-nextion)
- [Troubleshooting TFT Transfer Issues](#troubleshooting-tft-transfer-issues)
- [Blueprint](#blueprint)
- [Importing the Blueprint](#importing-the-blueprint)
- [Creating an Automation](#creating-an-automation)
- [How to Handle Multiple Panels](#how-to-handle-multiple-panels)
- [Advanced Configuration for ESPHome and Home Assistant Experts](#advanced-configuration-for-esphome-and-home-assistant-experts)
- [Additional Tips and Resources](#additional-tips-and-resources)
------
## Preparation
Start by ensuring you have all the necessary tools and files.
This includes your NSPanel device, a stable internet connection, and access to your Home Assistant instance.
If flashing it for the first time, please look for additional preparation and tools on the
[Flashing the device for the first time](#flashing-the-device-for-the-first-time) section later in this guide.
## ESPHome Firmware
### Preparing the ESPHome Environment
To flash your NSPanel, ESPHome firmware is required.
ESPHome can be integrated into your setup in various ways, including as a Home Assistant add-on or through a local installation on your computer.
This guide is based on using the ESPHome dashboard, which is available in all standard implementations.
> [!NOTE]
> 4GB of memory are recommended if you are installing ESPHome as a Home Assistant add-on.
Therefore, a RasPi 4 with 4GB RAM is the minimum if you are using a Raspberry Pi.
A manual installation requires at least 2GB of memory and 500MB of swap space or 3GB of memory.
With less memory the compiler will crash!
- **Installing ESPHome as a Home Assistant Add-On**: For seamless integration with Home Assistant, ESPHome can be installed as an add-on.
This method provides an easy-to-navigate interface and direct integration with your Home Assistant setup.
For detailed instructions on this installation method, refer to [Getting Started with ESPHome and Home Assistant](https://esphome.io/guides/getting_started_hassio).
- **Manual Installation of ESPHome**: A manual installation on your computer might be preferred
if your Home Assistant's host is resource-limited and struggles with compiling ESPHome projects.
Standalone installations on a normal computer typically offer faster and more efficient compiling.
This method is ideal if you're working with a system that doesn't support Home Assistant add-ons or if you prefer a separate management environment for your ESPHome devices.
Detailed steps for a manual installation can be found in the guide [Installing ESPHome Manually](https://esphome.io/guides/installing_esphome.html).
### Setting Up a Device on ESPHome Dashboard
Follow these steps to add a new device in the ESPHome Dashboard:
1. Click the **+ New Device** button.
2. Enter a unique name for your new ESPHome device.
10. For Wi-Fi credentials, use `!secret` for added security or input them directly.
Learn about secrets in ESPHome: [Home Assistant Secrets in ESPHome](https://www.youtube.com/watch?v=eW4vKDeHh7Y).
11. (Optional) Adjust `nextion_update_url` to the URL of a TFT file hosted on an HTTP or HTTPS server,
ensuring that the file is accessible to the NSPanel.
This URL will be used by ESPHome to download the TFT file to your panel.
For more information on hosting the TFT file and setting up the URL, see the [Upload TFT](#upload-tft) section.
> [!CAUTION]
> **Prefer HTTP over HTTPS for File Transfer**
> While you might encounter examples using HTTPS in URLs for file transfer,
> it is strongly recommended to use HTTP, especially when employing the `arduino` framework.
> The support for HTTPS in this context can be unstable,
> often leading to issues with file transfers.
12. (Optional) Enhance security with API encryption by adding the copied key from step 6 to the **My Customization** area.
> [!TIP]
> You can get a new randomly generated valid key from [ESPHome Native API Component](https://esphome.io/components/api.html#configuration-variables) page.
13. After finalizing settings, click **Save** and close the YAML window.
Your NSPanel is now configured in your ESPHome Dashboard.
### Flashing the Device for the First Time
#### Drive Safe
<!-- markdownlint-disable MD028 -->
> [!CAUTION]
> **Disconnect your panel's controller module from main power during all work.**
> Operating on an open device that's plugged into the wall puts you at risk of electrocution.
> [!WARNING]
> **You are solely responsible for your own safety.**
> If you're uncomfortable or if something feels wrong, stop immediately.
<!-- markdownlint-enable MD028 -->
- Use only electronic components rated for 3.3VDC. Ensure your TTL adapter is set to 3.3VDC. Exceeding this voltage can cause permanent damage to your panel.
- Maintain a clean work area to prevent damage to your device, especially the screen.
- Keep all small parts, like screws and cables, safely stored.
#### Required Tools
For first-time flashing of your NSPanel with ESPHome, you may need:
- If you're **updating** your panel, the **Wirelessly** option is typically the right choice.
This method will compile and transfer the firmware directly to your panel over Wi-Fi.
- For **initial installations** or updates via a USB-to-Serial TTL adapter, select either **Plug into this computer** or **Manual download**.
Both these options will compile the firmware and prompt you to download it to your computer.
4. **Transfer Firmware via USB-to-Serial TTL:**
- Navigate to [ESPHome Web](https://web.esphome.io/) on your computer.
- Click **Connect** and choose the serial interface connected to your USB-to-Serial TTL adapter.

- Once connected, opt to install an existing firmware to your panel.
Select the compiled firmware file and initiate the installation.
The firmware installation process will take a few minutes.
After completion, reassemble your panel and mount it back on the wall.
Power it up, and it should appear online in the ESPHome Dashboard within a couple of minutes, running the latest firmware.
### Integrating your panel to Home Assistant
Once your panel loaded the new ESPHome firmware, it should be automatically detected by Home Assistant and you should get a notification about that.
If that isn't happnening, you can manually add it as a new intgration with the following steps:
> [!TIP]
> You can use [this link](https://my.home-assistant.io/redirect/config_flow_start/?domain=esphome)
> to go directly to the dialog to add a new ESPHome device,
> then you can go directly to step 3.
1. Go to your [ESPHome integration's page](https://my.home-assistant.io/redirect/integration/?domain=esphome) under **Settings** > **Devices & Services** > **ESPHome**.
2. If your panel is automatically discovered, just click **Configure**, otherwise, click on **Add device**.
3. Enter your new panel's hostname or IP address and click **Next**.
4. Follow the instructions from your Home Assistant to add your new panel.
After that, you will have access to the **Device's page** related to your NSPanel.
On that page you will find all the entities published by the ESPHome firmware installed in your panel,
which can be use to see it's status and control some of it's settings.
It might take a minute or two until the device's page gets fully populated, but when that is completed, take a look around and get familiar with that page.
You can always get back to the device's page under your [ESPHome integration's page](https://my.home-assistant.io/redirect/integration/?domain=esphome).
### Making Changes Over The Air (OTA)
Once your NSPanel is flashed with ESPHome, updating the firmware wirelessly via Over The Air (OTA) updates is a straightforward process.
This method eliminates the need for a USB-to-serial TTL adapter for most firmware updates.
#### Steps for OTA Updates
1. After making your changes in the yaml editor, click the **Install** button located at the top of the editor.
Alternatively, you can click the three-dot menu next to your device on the ESPHome Dashboard and select **Install**.
3. Choose the first option to transfer the firmware **Wirelessly**.
ESPHome will compile the firmware with the new settings and automatically transfer it to your device via Wi-Fi.
- The compilation and transfer process may take a few minutes.
- Once complete, your panel will restart automatically with the new firmware.
Using OTA for firmware updates is a time-efficient way to keep your NSPanel updated with the latest changes and enhancements, ensuring a smooth and hassle-free user experience.
### Updating Your NSPanel Firmware
Regularly updating your NSPanel firmware ensures that you have the latest features and improvements from this project and ESPHome.
To update your device's firmware to the latest version, simply follow the [Steps for OTA Updates](#steps-for-ota-updates) as outlined above.
> [!IMPORTANT]
> This project comprises three integral parts: ESPHome, the TFT file, and the Blueprint.
> It is crucial that all three components are updated to the same version to ensure compatibility and optimal performance.
> When updating the ESPHome firmware, make sure to also update the TFT file and the Blueprint to the corresponding version.
Keeping each component of the NSPanel HA Blueprint in sync with the same version enhances the stability and functionality of your smart panel.
### Migrating from other custom firmware
The installation in a NSPanel with Sonoff's original firmware should be straighforward, however,
if you have installed some other custom firmware before, you may have additional steps to execute.
#### NSPanel Lovelace UI
If you have already installed on your NSPanel the "nspanel-lovelace-ui" firmware from @joBr99 or from Tasmota, an [intermediate step](lovelace_ui.md) is necessary.
Please execute that first before returning here.
#### Other
Please try the standard process and if you find any issue,
please [create a new issue](https://github.com/Blackymas/NSPanel_HA_Blueprint/issues) and inform
which custom firmware you have installed before migrating to NSPanel HA Blueprint.
## Upload TFT
The NSPanel utilizes a Nextion display, which is equipped with its own controller, memory, and firmware.
This setup enables the display to render UI components and respond to commands sent from ESPHome.
The firmware and UI elements for the Nextion display are compiled into a TFT file, which needs to be loaded onto the display for proper functionality.
ESPHome manages the transfer of the TFT file to the Nextion display.
It does this by connecting to an HTTP/HTTPS server, downloading the required TFT file, and then transferring it to the display.
This process is crucial for updating or changing the UI and functionality of the display.
In our GitHub repository, you can find all the necessary TFT files for this project, catering to different models of the NSPanel.
These files are specifically designed to work with the various functionalities and features provided in each update of the NSPanel HA Blueprint.
Make sure to select and upload the correct TFT file corresponding to your specific model of NSPanel to ensure smooth operation and access to all the latest features.
> [!TIP]
> For troubleshooting TFT transfer issues, consult our [TFT Transfer Troubleshooting Guide](tft_upload.md).
### Select the right file
Open the device's page under [ESPHome integration's page](https://my.home-assistant.io/redirect/integration/?domain=esphome)
and look for **Update TFT display** and **Update TFT display - Model** under the **Configuration** area.
- **Use `nextion_update_url`:** This will indicate ESPHome to download the TFT file from the URL
you specified in your panel's yaml setting under the ESPHome dashboard and is typically used
when your device have issues to transfer a TFT file directly from the GitHub repository or when
you want to use a custom TFT file hosted in your local server.
This is the default option and this keeps the compatibility with legacy installations when this was the only option.
- **NSPanel Blank:** This is a very small TFT file which just shows a pre-formatted QR code on the screen with a link to the instructions.
Although it's not a functional TFT for controlling your panel, it can be usefull when you have
issues in your first TFT upload, as it will remove the *Nextion Active Reparse Mode* used when
a Sonoff's TFT and also when some other custom implementations are installed.
- **NSPanel EU:** This should be used when you are using a Sonoff NSPanel EU model.
- **NSPanel US:** This should be used when you are using a Sonoff NSPanel US model installed on
it's normal (portrait) position with the buttons bellow the screen.
- **NSPanel US Landscape:** This should be used when you are using a Sonoff NSPanel US model
installed on the landscape position with the buttons at the right side of the screen.
- **NSPanel EU (CJK languages):** This should be used when you are using a Sonoff NSPanel EU model
and want to use the CJK (Chinese/Japanese/Korean) languages.
- **NSPanel US (CJK languages):** This should be used when you are using a Sonoff NSPanel US model
installed on it's normal (portrait) position with the buttons bellow the screen,
and want to use the CJK (Chinese/Japanese/Korean) languages.
- **NSPanel US Landscape (CJK languages):** This should be used when you are using a Sonoff NSPanel US model
installed on the landscape position with the buttons at the right side of the screen,
and want to use the CJK (Chinese/Japanese/Korean) languages.
### Uploading to Nextion
Once the right model is selected, please press the button **Update TFT display**.
In a few seconds your display should start transferring the file correspondent to the selected model.
The transfer screen shows a progress bar with a percentage counter with a black background.
If the transfer don't starts in a few seconds, ESPHome will retry automatically a few times, with different transfer parameters, so the transfer can take up to a minute to start.
Once started, the transfer shouldn't take more than 10 to 20 minutes. If after this time it isn't close to finnish, please cancel the process by restarting your device, then try it again.
> [!TIP]
> For troubleshooting TFT transfer issues, consult our [TFT Transfer Troubleshooting Guide](tft_upload.md).
### Troubleshooting TFT transfer issues
We have an useful guide for [troubleshooting TFT transfer issues](tft_upload.md). Please take a look there.
## Blueprint
This section provides guidance on importing the NSPanel HA Blueprint from our GitHub repository into your Home Assistant,
creating a new automation for your panel setup, and updating the blueprint when new versions are available.
These processes are straightforward with the latest versions of Home Assistant.
If you have any questions or need clarification, please reach out to us.
### Importing the Blueprint
Importing the blueprint into Home Assistant is a simple process. Just click the button below and follow the steps:
<!-- markdownlint-disable MD013 -->
[](https://my.home-assistant.io/redirect/blueprint_import/?blueprint_url=https%3A%2F%2Fgithub.com%2FBlackymas%2FNSPanel_HA_Blueprint%2Fblob%2Fmain%2Fnspanel_blueprint.yaml)
<!-- markdownlint-enable MD013 -->
### Creating an Automation
After importing the Blueprint into Home Assistant, create a new automation using these steps:
1. Go to [**Settings** → **Automations & Scenes** → **Blueprints**](https://my.home-assistant.io/redirect/blueprints/) in Home Assistant.
2. Find the **NSPanel Configuration** Blueprint and click on it.
3. In the Blueprint settings, select your panel in the **NSPanel device** field.
4. Complete the relevant settings and click the **Save** button.
5. Name your automation for easy identification and click **Rename**.

> [!TIP]
> For a comprehensive list of panel settings, refer to the [Blueprint Guide](blueprint.md).
### Editing Automation Settings
You can modify your automation anytime to change configurations:
1. In Home Assistant, go to **Settings** → **Automations & Scenes**. Or use the link below.
[](https://my.home-assistant.io/redirect/automations/)
2. Find your automation in the list and click on it to edit.
3. After making changes, click **Save**. The new settings will be sent to your panel, usually within seconds. Some changes may require a page reload on the panel to appear.
> [!TIP]
> For a comprehensive list of panel settings, refer to the [Blueprint Guide](blueprint.md).
## How to Handle Multiple Panels
For homes with multiple panels:
1. Repeat the steps in the "Blueprint" section for each panel.
2. Ensure each panel has a unique entry in the ESPHome Dashboard and in Home Assistant under **Settings** → **Devices & Services** → **ESPHome**.
3. Create a separate automation for each panel in Home Assistant.
> [!IMPORTANT]
> Avoid assigning the same panel to multiple automations.
> This can cause unexpected behavior and put extra load on Home Assistant and your Wi-Fi network.
> Currently, Home Assistant does not have a mechanism to prevent this.
## Advanced Configuration for ESPHome and Home Assistant Experts
> [!WARNING]
> Customizations and advanced mode are not supported by this project's team. Use them with caution and only if you have the necessary expertise.
Before customizing your system, we encourage you to share any enhancements you make.
Consider creating a [Pull Request](https://github.com/Blackymas/NSPanel_HA_Blueprint/pulls) to the `dev` branch to share your discoveries with the community.
### Advanced ESPHome Configuration
For advanced customization with ESPHome, start with "Customizations."
We have a dedicated page for this, and your contributions are welcome: [Customization](customization.md).
To use a local copy of `nspanel_esphome.yaml`, copy the file from GitHub to your local file system and include it in your ESPHome settings as follows:
> For troubleshooting TFT transfer issues, consult our [TFT Transfer Troubleshooting Guide](tft_upload.md) first.
If problems persist after troubleshooting, visit the [Issues](https://github.com/Blackymas/NSPanel_HA_Blueprint/issues) page.
Feel free to create a new issue for personalized assistance, providing details such as:
1. A description or picture of what is displayed on your screen.
2. Information on whether you are updating from a previous version of this project, migrating from another NSPanel customization, or customizing a panel with the original Sonoff settings.
3. ESPHome logs from the start of your panel to the point where the upload fails.
4. A description of what you have already tried.
## Important Note
Remember, these instructions serve as a guideline and may vary based on your specific setup and any systems previously installed.
This document applies to users trying to migrate from **NsPanel Lovelace UI**, which is another customization for NSPanel which is available for Tasmota or ESPHome.
If you are coming from there, you have to chose one of the 3 options:
- [Upload TFT using this project's tools](#upload-tft-using-this-projects-tools)
## Updating TFT
### Common steps
1. Download the file [`nspanel_blank.tft`](../hmi/nspanel_blank.tft) from our GitHub repository.
2. Upload the same file (`nspanel_blank.tft`) to the folder _**"www"**_ in your Home Assistant
3. Double check if the file is available by trying to download it using your local url (typically [`http://homeassistant.local:8123/local/nspanel_blank.tft`](http://homeassistant.local:8123/local/nspanel_blank.tft)).
### Upload TFT using **NsPanel Lovelace UI** tools - ESPHome version
After following the [**Common steps**](#common-steps), follow the additional steps:
1. On Home Assistant, go to _**"Developer tools --> Services"**_ and search there for the service named "**ESPHome: DEVICE_NAME_upload_tft**" or `esphome.<<device_name>>_upload_tft`.
2. On the field `URL`, enter the url for your local `nspanel_blank.tft` file (typically `http://homeassistant.local:8123/local/nspanel_blank.tft`).
3. Press the button **CALL SERVICE**
If everything goes right, you will see the progress bar indicating the file transfer an you will end up with a black screen showing a QR code. Then please follow the instructions from [here](nspanel_blank.md#what-to-do-after-installing-nspanel_blanktft).
### Upload TFT using **NsPanel Lovelace UI** tools - Tasmota version
After following the [**Common steps**](#common-steps),
use the instructions from [**NsPanel Lovelace UI** - Flash Firmware to Nextion Screen](https://docs.nspanel.pky.eu/stable/prepare_nspanel/#flash-firmware-to-nextion-screen) website to upload TFT,
just replacing the file url by the one you have locally (typically `http://homeassistant.local:8123/local/nspanel_blank.tft`).
If everything goes right, you will see the progress bar indicating the file transfer an you will end up with a black screen showing a QR code. Then please follow the instructions from [here](nspanel_blank.md#what-to-do-after-installing-nspanel_blanktft).
### Upload TFT using this project's tools
If you have already installed the ESPHome firmware from this project, this is probably your better option now.
After following the [**Common steps**](#common-steps), follow the additional steps:
1. On your panel's screen showing a ring and a message "Wait for content...", click 9 times in the center of the ring.

3. Click on the button "disable recmod"
4. Click on the button "bauds=115200"
5. On Home Assistant, go to _**"Developer tools --> Services"**_ and search there for the service named "**ESPHome: DEVICE_NAME_upload_tft**" or `esphome.<<device_name>>_upload_tft`.
6. On the field `URL`, enter the url for your local `nspanel_blank.tft` file (typically `http://homeassistant.local:8123/local/nspanel_blank.tft`).
7. Press the button **CALL SERVICE**
If everything goes right, you will see the progress bar indicating the file transfer an you will end up with a black screen showing a QR code. Then please follow the instructions from [here](nspanel_blank.md#what-to-do-after-installing-nspanel_blanktft).
## Additional Tips and Resources
We have an useful guide for [troubleshooting TFT transfer issues](tft_upload.md). Please take a look there first.
After troubleshooting, if issues persist, consult the [Issues](https://github.com/Blackymas/NSPanel_HA_Blueprint/issues) and feel free to create a new one asking for more personalized assistance.
Please share as much info as possible, like:
1. Describing (or a picture of) what is in your screen
2. Are updating from a previous version of this same project, or coming from another NSPanel customization (which one?) or customizing for the first time a panel with original Sonoff settings?
3. Please share the ESPHome logs from when your panel starts to the moment the upload fails.
4. Describe what you have already tried.
## Important note
Remember, these steps are a guideline and might vary slightly based on your specific setup and previously installed system.
Some files were not shown because too many files have changed in this diff
Show More
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.