Hacker News new | ask | show | jobs
by mft_ 786 days ago
I have three strings of ws2812b LEDs on my kitchen controlled by two ESP8266s with PIR sensors, providing various under-cupboard lighting. It sounds over-engineered and was quite a lot of work to set up, but I chose to 'roll my own' because I couldn't find anything pre-made with the right combination of features without being too bulky. (Honestly, I'd happily have bought someone's product instead.)

A nice bonus is that I can program different patterns to suit moods or events. (For example, my partner requested scrolling red and green stripes for Christmas.)

(Tangent: pretty sure that despite having followed online guidance very closely, the power supplies I bought were vastly over-specced.)

1 comments

I think you're one of todays lucky 10000 [0] learning about WLED [1] today :)

[0] https://xkcd.com/1053/

[1] https://kno.wled.ge/

Edit: not sure about the PIR sensor though... Edit2: nevermind, it'll do: https://kno.wled.ge/basics/compatible-hardware/#miscellaneou...

Thank you kindly for the link (FYI, I've come across WLED in some demonstrations on YouTube) but I'm not sure how it improves things in my use-case?

I have two 8266s sitting waiting 24/7/365 for PIR triggers to then light up strings of LEDs for a (reset-able) length of time. That's it. This is achieved via (relatively simple) Arduino code using FastLED.

It's not entirely clear from the webpage, but it looks like WLED is partly a dashboard and partly a no-code environment to allow controlling LEDs, and setting them up from another device? Incorporating motion detection looks[0] quite[1] complex?

[0] https://www.reddit.com/r/WLED/comments/10arolp/motion_detect... [1] https://www.reddit.com/r/WLED/comments/15vkuej/motion_detect...