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

Thanks for your response @bkbartk.
It’s workly fine on EU version.
I have missed this information.

Hello! Thank you for all your hard work on this! I got my panel up and running to replace a wink panel I was using. Is there a way to make the “home page” “button page 1”? I don’t really need the weather display, just some on screen buttons to control light groups and stuff. It would just be nice if it was always on that. Thanks!

This is not possible with the current implementation.
There is a similar request on GitHub and maybe you should provide more details about your use case on that thread: new feature request: choice of home screen · Issue #576 · Blackymas/NSPanel_HA_Blueprint · GitHub

Thanks! I’ll reply there!

1 Like

Anyone else having trouble with the device selection in the blueprint? Everytime i select something it clears the drop-down and then won’t let me select anything? It also appears to save completely blank. Wow that gif turned out bad… let me try this again.

Also interested in a PT-Br version, maybe I can help if you wanna double-check anything.

1 Like

Nice!
This is where you will find the current strings in Portuguese: https://github.com/Blackymas/NSPanel_HA_Blueprint/blob/a47d8c3fbb9c8aeca1161cdecf47d8f917554f2f/nspanel_blueprint.yaml#L4832
If you can take a look there, please let me know if something should be improved. Or if you see something weird in your panel (where you will have more context), let us know.

Obrigado!!

1 Like

I need help with translations again (for all supported languages):

Can I remove some of the button and entity pages (e.g. 3-4 removed so dots don’t show up anymore)?

Unfortunately this is not possible right now, but it would be nice if you could add this as a feature request. I’d like to take a look in a way to implement this in the future.

I decided to have a crack at this setup. I got a brand new NSPanel and got ESPHome installed as per the instructions to ESPHome 2023.7.0. I updated the TFT sucessfully, but it just hangs on the initial loading screen

The weird thing is that there are no errors in the logs aside from “Nextion reported variable name invalid!”
I have flashed the blank tft file and tried it again. It just wont get past this point. The TFT files are both local and from Github, it makes no difference.

I can however change the blueprint and it works on the NSPanel (assigning the buttons)
Any ideas ?

Hi @Enforcer, welcome to the forum.

At the point you are, ESPHome and TFT are properly installed, but the communication with the blueprint isn’t going well, so I have some questions:

  1. Have you sucesfully created an automation using the blueprint?
  2. Have you selected your panel in that automation?
  3. Have you tried restarting Home Assistant and your panel (there’s a restart button in the panel page under Settings > Devices & Services > ESPHome)
  4. Have you renamed the entities in your panel?

Hi, thanks for the reply.

  1. Yes, I have and I can make changes to the 2 buttons and they change with the blueprint settings.
  2. Yes and as mentioned the 2 buttons I configured with the blueprint to switch lights on that were not physically connected to the NSP
  3. I have rebooted, reflashed and tried hosting the tft’s local and from the Git site. I have also tried a clean ESPHome reflash.
  4. No I have not renamed anything.

The whole installation went without issues and have no problems with the flashing of esp or the tft files. The only thing that is different is it is one of the newer white NSPanels US model.

It is not making sense as the blueprint is talking to the NSPanel,
Any other ideas?

I had the same and clicked the reboot button 2 times and afterwards it worked!?

I have rebooted many times with no change.
Trawling through the logs, I see this:

Logger: homeassistant.components.automation.bed_ns_panel
Source: components/esphome/init.py:623
Integration: Automation (documentation, issues)
First occurred: July 20, 2023 at 3:05:07 PM (3310 occurrences)
Last logged: 9:25:05 AM

Bed NS Panel: Choose at step 2: choice 25: Error executing script. Unexpected error for if at pos 1: Not connected to bednspanel @ 192.168.107.147!
Bed NS Panel: Choose at step 2: choice 29: Error executing script. Unexpected error for call_service at pos 2: Not connected to bednspanel @ 192.168.107.147!
Bed NS Panel: Choose at step 2: choice 30: Error executing script. Unexpected error for call_service at pos 2: Not connected to bednspanel @ 192.168.107.147!
Bed NS Panel: Error executing script. Unexpected error for choose at pos 2: Not connected to bednspanel @ 192.168.107.147!
While executing automation automation.bed_ns_panel
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/helpers/script.py”, line 468, in _async_step
await getattr(self, handler)()
File “/usr/src/homeassistant/homeassistant/helpers/script.py”, line 703, in _async_call_service_step
response_data = await self._async_run_long_action(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/helpers/script.py”, line 665, in _async_run_long_action
return long_task.result()
^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/core.py”, line 1965, in async_call
response_data = await coro
^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/core.py”, line 2005, in _execute_service
return await cast(
^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/components/esphome/init.py”, line 623, in execute_service
await entry_data.client.execute_service(service, call.data)
File “/usr/local/lib/python3.11/site-packages/aioesphomeapi/client.py”, line 1260, in execute_service
self._check_authenticated()
File “/usr/local/lib/python3.11/site-packages/aioesphomeapi/client.py”, line 328, in _check_authenticated
self._check_connected()
File “/usr/local/lib/python3.11/site-packages/aioesphomeapi/client.py”, line 320, in _check_connected
raise APIConnectionError(f"Not connected to {self._log_name}!")
aioesphomeapi.core.APIConnectionError: Not connected to bednspanel @ 192.168.107.147!

Your logs clearly says it cannot run services as your panel is not connected. This is not related to flashing the panel or installing tft, so you can focus on the connection between Home Assistant and your panel.
Maybe if you remove your panel from Home Assistant and then add it again it could help. It could also be related to an unstable Wi-Fi.

I am planning to install an NS Panel to control the RGBW lights in my room, and I have a quick question. Is it possible to use the US version of the NS Panel with this blueprint when its laying horizontal


Like this

I’ve written a bit about the US panel on landscape mode at this thread: About panel models (EU x US x US landscape) · Blackymas/NSPanel_HA_Blueprint · Discussion #713 · GitHub

In short, you can install nspanel_eu.tft to a US model and will work with some offset in the touch and the blue representation of the status of the hardware buttons. However the hardware buttons should be to the right in order to not have the screen upside down.
It should be mounted like this (when using your own picture):

Also, take a look at this PR: Create `nspanel_us_land.tft` by edwardtfn · Pull Request #890 · Blackymas/NSPanel_HA_Blueprint · GitHub
It is about a version of the TFT file designed to US panel in landscape mode. It was already implemented into dev environment/branch and should be released to all (main branch) soon. Then the problems I’ve mentioned on that thread will be all gone.

Hello everyone,

I have been using NSPanel including Blueprint successfully for some time now. However, due to time constraints, I had only configured the homepage until now. Recently, I had some spare time and decided to work on designing the EntityPages. I managed to activate the EntityPage successfully, and the desired icon is also displaying on the panel’s homepage. However, when I click on the icon, the pages with the desired titles open, but the entities are missing. I have configured them properly and also added icons for each entity. Unfortunately, I couldn’t find any helpful information regarding this issue on either this platform or Github. I am unsure about the error log’s message and how to resolve it.

Error while executing automation automation.sondinspanel: required key not provided @ data[ent_value_xcen]

14:57:57 – (FEHLER) Automatisierung - Die Nachricht ist zum ersten Mal am 14:28:11 aufgetreten und erscheint 11 mal

sondinspanel: Main choices: NSPanel Event: NSPanel Event component changed: Page changed: Choose at step 3: Entity pages: Repeat at step 4: Error executing script. Invalid data for if at pos 1: required key not provided @ data[ent_value_xcen]

14:57:57 – (FEHLER) Automatisierung - Die Nachricht ist zum ersten Mal am 14:28:11 aufgetreten und erscheint 66 mal

Can someone please assist me with this? Any help or guidance would be greatly appreciated. Thank you.

Best regards
sondi2003

Hello,
I found out, this was unfortunately my mistake. I still had version 3.3 installed. This issue was fixed with version 3.4.
Thank you.

1 Like