Skip to content
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

Won't stay on the same brightness #2

Open
CaffeinatedFunctionality opened this issue Oct 31, 2020 · 4 comments
Open

Won't stay on the same brightness #2

CaffeinatedFunctionality opened this issue Oct 31, 2020 · 4 comments

Comments

@CaffeinatedFunctionality

I've had to change some settings and every single time that FPP restarts it seems the brightness setting doesn't persist. It always goes back to 100. I would assume this isn't intended but I could be wrong

@santiagohl
Copy link

Same here I am currently going threw all the config files to see where the default to 100 has been placed so that I can change the default to 20. If I find it I will come back here and place the info of where is at and how to change it while the creator can come up with a fix.

@santiagohl
Copy link

santiagohl commented Nov 13, 2020

ok so here is the work around I came up with for now

SSH into the pi and change directory to /media/plugins/fpp-brightness/src and look for a file named FPPBrightness.cpp now you going to edit that file and change any of the brightness settings to your desired level. Example I want 20 percent so i cahnged all to 20.

Commands:
ssh fpp@yourip
Default password is falcon
cd /home/fpp/media/plugins/fpp-brightness/src/
sudo nano FPPBrightness.cpp

Then look for (these are the ones I changed from 100 to 20)
setBrightness(20, false);
.setDefaultValue("20")
int brightness = 20;

The only one I did not change is --> endFadeBrightness = 100;

If you want to save the changes you've made, press Ctrl + O. To exit nano, type Ctrl + X. If you ask nano to exit from a modified file, it will ask you if you want to save it. Just press N in case you don't, or Y in case you do. It will then ask you for a filename. Just type it in and press Enter.

Hope this helps you and anyone else in the same issue as us.

Last note those is on FPP Version 4.2

How to use nano
https://wiki.gentoo.org/wiki/Nano/Basics_Guide

@Howardbn09
Copy link

After changing the brightness settings, what commands do I need to do afterwards to save and exit?

@santiagohl
Copy link

My bad forgot that part so for nano to save you will hold the control key down and hit O while holding the control key and then to exit you will hold control down again and hit X. I will update instructions above as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants