Comments (9)
thx for looking into it.
As state i am using a workaround now, so take your time :-)
from esphomatrixv2.
@andrewjswan @lubeda Tested your new PR (tag: 2024.4.1) and it's working as expected.
closing this now thx
from esphomatrixv2.
Wait a minute until the lifetime is over and "on_empty_queue" is not triggered.
Night mode simply skips this screen and does not take it into account and does not count its lifetime, but since it is there, then the queue is not empty. According to the log, it looks like this screen is not allowed for night mode, so it just quickly spins into emptiness.
from esphomatrixv2.
Got you.
So a new trigger like "on_empty_queue_night_mode" would be a solution?
If i do not take this into account my screen will be empty in night mode.
With such a new trigger, i can react an fill thje queue again.
from esphomatrixv2.
So a new trigger like "on_empty_queue_night_mode" would be a solution?
It seems to me that it is superfluous, we need to find where to view the queue and assess whether it is over or not. I'll try, but I don't promise.
from esphomatrixv2.
It looks like I found the reason, but I'm not sure.
from esphomatrixv2.
The night mode loop and missing "on_empty_queue" trigger is sadly not working with your fix.
But please set the initial brightness not to 255 (= full blast)!
You have set both to 255, so it will dim down from full blast rather than dim up (which i think is better, especially when you have the clock in your sleeping room :-)
So please set it to
uint8_t brightness_ = 0;
uint8_t target_brightness_;
PS.: target_brightness_ will be initialized from the pathon CONF variable, so no need to set.
But when you want to be sure they are initialized also when there is an python CONF parsing change,
please set it to:
uint8_t brightness_ = 0;
uint8_t target_brightness_ = 0;
thx
from esphomatrixv2.
The night mode loop and missing "on_empty_queue" trigger is sadly not working with your fix.
Any log?
from esphomatrixv2.
PR updated ...
from esphomatrixv2.
Related Issues (20)
- Date color HOT 10
- [QUESTION] How do I add 1 hour to the time displayed? HOT 1
- Strapping GPIO15 prevents OTA flashing from working HOT 5
- [QUESTION] After Flashing Ulanzi Making a Tone HOT 2
- Unable to compile latest version - missing libmagic??? HOT 8
- [QUESTION] Is my Config wrong? HOT 2
- [QUESTION] move the second digit in the calendar one row to the left HOT 4
- [BUG] Calling id(rgb8x32)->set_display_off() at boot crashes EspHoMaTriXv2 HOT 10
- How to set night_mode_screens with included packages HOT 9
- [QUESTION] How to change default clock and date color? HOT 4
- [BUG] on_empty_queue loop after ~25 days runtime HOT 7
- [QUESTION] I have build the LED for my self but it shows artifacts at start with power HOT 1
- [QUESTION] [on_empty_queue] is an invalid option for [ehmtxv2]. Did you mean [allow_empty_screen]? HOT 8
- [QUESTION] How show on Display Text or Picture when OTA start?
- [BUG] ESPhome 2024.6.1 Breaking Change: Update YAML File for OTA Fix HOT 2
- [FEATURE REQUEST] Allow duplicate icon_screen HOT 3
- [QUESTION] 8x8 Matrix Support HOT 1
- text box helper home assistant and local temperature sensor HOT 5
- [BUG] on_empty_queue loop HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esphomatrixv2.