I think it will require at least 2 parts:
- Computer-side that's monitoring the chat, YouTube counter or whatever
- Hardware to switch the bulb
For the hardware, many ESP based devices are available, like Sonoff S20/S26 or Shelly, but it may need a firmware replacement as the regular API isn't that easy. I'm currently involved in the development of ESPEasy
, that is very usable on ESP8266 and ESP32 based devices. With simple http GET requests you can control such device, but, some assembly required.
I know that a few years back, many developers set up lava lamps to show the commit pre-checks and build results of their CI/CD pipelines, not sure if that is still used much, as it requires physical availability of people to see the lights. Nowadays, with most of development wfh/remote there must be other ways