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

Offline LimitlessLED

  • Sr. Newbie
  • *
  • Posts: 36
  • Karma: +0/-0
Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« on: November 08, 2016, 05:31:50 am »
Hi RexBecket, we just released the new LimitlessLED wifi bridge v6,  what would it take to get it supported in the existing plugin?  http://www.limitlessled.com/product-category/limitlessled-smart-light-bulbs/

There are new RGBW/WW/CW MR16 bulbs and new GU10 bulbs too.  I did a bit of a comparison for you.

Quote
                                    RGBW/WW/CW    RGBW Cool White  RGBW Warm White
Available in 2017                   YES LOTS      YES (Limited)    YES (Limited) 
More Apps Coming 2017               YES LOTS      YES (Limited)    YES (Limited) 
Warm White                          YES           NO               YES           
Cool White                          YES           YES              NO             
Cool White / Warm White adjustable  YES           NO               NO             
Full RGB Colours                    YES           YES              YES           
RGB + White Saturation adjustable   YES           NO               NO             
Wifi Bridge Available               V6            V5/V6            V5/V6         
Handheld Remote Control             YES           RGBW             RGBW           
36,000 colors                       YES           NO               NO             
Adjustable Brightness               YES           YES              YES           
Full White Mode                     YES           YES              YES           
Press and Hold Night Mode           YES           YES              YES           
Disco Mode                          YES           YES              YES           

Cheers,
Hamish.

Offline RexBeckett

  • Moderator
  • Master Member
  • *****
  • Posts: 3891
  • Karma: +482/-12
Re: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« Reply #1 on: November 11, 2016, 11:40:03 am »
Hi Hamish,

I would need details of the API and access to a V6 Bridge and each of the lamps.

Rex

Offline LimitlessLED

  • Sr. Newbie
  • *
  • Posts: 36
  • Karma: +0/-0
Re: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« Reply #2 on: November 11, 2016, 06:31:58 pm »
Awesome. I will send you both.  PM me your details.

Cheers.
Hamish.

Offline mitrou

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
Re: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« Reply #3 on: November 25, 2016, 12:50:31 am »
I would also like some help in making the v6 work in a little application i'm making.
Rex, i can't find Hamish. Would you be kind enough to pass info of the api to me?
Thanks!

Offline sk1.publicc

  • Sr. Newbie
  • *
  • Posts: 27
  • Karma: +1/-0
Re: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« Reply #4 on: February 02, 2017, 09:59:51 pm »
Hi guys, was wondering if there was any progress on this please?
Would love to get the new v6 RGBW/WW/CW lamps going through Vera.

Offline ninkasi

  • Full Member
  • ***
  • Posts: 209
  • Karma: +12/-1
Re: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« Reply #5 on: March 26, 2017, 09:24:25 pm »
+1 from me as well.... I thought about getting an older bridge for the short term, but the current V6/iBox2 seems rock solid so am reluctant to change....
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: 209
  • Karma: +12/-1
Re: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« Reply #6 on: April 02, 2017, 10:46:51 pm »
Well, under the 'how hard could it be' I did some investigation and initially it appeared that all you have to do is edit I_MiLightRGBW.xml (vera/apps/develop apps/luup files) to get the thing to work. I then checked out the API for V6 and started to look at the difference between it and V5. That's when I stopped.  They appear to be significantly different beasts. There are possible work arounds - for example someone has written a plugin for domoticz so 'all' you need to do is setup a domoticz controller (eg using a raspberry pi) then you can setup ha-bridge to send commands to the MiLight bridge via that (eg http://www.geekzone.co.nz/forums.asp?forumid=73&topicid=113569&page_no=51). You could in theory then use Vera to send a command via ha-bridge that would in turn use domoticz to relay the command to the MiLight bridge. Very ugly though.

I might for now give up on hoping that V6 will be supported in the near future, and instead hunt around for an older bridge. Sigh.
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 sk1.publicc

  • Sr. Newbie
  • *
  • Posts: 27
  • Karma: +1/-0
Re: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« Reply #7 on: April 06, 2017, 07:24:35 am »
@ninkasi, I'm just as frustrated about this as you! 
One of the biggest issues for me is that I've spent a huge amount of money on RGBW/WW/CW bulbs that, if I understand correctly, aren't fully supported on earlier bridge versions.
So I'm stuck with the new and improved bulbs - on a v6 controller that can't be fully controlled by Vera.

I'd really like to see LimitlessLED:
  - be more proactive in driving the Vera plugin updates (obviously the open source community is saying it's too hard or too much effort)
  - offer their own iOS app in an iPad version (so I can use it in landscape format on my iPad control pad on the wall... that's what home automation is all about)

RexBecket was good enough to develop the original plugin but has not been able to get the update through so far (and he's under no obligation to do so... it's in his own time and I really appreciate his past efforts)

I think this is where LimitlessLED need to recognise that Philips Hue is leaving them for dead in so far as actively encouraging easy integration into the major Home Controllers on the market.

Come on LimitlessLED - rise to the challenge!

Offline ma11w00d

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« Reply #8 on: May 01, 2017, 12:25:31 am »
+1 from me as well....just invested in new controller and bulbs....without checking the plugin was compatible.

Offline Viruta57

  • Full Member
  • ***
  • Posts: 104
  • Karma: +1/-0
Re: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« Reply #9 on: May 26, 2017, 02:18:00 am »
Is it possible to downgrade the firmware version to make the new controllers Ibox working with the API available in Vera... and were we could find the firmware Software VersionV1.0.04a-JCY-1... if it is possible..?

Offline ma11w00d

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« Reply #10 on: May 26, 2017, 08:27:33 pm »
Have read elsewhere that the ibox and ibox2 cannot be downgraded.

 

Offline Viruta57

  • Full Member
  • ***
  • Posts: 104
  • Karma: +1/-0
Re: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« Reply #11 on: May 27, 2017, 03:58:12 am »
I just hope we can get a new API one day... so we can continue with MILIGHT or LimitlessLed... because now we can't get anything else then Ibox1 & 2...

Offline kd7gab

  • Newbie
  • *
  • Posts: 9
  • Karma: +1/-0
Re: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« Reply #12 on: May 28, 2017, 03:06:05 pm »
Figured I should post about what I'm working on at the moment. I've been able to dig up some LUA code from other HA controller communities for working with MiLight/LimitlessLED. Thus far, I have working LUA code which allows me to command zones on and off. I'll post what I've been able to assemble as my 'test.lua' script, in the hope that it may help anyone else interested.

I would like to point out, while the new API is a significant change, it is a pretty 'normal' API structure (based on my work experience anyway). The trickiest piece has been dealing with the need for fetching the WifiBridgeSessionID values and then generating a checksum byte. Much of the difficulty for me is likely due to my lack of LUA experience, as this is the first time I've ever touched LUA. I won't take all of the credit on getting this together because I've basically been modifying and cobbling together example from other communities.

Please let me  know what you think. I'm currently working to modify the plugin created by RexBeckett to work with the new API. In an ideal world, I'll be able to get a modified version to him, which he can cleanup/adjust, etc. and make available.

~Jon

Offline Viruta57

  • Full Member
  • ***
  • Posts: 104
  • Karma: +1/-0
Re: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« Reply #13 on: June 03, 2017, 11:46:39 am »
I'am looking forward to see the results... Happy that somebody is working on it....  ;D :D :D

Offline kd7gab

  • Newbie
  • *
  • Posts: 9
  • Karma: +1/-0
Re: Support for LimitlessLED Wifi Bridge v6 and new RGBW/WW/CW
« Reply #14 on: June 10, 2017, 02:50:33 pm »
*Minor edit/typo correction - CS/Checksum should have been "SN" and "Sequence Number"

I am making some progress but I've run into an issue where I'm able to send control commands successfully from my Gentoo box but I'm getting a bad response from the wifi bridge when sending from the Vera. I think this might be a hex-to-char conversion issue. My next step is to direct the commands to a machine on my network where I can record the udp packets and determine what's actually being sent.

I am able to successfully request the session IDs from the bridge and the response is correctly formatted, so I know that part works correctly! :D I'm including a code snippet of what I have so far. The pieces not quite working yet are the "setOnOff" and "setLevel" functions.

I should be getting a response like: 880000000300SN00  (SN == Sequence Number byte)
However, when running from the Vera I'm getting a response like: 880000000300SN01

Anyone familiar with looking at hex will see that the difference is the last byte, where a success is '00' and where a failed command's last byte is '01'.

I'll continue to hack on this but any input from others more familiar with Vera plugins will be incredibly appreciated.

I want to point out that I'm building on the plugin written by RexBeckett, this is not all my code, etc.

~Jon
« Last Edit: June 10, 2017, 03:32:04 pm by kd7gab »