Author Topic: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW  (Read 8174 times)

Offline ntk

  • Jr. Member
  • **
  • Posts: 82
  • Karma: +1/-1
Re: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« Reply #45 on: December 24, 2017, 11:09:59 am »
how can i control diffrent zone in the wifi box ?

Offline ranneman

  • Full Member
  • ***
  • Posts: 141
  • Karma: +7/-0
Re: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« Reply #46 on: December 24, 2017, 11:37:24 am »
Didn't test it but it should be possible through the group field in the variables overview for the device.
Vera lite UI7 Europe, Vera Plus, Zwave.me switches/dimmers, Zwave.me plus multi switch, Fibaro switches and multi sensors, Everspring sensors motion, temp., humidity. Honeywell Evohome, Greenwave, Sonos, Brel shades, RFXCOM, MiLights, Alexa.

Offline ranneman

  • Full Member
  • ***
  • Posts: 141
  • Karma: +7/-0
Re: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« Reply #47 on: December 25, 2017, 07:13:22 am »
Kd7gab do you have any plans on working on the Kelvin and Saturation implementation. The plugin works fine with the changes you have implemented. If I only use the dimming function it is okay, however sometimes I play with the colors as well and then my scenes are not able to set the Warm White back to what it should be. I suppose that works with Kelvin. I noticed the Kelvin part to be in the updated I_MiLightRGBW.xml file but as you already mentioned it should also be updated in some other files.
Vera lite UI7 Europe, Vera Plus, Zwave.me switches/dimmers, Zwave.me plus multi switch, Fibaro switches and multi sensors, Everspring sensors motion, temp., humidity. Honeywell Evohome, Greenwave, Sonos, Brel shades, RFXCOM, MiLights, Alexa.

Offline Viruta57

  • Full Member
  • ***
  • Posts: 104
  • Karma: +1/-0
Re: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« Reply #48 on: December 28, 2017, 10:20:41 am »
It does not work either on LUUP code with the disco and white mode... it works only with the Hue mode... I was trying to set those modes with the led trip lights on my Christmas tree... that's where I saw it wasn't working...

Offline ranneman

  • Full Member
  • ***
  • Posts: 141
  • Karma: +7/-0
Re: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« Reply #49 on: December 28, 2017, 10:49:26 am »
Meanwhile I got the warm white working. That is what is was looking for so for this moment I'M am fine. (I made a small change to the implementation file to switch from cold white to warm white. As I do not to plan to use the cold white this works for me.
Vera lite UI7 Europe, Vera Plus, Zwave.me switches/dimmers, Zwave.me plus multi switch, Fibaro switches and multi sensors, Everspring sensors motion, temp., humidity. Honeywell Evohome, Greenwave, Sonos, Brel shades, RFXCOM, MiLights, Alexa.

Offline MYLE

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
Re: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« Reply #50 on: May 19, 2018, 01:45:02 am »
I am new using VeraPlus, I just know I need to download some plugins for some 3rd devices integration. Lately I am trying my new order Mi-Light IBox2 (V6), I guess it is version 6 with both LED WW/CW strip controller and GU10 dual white. I am happy I can read this thread and there are many good buddies working on this stuff. I am interested in this programming, but don?t know how to start.

Can anyone help me here to direct me the link I can get more information how to start? Is it possible you can just pass me a Plugins and xml for my trying? Thanks in advance.
« Last Edit: May 19, 2018, 07:01:28 am by MYLE »

Offline ranneman

  • Full Member
  • ***
  • Posts: 141
  • Karma: +7/-0
Re: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« Reply #51 on: May 26, 2018, 01:40:09 am »
MYLE not sure what you are looking for. You can install the milight plugin from the the apps menu. I have a similar bridge. Once the app plugin is installed you probably run into an issue saying "downloading luup files" or something similar. I have included a zip file that includes all the milight files needed (at least for my setup, I made some small changes to be able to control my RGBW lights using the WW instead of CW). Just upload these files using the upload feature under develop apps in the apps menu. After that reload your lua engine (settings, zwave settings, advanced, reload engine). Once done, refresh your browser and if all okay it should give an error on a invalid IP. there should be a new device MILIGHT RGBW. maintain the correct IP address and port number in the advanced setting for the device, 192.xxx.xxx.xx:5987. In my case the port is 5987.

I just tested this routine on my spare veralite, works fine. Be aware this is for the rgbww lights. I don't know if this works for your lights.

I use scenes to control the steering of the lights.
« Last Edit: May 26, 2018, 07:34:25 am by ranneman »
Vera lite UI7 Europe, Vera Plus, Zwave.me switches/dimmers, Zwave.me plus multi switch, Fibaro switches and multi sensors, Everspring sensors motion, temp., humidity. Honeywell Evohome, Greenwave, Sonos, Brel shades, RFXCOM, MiLights, Alexa.

Offline MYLE

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
Re: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« Reply #52 on: May 28, 2018, 07:20:55 am »
Thanks ranneman.  I will try it first and let you know the outcome.   

Offline Viruta57

  • Full Member
  • ***
  • Posts: 104
  • Karma: +1/-0
Re: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« Reply #53 on: June 13, 2018, 11:42:05 am »
Meanwhile I got the warm white working. That is what is was looking for so for this moment I'M am fine. (I made a small change to the implementation file to switch from cold white to warm white. As I do not to plan to use the cold white this works for me.

Can you tell me where you make the change on the Implementation file...?

Offline ranneman

  • Full Member
  • ***
  • Posts: 141
  • Karma: +7/-0
Re: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« Reply #54 on: June 13, 2018, 02:18:48 pm »
Just take the implementation file from the post above. It includes all files for the milight.
Vera lite UI7 Europe, Vera Plus, Zwave.me switches/dimmers, Zwave.me plus multi switch, Fibaro switches and multi sensors, Everspring sensors motion, temp., humidity. Honeywell Evohome, Greenwave, Sonos, Brel shades, RFXCOM, MiLights, Alexa.

Offline Viruta57

  • Full Member
  • ***
  • Posts: 104
  • Karma: +1/-0
Re: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« Reply #55 on: June 14, 2018, 10:42:24 am »
Just take the implementation file from the post above. It includes all files for the milight.

So the command should be this one... luup.call_action("urn:dcineco-com:serviceId:MiLightRGBW1","SetWhiteMode?,?1?,<deviceID>)

Offline ranneman

  • Full Member
  • ***
  • Posts: 141
  • Karma: +7/-0
Re: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« Reply #56 on: June 14, 2018, 10:47:18 am »
This is what I do
  luup.call_action("urn:dcineco-com:serviceId:MiLightRGBW1","SetWhiteMode",{newWhiteMode="0"},116)
     luup.call_action("urn:dcineco-com:serviceId:MiLightRGBW1","SetHue",{newHue="30"},116)
Vera lite UI7 Europe, Vera Plus, Zwave.me switches/dimmers, Zwave.me plus multi switch, Fibaro switches and multi sensors, Everspring sensors motion, temp., humidity. Honeywell Evohome, Greenwave, Sonos, Brel shades, RFXCOM, MiLights, Alexa.

Offline MYLE

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
Re: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« Reply #57 on: June 14, 2018, 11:02:02 am »
My question maybe stupid, can I ask if I should download the existing RGBW plugin from VeraPlus first? I couldn?t make it work even I followed all your steps by your instruction from the previous post.

Offline Viruta57

  • Full Member
  • ***
  • Posts: 104
  • Karma: +1/-0
Re: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« Reply #58 on: June 14, 2018, 11:11:05 am »
So what I did...  If I want a warm light... I created a new Luup file with a different name (I_MiLightRGBWBOX3.xml) with Ranneman file... http://forum.micasaverde.com/index.php?action=dlattach;topic=40126.0;attach=38303 and if I want cold light I use the another file  from kd7gab.... http://forum.micasaverde.com/index.php?action=dlattach;topic=40126.0;attach=35121 with another name  (I_MiLightRGBWBOX2.xml)...
 Now I have the choice to use cold light for the outside lighting.... and warm light in the inside lightning

Offline Viruta57

  • Full Member
  • ***
  • Posts: 104
  • Karma: +1/-0
Re: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« Reply #59 on: June 14, 2018, 11:14:44 am »
My question maybe stupid, can I ask if I should download the existing RGBW plugin from VeraPlus first? I couldn?t make it work even I followed all your steps by your instruction from the previous post.

This is what I did and it's working good so far...
I'm attaching the modified 'I_MiLightRGBW.xml' file. How I'm updating the file on my Vera is included below. Please note, it is possible to mess up your Vera if you do something wrong, etc...

1. SCP the attached 'I_MiLightRGBW.xml' file to your Vera, my preference is to put in into the '/root/' folder, since there's generally not much if anything there. I like to use WinSCP if I'm on a windows box to do the copy.
2. Connect to your Vera via SSH and verify you're in the right directory ('pwd' works perfectly for this).
3. Once you have the file on your Vera, you'll need to make a backup of the original plugin's 'I_MiLightRGBW.xml' file. The easiest option is to copy it to a new filename.
Code: [Select]
cp /etc/cmh-ludl/I_MiLightRGBW.xml.lzo /root/I_MiLightRGBW.xml.lzo.backup
4. Now that you have your original plugin backed up, we'll need to compress the new file:
Code: [Select]
pluto-lzo c I_MiLightRGBW.xml I_MiLightRGBW.xml.lzo
5. The compressed plugin file now needs to be copied over the original plugin, in the '/etc/cmh-ludl' folder
Code: [Select]
cp I_MiLightRGBW.xml.lzo /etc/cmh-ludl/I_MiLightRGBW.xml.lzo
6. From the Vera interface, you'll need to browse to 'Settings' > 'Z-Wave Settings' > 'Advanced'. Here you'll need to click the GO button for the 'Reload Engine' option. This will restart LUUP and load the new plugin file.
7. If you want to look at the live log info while sending control commands, you can tail the uPNP log file
Code: [Select]
tail -f /tmp/log/cmh/LuaUPnP.log

At this point, you should be able to control your Mi-Light/Limitless LED lights via the new bridge. Please note, the modified file will NOT work with the older bridges.

I'm happy to receive feedback, etc. on this but do keep in mind it is a work in progress and I don't have every feature updated and working in this version of the plugin file...

 I_MiLightRGBW.xml (25.13 kB - downloaded 17 times.)


______________________________________________________________________________________________________________________



I would like to thank this community for the work done to implement the new iBOX Wifi Bridge from MiLight... the instructions and the implementation file worked perfectly for me and I now have a great mix of both old style and new style MiLight WiFi boxes happily controlling my LEDs.

Just one suggestion... earlier in this thread the instructions were to SSH into Vera and copy across and then move the new implementation file. I did not do it this way because I have a mix of old and new MiLight boxes.

Instead, I did this;

1. Download the MiLight Device and Implementation files from the Vera Web Interface. (D_MiLightRGBW.xml and I_MiLightRGBW.xml). Do this from the Apps/DevelopApps/LuupFiles page.
2. Rename them both on your desktop to D_MiLightRGBWBOX2.xml and I_MiLightRGBWBOX2.xml respectively
3. Edit D_MiLightRGBWBOX2.xml on your PC and right at the bottom where it references the implementation file, change the file name like this;

<implementationList>
      <implementationFile>I_MiLightRGBWBOX2.xml</implementationFile>
    </implementationList>

4. Now go back to the Vera Web Interface and upload both files into the Vera from the Apps/DevelopApps/LuupFiles page
5. Now go to your devices (the LED lights) that were created using the old plugin for the old MiLight box and go to Advanced Setup and change the Device File and the Impleentaiton file names in that device to D_MiLightRGBWBOX2.xml and I_MiLightRGBWBOX2.xml respectively.

Voila. Easy. Now you can have both controllers co-exist.

_____________________________________________________________________

Finally found the issue to be a port setting. Although documentation talks about 8899 it turned out I had to use 5987.
@kd7gab thanks a lot for your effort making this plugin work on wifi bridge V6.