-
Notifications
You must be signed in to change notification settings - Fork 0
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: max brightness #3
Comments
Hi, I added new config parameters in [render]
...
max_brightness = 255
max_brightness_file = "/etc/led_matrix/max_brightness_value" The Thanks! |
Seems to work without a problem, at least the config preset, haven't tested the file access. Yay had a weird problem of upon update, reusing the 0.1.1 version tar that was cached and not updating it. Had to delete the cache manually. IDK who's mistake it is. |
For some reason, same here. I don't know what went wrong with |
Maybe, it would be better to add the functionality of brightness max implemented into daemon (if someone makes their own frontend) by the virtue of remapping the incoming image values to the limited brightness range (maybe with some contrast parameter to push the values to either of sides). Anyway, this is enough for me, so if you want I can create a separate issue on the daemon repo or i can just close this for good. |
Oh wait. I'm an idiot. The version is marked as 2.0 in the previous one. OK, I'll fix it now. |
I was considering it. Adding brightness control in the daemon will lead to duplicating the responsibility of setting it. In case brightness is tweaked on the frontend only, the daemon's job stays the same - just render the damn thing. It's not hard to introduce the same setting in the daemon, so if you see anything that overrides my thinking above, I'll surely add it. Thanks again for the feedback. |
I was more thinking with the approach to not have every frontend have their own brightness parameter/file and delegate that to the thing that actually controls the output - the daemon. But yeah, it kinda defeats the purpose of this patch. I am good either way now :) Thanks again! |
for niceness, could add an argument to the daemon that ignores it's brightness setting. |
Hi, me again. No problem this time, but a feature request. On my anecdotal findings running both matrices takes about 10W which is noticeable amount when running on battery. I think having an option to set max brightness value to the monitoring/(maybe daemon is better for this) to limit the powerdraw. And probably let external scripts handle toggling preferred value depending on AC/bat.
The text was updated successfully, but these errors were encountered: