Sonoff NSPanel Blueprint - Configure your own custom NSPanel easy via a Blueprint

Nice to hear that. Thanks for sharing your solution. :slightly_smiling_face:

Just wondering…why we shouldn’t update at higher speeds? Is it that esp can’t cope? I mean - when i played with bear nextion panel once i uploaded from my pc with 921600. And what is first and second baudrate? Is update going directly from Ha to nextion or is temporarily stored in nspanel’s memory?
Update of whole lcd takes really long time… luckily small corrections are updated as “changes only” i guess, since it usually starts at around 80% (if i made some small correction in nextion program).

It should work fine with 921600bps, which is the default rate for this project, however, if you are facing issues with the transfer, changing baud rate is something to try… :wink:

1 Like

First of all: Thanks for everyone’s work on this project! Its incredible how far its come.

I am having trouble updating from 4.3.9. I get this strange termination without a lot of information. Any idea what I’m doing wrong?

Your compiler is crashing. The most common reason for this is the lack of RAM in your computer.

We have some suggestions here: NSPanel_HA_Blueprint/docs/error_compiling.md at e146b1f35dfe38cd8d2da90828695f8a37865b0c · Blackymas/NSPanel_HA_Blueprint · GitHub

Please let me know if any of those helps.

Great work. Now I have a small Home Assistant control panel that I can customize in many ways. I have a US version of NSPanel and it works perfectly. Thank you very much for sharing your work. Greetings from Colombia.

1 Like

Invalid encryption key

Hello everyone,

I’m still at the beginning with HomeAssistant but I’m working through with instructions like this.

I wanted to add an NS panel via BluePrint and flashed it according to the instructions. After a few attempts, this also worked.

  1. Try completely according to instructions without API key
  2. Try with API Key in ! Secrets

I get the following error message when logging:

Invalid encryption key: received_name=nspanel
WARNING Can’t connect to ESPHome API for nspanel @ 192.168…: nspanel @
192.168…: Invalid encryption key:
Received_name=nspanel (InvalidEncryptionKeyAPIError)

-The display remains black
-It’s online in the network
-And will be displayed online in ESP Home
-No entity is available in HomeAssistant under Device Information

I have already uninstalled and reinstalled ESP Home

Does anyone have an idea what else I can do?

Thank you and best regards
Andy

Could you please share your panel’s yaml? Please remove any sensitive info before sharing.

I tried this setting

And another with this line:

api:
encryption:
key: !secret api_encryption

PS:

If I start the Install over ESP Home (OTA) it runs a time. And it ends with this Error:

INFO Successfully compiled program.
INFO Connecting to 192.168….
INFO Uploading
/data/build/nspanel/.pioenvs/nspanel/firmware.bin (1159392 bytes)
ERROR Error auth result: Error: Authentication invalid. Is the password correct?

I think I managed it. Something must have gone wrong during the flashing. After another attempt, I finally have a WiFi connection and can find the entities in ESP Home. I hope it works from now on :smiling_face:

1 Like

Thanks for the project.

I just configured public transport display using NSPanel Blueprint: https://community.home-assistant.io/t/how-to-display-public-transport-timetable-in-your-nspanel/781855

1 Like

right now im evaluating NSPanel with blueprint versus a rooted xiaomi smartclock with ha running in fully kiosk browser as a lightcontrol panel / stand next to the bed.
so far NSPanel (placed in a 3d printed case) is leading in regards of usability and response time. especially the two hardware buttons offer fast and fool proof control over ambient and spotlight.
some more features / customisation would be nice but nevertheless ihave to give a big thumbs up :+1: for the cool developers :wink:

1 Like

Does anyone one knows if it is possible to react to an specific accept button notification?

For what I read and tested, the notification text and label sensors just go to empty when the notificación is “accepted” but it doesn’t says which notification was accepted.

Hello, is there a way to not specify a wake-up page so that there is no return to the home page, for example?
After the screen saver, the last page used should be displayed again.

This is not possible with the current implementation, but please add as a enhancement request in GitHub so I can take a look at this.
It might not be that difficult to implement.

I’m getting this annoying error, not sure how to fix it :frowning:

image
running same version:
image

This could be handled by using a helper in your Home Assistant automations to keep track of the latest notification sent.

That is what I am doing, I save the latest label and check when it goes to empty string.

Although I do not like that I need to use the label for it, but it works!

v4.3.12 - Hotfix for Incorrect Timezone Calculation Issues

This hotfix addresses critical issues with timezone handling on the NSPanel, specifically with POSIX string handling in ESP-IDF v4.4 and resolving an error in the propagation of timezone selection from the Blueprint to ESPHome. These fixes ensure accurate and consistent time display, fully synchronized with Home Assistant.

Fix for Incorrect Time Display Due to Timezone Handling (#2363, #2304)

  • Criticality: Critical
  • Affected Components: ESPHome, Blueprint
  • Issue Numbers: #2363, #2304
  • Description: Resolved issues where the NSPanel displayed incorrect time due to an inverted timezone offset, affecting users with time discrepancies between the panel and Home Assistant. The fix includes improvements in the propagation of timezone settings from the Blueprint, ensuring the home page accurately reflects the configured timezone.
1 Like

Hi, thank you very much for this blueprint. Really nice setup for the NS Panel. Coming from lovelace ui, but this is so much better. :slight_smile:
How is it possible to open up the display settings on the Panel himself?