I'm a new owner of a TP-LINK Archer C7v2 with a newly installed LEDE firmware on it.
Excuse me if I ask noob questions.
I'm wishing to switch off all of the leds at night.
I've seen that LEDE provides a fine control of the leds but not a global on-off (as is done for wifi). Should I write a script myself and schedule its execution through cron? I'm wondering if someone already wrote such scripts and shared it somewhere.
A naif switch off script would be a sequence of lines
cat 0 > /sys/class/leds/tp-link:green:qss/brigthness ...
while the following list should switch them on again
cat 255 > /sys/class/leds/tp-link:green:qss/brigthness ...
Am I on the right track or is there a smarter way to implement this "night mode"?
Thank you for your attention,