Sonoff NSPanel by ITead - Smart Scene Wall Switch based on ESP32 and custom Nextion Touch Screen Panel Display (non-Pro variant)

Were you ever able to fix this issue? Stuck w/ this one now…

this is something added in the current development version of appdaemon o.O this should not be downloaded if you are using the current release from hacs

try to redownload/reinstall the app in hacs and restart appdaemon afterwards

current development version (main) should also be working again

Yet another question, I am using the cover for a garage door. I changed the icon to garage but get no indication that the garage is open either by colour change or icon change. Is there a better way to do this?

Thanks

Craig

added a feature request for this

going to Main via HACS, solved the problem, many thanks

Awsome thanks

Nope. When I plug in, appdaemon does see the device and sends commands, but nothing when i press the screen to exit ‘screensaver’.

2022-05-21 20:52:01.540217 INFO nspanel-1: MQTT callback for: {'topic': 'tele/NSPanelTheatre/RESULT', 'wildcard': None, 'payload': '{"nextion":"bytes(\'1A\')"}'}
2022-05-21 20:52:01.040546 INFO nspanel-1: Sending MQTT Message: time~20:52
2022-05-21 20:51:18.936376 INFO nspanel-1: Update Pre-Check sucessful Tasmota Driver Version: 4 Panel Version: 34
2022-05-21 20:51:18.923765 INFO nspanel-1: MQTT callback for: {'topic': 'tele/NSPanelTheatre/RESULT', 'wildcard': None, 'payload': '{"nlui_driver_version":"4"}'}
2022-05-21 20:51:18.744251 INFO nspanel-1: Sending MQTT Message: pageType~screensaver
2022-05-21 20:51:18.716036 INFO nspanel-1: Started rendering of page None with type screensaver
2022-05-21 20:51:18.701073 INFO nspanel-1: Sending MQTT Message: dimmode~10
2022-05-21 20:51:18.691988 INFO nspanel-1: Sending MQTT Message: timeout~20
2022-05-21 20:51:18.683251 INFO nspanel-1: Sending MQTT Message: date~Saturday, 21. May 2022
2022-05-21 20:51:18.672069 INFO nspanel-1: Sending MQTT Message: time~20:51
2022-05-21 20:51:18.653656 INFO nspanel-1: Startup Event
2022-05-21 20:51:18.648348 INFO nspanel-1: Update Pre-Check failed Tasmota Driver Version: None Panel Version: 34
2022-05-21 20:51:18.632312 INFO nspanel-1: Sending MQTT Message: X
2022-05-21 20:51:18.626670 INFO nspanel-1: Received Message from Screen: event,startup,34,us-l
2022-05-21 20:51:18.621660 INFO nspanel-1: MQTT callback for: {'topic': 'tele/NSPanelTheatre/RESULT', 'wildcard': None, 'payload': '{"CustomRecv":"event,startup,34,us-l"}'}
2022-05-21 20:51:01.088282 INFO nspanel-1: Sending MQTT Message: time~20:51
2022-05-21 20:50:01.042570 INFO nspanel-1: Sending MQTT Message: time~20:50

hmm, is the birghtness of the display changing? it should wake up from the sleep brightness without any answer from the backend

another way to test if your touch is working, flash a different firmware / a test file
you could use this one: FlashNextion http://nspanel.pky.eu/test.tft

Ok, so ive got it working finally.

The flash you sent me came up, but still not able to command any touch interface. As a last ditch effort, i disconnected the front panel from the base and checked the pins, put it back and its now working.

I can only suspect something wasnt seated correctly because ive disconnected from power many times (its sitting on the desk next to me, not mounted in wall yet).

Thanks for the help, seems to be self inflicted on this end somehow. Good to note if others have same issue though…

@jobraun , Thanks for the excellent work, shot you some pizza change yesterday after I got your Lovelace UI up and operational. US user here so REALLY appreciate the adaptation.

1 Like

try out current development version

Will do when I am back home.

Thanks

@jobraun - Thanks so much, the best solution I have tried so far :slight_smile:

And the fact that the display is updated whenever you save the apps.yaml file is really neat.

Is there a way to set a background colour or wallpaper image ?

I can’t seem to get the cardQR to work, what exactly is iText ?

it would be great if you could release your ‘sandbox’ configs that you created the screen sample images from, that would make getting started easier with the ability to copy out snippets from the sandbox without having to start from scratch.

background color or wallpaper images are not possible with nextion, you have to modify the firmware in the nextion editor for that

cardQR is upcoming in the next release, you have to update to the current development version for this

The config example in the documentation should cover a lot of the stuff in the sample config. I would like to have some more real world config examples in the appdaemon folder of the repo.

Thanks so much.

Would it be possible to also release the app.yaml code for your test pages 1 - 6

Same as in the README, but since you don’t have the items in your homeassistant it will display them as config errors on your panel.

If you are replacing all of the entity items with items that are existent in your homeassistant you should get all of the screens in that picture.

1 Like

Ahh, ok understood.

I have just updated and now running the “main” development version.

@jobraun - might it be worthwhile setting up a separate thread for your solution ?

Hi, I’m using nspanel-lovelace-ui interface and I’m having trouble with the time in the screensaver.
Ns panel tasmota time = 20:04
Appdeamon time = 20:04
Home assistant time = 20:04
Ns display time in the screensaver = 18:04
Does anyone know how to fix this.

Who is recreating this 1980’s home automation system GUI??