Moode Forum
Add LEDs on/off in System menu - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Feature requests (https://moodeaudio.org/forum/forumdisplay.php?fid=8)
+--- Thread: Add LEDs on/off in System menu (/showthread.php?tid=4995)



Add LEDs on/off in System menu - MooicIan - 07-30-2022

Particularly if you leave your moOde-y Pi on all the time, having the two main LEDs on can be annoying.

Hardware solutions exist - i.e. covering them with tape or permanently painting over them Smile - but turning them off with software is almost trivial and it is useful to be able to turn them back on again.

The 'almost' is because the method to turn them off in /boot/config.txt seems to vary with model, however on a version 1.2 Pi 3 B, root sending zero to

/sys/class/leds/led0/brightness
/sys/class/leds/led1/brightness

turns them off during 'runtime' rather than from boot. I do not currently have a Pi 4 to check if it works on those.

Being able to turn off the ethernet LED would also be useful, but that is less of a problem (it's not so bright, it's easier to cover, and a more useful diagnostic) and, again, the method seems to vary between Pi versions.


RE: Add LEDs on/off in System menu - TheOldPresbyope - 07-30-2022

@MooicIan

Have you looked at the LED settings in the m > Configure > System (Config) panel?

Regards,
Kent


RE: Add LEDs on/off in System menu - MooicIan - 07-30-2022

(07-30-2022, 11:23 AM)TheOldPresbyope Wrote: @MooicIan

Have you looked at the LED settings in the m > Configure > System (Config) panel?

Regards,
Kent

Aargh Smile

Is that reasonably new or have I been ignoring it for months?


RE: Add LEDs on/off in System menu - MooicIan - 07-30-2022

On the less embarrassing side, clearly I am not the only person who thinks it's a useful facility.


RE: Add LEDs on/off in System menu - TheOldPresbyope - 07-30-2022

(07-30-2022, 02:55 PM)MooicIan Wrote:
(07-30-2022, 11:23 AM)TheOldPresbyope Wrote: @MooicIan

Have you looked at the LED settings in the m > Configure > System (Config) panel?

Regards,
Kent

Aargh Smile

Is that reasonably new or have I been ignoring it for months?

Been there; done that!

Git repos have this neat feature called "blame". If you go to the github repo for moOde you can use it to find that the change to "Add option for LED on/off" to www/inc/sys-config.php was committed 3 years ago. 

Regards,
Kent