Device type for MiLight / EasyBulb / LimitlessLED Wifi controller

Hello,

I’ve sunset this project and open sourced what I’ve been running in Azure for the last 1.5 years. SmartThings is no longer my choice for home automation and as such I have no further interest in innovating for a platform I don’t use.

I welcome anyone to use what I’ve started and continue the service. You can find me and my work on the home assistant forums.

Adios amigos,
jared

5 Likes

You might look at this open-source for further inspiration:

Thanks for this. I think the current limitation for full functionality is hubaction – if my byte is greater than 127 (ascii), it’s transformed to a unsigned variable and the byte isn’t sent properly. A possible work around could be using utf-16, but I was not able to figure out how to make that change

Roger (SmartThings)

Oct 14, 2:36 AM

Hamish.

I was able to get some info from engineering:

“Our hub currently does not support sending UDP over LAN
for communications. Our hub requires an HTTP response when communicating over
LAN.”

Hope that helps!

Best to you,

\Roger\

SmartThings Support

Hi @hamishahern

UDP doesn’t work but I did have luck with TCP. I have a new version with most colors/white/on/off/fade but I am not releasing it yet.

It would be better if you contacted the manufacturer and asked if they can update the firmware, or give me access to the firmware so I can write a custom one. The byte codes need to change if SmartThings won’t give us raw byte capabilities.

Amazon Echo and LimitlessLED demo on youtube… https://www.youtube.com/watch?v=X-SfZXhr-Uo&feature=youtu.be

thanks to Ryan, using Amazon’s new Skills API for the Echo and he has managed to control them using some Ruby Gems and a Sinatra Server.

https://github.com/hired/limitless-led to command lights

https://github.com/damianFC/alexa-rubykit to simplify responses for Echo

http://www.sinatrarb.com/intro.html to catch and parse HTTP POSTs

http://ruby-doc.org/stdlib-1.9.3/libdoc/webrick/rdoc/WEBrick.html for HTTPS wrapper

there is a command for setting the TCP timeout on the LimitlessLED Wifi Bridge. I will add it to the Windows 7 Admin Tool for you. best to set it to 10ms or lower.

So that does control all the light setup on is there a way to turn individual lights on? There is no way to change the color?

@jared following up on some of this — thank you so much for your hard work, it’s incredible — it’s unclear above: were you ever able to get any form of “turn on and set dimmer to ____,” whether through “Routines” or through SmartApps?

Yes, it works with the Smart Lighting App.

@hamishahern did you make the changes to the client?

I had a go at trying to get UDP working again, but it seems that SmartThings have since disabled it, it is now obvious that remote controlled UDP is not going to be allowed in the future landscape of Internet Of Things. TCP using ASCII is the only way (aka HTTP).

@Jared I will update the windows tool for you now. I will let you know when it is ready.

1 Like

String hex = ipAddress.tokenize( ‘.’ ).collect { String.format( ‘%02x’, it.toInteger() ) }.join()

//java.lang.NullPointerException: Cannot invoke method tokenize() on null object @ line 136

New LimitlessLED Wifi Bridge v5.0 Tool released. Set Wifi Bridge to TCP mode, access Web Admin, change TCP timeout, and more… download from http://www.limitlessled.com/

1 Like

@jared - No dice for me with the Smart Lighting app, as far as “Turn On and Set to XX%”. other functions are controlling just fine (On, Off, and the brightness slider), and I have momentary buttons that control 3 levels of brightness consistently well (they only work if the lights are already on).

I’ve set up a (virtual) switch called “Lights I/O” with these settings:

  • Control “Living Room MiLights”
  • “Turn On & Set Level”
  • “100%”
  • Trigger: “Switch Turned On/Off”
  • Which Switch?: “Lights I/O”
  • Turn On & Set Level Lights When “Turned On”
  • Turn Off As Well (Yes)

However, when I toggle the switch, it will turn them off but not on again. Any thoughts? Let me know if I can provide more information.

So you are using the milight wifi hub and how many controllers connected with light strips?

It’s one milight hub and four RGBW bulbs, actually.

Gotcha, thanks. Yeah, I have milight hub and 3 separate rgbw strips

@zuperman4ever @augiephillips @hamishahern new version released today, please help me test.

I will try. From the device I was not sure how it communicated to the LED strip controllers from the wifi hub after connected to it.