I use the official RPI Touchscreen as a kiosk with Chromium displaying the octoprint page. The script works placed in root's cron @reboot however it will not return to full brightness. It stops at level 12 it seems.
Any ideas why? The script is placed in /usr/local/bin and has 120 seconds and event0 set. The screen is the only input on this Pi and it does go from off to dim when touched then off again after 2 minutes.
The behavior is the same weather in /etc/rc.local, run in terminal or in cron.
Thank you for any help!