Is there any way in pimatic to set a variable in the gui? (i.e. by typing something in a form) (a slider would be perfect…)
-> I want to get RGB and Speed Values in the GUI and send them to my RGB Controller unit.
-
Setting Variables in Gui (i.e. slider)
-
You could add an dummy dimmer. How do you change your speed values now?
-
At the moment I have some speed values set in the arduino sketch. And I call them via different modes (the same goes for coulors).
-
You could add this:
{ "class": "DummyDimmer", "id": "led-speed", "name": "LED Speed" },
if you look at the variables page, the percentage is there, you could do something with that.
$led-speed.dimlevel = 25%
rule:
IF $led-speed.dimlevel < 25 THEN ... IF $led-speed.dimlevel > 24 and $led-speed.dimlevel < 50 THEN ... IF $led-speed.dimlevel > 49 and $led-speed.dimlevel < 75 THEN ... IF $led-speed.dimlevel > 74 THEN ...
-
thats cool for the beginning but that would mean there are three dimmers for colors, one for speed and maybe one for brightness.
I guess there is currently no way to have more than one dimmer as one device? -
Currently not, you could make a request in the request forum.
-
There is already a request for a colorwheel to select colors for RGB http://forum.pimatic.org/topic/179/colour-picker-rgb
-
In the feature i hope we can get the colour picker in pimatic, as I requested in the requesting part of the forum.
For speed control this dimmer device is perfect!
Thanks sweebee