AirGradient Forum

Alternative LED patterns?

Would it be possible to display TWO values on the same 9 LEDs?

As an example: CO2 left and PM2.5 right?
If they overlap, stop showing the “better quality” one or whatever?

Alternatively, you could display three values, with two LEDs each.
Green, 2 green, yellow, two yellow, red, two red. with a black led between the groups.

1 Like

It isn’t something the current firmware does natively. You could modify the code for your device if you are able to write Arduino code.

In the ESPHome alternative configuration there are additional options including the left 5 for CO2, the next 5 for PM2.5, and the final one for VOC, so it is laid out similar to the display.

I think I saw a PR for the official firmware to add this layout as well, but not sure if it was/will be accepted.

Thanks! Great info!

I’ll look into the code and my time. And probably the PR.

There is an alternative ESP32 firmware?

You can check out this for the ESP configuration. It is a bit more to setup, but integrates nicely with Home Assistant and can do a ton of other things so you might find more uses for it around the house

All of the official code is available on their Github site:

This is the mention of bringing more LED bar options to the main code, but just a public contributor, not one of the core team