-
-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Permanent notification #933
Comments
What's the timeout you are sending with popupnotify? 0 should work. |
I'm sending it like this:
So by entityUpdateDetail I meant popup notify. |
Just tested on my panel and it works fine. Can you run |
Well, setting sleepTimeout to 0 and adjusting anything in app.yaml afterwards will show the screensaver on my nspanel with missing icons. I'm using latest tft 4.1.1 and actually I'm using esphome - do you think it's more related to it? |
okay, I did a bit more testing. The culprit here is the screensaver. Originally I thought it's because custom sensors, but I think it behaves the same with weather entities, it's just not that visible because of 1hr update interval. |
need to check in earlier versions the notification blocked weather/screensaver updates in the HMI Project |
I encounter the same problem. |
can you please send an exmaple of your popupNotify command's that have this issue? |
So I've seen this on my panel a few times now, however I wasn't able to spot why the panel is switching to the screensaver and it's also not consistent for me. For the most time the notification stays there a really long time. Can you enable run |
okay nevermind, just had this again and the panel is requesting to exit the popup
|
I've uploaded an version that is showing the sleepValue and the sleepTimeout on the popup Page, maybe that helps to diagnose the Problem. In my tests both values stay zero so far :/ An workaround for a permanent notification in the meantime might be using an high value as timeout. Maximum should be 2147483647 seconds.
|
Using a high value and counting seconds seems to be way more stable than doing nothing. Try latest development version; in case the sleepTimeout in the popupNotify is 0 it is now replacing zero with the number of seconds of a year.
|
Hi, I uploaded sleeptimer.tft to my panel and with both 4.1.4 and latest dev version can only confirm what I stated before:
I wasn't able to download tft from your latest post (404). |
This would have been the correct URL:
|
still behaves the same. Need to comment out custom sensors, otherwise screensaver is shown. |
I've found the issue please reflash development version.
|
it works! thank you! |
FEATURE DESCRIPTION
I'd like to display a permanent notification with popupNotify (until closed). Currently when I declare sleepTimeout in config it always fires with higher prio than the time sent with entityUpdateDetail command. Sending 0 with entityUpdateDetail also had the same effect, so it possibly may be a bug.
ADDITIONAL CONTEXT
N/A
PANEL / FIRMWARE VERION
EU
The text was updated successfully, but these errors were encountered: