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

Offline kd7gab

  • Newbie
  • *
  • Posts: 9
  • Karma: +1/-0
Re: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« Reply #30 on: November 11, 2017, 01:11:41 pm »
Hi Jon,

Works great with a scene now. Thank you very much.
Is it also possible to choose a color or a mode in a scene? I only see the on, off and percentage in a scene.

Ron
I think that would be something you would need to do from LUUP code in a scene at this point. I've just barely started messing with the UI components and haven't gotten very far with it yet.

~Jon

Sent from my SM-N920T using Tapatalk


Offline ronblom

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
Re: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« Reply #31 on: November 15, 2017, 03:51:02 pm »
Hi Jon,

I found the luup code in the manual. This also works fine. example of my milight device with number 29:

luup.call_action("urn:upnp-org:serviceId:Dimming1","SetLoadLevelTarget",{newLoadlevelTarget="40"},29)
luup.call_action("urn:dcineco-com:serviceId:MiLightRGBW1","SetHue",{newHue="20"},29)

Will set dimming to 40% and Hue to 20.

I can fully control my lights with the v6 wifi bridge. Thanks

Ron


Offline ninkasi

  • Full Member
  • ***
  • Posts: 212
  • Karma: +13/-4
Re: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« Reply #32 on: November 15, 2017, 06:53:16 pm »
....and it works for me as well now! Thanks heaps, Jon.
Home Automation veteran. Rolled own, then MisterHouse and X10, now Vera - mysensor arduino and ESP8266 network - zwave lights, locks, switches - milights - yeelights - google home(s) - Broadlink RM - raspberry pi(s) with various scripts for power and weather station - Logitech Harmony - Imperihome

Offline ninkasi

  • Full Member
  • ***
  • Posts: 212
  • Karma: +13/-4
Re: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« Reply #33 on: November 15, 2017, 07:12:14 pm »
Hi Jon,

I found the luup code in the manual. This also works fine. example of my milight device with number 29:

luup.call_action("urn:upnp-org:serviceId:Dimming1","SetLoadLevelTarget",{newLoadlevelTarget="40"},29)
luup.call_action("urn:dcineco-com:serviceId:MiLightRGBW1","SetHue",{newHue="20"},29)

Will set dimming to 40% and Hue to 20.

I can fully control my lights with the v6 wifi bridge. Thanks

Ron

Thanks Ron - that works for me as well!
Home Automation veteran. Rolled own, then MisterHouse and X10, now Vera - mysensor arduino and ESP8266 network - zwave lights, locks, switches - milights - yeelights - google home(s) - Broadlink RM - raspberry pi(s) with various scripts for power and weather station - Logitech Harmony - Imperihome

Offline Viruta57

  • Full Member
  • ***
  • Posts: 105
  • Karma: +1/-0
Re: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« Reply #34 on: November 18, 2017, 12:19:58 am »
I made some tests with my Vera Plus at home and I found out that the bulbs that I can only link with the APP on my iPhone with Remote_1 work with Vera and the bulbs that I can only link with Remote_2 don't work with Vera.... Should I understand there should a difference with the Milight bulbs... I mean it could be the difference beetween RGB CW, RGB WW or RGB...


PICTURES
REMOTE_1
REMOTE_2
« Last Edit: November 18, 2017, 03:58:10 am by Viruta57 »

Offline Viruta57

  • Full Member
  • ***
  • Posts: 105
  • Karma: +1/-0
Re: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« Reply #35 on: November 18, 2017, 12:44:51 am »
Here the first bulb that is working with Remote_1 and Vera and the two others models  that  are not working with Remote_2 but not with Vera
« Last Edit: November 18, 2017, 04:00:05 am by Viruta57 »

Offline ninkasi

  • Full Member
  • ***
  • Posts: 212
  • Karma: +13/-4
Re: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« Reply #36 on: November 18, 2017, 01:04:15 am »
I found out that the bulbs that I can only link with the APP on my iPhone with Remote_1 work with Vera and the bulbs that I can only link with Remote_2 don't work with Vera.... Should I understand there should a difference with the Milight bulbs... I mean it could be the difference beetween RGB CW, RGB WW or RGB..

Ah. I was confused for a while with my lights - I eventually found that I could link the lights to different groups/zones on the app as well as different groups/zones on the physical remote. Might not be your issue, but if it is then use the app to link the lights to the zone you want first. Once that's done, and you confirm they work, you can then link the apps to the physical remote(s) as well and you should be able to control the lights using both the app as well as the remote. Vera should also work as long as it's configured to the same zone as those use with the app.

As an aside, I also found I had issues controlling some lights at the front of the house - one or two would work but others not. I eventually worked out the issue was they were too far away from the ibox2 -> I now have two of them, and issue solved.

Final note - I have some RGB as well as RGBW lights - using the RGBW plugin is fine with the RGB lights - only issue is if you try to get them to show white they just go dark.... which is fair enough. :-)
Home Automation veteran. Rolled own, then MisterHouse and X10, now Vera - mysensor arduino and ESP8266 network - zwave lights, locks, switches - milights - yeelights - google home(s) - Broadlink RM - raspberry pi(s) with various scripts for power and weather station - Logitech Harmony - Imperihome

Offline Viruta57

  • Full Member
  • ***
  • Posts: 105
  • Karma: +1/-0
Re: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« Reply #37 on: November 18, 2017, 01:28:05 am »
I always use the Milight APP on my Iphone to link my lights, as I told you you can choose a remote in the app. It's not all the lights that I can link with the remote 1 ... I have to use the remote 2 to do it ... and if I use the remote 2 it does not work with Vera, like you said I also check for distance and I still have the same problem, for now I don' use the manual remote

NB... I have 6 bulbs of the model I show on the picture below which is RGB WW...I can not  link them with the remote_1... but I can withe the remote_2  which doesn't work with Vera... Just to remind you that all my lights are working with the previous version of Milight bridge and Vera API
« Last Edit: November 18, 2017, 04:08:54 am by Viruta57 »

Offline Viruta57

  • Full Member
  • ***
  • Posts: 105
  • Karma: +1/-0
Re: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« Reply #38 on: November 19, 2017, 10:08:49 am »
Maybe I should clarify my question ... what I want to know is why some types of Milight bulbs do not respond the same way. I want to know if there is a possible solution or otherwise how I can make the difference if I want to buy new ones that will be compatible with the new bridge V6 and also with the new modification that are proposed with this new bridge wifi ...

Online ranneman

  • Full Member
  • ***
  • Posts: 158
  • Karma: +7/-0
Re: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« Reply #39 on: November 23, 2017, 01:45:05 pm »
Hi, trying to get my Milight working. However seems I cannot install the milightRGBW app. While installing it end with a message saying: Luup : Failed to download all plugins. Will retry in 10 minutes. I have waited, tried to update app but doesn't seem to get installed. The log shows messages below:

Any idea on how to get the app installed? I expect the issue is caused due to DownloadFiles J_MiLightRGBW.js not being installed.
(I also checked downloading the MilightRGB and that downloads without any problem but I cannot use that)

JobHandler_LuaUPnP::FetchMissingFiles need to download S_MiLightRGBW.xml <0x2b891310>
02   11/23/17 19:37:09.773   JobHandler_LuaUPnP::m_sMissingFile_set S_MiLightRGBW.xml <0x2b891310>
02   11/23/17 19:37:09.774   JobHandler_LuaUPnP::FetchMissingFiles need to download J_MiLightRGBW.js <0x2b891310>
02   11/23/17 19:37:09.774   JobHandler_LuaUPnP::m_sMissingFile_set J_MiLightRGBW.js <0x2b891310>
02   11/23/17 19:37:09.775   JobHandler_LuaUPnP::FetchMissingFiles need to download I_MiLightRGBW.xml <0x2b891310>
02   11/23/17 19:37:09.776   JobHandler_LuaUPnP::m_sMissingFile_set I_MiLightRGBW.xml <0x2b891310>
02   11/23/17 19:37:09.776   JobHandler_LuaUPnP::FetchMissingFiles need to download D_MiLightRGBW.json <0x2b891310>
02   11/23/17 19:37:09.777   JobHandler_LuaUPnP::m_sMissingFile_set D_MiLightRGBW.json <0x2b891310>
02   11/23/17 19:37:09.778   JobHandler_LuaUPnP::FetchMissingFiles need to download D_MiLightRGBW_UI7.json <0x2b891310>
02   11/23/17 19:37:09.779   JobHandler_LuaUPnP::m_sMissingFile_set D_MiLightRGBW_UI7.json <0x2b891310>
02   11/23/17 19:37:09.779   JobHandler_LuaUPnP::FetchMissingFiles need to download D_MiLightRGBW.xml <0x2b891310>
02   11/23/17 19:37:09.780   JobHandler_LuaUPnP::m_sMissingFile_set D_MiLightRGBW.xml <0x2b891310>
01   11/23/17 19:37:09.834   Device_LuaUPnP::LoadDeviceDoc can't load /etc/cmh-lu//D_MiLightRGBW.xml <0


01   11/23/17 19:37:14.559   JobHandler_LuaUPnP::GetPluginVersionOnline failed to convert 5836 <0x2c2d2680>
01   11/23/17 19:37:14.897   JobHandler_LuaUPnP::GetPluginVersionOnline failed to convert 5846 <0x2c2d2680>
01   11/23/17 19:37:15.911   JobHandler_LuaUPnP::DownloadFile iSlot: 48 buffer: (null) <0x2c2d2680>
01   11/23/17 19:37:15.912   JobHandler_LuaUPnP::DownloadFiles J_MiLightRGBW.js returned 0 <0x2c2d2680>
01   11/23/17 19:37:15.913   JobHandler_LuaUPnP::DownloadFiles can't get file J_MiLightRGBW.js <0x2c2d2680>
« Last Edit: November 23, 2017, 03:28:08 pm 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 ninkasi

  • Full Member
  • ***
  • Posts: 212
  • Karma: +13/-4
Re: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« Reply #40 on: November 23, 2017, 07:53:29 pm »
Curiously, I'm starting to get "WIFI_UDP_Controller : Failed to download all plugins. Will retry in 10 minutes." messages as well, although the plugin is installed and otherwise working . I'm hoping the error will magically go away with the next update - otherwise there does not appear to be an issue - before spending much time in tracking it down. In your case, assuming you haven't already, maybe try uninstalling and reinstalling.... My recommendation would be to install the original plugin, then reload luup and reboot etc - and basically wait a while (to allow the original script to download whatever it needs first) before manually installing the patched version
Home Automation veteran. Rolled own, then MisterHouse and X10, now Vera - mysensor arduino and ESP8266 network - zwave lights, locks, switches - milights - yeelights - google home(s) - Broadlink RM - raspberry pi(s) with various scripts for power and weather station - Logitech Harmony - Imperihome

Online ranneman

  • Full Member
  • ***
  • Posts: 158
  • Karma: +7/-0
Re: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« Reply #41 on: November 24, 2017, 12:33:07 am »
I do not have the issue with other plugins I tried.
I' am just installing the plugin from the "app store" no modifications. Have tried it on the VeraPlus with no success. On the VeraLite same issue. I have waited but nothing seems to change. Any way I can get the files and install them manually?
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.

Online ranneman

  • Full Member
  • ***
  • Posts: 158
  • Karma: +7/-0
Re: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« Reply #42 on: December 01, 2017, 08:25:21 am »
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.
« Last Edit: December 03, 2017, 02:19:22 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 mbarne36

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
Re: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« Reply #43 on: December 06, 2017, 04:44:44 am »
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.

Hope this helps someone.

Offline Viruta57

  • Full Member
  • ***
  • Posts: 105
  • Karma: +1/-0
Re: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« Reply #44 on: December 07, 2017, 05:26:58 am »
So far... so good... I'm using both version of Milight Boxes... I did what @mbarne36 proposed and then I edit the the file like @kd7gab proposed and finally I used the port that @ranneman proposed.... it works on scene and luup... everything is working find... Thank you guys to be there for us...  ;)

BRAVO!!!!