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

I am planning to purchase an NS Panel and use this blueprint to Control my floor heating. I have valves in normally open condition meaning they Close when Power IS applied. Is it possible to invert the relay with this blueprint? When the room Temperature is below target Temperature there should be No Power on the relay. If the target Temperature is met, the relay should be powered to Close the valves.

Thanks a Lot!

Hi There,

So I have the following Environment:

  • HA installed on Docker (Not Hass.io) Standalone
  • ESPhome dashboard installed as a Direct Service on my host
  • NSpanel flashed with ESPhome and detected in ESPhome dashboard.
  • (Locally uploaded the TFT file to my /www location on Host so that it can be reached via https://bla_bla_bla_ip:8123/local/nspanel_us_land.tft)
  • Device added successfully via HA Devices integration
  • Blueprint Loaded onto the Device in HA.

But No change I make in the blueprint changes the Interface on the NSpanel. it stays the stock ESPhome Image that just shows Time and Temperature.

I Suspect it has to do with how the Blueprint saves the config into the TFT or something? Can someone help?

If you change the size of the temperature text (16px, 18px and so on), in weather and temperature, does it change anything?

I’m trying to change to developer version but it never fetches the right version. Changing main to dev doesn’t make any difference?

Thanks for the awesome work. I’ve got 2 panels working pretty well now.

I’m struggling a little with using one to control window openers, using the cover addon.
It works well when controlling it from HA as a cover.
I would like the 2 hardware buttons to control the cover too, I’m not sure the best way to do this? For now I have an automation which calls the open or close cover and then tied this to the hardware buttons. Is there a better way?
I would also like the display to push the cover page onto the display while the relays are closed/operating, is this possible?

Many Thanks.

I recently bought a NSPanel and flashed this very nice alternative firmware!
I was wondering about 2 things:

  • is there a way to add a (realtime) graph to display power usage?
  • is there a way to control multimedia? adding it to the entity only shows it current state?

try long pressing the entity. You should be able to control: volume, skip track, previous track, play/pause

nothing seems to popup. Just to be sure: i addes the media.player.livingdressing to a entity page (livingdressing is a sonos)

I have been working on the display for some time and despite my lack of experience with esphome, I managed to get everything to work with the extensive manuals. Thank you.

I was wondering, is it possible for the display to show a snapshot of my doorbell stream when the doorbell has been pressed?

I am familiar with homeassistant automations. Where I do not know anything is modifying the nextion display. Before I try to deep dive into this I was wondering, if the following scenario is possible:

  1. My doorbell is rung, triggering the image change.
  2. The nf panel opens an empty page (buttons, for example).
  3. The background image changes to show who is at the door.
    Alternative: the snapshot is shown as an overlay.
  4. After x seconds we go back to the homescreen and the panel is usable as normal.

Where I struggle to even start to make this work is the dynamic picture. It would have to be updated the second the doorbell is rung. This means I cannot use the editor to place a picture there.
If this is possible, I’d be thankful if anyone can point me in the direction of where I have to start looking for how to make this work.

No, picture is not possible as far as i know. And, i kinda doubt it will ever be since nextion only accepts data via (not very fast) serial connection, so it would be pretty long time to upload images. I bet nextion’s internal buffer would complain pretty fast, too…

Hi, after some time I decided to update from 4.3.11 to 4.3.13 but when I go to update the TFT file the log gives me this error:

[13:55:54][D][addon_upload_tft.script.nextion_upload:126]: Starting TFT upload...
[13:55:54][D][nextion.upload.idf:157]: Nextion TFT upload requested
[13:55:54][D][nextion.upload.idf:158]: Exit reparse: NO
[13:55:54][D][nextion.upload.idf:159]: URL: https://raw.githubusercontent.com/Blackymas/NSPanel_HA_Blueprint/v4.3.13/hmi/nspanel_us_land.tft
[13:55:54][D][nextion.upload.idf:188]: Baud rate: 115200
[13:55:54][D][esp-idf:000]: E (225936) esp-tls: couldn't get hostname for :raw.githubusercontent.com: getaddrinfo() returns 202, addrinfo=0x0
[13:55:54][D][esp-idf:000]: E (225938) esp-tls: Failed to open new connection
[13:55:54][D][esp-idf:000]: E (225939) transport_base: Failed to open a new connection
[13:55:54][D][esp-idf:000]: E (225941) HTTP_CLIENT: Connection failed, sock < 0
[13:55:54][E][nextion.upload.idf:220]: HTTP request failed: ESP_ERR_HTTP_CONNECT
[13:55:54][D][nextion.upload.idf:342]: Nextion TFT upload finished: NO
[13:55:54][E][nextion.upload.idf:358]: Nextion TFT upload failed

and now it keeps rebooting, after a certain amount of reboots it starts but after a few dozen seconds it turns off!

Started to get mine up and running, I’m wanting to use it as my new thermostat (fully with HA) due to the Nest Thermostat shutdowns.
I’ve got climate up and running on it, which works just about OK. However I’ve seen that you should be able to have a round thermostat, I can only get the slider one which isn’t as nice. What am I doing wrong? Or is this the only one that does exist?

Ok I solved it by downloading the file on home assistant and pointing to that file! However strange that I can’t download it from github

I remember having that issue a long time ago too. I used the same solution, not sure why it happens.

Hello!
i have flashed tasmota and used my nspanel with openhab.
as i’m switching to HA tried to follow the instructions but i’m missing something…

here’s what i did:

ESPHome Firmware

  • Preparing the ESPHome Environment
  • Setting Up a Device on ESPHome Dashboard

i skipped all these steps:

  • Flashing the Device for the First Time
  • Integrating Your Panel to Home Assistant
  • Making Changes Over The Air (OTA)
  • Updating Your NSPanel Firmware

and went straight to

  • Migrating from Other Custom Firmware

according to the tasmota console it worked and i can see the barcode.

but what’s next? according to the instructions i sould

Just go to your devices’s page (under Settings > Devices & services > ESPHome), select your Upload TFT display - Model and then press Upload TFT display.

but i can’t find a device when i try to add HomeESP. what am i missing?

edit:

i tried that but can’t add my device - when i enter the ip address with default port (6053) it says: “Es kann keine Verbindung zum ESPHome-Gerät hergestellt werden. Stelle sicher, dass die YAML-Konfiguration des Geräts einen Abschnitt api enthält.”

Could you describe a little bit more in detail? I have Tasmota 14.6.0 installed with the autoexec.be from the Berry Scripting. How to get rid of this, which command where?
And then as a second step which file is the correct one to flash?

(sorry, I had several problems flashing, that’s why I ask for more details)

Appreciate this is an old comment, but I’m just setting up NSPanel with your great work. The main reason for it is as a thermostat, but a Sonoff Mini controlling the actual thermostat, so it seemed that Generic Thermostat would work better.
However I’d love the buttons to change the temperature, but it seems climate.control doesn’t exist, possibly as I’m not using the climate addons. Is there anyway I can make this work easily?

Issues updating Nexion TFT after ESPHome and Blueprint update to 4.3.16

I got obviously no nspanel TFT files from the configured https address and can’t find any nspanel EU files in GitHub.

Here is what I have configured for my nspanel:

nextion_update_url: “https://raw.githubusercontent.com/Blackymas/NSPanel_HA_Blueprint/main/nspanel_eu.tft

This URL doesn’t seem to exist? Also using the devices default EU settings doesn’t work and in my logs I can see that Nexion is not connected?

Any advice appreciated…

Please check if this is the same issue already reported on:
Bug TFT not detected after ESPhome update · Issue #2630 · Blackymas/NSPanel_HA_Blueprint

1 Like

It seems very similar and I just updated everything and switched from arduino to esp-idf back and forth, reinstalled and used blank.tft as well but can’t get Nextion updated at all…

[15:03:51][D][addon_upload_tft.script.nextion_upload:126]: Starting TFT upload…
[15:03:51][D][nextion.upload.arduino:151]: TFT upload requested
[15:03:51][D][nextion.upload.arduino:152]: Exit reparse: YES
[15:03:51][D][nextion.upload.arduino:153]: URL: https://raw.githubusercontent.com/Blackymas/NSPanel_HA_Blueprint/v4.3.16/hmi/nspanel_eu.tft
[15:03:51][D][nextion.upload.arduino:168]: Exit reparse mode
[15:03:51][D][nextion.upload.arduino:182]: Baud rate: 115200
[15:03:51][D][nextion.upload.arduino:210]: Connected
[15:03:51][D][nextion.upload.arduino:215]: URL: https://raw.githubusercontent.com/Blackymas/NSPanel_HA_Blueprint/v4.3.16/hmi/nspanel_eu.tft
[15:03:51][D][nextion.upload.arduino:241]: TFT size: 7610000 bytes
[15:03:51][D][nextion.upload.arduino:253]: Uploading
[15:03:57][D][nextion.upload.arduino:292]: Upload resp: 0 B
[15:03:57][E][nextion.upload.arduino:300]: Prep failed 0 ‘’
[15:03:57][D][nextion.upload.arduino:301]: Close HTTP
[15:03:57][E][nextion.upload:017]: Upload failed
[15:03:57][D][addon_upload_tft.script.nextion_upload:128]: TFT upload: NO
[15:03:57][W][nextion:091]: Not connected