NSPanel_HA_Blueprint icon indicating copy to clipboard operation
NSPanel_HA_Blueprint copied to clipboard

When sleeping screen not turning on when notification received

Open karli2000 opened this issue 2 years ago • 3 comments

Hi,

great piece of work!!! I only have one problem: when the NSpanel is sleeping and i send a notification via "ESPHome: nspanel_notification_show" the notification will be shown but the screen is not turned on. When i touch the screen it stays turned off but when i touch the area where the checkmark from the notification is located (lower left area) to close the notification the screens turns on again (but the notification is gone). All software (HA, ESphome, etc.) is at the latest version, NSPanel_HA-Blueprint is version 3.0.0.

To reproduce the bug:

  • Wait until the NSpanel screen is turned off
  • go to "Developer Tools" in Home Assistant
  • Call the service "ESPHome: nspanel_notification_show" (when you have notification sound turned on you will hear the sound)
  • Look at the display & touch the display
  • Touch the display in the lower left area to to get the display turned on again

karli2000 avatar Jan 21 '23 13:01 karli2000

Hi - thanks i will check

Blackymas avatar Jan 21 '23 15:01 Blackymas

recreated - we will look at it.

Thanks for the report!

Blackymas avatar Jan 21 '23 19:01 Blackymas

Hi,

i guess i found the solution for this, in the Nextion-Editor just add the line: dim=home.brightness.val to the "notification" and the "qrcode" page (which has the same problem) in the "Preinitialize Event", here a screenshot: image

This fixed the problem for me, now the screen turns on when i send a notification and the Nspanel is in sleep mode.

PS: 3.1.0 is working great, love it!

karli2000 avatar Feb 10 '23 10:02 karli2000

Is changed in v3.2 Please update and test :)

https://github.com/Blackymas/NSPanel_HA_Blueprint/releases/tag/v.3.2

Blackymas avatar Mar 20 '23 20:03 Blackymas

Works perfect, than you!

karli2000 avatar Mar 22 '23 19:03 karli2000