github Blackymas/NSPanel_HA_Blueprint v4.2
v4.2 - Multi-Alarm Control, Dual Thermostat Functionality, and More

latest releases: v4.3.12, stable, latest...
10 months ago

Support this project

As always, we would like to thank everyone who donated to this project and remind you that every donation helps to support this project
So if you haven't made a donation yet, now would be a good time ;)

Paypal

General

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.
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.
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:

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:

    ##### 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:

image

Important

Long text with bigger fonts may exceed the limit of space reserved for this with incomplete information shown.

4. Select icon size for button's pages

You can also select the size of the icons on the buttos pages:

image

image

image

5. Support to CJK languages (experimental)

You will find 3 new TFT files on the repository for the CJK languages.
These files are considerably bigger, as the fonts requires more memory, but it should work fine in your panel.

Warning

This is an experimental feature and may contain bugs or some areas missing translations.
Please report if you find anything.

6. Improved TFT transfer

TFT file selectors (ESP-IDF framework required)

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.

image

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:

  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.
  2. Scroll to the ADVANCED SETTINGS section at the end.
  3. From the menu, select your desired action - either Toggle or Trigger.
  4. 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.

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).

What's Next?

Discover what's next and what we are working on right now in our Milestones

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
  • And to all users who helped with the tests during development and beta.

Previous releases

Don't miss a new NSPanel_HA_Blueprint release

NewReleases is sending notifications on new releases.