I have here still 2 NeoPixel strips (Adafruit NeoPixel 8x5050 RGB) which lying around and
I could imagine “visualizing” something with them. Or just playing around
Adafruit has a Python Lib for this and also a description which I used to call
total leie was able to try the whole thing out on an RPi3 for testing purposes, I get
which means that the pixels light up differently or even blink at times.
This all happens in Python.
Here is the link to the Adafruit page:
Since I lack knowledge and I do not even have healthy initial knowledge,
can anyone enlighten me on the subject and show me the right way?
I don´t want to buy new hardware so my wish is, do it with the GPIO Pins
from the Pi.
One could imagine, for example:
1 stick for displaying the outside temperature in colour
1 stick for visualization of warning messages (e.g. garbage out, batteries empty…)
The Problem is not, to connect the sticks to the Pi or to write a Pyhton Script to controll the
PixelStick.
The question for me is, is there (hopefully an easy) a way to controll the PixelStick with OpenHAB ?
I could imagine, for example, that a OH rule would make a stick blink red if the humidity in the house is too high → note for vent. Or or or or …
Hence the question: Is there a “simple” way to make sure that the sticks are controlled by the GPIO pins in OH ? Is it possible to start and stop a Phyton script ? Is there perhaps a better way ?
Do you want to attach the LEDs to the same RPi as openHAB is running on?
Or a different one somewhere else in your home?
If the former, GPIO would probably work, if the latter you need to figure out some transport like MQTT or something else (lots of options) and therefore would be much more complicated, in fact I would recommend some Arduino or ESP based device if you want to go that route, RPi is overkill for that.
For just playing as you say, then yes the RPi will certainly work. You should be able to find everything you need on the Internet to get it working. Thus is the fun of “playing.”
On the openHAB side, there are even RGB widgets available in the Sitemap if you want direct control, of course you could also construct rules to update the colors of the LEDs based on conditions as you describe.