Author Topic: MiLight Plugin Download no longer works  (Read 1335 times)

Offline vas5150

  • Jr. Member
  • **
  • Posts: 61
  • Karma: +2/-0
MiLight Plugin Download no longer works
« on: November 25, 2017, 05:27:08 pm »
Hi,

I have used the Milight plugin at home for a few years now and it still works, I am installing the same at a friends house and the i cant download the plugin. I am getting the error      LUUP :Failed to download all plugins will retry in 10 minutes.

I have tried on 3 vera Units and all the same error when downloading the plugin. 

Is there a way to manually install? any help would be greatly appreciated


Offline ranneman

  • Full Member
  • ***
  • Posts: 140
  • Karma: +7/-0
Re: MiLight Plugin Download no longer works
« Reply #1 on: November 26, 2017, 12:51:41 am »
+1. Struggling with this for 3 days. the plugin doesn't install the J_MiLightRGBW.js.
I do not know if this causes the issues I have with the plugin. I cannot control the miLights. Really would appreciate some help here. Getting the missing file, I would at least be able to search for other reasons why the plugin doesn'work, or maybe it then works  :).
« Last Edit: November 26, 2017, 01:07:41 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 vas5150

  • Jr. Member
  • **
  • Posts: 61
  • Karma: +2/-0
Re: MiLight Plugin Download no longer works
« Reply #2 on: November 27, 2017, 12:36:04 am »
I have downloaded the file you mentioned was missing from my working Vera and uploaded to my Test Vera and it seems the error is gone. I am doing this remotely as i am at work so cant test properly. I have put link for you to download. Thanks for recognising the missing file!!!! if this works it has saved me the cost of a whole new setup. 


https://www.dropbox.com/sh/i60yrmf3pvt3d8j/AAAYK6uNIl_vBIyupdYWX9mca?dl=0


Offline ranneman

  • Full Member
  • ***
  • Posts: 140
  • Karma: +7/-0
Re: MiLight Plugin Download no longer works
« Reply #3 on: November 27, 2017, 01:54:55 pm »
Thanks for the file. Unfortunately I still run into issues, can't get this to work. I' am using a new bridge V6. Does it work for you? Maybe I' am missing some setting on the Advance or Variable.

I have tried with and without the fix for v6 build by kd7gab. I get this error in the log (with the fix from kd7gab):
11/27/17 19:51:08.012   Device_Variable::m_szValue_set device: 115 service: urn:upnp-org:serviceId:Dimming1 variable: LoadLevelTarget was: 0 now: 100 #hooks: 0 upnp: 0 skip: 0 v:0x1436f08/NONE duplicate:0 <0x77454320>
50   11/27/17 19:51:08.104   luup_log:115: Level: 100 <0x77454320>
50   11/27/17 19:51:08.104   luup_log:115: Cmd Level: 100 <0x77454320>
50   11/27/17 19:51:08.206   luup_log:115: sendUDP function called. Code:310000080331303000000004 <0x77454320>
50   11/27/17 19:51:08.206   luup_log:115: Sending InitString <0x77454320>
50   11/27/17 19:51:08.207   luup_log:115: Number of bytes sent:28 <0x77454320>
50   11/27/17 19:51:10.209   luup_log:115: ErrorCode: timeout <0x77454320>
01   11/27/17 19:51:10.209   LuaInterface::CallFunction_Job device 115 function SDimming1_Dimming1_SetLoadLevelTarget_job failed [string "..."]:280: bad argument #1 to 'len' (string expected, got nil) <0x77454320>
01   11/27/17 19:51:10.209   Lua_Job::Run job#20 : dev:115 (0x1f7bd20) P:50 S:0 Id: 20 failed <0x77454320>
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: 140
  • Karma: +7/-0
Re: MiLight Plugin Download no longer works
« Reply #4 on: November 27, 2017, 02:06:17 pm »
My MiLight (MiLightRGBW) setup doesn't work, I appreciate some help. This is my setup:
VeraPlus running latest firmware 1.7.3232

MiLight bridge V6 firmware: V1.0.08
I have set the STA mode IP address to the LAN network IP address for the bridge (instead of the 10.10.100.254 which also doesn't work)
within the device's IP address I use the bridge IP address.
Protocol: UDP
Port 8899

On the variables I have mode setting set to 1:;2:;3:;4:
and group set to 4 (which is the number I use in the MiLight app for this light)

What am I missing? with the fix I run into this error:
11/27/17 19:51:08.010   JobHandler_LuaUPnP::HandleActionRequest device: 115 service: urn:upnp-org:serviceId:SwitchPower1 action: SetTarget <0x71ab7520>
08   11/27/17 19:51:08.010   JobHandler_LuaUPnP::HandleActionRequest argument DeviceNum=115 <0x71ab7520>
08   11/27/17 19:51:08.010   JobHandler_LuaUPnP::HandleActionRequest argument serviceId=urn:upnp-org:serviceId:SwitchPower1 <0x71ab7520>
08   11/27/17 19:51:08.010   JobHandler_LuaUPnP::HandleActionRequest argument action=SetTarget <0x71ab7520>
08   11/27/17 19:51:08.011   JobHandler_LuaUPnP::HandleActionRequest argument newTargetValue=1 <0x71ab7520>
02   11/27/17 19:51:08.011   JobHandler_LuaUPnP::ConfirmGlobalActionRules replaced binary on with dim 100 <0x71ab7520>
06   11/27/17 19:51:08.012   Device_Variable::m_szValue_set device: 115 service: urn:upnp-org:serviceId:Dimming1 variable: LoadLevelTarget was: 0 now: 100 #hooks: 0 upnp: 0 skip: 0 v:0x1436f08/NONE duplicate:0 <0x77454320>
50   11/27/17 19:51:08.104   luup_log:115: Level: 100 <0x77454320>
50   11/27/17 19:51:08.104   luup_log:115: Cmd Level: 100 <0x77454320>
50   11/27/17 19:51:08.206   luup_log:115: sendUDP function called. Code:310000080331303000000004 <0x77454320>
50   11/27/17 19:51:08.206   luup_log:115: Sending InitString <0x77454320>
50   11/27/17 19:51:08.207   luup_log:115: Number of bytes sent:28 <0x77454320>
50   11/27/17 19:51:10.209   luup_log:115: ErrorCode: timeout <0x77454320>
01   11/27/17 19:51:10.209   LuaInterface::CallFunction_Job device 115 function SDimming1_Dimming1_SetLoadLevelTarget_job failed [string "..."]:280: bad argument #1 to 'len' (string expected, got nil) <0x77454320>
01   11/27/17 19:51:10.209   Lua_Job::Run job#20 : dev:115 (0x1f7bd20) P:50 S:0 Id: 20 failed <0x77454320>
04   11/27/17 19:51:10.210   <Job ID="20" Name="" Device="115" Created="2017-11-27 19:51:08" Started="2017-11-27 19:51:08" Completed="2017-11-27 19:51:10" Duration="2.198594000" Runtime="2.198136000" Status="Failed" LastNote=""/> <0x77454320>
02   11/27/17 19:51:10.210   JobHandler::PurgeCompletedJobs purge job#20 : dev:115 (0x1f7bd20) P:50 S:2 Id: 20  status 2

« Last Edit: November 27, 2017, 02:26:58 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 vas5150

  • Jr. Member
  • **
  • Posts: 61
  • Karma: +2/-0
Re: MiLight Plugin Download no longer works
« Reply #5 on: November 27, 2017, 07:48:00 pm »
Sorry, I am using the OLD Bridge. I made sure to order the older one on ebay. I did find this http://www.limitlessled.com/apps/

It may not help with vera but might give you some other ideas or options if no one else can help you.

Offline ranneman

  • Full Member
  • ***
  • Posts: 140
  • Karma: +7/-0
Re: MiLight Plugin Download no longer works
« Reply #6 on: November 28, 2017, 02:04:14 pm »
Thanks, will first try to find some help. If no success I might look into the API and plugin. (and see if I can fins an old bridge)
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 vas5150

  • Jr. Member
  • **
  • Posts: 61
  • Karma: +2/-0
Re: MiLight Plugin Download no longer works
« Reply #7 on: November 29, 2017, 06:44:16 am »
It is very easy to get an old bridge from china on ebay. let me know if you do look for one and cant find and i will send you a link.

All my mi light controllers have come from there.

Offline ranneman

  • Full Member
  • ***
  • Posts: 140
  • Karma: +7/-0
Re: MiLight Plugin Download no longer works
« Reply #8 on: November 30, 2017, 11:28:23 am »
I can give that a try. Not sure though if my fut062 will be compatible. Anyhow it's not expensive so yes please share the link.
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 vas5150

  • Jr. Member
  • **
  • Posts: 61
  • Karma: +2/-0
Re: MiLight Plugin Download no longer works
« Reply #9 on: November 30, 2017, 05:38:50 pm »
Here is the link to one I bought from china   

https://www.ebay.com.au/itm/2-4G-Wireless-Mi-Light-RF-Remote-4-zone-WiFi-RGBW-W-WW-RGB-LED-Strip-Controller/292122827976?_trkparms=ao%3D1%26asc%3D20140728113407%26meid%3D9dce64eb2d9141d1bceb832b258a3e75%26pid%3D100148%26&_trksid=p2059210.c100148.m2813

In the drop down box select the 1Xwifi+1Xrgb/w   It doesnt seem to come on its own.  Shipping should be cheap but it took over a month to get to me and I am in Australia.

You should see if you can get one in Europe Ebay. I am not sure were you are in but here is a link to one in Germany. (I Believe it is the right version)  http://www.ebay.com.au/itm/RGBW-RGB-W-MiLight-WiFi-Controller-for-several-MiLight-products/271962779337?hash=item3f523eaec9:g:b7YAAOSwBt5ZOHkX

I hope this helps you.


Offline ranneman

  • Full Member
  • ***
  • Posts: 140
  • Karma: +7/-0
Re: MiLight Plugin Download no longer works
« Reply #10 on: December 01, 2017, 06:21:33 am »
Thanks a lot, your help is appreciated. (I' am in the Netherlands). I have been checking for the wifi bridge but also kept on searching for the issue. If people say it works it must work for me as well. Finally discovered the issue being just a port number setting. Although all documentation mentions port 8899 (which I put in the advanced information after the IP number and also in the bridge settings) it turned out this should be port 5987. I found this while using the limitless tool for windows which actually showed all information needed to make it work.  :) :)
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 Mai Pensato

  • Full Member
  • ***
  • Posts: 225
  • Karma: +4/-1
Re: MiLight Plugin Download no longer works
« Reply #11 on: December 30, 2017, 07:47:34 pm »
I have downloaded the file you mentioned was missing from my working Vera and uploaded to my Test Vera and it seems the error is gone. I am doing this remotely as i am at work so cant test properly. I have put link for you to download. Thanks for recognising the missing file!!!! if this works it has saved me the cost of a whole new setup. 


https://www.dropbox.com/sh/i60yrmf3pvt3d8j/AAAYK6uNIl_vBIyupdYWX9mca?dl=0

Hi I have downloaded the plugin from the appstore and have the same error... can you or someone else send the missing file again because the link to dropbox does not work anymore. I have the old milight wifibox. Many thanks in advance!

Offline ranneman

  • Full Member
  • ***
  • Posts: 140
  • Karma: +7/-0
Re: MiLight Plugin Download no longer works
« Reply #12 on: December 31, 2017, 03:43:56 am »
Hi, this is the missing file, hope this works.
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 Mai Pensato

  • Full Member
  • ***
  • Posts: 225
  • Karma: +4/-1
Re: MiLight Plugin Download no longer works
« Reply #13 on: December 31, 2017, 07:00:02 am »
Thanks!! I wil upload this and try if it works

Offline Mai Pensato

  • Full Member
  • ***
  • Posts: 225
  • Karma: +4/-1
Re: MiLight Plugin Download no longer works
« Reply #14 on: December 31, 2017, 09:30:55 am »
@Ranneman: it works now, the error messsge is gone, thanks again :)