hi guys,
Is someone able to implement a gpiozero (i mean the library) plugin to use simple functions to e.g. control a RGBLED.
i made a script to control the gpio led but now i have problems to integrate it in my rules.
or is there an other way without external scripts?
my goal is that the led show different status (green. Yellow. Red, blinking. Pulsing. And so on)
Thanks.
dk00000
-
[Implemented] gpiozero RGBLED
-
@dk00000 Tell me which classes you’re using and I’ll implement this as part of pimatic-johnny-five which is very easy. It is just the RGBLED class? Which type of LED are using? Is it something like the following? https://github.com/rwaldron/johnny-five/blob/master/docs/led-rgb - It is also possible to connect ithe LED directy to the Raspi, of course
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
Thanks
Maybe thats exactly what i am looking for.
I have a rgb led at gpio pins at my pi and want pulsing, blinking, different colors. Thats it.
In my rules i want to control the led like when window open than …blinking…
So if it works with jonny five there is no need to have another plugin. -
@dk00000 fyi, support for RGB leds has landed in pimatic-johnny-five@0.9.11
It is pretty basic right (just dimming and set color) but I’ll add more actions soon, e.g. blinking with interval and durationPlease contact me via chat if you need help with setup
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law