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

Which error you had in that case?

I don’t remember, some uart error.
but removing the component, installing tft and adding the component again fixed the issue for me

1 Like

Thanks Edward - that is exactly what I was after!! I really appreciate your quick responses and the work you have put in to this project!

1 Like

My panel reacts like that:

If I just wake up the panel from sleep, and do nothing else, it will go back to sleep after the ‘timeout sleep’ setting.
If I do another task after wake up, the display will dim down before going to sleep.
I am happy with that functionality, now that I know how it works :wink:

1 Like

What does a thermometer symbol with lines mean in the statusline on top?
Is it pressure? When will it become active?
Don’t find it documented somewhere…

That means the climate entity is in standby

1 Like

Thanks, good to know…

1 Like

I’ve updated 2 of my NS Panels with the v4 ESPhome code, updated the Blueprint and saved the TFT file in my WWW folder (my ESPhome code references that location rather than Github). I hit the ‘update TFT’ button for each NS Panel but an getting this error in my notifications only for one of the panels.

image

The other panel seems to have a major error in updating the TFT file. It got stuck at 44% and after a reboot now has the ‘system data error’ on the screen.

So then I hit ‘exit reparse’ and tried the TFT update again… it’s just sitting on 0%.

Any ideas?

EDIT: I now have the error for both NS Panels, but #3 is still stuck at 0% TFT update.
image

EDIT 2: I’ve just let this sit for a while (1 hour so far) and the TFT update has progressed to 2%. Super slow, but it seems to be working. The other NS Panel did it quickly. I’m now thinking the previous “stuck at 44%” wasn’t actually stuck. I’ll just let it keep going and see what happens.

There is still an issue with the #2 panel giving the mismatch error despite working.

You don’t have any issue with TFT, so trying to upload it again is not gonna help in this case and will give you more work as these TFT transfers can always fail. Once you get TFT to v4.0, don’t touch that anymore. :wink:

EDIT 2: I’ve just let this sit for a while (1 hour so far) and the TFT update has progressed to 2%. Super slow, but it seems to be working. The other NS Panel did it quickly. I’m now thinking the previous “stuck at 44%” wasn’t actually stuck. I’ll just let it keep going and see what happens.

You can cancel this and start again. Those life-time transfers never ends successfuly.

The other panel seems to have a major error in updating the TFT file. It got stuck at 44% and after a reboot now has the ‘system data error’ on the screen.

Just try again.

So then I hit ‘exit reparse’ and tried the TFT update again… it’s just sitting on 0%.

Exit reparse is only for when you have the original Sonoff screen. Once TFT is installed for the first time, you can disable this button as it would never be used again.

So, let’s focus in the problem… for some reason your ESP isn’t providing the correct version number.
Have you made any modification to the ESPHome yaml?
Could you please share your settings? (Please remove any private info, like wifi password, etc).

Other than the error message, is everything working fine?

I have the same problem, 2 new devices got stuck in endless update…

Could you please give more details or open a new issue on GitHub?
New Issue · Blackymas/NSPanel_HA_Blueprint (github.com)

3x EU panel, 1x US panel.
Uploaded version V4.0
Everything’s all right.
Thanks for your work.

1 Like

I followed all steps in the wiki, after flashing the v4.0 esphome code into NSPanel, and adding the NSPanel device. When I try to “Update TFT display” to the device (the toggle switch is now a “PRESS” button), I don’t see my NSPanel display start loading the TFT. It just stay at the idle screen, nothing changes. anyone came across ? and pls help?

I’ve check the address of “nextion_update_url” it’s all good, and I’m using “nspanel_us_land.tft”. I repeated the full process 2 times still no luck.

Could you please try to capture the logs from ESPHome from right before you press “Upload TFT” button to the moment the panel restarts (which should be just in a few seconds)?
That would be useful for troubleshooting.

Thanks for replying. Here is the ESPHome log file from NSPanel start till I press the “Update TFT” button.
I can see there is “connection error [Error 104]”, but then it reconnected, no other error or exception based on the log though. Also on the NSPanel itself, I don’t see it start loading anything after the start up animation, it stays at the dashboard with time/temperature.

home-assistant_esphome_2023-09-24T01-02-03.253Z.log

Exactly. This means your panel is interrupting it’s communication.
Are you sure the wifi signal is OK where your panel is fixed?

I couldn’t find in the log the call to upload a new TFT. Maybe if you try a DEBUG instead of VERBOSE log would be easier to read, then we go deeper when we know where the issue is.

2 Likes

I’m testing the NSPanel close to my wifi, and I can see in HA it became online when powering up. I tried to capture the log again, but other than the Error 104, i don’t see anything else. Even when I presse “Update TFT”, no error or exception I can see from the log. Or is it a way to captur more detailed logs? Thanks.
home-assistant_esphome_2023-09-24T11-09-06.082Z.log

I also tried to revert back to official firmware from backup and start fresh, still no luck. Mine is NSPanel US version.

Is this your first time uploading a TFT from this project to this panel? I mean, you still have the original Sonoff page on your device?

If that is the case, I’d suggest this guide, specially the last item: (EN) Common Issues TFT Upload · Blackymas/NSPanel_HA_Blueprint Wiki (github.com)

Also, could you please share the YAML used on your ESPHome settings? Please remove your wifi credentials and any other private info before sharing.

By the way, next time you share the log, take that from ESPHome logs:

Or is it a way to captur more detailed logs?

Your logs already have too much details. If you can share the standard logs from ESPHome (as I pointed above) without any change from the default log settings would be better. :wink:

1 Like

Thanks a lot. It’s my first NSPanel setup. I just followed the first TFT upload guide, and it’s sorted now. :smile: :+1:

One thing I notice is dim setting seems not working, no matter what % I set, it just turn all dark after screen timeout. (Just found that you put in a fix in git :+1: , looking forward to the new update)

1 Like

I followed your guide for both devices I own and the result was the same,
endless update…


logs without PR5016

logs with PR5016

yaml file