Turn off all LEDs on a Raspberry Pi

 
 
  • Gérald Barré

Raspberry Pis are very useful, but the LEDs can be distracting. Here is how to disable all of them.

  • Connect to the Raspberry Pi with SSH

  • Open the file /boot/config.txt as admin using sudo nano /boot/config.txt

  • Add the following line at the end of the file:

    # Disable Power LED (Red)
    dtparam=pwr_led_activelow=off
    
    # Disable Activity LED (Green)
    dtparam=act_led_trigger=none
    dtparam=act_led_activelow=off
    
    # Disable Ethernet LEDs (Green and Orange)
    dtparam=eth_led0=14
    dtparam=eth_led1=14
  • Save the file using CTRL+S and exit using CTRL+X

  • Reboot the Raspberry Pi with sudo reboot

Note: If you are using Home Assistant on a Raspberry Pi, you must update the config.txt file at the root of the hassos-boot partition instead of /boot/config.txt.

Do you have a question or a suggestion about this post? Contact me!

Follow me:
Enjoy this blog?