The light is a WS2812 individually addressable LED strip. I’ve got it connected to a NodeMCU ESP8266 board that is flashed with WLED. The WLED firmware has dozens of effects built in, one of them is this lightning flash. I’ve got a UDP listener that is looking for UDP messages from the hub indicating a lightning strike. My home automation controller is SmartThings, I have the WLED strip added to that as a controllable device. Along with SmartThings, I use SharpTools with SmartThings. SharpTools can use a webhook as a trigger. I have the UDP listener set to do an HTTP request to a URL in SharpTools, when SharpTools get it, it turns off the aquarium lights off, turns on the lightning effect for 5 seconds and then restores the previous state of the light waiting for the next strike
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Weatherflow and meteobridge | 20 | 2448 | June 18, 2018 | |
Tempest Observation Information Added to UDP Documentation | 3 | 1214 | June 5, 2020 | |
Lightning Detection - Newb Question | 13 | 1216 | July 23, 2020 | |
Question. On lightning display | 5 | 506 | November 5, 2020 | |
ESP32 HomeKit Bridge | 3 | 1292 | October 15, 2022 |