# RGB led indicator

**URL:** https://forum.sensor.community/t/rgb-led-indicator/1524
**Category:** Feature Requests
**Created:** [August 29, 2022, 2:14pm UTC](https://forum.sensor.community/t/rgb-led-indicator/1524 "2022-08-29T14:14:12Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Richard](https://forum.sensor.community/user_avatar/forum.sensor.community/richard/32/997_2.png) [@Richard](https://forum.sensor.community/u/Richard)
#### Post date: [August 29, 2022, 2:14pm UTC](https://forum.sensor.community/t/rgb-led-indicator/1524/1 "2022-08-29T14:14:12Z")

</div>

Various displays can be connected in the software to show sensor values or other feedback.

My idea, which would also fit in this list of feedback, is an RGB LED. With this LED you can indicate whether the sensor is online or offline, and see if the sensor values are positive. Show if there are sensors waiting for something or there is an error message.

All with colors and with flashing in different sequences.

---

<div class="post-metadata">

### Author: ![pjg](https://forum.sensor.community/user_avatar/forum.sensor.community/pjg/32/194_2.png) [@pjg](https://forum.sensor.community/u/pjg)
#### Post date: [August 29, 2022, 7:31pm UTC](https://forum.sensor.community/t/rgb-led-indicator/1524/2 "2022-08-29T19:31:59Z")

</div>

This ?

> **[GitHub - pjgueno/SCClock: A NTP clock with PM display](https://github.com/pjgueno/SCClock)**
>
> A NTP clock with PM display

---

<div class="post-metadata">

### Author: ![yVega](https://forum.sensor.community/letter_avatar_proxy/v4/letter/y/ce7236/32.png) [@yVega](https://forum.sensor.community/u/yVega)
#### Post date: [August 31, 2022, 8:00pm UTC](https://forum.sensor.community/t/rgb-led-indicator/1524/3 "2022-08-31T20:00:26Z")

</div>

it’s a good idea your projetc…  
could you describe in detail how to do it, it would be a nice path for school pupils to place where all students see it every day entering the classroom

---

<div class="post-metadata">

### Author: ![pjg](https://forum.sensor.community/user_avatar/forum.sensor.community/pjg/32/194_2.png) [@pjg](https://forum.sensor.community/u/pjg)
#### Post date: [August 31, 2022, 8:50pm UTC](https://forum.sensor.community/t/rgb-led-indicator/1524/4 "2022-08-31T20:50:35Z")

</div>

Hi,

Have you read the [README.md](https://github.com/pjgueno/SCClock#readme) of the Github ?  
You just have to flash the code in an ESP8266 with platformio, plug the components and it works. Then you do exactly the same as for a SC sensor to enter the config and choose the sensors of interest.

It call APIs automatically.

It could be also programmed otherwise on a larger matrix to look like a chess board.

---

<div class="post-metadata">

### Author: ![webmarwell](https://forum.sensor.community/user_avatar/forum.sensor.community/webmarwell/32/65_2.png) [@webmarwell](https://forum.sensor.community/u/webmarwell)
#### Post date: [September 14, 2022, 10:28pm UTC](https://forum.sensor.community/t/rgb-led-indicator/1524/5 "2022-09-14T22:28:33Z")

</div>

@Richard There is another project [StofAnanas](https://revspace.nl/StofAnanas) with only the LED function. It loads the online PM data from the closest sensor or one sensor you can configure.

However, I support your idea of having an RGB LED output just integrated in the airrohr firmware. This would make it possible to see the air quality from much more distance than with any display. Favorable would be with the possibility to choose the colors relating to PM.

---

<div class="post-metadata">

### Author: ![pjg](https://forum.sensor.community/user_avatar/forum.sensor.community/pjg/32/194_2.png) [@pjg](https://forum.sensor.community/u/pjg)
#### Post date: [September 15, 2022, 4:14am UTC](https://forum.sensor.community/t/rgb-led-indicator/1524/6 "2022-09-15T04:14:04Z")

</div>

Hi,  
The problem is that you need pins and there is no more available ones I can remember.  
Maybe on an ESP32…

---

<div class="post-metadata">

### Author: ![pjg](https://forum.sensor.community/user_avatar/forum.sensor.community/pjg/32/194_2.png) [@pjg](https://forum.sensor.community/u/pjg)
#### Post date: [October 11, 2022, 11:38am UTC](https://forum.sensor.community/t/rgb-led-indicator/1524/7 "2022-10-11T11:38:35Z")

</div>

I have a Sensirion SEN54 and a firmware half done for it.  
PM, RH and T are on the same pins so I should be able to get 2 free pins to implement a RGB indicator. We keep in touch. I am just waiting for the small 4x4 LED matrix from China

---

<div class="post-metadata">

### Author: ![Graham21](https://forum.sensor.community/user_avatar/forum.sensor.community/graham21/32/410_2.png) [@Graham21](https://forum.sensor.community/u/Graham21)
#### Post date: [November 13, 2022, 5:35pm UTC](https://forum.sensor.community/t/rgb-led-indicator/1524/8 "2022-11-13T17:35:43Z")

</div>

Hi. Wow. This might be just what I’m looking for. I have been using coloured bulbs via HomeKit and Homebridge and the HOME and EVE apps to create complicated rules about how to change the colour. It’s described on my website: [Visualise multiple remote air quality sensors - Clean Air Sheffield](https://cleanairsheffield.com/2021/04/10/visualise-multiple-remote-air-quality-sensors/)

Early next year I have some free space to hang lights that represent the air quality from my whole city (I have 40 or so sensor.community sensors in Sheffield and can add more. This will involve buying expensive HomeKit compatible lightbulbs that will run on mains voltage electricity. It will be expensive just to do the wiring for the 40 lights.

If I could have a 5v light based on an ESP8266 + LED module it would not only be cheaper but it would make the whole thing simpler and I would have more control over how it worked and how it looks. I really like the idea of light which has everything it needs to connect to and mirror the status of a sensor without having to have a computer running + an AppleTV etc. Should make it easier to add more lights/sensors as well.

I’m looking at Platformio right now and figuring out how it works ‘just have to flash the code with platformio’ is not obvious to me - I usually use Airrohr Flasher - so if you have any tips about how to get this code on to an ESP8266 and then how to connect an LED matrix to it, that would be great. Thanks.

---

<div class="post-metadata">

### Author: ![pjg](https://forum.sensor.community/user_avatar/forum.sensor.community/pjg/32/194_2.png) [@pjg](https://forum.sensor.community/u/pjg)
#### Post date: [November 13, 2022, 7:45pm UTC](https://forum.sensor.community/t/rgb-led-indicator/1524/9 "2022-11-13T19:45:45Z")

</div>

I have already told you about my clock, haven‘t I (See above). The code for the sensor is done but I have to build everything which will probably be longer… no courage right now.  
The clock code is easier to change and scale.  
You can remove the clock and just use the Matrix. It is cheap, maybee 5 € pro unit and very easy to build with only 3 cables.

---

<div class="post-metadata">

### Author: ![pjg](https://forum.sensor.community/user_avatar/forum.sensor.community/pjg/32/194_2.png) [@pjg](https://forum.sensor.community/u/pjg)
#### Post date: [November 13, 2022, 7:50pm UTC](https://forum.sensor.community/t/rgb-led-indicator/1524/10 "2022-11-13T19:50:57Z")

</div>

I am not sure it is flashable with the flasher. Maybe with the esptool with GUI but you have to build the bin each time. I would prefer to book a call and teach you how to use PIO. It is quite versatile when it works. Just tell me. And I‘ve got a lot of ideas for Matrix, lamps, benches…
