Vera - Smarter Home Control Forum

Advanced => Plugins & Plugin Development => Programming => MiLight/Easybulb/LimitlessLED Plugin => Topic started by: garrettwp on December 08, 2013, 01:26:19 am

Title: LED Strips
Post by: garrettwp on December 08, 2013, 01:26:19 am
Rex or anyone who might know,

Does the plugin work with the rgbw led stip module that I see around the internet? I have seen that this should work with the WiFi module, but not sure if it would work with the RGBW plugin. If so, am I able to have the 4 zones that can be used with the RGBW bulbs or is this limited to a single zone control? I would like to install led strip lights on the bottom of my cabinets to illuminate the floor for accent lighting and act as a night light.

- Garrett
Title: Re: LED Strips
Post by: RexBeckett on December 08, 2013, 06:14:47 am
Photos and details of recent RGBW LED strip remotes and apps look pretty-much identical to MiLight RGB+W ones. The Wifi Bridge looks just like the MiLight V3 unit required by the MiLightRGBW plugin.

Wifi Bridge (http://www.wifiledlamp.com/applamp-wifi-box-with-app-for-applamp-lighting.html)  LED Controller (http://www.wifiledlamp.com/rgbw-led-strip-controller-4x6a-rf-wireless-contro.html)  Remote (http://www.wifiledlamp.com/applamp-touch-remote-full-color-led-remote-control.html)

I would think there is a good chance these would work but, unless someone has already tried it, there's only one way to find out...
Title: Re: LED Strips
Post by: Latcho WifiLedLamp.com on December 08, 2013, 08:04:26 am
Yes I confirm that all products sold at www.WifiLedLamp.com and www.AppLamp.nl are MiLight products that are compatible with the V3 Wifi Bridge, so next to the 6W and 9W RGBW and Dual White bulbs, also the RGB/RGBW/White Ledstrip controllers, Dual White downlights, RGBW downlight.
Title: Re: LED Strips
Post by: RexBeckett on December 08, 2013, 11:04:46 am
Yes I confirm that all products sold at www.WifiLedLamp.com and www.AppLamp.nl are MiLight products that are compatible with the V3 Wifi Bridge, so next to the 6W and 9W RGBW and Dual White bulbs, also the RGB/RGBW/White Ledstrip controllers, Dual White downlights, RGBW downlight.
Thank you @latcho. That's good to know.
Title: Re: LED Strips
Post by: RexBeckett on December 12, 2013, 11:14:05 am
Rex or anyone who might know,

Does the plugin work with the rgbw led stip module that I see around the internet? I have seen that this should work with the WiFi module, but not sure if it would work with the RGBW plugin. If so, am I able to have the 4 zones that can be used with the RGBW bulbs or is this limited to a single zone control? I would like to install led strip lights on the bottom of my cabinets to illuminate the floor for accent lighting and act as a night light.

- Garrett
I have now verified that the MiLight RGBW LED strip controller works with the MiLightRGBW plugin using the V3 bridge. All functions work as with the normal RGB+W lamp. You can have four RGBW zones each of which can be a mixture of lamps and strips if required.

I have noticed a tiny difference in the mapping of hue value to colour between the lamp and the strip controller. This is only noticeable if you use pure red, green or blue colours (using the new action or buttons) and look carefully. There is a fix in the latest plugin: Add the option CLT=2 for zones with LED strip controllers and the colours should match the SetColor action and buttons better. I would also use this option for zones with mixed lamps and strips as the small colour error is more visible on the strips. The option has no effect on hue values set through the UI, SetHue action or AutHomation.
Title: Re: LED Strips
Post by: garrettwp on December 12, 2013, 12:00:22 pm
Great news, I may be getting the LimitlessLED controller for christmas. I am in the process of making my own RGB LED controller using the Arduino sensor project. If things do not go as planned and I get the LimitlessLED controller, I'll be purchasing the LED strip controller. Is this the version with the black label?

- Garrett
Title: Re: LED Strips
Post by: RexBeckett on December 12, 2013, 12:38:51 pm
Quote
Is this the version with the black label?
I am using the Mi-Light RGBW LED Strip Controller and the Mi-Light V3 Wifi Bridge. See pictures below.

Title: Re: LED Strips
Post by: garrettwp on December 12, 2013, 12:51:25 pm
OK, I've seen them with white labels and think they are the older model for rgb.

- Garrett

Title: Re: LED Strips
Post by: Latcho WifiLedLamp.com on December 12, 2013, 05:59:29 pm
@RexBeckett : I don't have rights to answer private messages for some reason.
You are right, hue is 0-255 for the ledstrip controllers (RGB or RGBW (http://www.wifiledlamp.com/applamp-add-ons/)).
The packaging tech details should be fixed because HUE != RGB...
Title: Re: LED Strips
Post by: RexBeckett on December 12, 2013, 06:20:15 pm
@RexBeckett : I don't have rights to answer private messages for some reason.
You are right, hue is 0-255 for the ledstrip controllers (RGB or RGBW (http://www.wifiledlamp.com/applamp-add-ons/)).
The packaging tech details should be fixed because HUE != RGB...
You may have to reach some number of posts before you can answer PMs, @latcho. Sorry, I did not realise this. Let us keep talking until you are fully qualified.  ;D

Thank you for your response. I shall stop worrying that I am not utilizing all the colour capabilities in my plugin. I like the Mi-Light RGBW LED Strip controller - it works very well. I shall probably buy a few more and break my 5 metre strip into several segments for individual control.

Do you understand why the RGB+W lamp and RGBW strip controller have slightly different mapping of hue value to colour?  For example, pure red is 165 on the RGBW 6W lamp and 174 on the strip controller. There are also small differences (~3) for blue and green.
Title: Re: LED Strips
Post by: Latcho WifiLedLamp.com on December 13, 2013, 06:45:09 pm

Quote
..
Do you understand why the RGB+W lamp and RGBW strip controller have slightly different mapping of hue value to colour?  For example, pure red is 165 on the RGBW 6W lamp and 174 on the strip controller. There are also small differences (~3) for blue and green.

Hi Rex, never had an issue with the color mapping, but I only use the 9W bulbs. Will for sure check that on the 6W bulb.
Surely, an RGB(W) ledstrip can have a slight differences due to SMD production and different implemented calibration in the resistance of each R/G/B channel to get a pink "chinese white" or a yellowish "white" when you put each R/G/B color channel at full power. But if you select pure RED, it should be that way: pure. So very curious to check this Monday.
By the way, for cutting RGBW strips in pieces: there are no click-on connectors for RGBW on the market. So it will be a tough job at soldering; The RGBW lines are very close together and the copper plates of a strip are sensitive. So put a tiny bit of solder-tin on the wires first, after that heatup fast and short.
Title: Re: LED Strips
Post by: RexBeckett on December 14, 2013, 06:11:04 am
Thank you @Latcho. I shall be interested in your tests of pure colour mapping between RGBW 6W, RGBW 9W and RGBW Strip.

Quote
Surely, an RGB(W) ledstrip can have a slight differences due to SMD production and different implemented calibration in the resistance of each R/G/B channel to get a pink "chinese white" or a yellowish "white" when you put each R/G/B color channel at full power.
I was not aware that it was possible to get full R+G+B on the RGBW Strip controller. What is the command?
Title: Re: LED Strips
Post by: eldrix4 on December 24, 2013, 10:54:38 pm
Regardless of the challenges, the plug-in is just brilliant. Happy Christmas to you and enjoy a day of not responding to my amateur nonsense :)


Sent from my iPhone using Tapatalk (http://tapatalk.com/m?id=1)
Title: Re: LED Strips
Post by: RexBeckett on December 25, 2013, 03:52:59 am
Thank you, @eldrix4, and a Happy Christmas to you too. I have just run my Xmas scene for the RGBW LED strip that is temporarily festooned in the living room. It's the only time I find the disco mode useful.  ;D
Title: Re: LED Strips
Post by: parkerc on December 25, 2013, 03:58:34 am
Happy Xmas & new year Rex..

Thanks for responding to my questions earlier, a couple of follow ups..

Q: Would I be right in saying you need a new dedicated remote for each lighting type (you know the one they sell) ? RGBW, White etc?

Q: Where can I find the RGBW LED strips you are talking about? I could only see bulbs and ceiling lights on the easybulb page, am I missing something?
Title: Re: LED Strips
Post by: RexBeckett on December 25, 2013, 04:37:23 am
Happy Christmas, Chris.

Quote
Would I be right in saying you need a new dedicated remote for each lighting type (you know the one they sell) ? RGBW, White etc?
Quite right. There are currently three types: White, RGB and RGB+W.

Quote
Where can I find the RGBW LED strips you are talking about? I could only see bulbs and ceiling lights on the easybulb page, am I missing something?
There are MiLight controllers for both RGB and RGBW strips. They work with the V3 bridge and behave like the equivalent lamps. I am hoping they will introduce a dual-white controller at some point. I bought mine from wifiledlamp (http://www.wifiledlamp.com/applamp-add-ons/rgbw-led-strips-controllers/) who also sell compatible LED strips, power-supplies, accessories and kits. You can get a discount for being a Vera user. See this post. (http://forum.micasaverde.com/index.php/topic,14051.msg141062.html#msg141062)
Title: Re: LED Strips
Post by: patelhe on June 24, 2014, 10:54:58 am
Is there a way to turn on both the white and the color leds of a strip at the same time using mi-light rgbw controller.  I am able to do that with the original IR remote that came with the LED strips.
Title: Re: LED Strips
Post by: jimmyhtz on August 11, 2014, 05:08:34 pm
RexBeckett,
Thank you again for such an excellent plug-in.
However, now I need to write code for the first time to have this do what I want

I want my RGBW strip to turn bright white, regardless of the last setting, each time I press the ON button of the light switch

Note: The light switch controls the power supply to the RGBW strips.
The light switch ID is 221 and I am using PLEG to handle the the automation.

Just so I know I am doing this correctly, under the Actions tab of my Switch condition, I pressed the On and I moved the slider to 100% in your plug-in control.
Under the LUUP tab I have this:
luup.call_action("urn:dcineco-com:serviceId:MiLightRGBW1", "SetWhiteMode",221)

I think I missed something in the formatting because it did not work.
Thank you again
Title: Re: LED Strips
Post by: RexBeckett on August 11, 2014, 05:39:40 pm
Your Luup call looks OK, @jimmyhtz, but I find the lamps will not accept any commands for about two seconds after power-up. I have some scenes that are triggered by the power switch and I delay each action by two seconds. This works reliably.
Title: Re: LED Strips
Post by: jimmyhtz on August 11, 2014, 06:25:26 pm
Your Luup call looks OK, @jimmyhtz, but I find the lamps will not accept any commands for about two seconds after power-up. I have some scenes that are triggered by the power switch and I delay each action by two seconds. This works reliably.
Yeah, I was afraid of that.

Please confirm, I should insert this command on top:
luup.call_action("urn:dcineco-com:serviceId:MiLightRGBW1","SetOptions",{newOptions="ICT=200"},221)

Do you think I can sneak in the command when I press the power off switch?
Meaning that it would accept the command before it actually powers down and it will turn on white the next time I turn it on.

Should I also put a delay in between commands if I have more than one?
Title: Re: LED Strips
Post by: RexBeckett on August 11, 2014, 06:50:44 pm
Quote
Please confirm, I should insert this command on top:
luup.call_action("urn:dcineco-com:serviceId:MiLightRGBW1","SetOptions",{newOptions="ICT=200"},221)

Do you really need to extend the inter-command time? All my MiLights work fine with the default 50ms. In any event, you only need to set this once - it will be retained in the plugin through power cycles and Vera restarts.

Quote
Do you think I can sneak in the command when I press the power off switch?
Meaning that it would accept the command before it actually powers down and it will turn on white the next time I turn it on.

I doubt it. By the time Vera gets the trigger, the lamp will already have lost power.

These things work best when you leave them powered on all the time and turn them on and off through the plugin. One trick is to use a Z-Wave switch just as a trigger for scenes and power the lamps directly from live. That way you don't need to wait two seconds before the first command and you could also set the lamp to white before turning it off.

Quote
Should I also put a delay in between commands if I have more than one?

I haven't found that to be necessary but it probably depends on what commands and how many. Try it out and, if commands get missed, add a one-second delay.
Title: Re: LED Strips
Post by: jimmyhtz on August 11, 2014, 08:10:42 pm
Do you really need to extend the inter-command time? All my MiLights work fine with the default 50ms. In any event, you only need to set this once - it will be retained in the plugin through power cycles and Vera restarts.
I assumed 200ms = 2 seconds
Oops, now I just released that I need to put the delay in the PLEG, not as a command to the device. Duh...

These things work best when you leave them powered on all the time and turn them on and off through the plugin. One trick is to use a Z-Wave switch just as a trigger for scenes and power the lamps directly from live. That way you don't need to wait two seconds before the first command and you could also set the lamp to white before turning it off.

The Strip Lights light up my patio between my house and my garage.
I currently have an Evolve LSM-15 Binary Switch (http://www.amazon.com/Evolve-LSM-15-15-Amp-Mount-Switch/dp/B008OF8CC6/ref=sr_1_1?s=hi&ie=UTF8&qid=1407801599&sr=1-1&keywords=LSM-15+Z-Wave) paired with an Evolve LTM-5 Accessory Switch (http://www.amazon.com/gp/product/B008OF8CJO/ref=wms_ohs_product?ie=UTF8&psc=1) as a 3-way switch, so I can turn on and off the patio lights from the house or garage.  The Luup code is so that the strip lights will turn bright white if I had previously changed color or mode.
If we have friends over, or just lounging outside, I plan to turn on one of the switches and then play with modes/color/hue with the remote.

I agree with you that it would be better to leave the power supplies on all the time and use the switches as scene selectors, but I can't do that with my current switches.... or can I?
Title: Re: LED Strips
Post by: RexBeckett on August 12, 2014, 02:33:20 am
Quote
I agree with you that it would be better to leave the power supplies on all the time and use the switches as scene selectors, but I can't do that with my current switches.... or can I?

Why not? All you do is take the power feed for the lights from the switch Live instead of Load terminal. Use scenes or PLEG to catch the on and off triggers and send the On and Off lamp actions. It will work with any switch that supports instant status.
Title: Re: LED Strips
Post by: smwein on August 24, 2014, 11:54:30 pm
Trying to get this work with my strip LEDs.  I have the LED controller connect to wifi bridge and everything works.  But it doesn't seem to work via the plugin.    Also I'm running UI7.  Is that the problem?  Any help would greatly appreciated.

Thanks
Title: Re: LED Strips
Post by: RexBeckett on August 25, 2014, 02:48:21 am
Trying to get this work with my strip LEDs.  I have the LED controller connect to wifi bridge and everything works.  But it doesn't seem to work via the plugin.    Also I'm running UI7.  Is that the problem?  Any help would greatly appreciated.

Thanks

I have not yet released the version for UI7. The changes are required to fix the UI, though. Version 1.0 should work on UI7 although not all the controls can be used.

Here's the debug checklist:

     1. You have lamps enrolled on the bridge and can control them with the smartphone app.
     2. The bridge has a constant IP address set on the bridge or with the router.
     3. You have set ip in the plugin's Advanced tab to match the bridge.
     4. The port number at the end of ip is correct for the bridge. Recent bridges use 8899
     5. You have set Group on the Advanced tab to match where your lamps are enrolled (1 - 4).
 
Title: Re: LED Strips
Post by: smwein on August 25, 2014, 10:24:54 am
Ok I have checked all the setting and everything is correct.  I have v4 bridge if that makes a different.  I still can't control led via the plugin.  I'm using the RGBW plugin because I have a RGBW led strip.  Thanks
Title: Re: LED Strips
Post by: RexBeckett on August 25, 2014, 01:47:20 pm
Ok I have checked all the setting and everything is correct.  I have v4 bridge if that makes a different.  I still can't control led via the plugin.  I'm using the RGBW plugin because I have a RGBW led strip.  Thanks

It works on my UI7 test system (Vera Lite) with an RGBW lamp on a V3 bridge. The MiLight RGBW LED Strip controller works the same as the RGBW lamp and the V4 bridge should work the same as the V3 one. Maybe wait until I release the new plugin and see if that makes a difference although I'm not convinced that it will.
Title: Re: LED Strips
Post by: smwein on August 25, 2014, 04:07:50 pm
I have downgraded to UI5 and it is still not working. I only have one led controller paired with my wifi bridge,  so I'm assuming it is in group one.  Are there any logs I can check?
Title: Re: LED Strips
Post by: smwein on August 25, 2014, 04:33:59 pm
So I installed the MiLightRGB plugin and everything started to work.  Any ideas why the RGBW isn't working.

Thanks
Title: Re: LED Strips
Post by: RexBeckett on August 25, 2014, 05:31:23 pm
So I installed the MiLightRGB plugin and everything started to work.  Any ideas why the RGBW isn't working.

Thanks

No. If you have a four-channel MiLight LED controller, the RGBW plugin should work - it does on mine.
 
Title: Re: LED Strips
Post by: monkeydance on October 06, 2014, 03:20:06 pm
There are a couple of different wifi controllers on ebay and Amazon. I'm trying to make sure I purchase the correct one and to see if it will do what I would like it to with the plugin. I'm hoping you guys can help me.

Currently I have a strip of 5050 RGB with the supplied IR remote. They're under cabinet lighting only controlled by the remote that came with it. I'm looking to hook these up to my Veralite but wanted to buy right, and buy once so I'm coming here to ask before buying. If there's an existing thread covering these I haven't been able to find it.

1. If I'm only going to control these via iphone/android app or Vera scenes do I need a controller or just the wifi unit?
2. If I shut off the light and it's set to a certain color, when I power the light on does it go to the last saved color, or does it go to a default?
3. Can I assign RGB values individually? I use that to set a white that matches my kitchen lighting and don't want to lose that function.
4. Can you save preset colors? White for cooking, red for night time, blue for morning etc.
5. Is the dimming functionality gradual or in steps? I'd like to have it fade in as the sun rises etc. With the IR remote and controller it fades up "gradually" without going in set steps.

Thanks,
Title: Re: LED Strips
Post by: joer. on October 06, 2014, 03:27:43 pm
I'll tackle what I know from my experiences.


1. If I'm only going to control these via iphone/android app or Vera scenes do I need a controller or just the wifi unit?
In order to control the LED strip using Milight you would need a Milight LED controller and a Milight wifi bridge/hub. Now I am unsure if it is just RGB what the limitations are. I know you can do 4 zones (4 seperate milight controllers  and led strips) using RGBW.

Quote
2. If I shut off the light and it's set to a certain color, when I power the light on does it go to the last saved color, or does it go to a default?
In my experience when you turn on the light it goes back to the last color unless you tell it to otherwise.
Quote
3. Can I assign RGB values individually? I use that to set a white that matches my kitchen lighting and don't want to lose that function.
Individually as to each zone? yes. You can LUA (I havent done this), to change the light based on different scenes.
Quote
4. Can you save preset colors? White for cooking, red for night time, blue for morning etc.
Again like above you would use LUA to set the color. Do note you turn on the lights, they go back to the last color, than you must command them to turn to another color. Possible work around I havent tried would be to turn on the lights at like 5%, change color, than turn the to 100%.

Quote
5. Is the dimming functionality gradual or in steps? I'd like to have it fade in as the sun rises etc. With the IR remote and controller it fades up "gradually" without going in set steps.

I believe this is all handled by the controller. It doesnt dim up or down all that slow.
Title: Re: LED Strips
Post by: monkeydance on October 06, 2014, 03:43:43 pm

I"m only going to be using this on one zone, I should have clarified. On the IR remote there's buttons for R, G and B that let you increase the saturation of each color to make a custom color all in the same zone, (not one on the remote) then you can save it to a button on the remote to switch back and forth easily. that's more of what I was looking to retain. I might have to dig into LUA sometime soon to figure out how to do it.

The dimmer was more of a wish than anything, I haven't found anything other than a HUE that can do the increase over time. And those strips are too pricey to justify it at this point.

Thanks for the answers. Hopefully I can get it working soon.
Title: Re: LED Strips
Post by: RexBeckett on October 09, 2014, 01:23:25 pm
@monkeydance, these plugins only work correctly with MiLight lamps and LED controllers. None of the MiLight products support individual setting of RGB levels - they use a single colour code value. You can set the colour (Hue) using a scene action or luup.

Neither the MiLight lamps or the plugins have a ramp up/down function. You could achieve one using luup code to send a series of brightness changes over the required period.
   
Title: Re: LED Strips
Post by: amikolajczyk on October 14, 2014, 04:46:04 pm
Hi all, first and foremost thank you Rex for all your hard work. I recently received my V4 Wifi bridge and RGBW LED strip controller. Followed the instructions here and read through this thread twice now and it's working great! Kudos on a job well done.

My wife and I are building a house and we started looking at what "real" under counter lighting might cost and let me just say we were pretty horrified. This little plug in with this hardware is honestly saving us thousands....which honestly we simply would not have spent. For less than the price of one boxed off-the-shelf Z-wave undercounter light fixture we can do under counter, floor level, and even over cabinet LED strips and get a lot more out of them.

As I said, I've read this thread front to back and back to front now, so forgive me if this was answered and I just happened to miss it.

1) You'd mentioned there are just 9 discrete levels of dimming between off and full intensity. Could you let us know what LoadLevel these correspond to? If I wanted to do a slow fade in Luup code setting load levels with a delay in between, what are those 9 load levels which count? I've played with For loops running from 1-100 but I feel like it would be cleaner to just hit those key values.

2) This was mentioned before, but I know that when you turn a light on, it goes back to the last color and LoadLevel it had been at when it was turned off, is that still true?

3) Also, if you hit the contoller with a SetHue command while it's off, does it have any effect? It doesn't seem like it does. My use-case would be creating a scene in which you bring the lights up from zero at a pre-determined color regardless of the last color they were set at when they were turned off.

Someone a while ago was talking about making "off" actually a dim-down to the lowest setting before going off, such that when you turned them on at least they wouldn't pop back to life very high. Next time it turned on, it would be very low, then you could set a color and have it come up to an operating level. Does that make sense or am I going about this all wrong?

Thanks again for everything this has been a great way for me to learn Vera/Luup without costing me a bundle.

Sincere Regards,
Adam
Title: Re: LED Strips
Post by: RexBeckett on October 17, 2014, 09:31:46 am
Hi Adam and thanks for the feedback.

Quote
1) You'd mentioned there are just 9 discrete levels of dimming between off and full intensity. Could you let us know what LoadLevel these correspond to? If I wanted to do a slow fade in Luup code setting load levels with a delay in between, what are those 9 load levels which count? I've played with For loops running from 1-100 but I feel like it would be cleaner to just hit those key values.

The RGB lamp has nine levels. The plugin calculates the number of steps to change by taking the difference between current and required level, subtracting four and dividing by eleven. Then it adds 0.5 and takes the integer value. You could just increment LoadLevelTarget by eleven.

Quote
2) This was mentioned before, but I know that when you turn a light on, it goes back to the last color and LoadLevel it had been at when it was turned off, is that still true?

That is true for all of the MiLight lamps and LED controllers that I have tested.

Quote
3) Also, if you hit the contoller with a SetHue command while it's off, does it have any effect? It doesn't seem like it does. My use-case would be creating a scene in which you bring the lights up from zero at a pre-determined color regardless of the last color they were set at when they were turned off.

The lamp must be on before the colour can be changed. The plugin ignores the SetHue command if the lamp is off.

Quote
Someone a while ago was talking about making "off" actually a dim-down to the lowest setting before going off, such that when you turned them on at least they wouldn't pop back to life very high. Next time it turned on, it would be very low, then you could set a color and have it come up to an operating level. Does that make sense or am I going about this all wrong?

If you set the dim level to zero it will step down to minimum and then turn off. When turned back on, it will start at minimum level.
Title: Re: LED Strips
Post by: destinet on November 16, 2014, 05:28:52 pm
Hi thanks for the plugin

I have an issue.  I have 3 led on group 2 and another led on group 1

But when I send a command they mismatch event if I send the command for group 2 it's group 1 who close.  Not sure how to fix that
Title: Re: LED Strips
Post by: RexBeckett on November 16, 2014, 07:04:59 pm
Hi thanks for the plugin

I have an issue.  I have 3 led on group 2 and another led on group 1

But when I send a command they mismatch event if I send the command for group 2 it's group 1 who close.  Not sure how to fix that

So you have created two devices: one for group 1 and another for group 2. When you click buttons on the group 2 device the group 1 lamps change. Is that correct?

Do the groups work correctly when you control them from the smartphone App or the remote control?
 
Title: Re: LED Strips
Post by: destinet on November 16, 2014, 07:10:56 pm
Group 1 has one rgb  and group 2 has 3 rgb

On the app if I close group 1 only that one close and same for group 2 so it's working correctly but not with the plugin
Title: Re: LED Strips
Post by: RexBeckett on November 16, 2014, 07:27:44 pm
Group 1 has one rgb  and group 2 has 3 rgb

On the app if I close group 1 only that one close and same for group 2 so it's working correctly but not with the plugin

Are using Mi-Light RGB lamps or RGB+W ones? The RGB lamps only work on a single group. The Mi-Light RGB LED-strip controller supports four groups but behaves like an RGB+W lamp. Which plugin name and version have you installed? Can you capture and post the part of the Advanced tab for each of the two devices that starts with Variables?
Title: Re: LED Strips
Post by: jdr0berts on November 17, 2014, 12:39:36 pm
Trying to get this work with my strip LEDs.  I have the LED controller connect to wifi bridge and everything works.  But it doesn't seem to work via the plugin.    Also I'm running UI7.  Is that the problem?  Any help would greatly appreciated.

Thanks

I have not yet released the version for UI7. The changes are required to fix the UI, though. Version 1.0 should work on UI7 although not all the controls can be used.

Here's the debug checklist:

     1. You have lamps enrolled on the bridge and can control them with the smartphone app.
     2. The bridge has a constant IP address set on the bridge or with the router.
     3. You have set ip in the plugin's Advanced tab to match the bridge.
     4. The port number at the end of ip is correct for the bridge. Recent bridges use 8899
     5. You have set Group on the Advanced tab to match where your lamps are enrolled (1 - 4).

Hi Rex,

Thanks for creating a full set of plugins!  I'm having a problem getting them working, have you seen this before:

I've checked the debug items above, and am OK with 1-4. For 5, there isn't a Groupon the Advanced tab for me to set the required Group.

Vera UI5, latest "black" milight wifi bridge, milightRGBW LED controller used with RGB LED, v1.2 of the milightRGB plugin.

Thanks
James
Title: Re: LED Strips
Post by: RexBeckett on November 17, 2014, 01:14:26 pm
Hi James,

If you are using the MiLight RGBW LED controller, you need to use the MiLightRGBW plugin. The controller emulates an RGBW lamp even though it is driving an RGB strip. This allows you to have four groups.
Title: Re: LED Strips
Post by: destinet on November 17, 2014, 01:15:03 pm
Are using Mi-Light RGB lamps or RGB+W ones? The RGB lamps only work on a single group. The Mi-Light RGB LED-strip controller supports four groups but behaves like an RGB+W lamp. Which plugin name and version have you installed? Can you capture and post the part of the Advanced tab for each of the two devices that starts with Variables?

I'm user the rgb+w, MiLightRGBW version 1.0

Here is the image, group 1 has 1 device and group 2 has 3
Title: Re: LED Strips
Post by: RexBeckett on November 17, 2014, 01:23:53 pm
@destinet, do you have the ip attribute set correctly on the second device? It is showing a CommFailure which should not be there.
Title: Re: LED Strips
Post by: destinet on November 17, 2014, 02:28:18 pm
@destinet, do you have the ip attribute set correctly on the second device? It is showing a CommFailure which should not be there.

it's same ip for both device, i will verify tonight if the hub has changed but i dont think so.
Title: Re: LED Strips
Post by: RexBeckett on November 17, 2014, 04:33:46 pm
@destinet, do you have the ip attribute set correctly on the second device? It is showing a CommFailure which should not be there.

it's same ip for both device, i will verify tonight if the hub has changed but i dont think so.

Also check that the Group field contains only the single digit and no extraneous characters. An error in converting this field to a number could result in the device controlling all groups instead of just one.
 
Title: Re: LED Strips
Post by: destinet on November 17, 2014, 07:26:38 pm
Really weird, came home all the light were red so no link. I did the hole linking process and now it's seems to work fine. i will keep you posted
Title: Re: LED Strips
Post by: integlikewhoa on January 06, 2015, 09:41:21 am
Hey guys!

I have had one room setup as a test for a while and getting ready to do the rest of the rooms. Got a question

I have one room that's gonna use 3 strips of 5m LEDs. I'm gonna use a 15amp power supply.

How many feet can I run off a single controller before I need to split it up?

Can I just run 15amps into the controller then split the output RGBW 3 ways to go to 3 strips?

I thought I read that it can take 6amps per channel (that means color right) and if my strips are only 5 amp total with 4 colors does that figure out to 1.2amp per channel per strip? Or is the White LEDS alot more draw vs. the color LEDS?
Title: Re: LED Strips
Post by: RexBeckett on January 06, 2015, 10:20:17 am
The Mi-Light RGBW LED strip controller is rated at 6A per channel. Current requirement for LED strips depends on the type of LEDs and the number per metre. Even with 60 x 5050 LEDs per metre, a 5 metre length would typically need less than 5A total (all colours). One controller should be able to run three of these 5 metre strips.

Note that each strip need to be connect to the controller. Do not try to run one strip from the end of another. This would exceed the current capacity of the first strip and it would probably melt.
Title: Re: LED Strips
Post by: integlikewhoa on January 06, 2015, 11:27:48 am
The Mi-Light RGBW LED strip controller is rated at 6A per channel. Current requirement for LED strips depends on the type of LEDs and the number per metre. Even with 60 x 5050 LEDs per metre, a 5 metre length would typically need less than 5A total (all colours). One controller should be able to run three of these 5 metre strips.

Note that each strip need to be connect to the controller. Do not try to run one strip from the end of another. This would exceed the current capacity of the first strip and it would probably melt.

Thanks for that info. I am aware of the voltage drop and was planning on wiring all 3 directly to the controller one going in each direction and the third with a long 5 meter wire set going down to the end of one of the strips to start the third/final strip. 
Title: Re: LED Strips
Post by: pkcosgrove on January 20, 2015, 01:06:15 pm
Does anyone know which plugin is needed to control a milight strip controller.
This one is a single zone controller it does RGB + W
Title: Re: LED Strips
Post by: RexBeckett on January 20, 2015, 01:35:39 pm
Does anyone know which plugin is needed to control a milight strip controller.
This one is a single zone controller it does RGB + W

If it is a single zone LED strip controller, try using MiLightRGB. Multizone LED strip controllers usually work with MiLightRGBW.
 
Title: Re: LED Strips
Post by: integlikewhoa on January 20, 2015, 02:26:16 pm
Does anyone know which plugin is needed to control a milight strip controller.
This one is a single zone controller it does RGB + W

http://www.ebay.com/itm/4X-2-4G-Wireless-MiLight-LED-RGBW-Strip-light-Controller-WiFi-iOS-Android-APP-/261643007233?pt=US_Lighting_Parts_and_Accessories&hash=item3ceb237501

I have this and use the RGBW. I didn't think or know that you can use the controller without the wifi modal.
Title: Re: LED Strips
Post by: John75 on January 29, 2015, 04:35:06 pm
I have 8 of the 9W RGBW Bulbs and just hooked up one RGBW strip. From the app, and the plugin, the strip and the bulbs do not sync color in disco mode. All of the colors are correct when choosing a static color but the strip is cycling a bit faster than the bulbs and grows more out of sync as time passes? Is there anything I can do? Is this a resistance problem with the strip?
Title: Re: LED Strips
Post by: RexBeckett on January 29, 2015, 05:10:16 pm
I have 8 of the 9W RGBW Bulbs and just hooked up one RGBW strip. From the app, and the plugin, the strip and the bulbs do not sync color in disco mode. All of the colors are correct when choosing a static color but the strip is cycling a bit faster than the bulbs and grows more out of sync as time passes? Is there anything I can do? Is this a resistance problem with the strip?

I expect this is due to slight differences between the hardware and/or firmware of the lamps and LED Strip controller. Unless you can find a speed setting for each type that matches, I doubt that there is anything you can do to synchronize them.
 
Title: Re: LED Strips
Post by: John75 on January 29, 2015, 05:13:50 pm
I expect this is due to slight differences between the hardware and/or firmware of the lamps and LED Strip controller. Unless you can find a speed setting for each type that matches, I doubt that there is anything you can do to synchronize them.

I've tried all the modes. The strip controller does all of the modes faster by quite a lot. For example, the flashing modes on the strip are probably twice as fast. I like the speed better for the flashes but I tend to use mode 1 cycle and fade on the slowest setting. By the time it changes to the second or third color they're already way out of sync.
Title: Re: LED Strips
Post by: John75 on January 29, 2015, 05:14:36 pm
That begs the question if there are firmwares available?
Title: Re: LED Strips
Post by: integlikewhoa on January 29, 2015, 06:12:00 pm
That begs the question if there are firmwares available?

Why not swap one controller to the other to find out if its a controller issue or a resistance/light issue?
Title: Re: LED Strips
Post by: John75 on January 29, 2015, 06:13:31 pm
Why not swap one controller to the other to find out if its a controller issue or a resistance/light issue?

I have 4 strip controllers. I did try another. Same exact thing.
Title: Re: LED Strips
Post by: integlikewhoa on January 29, 2015, 06:15:57 pm
Why not swap one controller to the other to find out if its a controller issue or a resistance/light issue?

I have 4 strip controllers. I did try another. Same exact thing.

So maybe more test needed but sounds like it's not a controller or firmware issue.
Title: Re: LED Strips
Post by: ChronosHD on January 30, 2015, 02:17:01 pm
Wondering if I could extract the firmware from the controller I just ordered. Any ideas on that?
Title: Re: LED Strips
Post by: John75 on January 30, 2015, 03:43:23 pm
Not sure. Can anyone report that they have bulbs and strips in sync? May not be a reason to do it unless.
Title: Re: LED Strips
Post by: integlikewhoa on January 30, 2015, 04:46:23 pm
Not sure. Can anyone report that they have bulbs and strips in sync? May not be a reason to do it unless.

I agree, sounds like if changing controllers doesn't fix it then changing only the controller firmware is also of no use.
Title: Re: LED Strips
Post by: vas5150 on June 01, 2015, 05:28:49 am
Hey Everyone,

I purchased a Mi light led strip with wifi, I have set it up and can connect to it (the wifi hub) in the IOS app, before I can use in Vera i need to Link the remote.

I have tried powering and pressing the link button before 3 seconds ( that what the manual says) I cant get it to work through app. Works fine through remote that came with it.

Any help would be appreciated

Title: Re: LED Strips
Post by: integlikewhoa on June 01, 2015, 08:24:33 pm
Hey Everyone,

I purchased a Mi light led strip with wifi, I have set it up and can connect to it (the wifi hub) in the IOS app, before I can use in Vera i need to Link the remote.

I have tried powering and pressing the link button before 3 seconds ( that what the manual says) I cant get it to work through app. Works fine through remote that came with it.

Any help would be appreciated

I don't think you can link it to more then one device. For example I don't think you can have the remote and the wifi setup. The wireless strip connects to one hub at a time if I remember right.
Title: Re: LED Strips
Post by: vas5150 on June 01, 2015, 11:16:05 pm
Thanks for the reply

so I am in australia and got it from a seller in China from ebay. They sent me an rgbw controller that is not a mi light controller and a rgb controller that IS a mi light controller. I hooked the rgbw strip to the rgb controller and i can control it, Just dont get the right colours. Have ordered another controller from another ebay seller!!

cheers
Title: Re: LED Strips
Post by: integlikewhoa on June 02, 2015, 12:18:59 pm
Thanks for the reply

so I am in australia and got it from a seller in China from ebay. They sent me an rgbw controller that is not a mi light controller and a rgb controller that IS a mi light controller. I hooked the rgbw strip to the rgb controller and i can control it, Just dont get the right colours. Have ordered another controller from another ebay seller!!

cheers

Test out one color at a time to find out what you need to swap. I have found that the LED strips are not labeled right.
Title: Re: LED Strips
Post by: vas5150 on June 03, 2015, 06:07:02 am
I have ordered the correct RGBW controller but for now I have set a scene for the colours I want, each scene is set to HUE.... I went through and changed the hue number till i got the colours i needed, Also set a scene for disco mode.

actually does all i need for now.