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`
# Welcome to the contributing guide <!-- omit in toc -->
Thank you for investing your time in contributing to our project! Any contribution you make could be reflected on the final solution and make lots of other users happy. :sparkles:.
Please read [GitHub/docs Code of Conduct](https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md) to keep our community approachable and respectable.
In this guide you will get an overview of the contribution workflow from opening an issue, creating a PR, reviewing, and merging the PR.
## New contributor guide
To get an overview of the project, read the [README](README.md) and play around the [Wiki pages](https://github.com/Blackymas/NSPanel_HA_Blueprint/wiki).
Here are some resources to help you get started with open source contributions:
- [Collaborating with pull requests](https://docs.github.com/en/github/collaborating-with-pull-requests)
### Issues
#### Create a new issue
If you spot a problem with the blueprint, the ESPHome or the visualization in the screen, [search if an issue already exists](https://github.com/Blackymas/NSPanel_HA_Blueprint/issues). If a related issue doesn't exist, please open a new one.
#### Solve an issue
Scan through our [existing issues](https://github.com/Blackymas/NSPanel_HA_Blueprint/issues) to find one that interests you. As a general rule, we don’t assign issues to anyone. If you find an issue to work on, you are welcome to open a PR with a fix.
## Contributing
#### Make changes
1. Fork the repository.
2. Create a working branch based on the `dev` branch and start with your changes!
- When proposing a change, think about all users. Some thinks to remember:
- Support both EU and US models
- Support to translations (add new strings in English to all languages if needed, but let us know in your comments, so we can ask the community to help with the translations)
- Avoid breaking changes (anything changing the current behaviour) and document when you cannot avoid it. Let us know, so we can add to the release notes.
### Commit your update
Commit the changes once you are happy with them. Don't forget to self review to speed up the review process:zap:.
### Pull Request
When you're finished with the changes, create a pull request, also known as a PR.
- Make sure your pull request is using the `dev` branch as the base branch. PRs to the `main` branch will be rejected.
- Provide detailed information about what you are trying to change, why you want to change that, any breaking change, translations needed, etc.
- Don't forget to [link PR to issue](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue) if you are solving one.
- Enable the checkbox to [allow maintainer edits](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/allowing-changes-to-a-pull-request-branch-created-from-a-fork) so the branch can be updated for a merge.
Once you submit your PR, a team member will review your proposal. We may ask questions or request additional information.
- We may ask for changes to be made before a PR can be merged, either using [suggested changes](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/incorporating-feedback-in-your-pull-request) or pull request comments. You can apply suggested changes directly through the UI. You can make any other changes in your fork, then commit them to your branch.
- As you update your PR and apply changes, mark each conversation as [resolved](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/commenting-on-a-pull-request#resolving-conversations).
- If you run into any merge issues, checkout this [git tutorial](https://github.com/skills/resolve-merge-conflicts) to help you resolve merge conflicts and other issues.
### Your PR is merged!
Congratulations :tada::tada: The community thanks you :sparkles:.
Once your PR is merged, your contributions will be publicly visible.
And welcome to the Lovelace Horizon Card contributors community!
[](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.
### *That means you don't have to customize any code or change any lines in the code.*
## Table of Contents
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.
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!!!!* ;)
## 🌟 Project Highlights
📕 Full documentation and installation is available here [NSPanel Configuration, Setup and HowTo](https://github.com/Blackymas/NSPanel_HA_Blueprint/wiki).
- **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!
📌 Step by Step - [Setup and Overview Video´s](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)
💥 Please move pull request to DEV branch and not to main branch - thanks!
🙋 WE ARE LOOKING FOR YOU! _**We are always looking for people who would like to support this project. We are looking for help with "programming new features, writing documentation or translating documentation to EN. If you are interested then please contact us :)**_
- 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 Forecast
-5 days Weather Forecast via swipe (Integration Accuweather - but should also go with other integrations)
-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)
Hello everyone! Our latest update introduces a range of enhancements designed to elevate your experience with the firmware.
This update is focused on improving user interaction, featuring a more intuitive TFT upload process and expanded customization options.
Key enhancements include upgraded functionality for Alarm Control Panels & Thermostats and new personalization features on the Home page.
We're enthusiastic about our ongoing work to [make the NSPanel firmware more user-friendly and accessible](https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/1602).
This release marks significant progress in this direction, with improvements such as the
streamlined TFT upload process and initial steps towards adopting `esp-idf` as the default framework.
Additionally, our documentation has been revamped for greater clarity and user-friendliness.
Expect more user-centric updates coming your way soon!
Dive into the details below to see how these changes can enhance your daily use of NSPanel.
We value your feedback and are eager to hear your thoughts!
### Upcoming Change: Switching to ESP-IDF Framework by March 2024
We have some important updates for our community – by March 2024, we're moving to the **ESP-IDF** as our standard framework.
This shift aims to significantly boost the memory capacity on the ESP, allowing for the addition of new features and broader customizations.
There's ample time before this transition takes place, so no need to hurry.
When it's time to switch, flashing your device using a serial cable will be necessary, similar to the initial custom firmware setup.
For those who might need a serial firmware installation before March,
trying out `esp-idf` earlier could be a beneficial move towards adapting to future developments.
If you're unable to switch by March or if serial flashing isn't an option for you,
the `arduino` framework will still be available for Over-The-Air (OTA) updates.
For detailed guidance on framework customization, check out our [customization documentation](https://github.com/Blackymas/NSPanel_HA_Blueprint/blob/main/docs/customization.md).
We're dedicated to facilitating a smooth transition and are here to assist with any queries or concerns.
## Updating
Updates may come with changes on the blueprint inputs and we highly recommend you review your settings and make sure all fields have the correct selection.
We did our best to support your legacy settings and avoid breaking your system, but please double check your settings if you see something not working as expected.
### Files that need to be reloaded
1. nspanel_eu.tft, nspanel_us.tft or nspanel_us_land.tft - v4.2
2. nspanel_esphome.yaml - v4.2
3. nspanel_blueprint.yaml - v4.2
### Instructions
*You can find the update procedures following here:*
- [How To - All important thing you should know - Update](https://github.com/Blackymas/NSPanel_HA_Blueprint/blob/main/docs/howto.md#update-blueprint)
## Breaking changes
1.**The `background` parameter in the `esphome.xxxxx_set_component_color` service is now deprecated.**
2.**On the home and climate pages, the button layout has changed.**
This adjustment was made to incorporate additional custom buttons on the home page and new target temperature indicators on the climate page.
3.**Wi-Fi power save mode has been reset to `NONE` as the default setting.**
This was the standard up to v4.0. We switched it in v4.1 to accommodate Bluetooth components.
However, since this feature isn't widely used, we're reverting to the original setting.
For Bluetooth usage, you should manually set a different mode, such as `LIGHT`, as shown in the customization example below:
```yaml
##### My customization - Start #####
# Enable Bluetooth proxy
bluetooth_proxy:
# Set Wi-Fi power save mode to "LIGHT" as required for Bluetooth on ESP32
wifi:
power_save_mode: LIGHT
##### My customization - End #####
```
4. **The default baud rate for advanced mode has been reverted to 115200 bps** to resolve issues that arise when rendering button pages.
5. **ESPHome v2023.12.0 has been established as the minimum required version** to ensure optimal performance and compatibility, particularly with the recent developments in the Nextion component.
6. **The Alarm section in the blueprint settings has been removed.** All configurations previously made in this section have been automatically transferred to custom button 07.
7. **Documentation in German is no longer maintained.** This change allows us to more efficiently update and maintain the remaining documentation.
8. **Reversion to "Toggle" as default action for automation entities on buttons.**
In this update, we have reverted the default action for button presses on automation. entities back to "Toggle".
This change reverses the adjustment made in version 4.1, where "Trigger" was set as the default action.
**Impact:**
- **Default Behavior:** With this reversion, pressing a button linked to an automation entity will now enable or disable the automation, as it did prior to version 4.1.
- **Consistency and Familiarity:** This change aims to align with user expectations and maintain consistency in the user experience.
- **Customization Still Available:** Users still have the option to manually set "Trigger" as the action for their `automation.` entities, as per their preference.
We understand that changes in default settings can impact your workflows.
We appreciate your understanding as we strive to balance new features with the familiarity and stability of the user experience.
9. **Advanced mode no longer enforces a specific framework.**
In the past, the enforcement of framework changes by the advanced mode could inadvertently result in users switching frameworks during OTA updates.
This practice was not recommended due to the potential for errors.
10. **Alarm page cannot be used as wake-up page.**
As multiple alarms are supported now, the system don't know which one to show on the wake-up.
11. **Refinement of Icon Presentation**
In our continuous pursuit to refine the user experience, we've embarked on standardizing the presentation of icons across various pages.
This initiative may lead to noticeable changes in icon appearance and behavior,
encompassing aspects like the introduction of new colors for alarms, lights, climate icons,
and the adoption of fresh icon designs.
Our aim with these modifications is to establish a default presentation that adheres to a unified standard,
enhancing both consistency and user experience across the platform.
While this approach simplifies the overall design,
it still preserves a degree of customization through blueprint settings.
The complexity of managing icon colors, especially for items with multi-state attributes like alarm control panels,
climate controls, and lights with adjustable brightness and color, has prompted us to rethink our approach.
The current version implements domain-based colors for multi-state items, with specific states for alarms and climate being hard-coded.
We're exploring ways to offer user-selectable colors for these states in future updates.
The new color logic is as follows:
- For the `off` state: Icons will be displayed in **gray**.
- For states other than `off`:
- For alarms and climate: Each state will have a specific, hard-coded color for immediate recognition.
- For lights: If supported, the icon will reflect the light's RGB color, proportionally dimmed to match its brightness.
- For other domains: Icons will be displayed in **white**.
This transition towards a more standardized icon presentation is a step forward in enhancing
the interface's intuitiveness while balancing it with the flexibility of customization.
We understand this change might be an adjustment from previous versions,
but our goal is to streamline the experience without compromising the essence of personalization.
12. ***Action required:* Reset your wake-up page selection.**
We've enhanced the wake-up page functionality for improved consistency after power cycles.
Previously, the system didn't remember your selection following a power outage.
With our latest update, this issue has been resolved.
However, this improvement requires you to reselect your wake-up page one more time.
Thanks for your cooperation in making these settings more reliable for everyday use.
## Overview of noteworthy changes
1. Standardized entity icons
2. Additional custom buttons on Home page
3. Outdoor temperature selectable font size
4. Select icon size for button's pages
5. Support to CJK languages (experimental)
6. Improved TFT transfer
7. Multiple Alarm Control Panels
8. Support to `remote`
9. Home page chips now supports covers
10. Chips can be inverted
11. Add swipe control to screensaver page
12. Enhanced control for automation entities on buttons
13. Dual thermostat controller support (add-on)
14. Dual thermostat display
15. Enhanced timeout flexibility for Sleep, Page fallback, and Dimming settings
16. Display time on the `screensaver` page
## Details of noteworthy changes
### 1. Standardized entity icons
The engine for defining the icons to be shown and it's color was standardize between all the pages, so now you may see a more consistent User's Interface.
We've upgraded the icon definition engine to standardize the appearance and color of icons across all pages.
This enhancement leads to a more consistent and harmonious user interface.
Expect a unified visual experience that aligns the look and feel of icons throughout the system, contributing to improved navigation and aesthetic appeal.
### 2. Additional custom buttons on Home page
It's that simple, now you have 7 buttons where used to be 3.
Well, where used to be 4, as the space previously used by the Alarm button is now a custom button. 😉
### 3. Outdoor temperature selectable font size
Now you can select the font size of your outdoor temperature display:
We still working on the Upload TFT engine to make it easier for new and for experienced users.
Now, together with the **Update TFT Display** button, you will find also **Update TFT Display - Model** and **Update TFT Display - Branch** (disabled by default)
where you can select the different model you are using and the upload URL will be automatically adjusted to donwload the file directly from the repository on GitHub,
making this process much easier and removing the need of flashing your device every time you want to play with another TFT file or install the `nspanel_blank.tft`.
If you have issues with the remote file and want to transfer it from your local server just as before, simply select **Use nextion_update_url** in **Update TFT Display - Model**.
And you also can use the `esphome.xxxxx_upload_tft_url` service to upload using an alternative URL without the need of flash your panel again.
#### Alternative baud rate for TFT uploads
You can select an alternative baud rate for your TFT uploads.
This allows faster TFT uploads and also supports displays previously set with baud rates not supported by this project (currently 115200 bps and 921600 bps).
In most cases, this would be set for a higher value to enable faster TFT transfer.
The default is 921600 bps, the maximum supported by Nextion displays.
You can also use this if you have issues with TFT transfer and want to try a lower baud rate as in some rare cases Nextion will automatically set itself to 9600 bps.
To enable an alternative upload TFT baud rate, add the desired value in your substitutions like this:
```yaml
upload_tft_baud_rate: "9600"
```
If an invalid value is entered, 115200 bps will be used.
The default value for this substitution (in case it is not set by users) will be 921600 bps.
During a TFT transfer, the system will always fall back to the standard baud rate (115200 bps) if other tentatives fails.
### 7. Multiple Alarm Control Panels
Now alarm control panel entities can be assigned to chips and custom buttons in the Home page,
but also to hardware buttons, any of the buttons pages or entities pages, similarly to other domains.
### 8. Support to `remote`
Entities from the `remote` domain can now be assigned to buttons (hardware and buttons pages) and custom buttons (home and climate pages).
The service `remote.toggle` will be called when the button is pressed.
### 9. Home page chips now supports covers
That's it!
Chips now include cover visualization, allowing for easy monitoring of covers directly from the Home page.
### 10. Chips can be inverted
Chips now have an 'invert' option on the blueprint settings, providing additional customization flexibility.
### 11. Add swipe control to Screensaver page
You can now navigate to button pages from the screensaver while your panel is in sleep mode.
The swipe controls will function as they do on the Home page.
### 12. Enhanced control for automation entities on buttons
We're pleased to announce a new feature that offers users enhanced control over their smart home setups.
Now, you can globally select between **Toggle** and **Trigger** actions for button presses on automation entities.
This update allows for a more personalized and efficient control experience, tailored to your unique preferences.
#### Key features
- **Toggle:** This action will enable or disable the automation.
It is set as the default option.
- **Trigger:** This action will execute the automation regardless of its current state, providing more flexibility.
#### How to use
1. Access your configuration for automation under **Services** > **Automations & Scenes**.
Select the automation associated with your panel setup.
1. Scroll to the **ADVANCED SETTINGS** section at the end.
1. From the menu, select your desired action - either **Toggle** or **Trigger**.
1. Apply the setting.
This will then be effective across all relevant entities.
This update is specially designed to cater to diverse user needs, ensuring a more intuitive and responsive smart home experience.
### 13. Dual thermostat controller support (add-on)
This new add-on enables the NSPanel to manage both heating and cooling systems simultaneously, utilizing its dual relay functionality.
#### Key Benefits
- **Versatility:** Users can now configure their NSPanel to control both a heater and a cooler, offering increased flexibility in home temperature management.
- **Efficiency:** With the ability to control both heating and cooling systems, the NSPanel can more effectively maintain desired temperatures, potentially leading to energy savings.
- **User Experience:** This update simplifies the user interface by integrating control of both systems into one panel, making it easier to manage home climate.
#### Implementation Details
- The dual thermostat controller functionality allows the NSPanel to utilize both of its relays for separate heating and cooling control.
Users can configure their heating and cooling settings independently, providing a tailored climate control experience.
- The update is designed to be intuitive and user-friendly, ensuring a seamless transition for existing NSPanel users.
- Additional Documentation: For detailed instructions and configurations, refer to the updated [add-on climate documentation](docs/addon_climate.md).
> [!NOTE]
> This feature enhances the capabilities of the NSPanel without compromising its existing functionalities.
> Users who previously used the NSPanel for single-mode (either heating or cooling) control can
> now explore dual-mode options for a more comprehensive climate control solution.
### 14. Enhanced Climate Page for Dual Thermostat Control
Leveraging the capabilities introduced with the Dual Thermostat Controller add-on,
the existing climate page has been upgraded to support systems with dual temperature settings.
This enhancement allows users to effectively manage thermostats that require both heating and cooling target temperatures, directly from the NSPanel's interface.
While originally developed to complement the new add-on,
this refined climate page also seamlessly extends its functionality to existing thermostats with dual set capabilities,
offering a more versatile and comprehensive climate control experience.
### 15. Enhanced timeout flexibility for Sleep, Page fallback, and Dimming settings
We have improved the functionality of our system by enhancing the timeout flexibility for Sleep, Page Fallback, and Dimming settings.
The previous timeout limit of 300 seconds has been significantly expanded, offering users more control and customization options for these specific features.
This enhancement allows for a wider range of use cases, catering to the needs of those who require extended periods for these settings,
while still maintaining the option for shorter durations.
### 16. Display time on the `screensaver` page
In this release, we're excited to introduce a new feature that adds a display time function to the Screensaver page.
With this update, our screensaver not only serves its primary purpose of saving screen energy but also doubles as an informative display,
reflecting our commitment to creating practical, user-friendly solutions.
You can enable this feature on the bueprint settings, at the **CUSTOM CONFIGURATION** section (almost at the end).
You also have to set **Display Brightness Sleep** at the device's page (**Settings** > **Devices & Services** > **ESPHome**).
## Patch v4.2.1
This patch introduces minor updates aimed at enhancing the user experience and improving documentation.
Below you'll find a detailed list of the changes.
While this update is designed to integrate smoothly with existing v4.2 components,
we recommend updating all components to this latest version for the best performance.
**Overview of Changes:**
| Change | Criticality | Affected Components |
| :-- | :--: | :--: |
| Resolved issue with the dimming feature not activating when button is held (#1599) | Minor | `Blueprint` |
| Added "Clean Build Files" step to the update instructions for clarity (#1601) | Minor | `Documentation` |
**Key Improvements:**
- **Dimming Feature Fix**: Addressed an issue where the long press in the buttons was not responding as expected,
ensuring smoother light control from your panel.
- **Updated Documentation**: Enhanced our update instructions to include a "Clean Build Files" step,
providing clearer guidance for a more efficient update process.
## Patch v4.2.2
This update focuses on enhancing user customization, improving data management, and addressing a range of issues from minor to critical in our system.
Our commitment is to continuously enhance the usability, stability, and efficiency of your panel.
> [!IMPORTANT]
> **Breaking Change**: This patch requires Home Assistant v2023.12.0 or higher to ensure compatibility with new enhancements.
> Please update your Home Assistant installation before applying this patch.
We encourage all users to update their components to this latest version for the best experience.
While this update is compatible with existing v4.2 components, it offers optimized performance and usability when fully updated.
**Overview of Changes:**
| Change | Criticality | Affected Components |
| :-- | :--: | :--: |
| Fix Climate page not working with embedded climate (#1627) | Critical | `ESPHome` |
| Fix weather pages crashing when Home Assistant OS is not used (#1630) | Medium | `Blueprint` |
| Correct Wi-Fi reference in QR code example (#1609) | Minor | `Documentation` |
| Resolve incorrect labelling on entity pages (#1628) | Minor | `Blueprint` |
| Address lights with no brightness in 'supported_features' (#1633) | Minor | `Blueprint` |
| Enable dynamic icons based on device_class (#1635) | Enhancement | `Blueprint` |
**Key Improvements:**
- **Fix for Climate Page Not Working**: Resolved a critical issue with the climate page not functioning properly when using embedded climate controls (#1627).
This fix enhances system stability and user interaction with climate features.
- **Fix for Weather Pages Crashing**: Addressed an issue causing weather pages to crash when Home Assistant Operating System (HAOS) is not used (#1630).
This fix ensures stability and reliability of weather-related features across various Home Assistant installation modes, such as containerized installations and other setups.
- **Wi-Fi Reference Update in QR Code Example**: Updated the Wi-Fi reference in the QR code example (#1609) to prevent user errors during system setup.
This documentation change aids in clearer guidance for configuring connections.
- **Entity Pages Configuration Labeling**: Corrected the labeling of options in the blueprint for entity page configuration (#1628).
This fix ensures that the labels accurately reflect the behavior on the pages, enhancing the configuration experience.
- **Handling Lights Without Brightness Feature**: Improved handling of information for lights that lack brightness control in 'supported_features' (#1633).
This update resolves the issue of incorrectly displaying brightness levels (as "0%") for lights that do not support brightness adjustment, ensuring more accurate display of buttons.
- **ISO8601 Date Formatting**: Introduced ISO8601 date formatting (#1610) to improve date readability and consistency in the user interface.
- **Dynamic Icons Using Device Class**: Upgraded dynamic icons to utilize device_class (#1635), offering a more intuitive and context-aware UI.
For support, feedback, or detailed information about this update,
or our [online documentation](https://github.com/Blackymas/NSPanel_HA_Blueprint/blob/main/docs/README.md).
Special thanks to @PaulAntonDeen and @illuzn for their invaluable contributions to these enhancements.
Your feedback and support are crucial to our continuous improvement.
## Patch v4.2.3
This release focuses on targeted bug fixes and enhancements to enhance system stability and functionality.
Major updates include a critical fix for an issue where the panel was getting warmer,
potentially affecting temperature measurements, and resolving a crash issue associated with climate entity rendering.
Additionally, this update introduces new Dutch/Italian date formats for improved localization,
and addresses a minor display issue with the battery indicator on cover pages.
> [!IMPORTANT]
> **Breaking Change**: If you are using the [Customization "Set display as a light"](https://github.com/Blackymas/NSPanel_HA_Blueprint/blob/main/docs/customization.md#set-display-as-a-light),
> please update the code related to the extension to `script`/`set_brightness` as the global variable `display_last_brightness` was replaced by the new sensor `current_brightness`.
We highly recommend all users update their components to this latest version for an optimized and enhanced user experience.
While this update is compatible with existing v4.2 components, fully updating ensures the best performance and usability.
**Overview of Changes:**
<!-- markdownlint-disable MD013 MD033 -->
| Change | Criticality | Affected Components |
| :-- | :--: | :--: |
| Fix device temperature gap since v4.2 (#1620) | Critical | `Blueprint`<br>`ESPHome`<br>`TFT` |
| Fix crash when rendering a climate entity with no `hvac_action` (#1647) | Critical | `Blueprint` |
| Fix battery indicator not showing on cover pages (#1661) | Minor | `Blueprint` |
| Add Dutch/Italian date format (#1658) | Enhancement | `Blueprint` |
<!-- markdownlint-enable MD013 MD033 -->
**Key Improvements:**
- **Fix for Device Temperature Gap**: Resolved a critical issue with the panel getting warmer on v4.2, potentially affecting its temperature measurements.
- **Fix for Crash When Rendering Climate Entities**: Resolves a critical issue where the blueprint was crashing when trying to render icons for climate entities with no `hvac_action` attributes,
preventing pages from being fully loaded.
- **Fix for Battery Indicator**: Addressed the issue where the battery indicator was not displayed correctly on cover pages.
- **Add Dutch/Italian Date Format**: Expanding the existing pre-listed date formats, we've added the **Weekday, DD-MM (ex. "Friday, 22-03")** format.
This enhancement caters to our Dutch and Italian users, adding a touch of local flair to their experience.
A special thanks to the community for their support and contributions, particularly @andythomas for his useful, informative, and visually appealing temperature trend plots.
Your efforts greatly aid in enhancing the quality of our project.
For support, feedback, or detailed information about this update,
or our [online documentation](https://github.com/Blackymas/NSPanel_HA_Blueprint/blob/main/docs/README.md).
## 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=title&state=open).
## Special thanks to
- @bluefoxlee:
- For the CJK fonts and all the support with #1359
- Update T.Chinese translation and Zi fonts, #1453
- Update CJK fonts and T.Chinese translation, #1532
- Update CJK character set for future reference, #1589
- @Floppe - Fix entity pages labels, #1455
- @tikismoke - Customization guide: Exposing relay fallback switch to Home Assistant, #1537
- @andythomas:
- Allow to set upper and lower set points for embedded thermostat, #1573
- Bugfix for embedded climate/cool functionality, #1587
- @PaulAntonDeen:
- Add ISO8601 date formatting as an option, #1610 - Patch v4.2.2
- Fix Wi-Fi reference on QR code example, #1609 - Patch v4.2.2
- @illuzn:
- Fix for Lights with no brightness supported_features, #1633 - Patch v4.2.2
- Implement dynamic icons and use device_class, #1635 - Patch v4.2.2
- Fixes the incorrect labelling of the entity pages alignment, #1628 - Patch v4.2.2
- @bkbartk - Add Dutch/Italian date format, #1658 - Patch v4.2.3
- And to all users who helped with the tests during development and beta.
## Previous releases
- [v4.2.2 - Bug fixes and minor enhancements](https://github.com/Blackymas/NSPanel_HA_Blueprint/releases/tag/v4.2.2)
//The following code is only run once when power on, and is generally used for global variable definition and power on initialization data
int sys0=0,sys1=0,sys2=0,swipex=0,swipey=0,swipex2=0,swipey2=0,swipec=0,swipec2=0,swipedx=100,swipedy=100 //At present, the definition of global variable only supports 4-byte signed integer (int), and other types of global quantity declaration are not supported. If you want to use string type, you can use variable control in the page to implement
int r=0,g=0,b=0
int h=0,s=0,v=0
int p=0,q=0,t=0,f=0
bauds=115200//Configure baudrat
recmod=0//Serial data parsing mode:0-Passive mode;1-Active mod
printh 00 00 00 ff ff ff 88 ff ff ff//Output power on information to serial pore
lcd_dev fffb 0002 0000 0020// Fix touch offset for EU Version
printh 92
prints "nspanelevent",0
printh 00
prints "{\"page\": \"\", \"component\": \"\", \"value\": \"\"}",0
printh 00
printh FF FF FF
page 8//Power on start page boot
Program.s
//The following code is only run once when power on, and is generally used for global variable definition and power on initialization data
int sys0=0,sys1=0,sys2=0,swipex=0,swipey=0,swipex2=0,swipey2=0,swipec=0,swipec2=0,swipedx=100,swipedy=100 //At present, the definition of global variable only supports 4-byte signed integer (int), and other types of global quantity declaration are not supported. If you want to use string type, you can use variable control in the page to implement
int r=0,g=0,b=0
int h=0,s=0,v=0
int p=0,q=0,t=0,f=0
int back_page_id=0
int dimdelta=0
int api=0 // 0 = disconnected from HA, 1 = connected to HA
int is_entities=0,is_qrcode=0,is_notification=0
int brightness=100,brightness_dim=40,brightness_sleep=0
int display_mode=1 // 1 = EU, 2 = US, 3 = US landscape, 4 = blank
int charset=2 // 1 = International (original), 2 = CJK
//bauds=115200//Configure baudrate
recmod=0//Serial data parsing mode:0-Passive mode;1-Active mode
printh 00 00 00 ff ff ff 88 ff ff ff//Output power on information to serial port
if(display_mode==1)
{
lcd_dev fffb 0002 0000 0020// Fix touch offset for EU Version
//The following code is only run once when power on, and is generally used for global variable definition and power on initialization data
int sys0=0,sys1=0,sys2=0,swipex=0,swipey=0,swipex2=0,swipey2=0,swipec=0,swipec2=0,swipedx=100,swipedy=100 //At present, the definition of global variable only supports 4-byte signed integer (int), and other types of global quantity declaration are not supported. If you want to use string type, you can use variable control in the page to implement
int r=0,g=0,b=0
int h=0,s=0,v=0
int p=0,q=0,t=0,f=0
bauds=115200//Configure baudrat
recmod=0//Serial data parsing mode:0-Passive mode;1-Active mod
printh 00 00 00 ff ff ff 88 ff ff ff//Output power on information to serial pore
printh 92
prints "nspanelevent",0
printh 00
prints "{\"page\": \"\", \"component\": \"\", \"value\": \"\"}",0
printh 00
printh FF FF FF
page 8//Power on start page boot
Program.s
//The following code is only run once when power on, and is generally used for global variable definition and power on initialization data
int sys0=0,sys1=0,sys2=0,swipex=0,swipey=0,swipex2=0,swipey2=0,swipec=0,swipec2=0,swipedx=100,swipedy=100 //At present, the definition of global variable only supports 4-byte signed integer (int), and other types of global quantity declaration are not supported. If you want to use string type, you can use variable control in the page to implement
int r=0,g=0,b=0
int h=0,s=0,v=0
int p=0,q=0,t=0,f=0
int back_page_id=0
int dimdelta=0
int api=0 // 0 = disconnected from HA, 1 = connected to HA
int is_entities=0,is_qrcode=0,is_notification=0
int brightness=100,brightness_dim=40,brightness_sleep=0
int display_mode=2 // 1 = EU, 2 = US, 3 = US landscape, 4 = blank
int charset=2 // 1 = International (original), 2 = CJK
//bauds=115200//Configure baudrate
recmod=0//Serial data parsing mode:0-Passive mode;1-Active mode
printh 00 00 00 ff ff ff 88 ff ff ff//Output power on information to serial port
if(display_mode==1)
{
lcd_dev fffb 0002 0000 0020// Fix touch offset for EU Version
//The following code is only run once when power on, and is generally used for global variable definition and power on initialization data
int sys0=0,sys1=0,sys2=0,swipex=0,swipey=0,swipex2=0,swipey2=0,swipec=0,swipec2=0,swipedx=100,swipedy=100 //At present, the definition of global variable only supports 4-byte signed integer (int), and other types of global quantity declaration are not supported. If you want to use string type, you can use variable control in the page to implement
int r=0,g=0,b=0
int h=0,s=0,v=0
int p=0,q=0,t=0,f=0
int back_page_id=0
int dimdelta=0
int api=0 // 0 = disconnected from HA, 1 = connected to HA
int is_entities=0,is_qrcode=0,is_notification=0
int brightness=100,brightness_dim=40,brightness_sleep=0
int display_mode=3 // 1 = EU, 2 = US, 3 = US landscape, 4 = blank
int charset=2 // 1 = International (original), 2 = CJK
//bauds=115200//Configure baudrate
recmod=0//Serial data parsing mode:0-Passive mode;1-Active mode
printh 00 00 00 ff ff ff 88 ff ff ff//Output power on information to serial port
if(display_mode==1)
{
lcd_dev fffb 0002 0000 0020// Fix touch offset for EU Version
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.