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

Hi,

I was wondering whether it is possible to setup a virtual (template?) entity that can be linked to the relay hardware buttons?

Specifically, I would like the relay buttons to control two cover groups. I saw this post previously in the thread but I can’t see how to adapt it to a cover group.

You can create a template cover using the relays and then you create a normal cover group including that new entity.

Real nice blueprint. Just bought a NSP panel to do some testing.
I see that energy consumption is on the roadmap. Are there any plans to integrate the Nordpool/ENTSO energy prices (in an apex chart?).

1 Like

I recently ordered my first NSPanel and I’m extremely excited for it to arrive so I can flash it and tinker with it. The whole process looks very user-friendly; thank you for making it so accessible and offering so many options.

One thing I’m wondering: Is it also possible to display cards on the NSPanel, like on a HA dashboard? I’d love to display my to-do list, whether it’s by using the Shopping List card or a different integration.

It is using a different config, not using this Blueprint.

Just wondering, I take it that the use of these icons circled below is still a work in progress? I have used the ‘Entity Page’ section to configure two pages but they are both accessed from the single icon on the main screen. Is the plan to have more entity pages using the other icon locations?

image

Unfortunately this does not work on my panel.
The first issue I had was that copy/pasting the code from the getting started into the FileEditor on HA messes up the whole layout due to auto indent or so. Since I don’t know anything about YAML syntax it took me some time to figure out what happened. But I finally got something compiling and installed it on my EU version of the panel.
I could use the relays but was not able to upload the TFT file.
The Diagnostic kept stating “Nextion display unavailable” “disconnected” and whatever I tried nothing worked.
After a lot of testing, my panel is not responding anymore (not connecting to the wifi) and the display stays black.

Is there anything I can do to test what is going on, or do I just throw this thing in the bin ?

Update: I discovered it now connects in ESP32 wifi AP mode so I filled in my credentials (again) and the panel now connects to HomeAssistant. But it still cannot update the TFT.
I tried pressing exit reparse, before hitting the TFT upload but still not luck.

ESPHome shows the following log items regarding the nextion:

[16:22:59][W][nextion:396]: Nextion reported variable name invalid!
[16:22:59][D][nextion:762]: Removing old queue type "NO_RESULT" name "goto_page"
[16:22:59][D][nextion:762]: Removing old queue type "NO_RESULT" name "auto_wake_on_touch"
[16:23:00][D][button:010]: '${device_name} Update TFT display' Pressed.
[16:23:00][D][nextion_upload:164]: connection failed

Looking at the first line, I would say there is a connection with the Nextion display but the last line says “connection failed”

Is this your first time installing the TFT on this panel, right? If that is the case, the challenge is exiting reparse mode used by Sonoff. I would recommend taking a look at this guide, specially on items 1, 5 and 8 (as you already tried item 7).

I did, a few times already.
But somehow during the process of trying to get my panel to work I removed the nextion_update_url substitution. This still did not make it work but adding baud_rate: “115200” made sure I could update the TFT :sunglasses:

Thanks for reminding me

I quit!

I am really sorry but this is not working for me. I spent hours and hours, recompiling the ESPHome firmware again and again. Every time I hit a problem where there is either a change in the HomeAssistant UI that is different from what is described in the manual pages and the different youtube videos that are flying around or I am hitting problems with the yaml configuration.

I tried different configurations from different sources on the internet and finally got a log message telling me there was something wrong with some setting that was not available. I had a friendly_name assigned and that was (according to another thread on this community) the source of my problems. On trying to fix this, I ended up with a device that is called ESPHome_Web_e7da79 but my automation expects this to have the name panel1 because that is what I have now called it in ESPHome.
This means it gets stuck somewhere in the whole startup, the HomeAssistant API disconnects from the device and the LCD stays black.

I am completely stressed out by this whole process. Maybe I’ll give it a try once more in a few days or so but for now this is on the pile of stuff to be thrown away next week :cry:

1 Like

Let me know when you want to try again and I will try to help. :slightly_smiling_face:

Thanks @EdwardTFN , highly appreciated that you are still wanting to help me. Reading back what I did a few days ago might not look too nice …
I am not sure what I did but at some point I had the panel configured as “panel1” again, showing the blue screen with the HomeAssistant logo. I decided to give in and install the open-meteo weather add-on and that confirmed that a weather entity is mandatory and after, what seems way more than “several seconds” to me, the home screen is shown.

So it’s working :partying_face:
Time to see if I can configure it in a way that works for us.
Too complex to explain in detail here, but I want some form of communication/signalling between two panels. I think I can do that with input booleans.

The chips at the top of the home screen look a bit too small for this.
Is it posslble to have one of the other screens (a button screen) shown by default instead of the homescreen ?

This is planned for the next version. It is expected to be released in a few days, hopefully.

1 Like

I see the option for media player and alarm cards, but not for a to-do list. Or am I overlooking something?

Either way, I prefer the look of this version, so I’m hoping it’ll be possible in the future even if it isn’t now.

Hi, thanks a lot for this blueprint. This one is very mighty!

I read in the features (GitHub - Blackymas/NSPanel_HA_Blueprint: This allows you to configure your complete NSPanel via Blueprint with UI and without changing anything in the code), that there is a settings page: * Settings page (display brightness, display dim brightness, sleep mode, reboot NSPanel)

How can I open this page? Is it configured by " ENTITY PAGE SETTINGS"? I am unsure, because there are four entity pages.

Long press on the time display area and it will open the settings page.

1 Like

Thank you so much!
It works perfectly.

I have two additionally questions:

  1. Is it possible to select the displayed page after reboot/sleep/reset?

  2. Acutally, the system doesnt offer me a “Climate to control - ENTITY (Optional)”. I suggest, that I have to set an entity to something like heating, climate… But I diont know how.

This is coming soon in v4.0.

I’m not sure if I got your question. Basically that field is to select a heater or cooler controlled by some other integration on Home Assistant, so you can visualize and adjust it’s settings from your panel.

If what you are looking for is to have your panel’s relays controlling your heater, then this is also coming in v4.0, so it would be possible to have it working even when HA is out, but for now you can set a generic thermostat in Home Assistant using the panel’s relays.

Wow, that sounds awesome wuth v4.0!

2.: I want to check that feature but there is no entity to select. At the moment, I dont have a integration for heating/cooling. I just have power plugs that control the valves of my floor heating (on/off). Currently, they are controlled by an automation and a temperature sensor.
How can I change the entity of a power plug, that it is selectable?

You can use the Generic Thermostat to create a climate entity and replace your automation (or part of that):

2 Likes