Please see my post from one month ago
-
New plugin for Milight - pimatic-milight-reloaded
-
@mwittig said in New plugin for Milight - pimatic-milight-reloaded:
I am planning to add a color action soon. It’s almost finished. Maybe I can finish this off next weekend.
have you finished the color action? i would like to set a specific color with a buttonsdevice and a rule. dimming via rule works fine.
-
@garnett
Hi, I have exactly the same problem … dimming about the variable “dim” goes fine. But the colors can not be specified explicitly yet. But the programmer said yes in the next update this function is implemented. I’m looking forward to it … Otherwise super great work and a super pluginGreetings
-
Hey. I’m also waiting for a feature to set the RGB.hue variable by rules, so my dummy-button can apply a complete light scene. That would be awesome!
-
@Jaschkopf
i´ve changed to pimatic-led-light which supports color action. -
@Jaschkopf Implemented as part of pimatic-milight-reloaded@0.9.5
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
great news, will try it soon
-
@mwittig realy nice feature. Thanks for fast implementation. Is there anywhere a list of all possible colours?
-
@Jaschkopf said in New plugin for Milight - pimatic-milight-reloaded:
Is there anywhere a list of all possible colours?
Generally, all CSS named colors (sometimes also referred to as HTML colors) should work, see http://htmlcolorcodes.com/color-names/ for example. Color names need to be provided in all lowercase letters without spaces.
Note, however, the color rendition of the legacy RGBWW bulbs is limited as it is not possible to control the saturation (the new “full color” bulbs support this, however). Moreover, the milight color action does not change Brightness as part of the color rendition (based on a RGB to HSV tranformation). I can do that on request (e.g. as an option), but I found this rather disturbing as Milight only supports 20 native brightness levels. Basically, it is a lossfull mapping due to the Milight limitations.
- 360 degrees hue is mapped to 255 hue values
- 100% brightness is mapped to 20 native brightness values (if requested)
- no saturation
Also keep in mind that state of art RGB LED bulbs can’t render grey, black or brown colors. Something like “lightslategray” won’t be somewhere near gray, but it’ll will give some blue.
The following colors work well for me:
- violet
- royalblue
- deepskyblue
- aqua
- mint
- lightseagreen
- green
- limegreen
- yellow
- orange
- red
- pink
- fuchsia
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
How does it work in rules? Could you give a sample please?
-
@SaxnPaule said in New plugin for Milight - pimatic-milight-reloaded:
Could you give a sample please?
WHEN ... THEN milight set color milight-v6-bridge-light-1 to red
…where the given color value can be a CSS color name (all lowercase, no spaces), a RGB hex value, e.g.
FF0000
(without quotes) or a variable reference.See also https://github.com/mwittig/pimatic-milight-reloaded#milightrgbwzone (predicates and actions are listed at the end of the section)
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
Unterstützt das neue Plugin jetzt auch die ibox2…?!
Gruß
Marco -
@Marco1979 said in New plugin for Milight - pimatic-milight-reloaded:
Unterstützt das neue Plugin jetzt auch die ibox2…?!
Yes. See https://forum.pimatic.org/topic/1889/new-plugin-for-milight-pimatic-milight-reloaded/1 for details. Support for the new full color bulbs will be released shortly.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
Sehr gut… Vielen lieben dank für das plugin… Kannst du mir vielleicht noch mal bei einer regel helfen… Ich möchte wenn der button x gedrückt wird… Dann soll die zone 1 erst auf 100 Prozent weis Leuchten und dann die farbe nach 30sec auf blau setzen und langsam abdunkeln bis auf 30 Prozent… Ich bekomme es aber nur hin das sie weis anfangen zu leuchten auf 100 Prozent und dann sofort auf blau wechseln… Einen wait Befehl scheint es ja nicht zu geben… Und for oder after funktioniert nicht…
-
Not elegant, but the following works for me (0secs: white 100%, 5 secs: blue, 10-16secs: dim to 30% in 10% steps each second).
dim milight-v6-bridge-light-1 to 100 and milight set color milight-v6-bridge-light-1 to white and milight set color milight-v6-bridge-light-1 to blue after 5s and dim milight-v6-bridge-light-1 to 90 after 10s and dim milight-v6-bridge-light-1 to 80 after 11s and dim milight-v6-bridge-light-1 to 70 after 12s and dim milight-v6-bridge-light-1 to 60 after 13s and dim milight-v6-bridge-light-1 to 50 after 14s and dim milight-v6-bridge-light-1 to 40 after 15s and dim milight-v6-bridge-light-1 to 30 after 16s
It would be nice to have a more advanced dim function with time interval and step width values. However, a smooth transition is not possible as Milight only supports 20 brightness levels.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
BTW: pimatic-hap@0.10.0 adds extended support for pimatic-milight-reloaded. (https://github.com/michbeck100/pimatic-hap/issues/45)
pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten -
Hi,
I have 2 sets of light bulbs from Milight. (3 WWCW zone1 FUT017 and 2 RGB-CCT zone4 FUT103) I can controle both via the app on my iphone but i can only controle zone 4 via Pimatic.Zone4 is configured via MilightFullColorZone
Zone1 is configured via MilightWWCWZoneAnyone know why i cannot control the zone1?
for the bridge i use the v6 lamp.
Thanks!
-
Hello,
very nice Plugin!
I want to know when the mode funktion are avaible? It´s a very nice Plugin but this is a Point which i miss.With Regaards
-
@philreis said in New plugin for Milight - pimatic-milight-reloaded:
I want to know when the mode funktion are avaible
Do you mean an action to use the builtin disco modes?
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
Yes of course.