jgarff / rpi_ws281x

Userspace Raspberry Pi PWM library for WS281X LEDs
BSD 2-Clause "Simplified" License
1.76k stars 619 forks source link

GUI, Home Assistant or other uses? #421

Open charlesomer opened 3 years ago

charlesomer commented 3 years ago

Hi,

I’ve been trying to find out if there’s a well maintained GUI, or Home Assistant plugin etc. which uses this project (or similar method to control LEDs on a Pi) but I can’t seem to find anything.

Before starting anything myself I just wanted to make sure I haven’t missed anything obvious that you’re aware of?

Thank you Charles

Gadgetoid commented 3 years ago

There are none that I'm personally aware of... unless you include the little paint application I wrote for our Unicorn HAT many, many moons ago.

I have a work-in-progress to turn our Plasma lighting library into a general purpose smart-LED library that will drive APA102/WS281X with various configurations and combine them into a single strip for animations and effects - https://github.com/pimoroni/plasma/pull/7

This includes a lighting daemon that can, among other things, sequence the LEDs from a PNG image with cols for LEDs and rows for animation steps. It might have some feature crossover with what you want to build.

cp2004 commented 3 years ago

For OctoPrint, I created a plugin - WS281x LED Status - if you want to check it out. Uses the SPI side of the library to communicate with the LED strip.

Data-Monkey commented 2 years ago

I created a little script that exposes the ws281x LED to Home Assistant via MQTT and auto discovery. https://github.com/Data-Monkey/rpi-led2mqtt/tree/main/simple_light Any feedback would be greatly appreciated.