Disable LEDs on Rock Pi


I am running HA on a ROCK 4C+ via Releases · citruz/haos-rockpi · GitHub

I would like to disable the power and activity LEDs. It turns out that for this I would need to configure

echo 0 > /sys/class/leds/green:power/brightness
echo 0 > /sys/class/leds/blue:status/brightness

Sadly, sys is read-only.

Can you please help me to disable these two LEDs?

Kind regards

1 Like

So it turns out that above two commands indeed work to swich off the LEDs (at least status and power), however you need to be logged in via root to execute them (SSH on 22222).

This leads to a follow-up problem: how can I automate above two actions upon boot?

I was able to do this on boot via the amazing Addon HassOSConfigurator/Run at main · adamoutler/HassOSConfigurator · GitHub
Above commands can be added to /config/startup/startup.d/homeassistant.sh