# Status Light

## LED status codes

| Pattern | Meaning |
| --- | --- |
| Flashing Blue | Device is waiting to be set up. |
| Flashing Yellow | Setup or OS update is in progress. |
| Flashing Green | Setup completed successfully and the device is ready for user configuration. |
| Flashing Red | Setup failed or the unit detected a possible power incompatibility—check your cable and supply. |
| Solid Orange | [Factory Mode](https://docs.luxonis.com/hardware/platform/deploy/oak4-som-development-guide.md) |
| Solid Blue | Device finished booting and is ready. |
| Solid Green | Pipeline is running. |

## Manually set the user RGB LED

You can temporarily override the user RGB output by writing RGBA values (0-255) to the status LED device file. First you need to
[SSH/ADB](https://docs.luxonis.com/hardware/platform/deploy/oak4-deployment-guide/oak4-advanced.md) into the camera and then run:

```bash
# ADB/SSH into the device first, then on device run:
echo 255,255,0,0 > /dev/status_led
```

If you need to override the root-controlled LED state, address the :root device entry instead:

```bash
# ADB/SSH into the device first, then on device run:
echo 255,0,0,255 > /dev/status_led:root
```

To permanently change the default color palette, update the LED entries inside /etc/agentconfd/conf so the new values persist
after reboots.
