Coder Social home page Coder Social logo

Comments (33)

Oggymator avatar Oggymator commented on July 21, 2024 1

Have to wait for the new bridge, that will come next month.
The production of the "old" one ends this month.
So if anybody need it, buy quick.

The new bridge will have a complete new App.
So I don't know if this Library will work with it.

from node-milight-promise.

mwittig avatar mwittig commented on July 21, 2024 1

Looking at the LimitlessLED strip controllers page, there's a new one (as of 2016) that says it'll run both the RGB chips and the white chips at the same time, giving us saturation control.

I think this will only be supported with the newest generation if RGBWW/CW bulbs. See
http://www.limitlessled.com/shop/rgbw-ww-cw-light-bulb/

Do you think the LimitlessLED WiFi Bridge v5.0 can handle RGB + white at the same time?

I think it works more-or-less the same way as with v4.0. The major difference is that you have up to 1000 bulbs perzone with v5.0 in contrast to 100 per zone with v4.0. For sure, there will are also be other advances with v6.0 - let's see see :).

Page 6 of http://www.limitlessled.com/download/LimitlessLED_Wifi_Bridge_v4_Instructions_March2014.pdf
"Each Wifi Bridge can control up to 4 RGBW Groups of Bulbs, 4 Dual White Groups of Bulbs, and 1
Group of RGB Bulb."

http://www.limitlessled.com/shop/wifi-udp-receiver-bridge/
"Each WiFi Bridge does up to 9 zones
• 4 zones of up to 1000 bulbs per zone for White,
• 4 zones of up to 1000 bulbs per zone for RGBW Color,
• and 1 zone of up to 1000 per zone for RGB Color. "

So I don't know if this Library will work with it.

I am not sure either, but I'll do my best to get hold of a v5.0 v6.0 bridge as soon as possible and do the necesseary changes the Library. Most of this should work the same as for v4.0/v5.0. The developers page is is already highlighting the "LimitlessLED v5.0 OpenSource API" for months now, but there isn't much information available, yet apart from a new version of the admin tool. I guess, there will be new control sequences the RGBWW/CW bulbs which give you saturation control. Let's see.
http://www.limitlessled.com/dev/

from node-milight-promise.

rspaargaren avatar rspaargaren commented on July 21, 2024 1

@mwittig The forum I was refering to is https://gathering.tweakers.net/forum/list_messages/1650755/63
In the code provided by limitedless a wifibridge ID is mentioned. This is refering to a session id wich can be asked by sending out the following sequence:
UDP 20 00 00 00 16 02 62 3A D5 ED A3 01 AE 08 2D 46 61 41 A7 F6 DC AF D3 E6 00 00 1E
The wifibridge will answer with a hex sequence as well. The 20th HEX code is the (temporaly) wifibridg ID. By using this ID I was able to switch on / of the bridge lamp as a test.
The info can be read on the last pages of the forum. (29th of November)

from node-milight-promise.

Oggymator avatar Oggymator commented on July 21, 2024 1

You found it ;)

from node-milight-promise.

duecedriver avatar duecedriver commented on July 21, 2024 1

Hamish... at limitlessled in NZ and i have been talking via email and he is working with developers and writing example scripts for them.. he is a development partner with the mfg and has the source code for the v6 bridge... contact him at limitlessled and I am sure he will give you anything you need... no need for reverse engineering if he can give you the whole book chapter and verse...

Hoping that you and the home assistant guys cant get the code up and running on this. Would love to add this bridge to my setup

from node-milight-promise.

mwittig avatar mwittig commented on July 21, 2024 1

Brief update: I queried LimitlessLED for more technical information and received a friendly response. Following this, the website had been updated with some more details. It was also promised some example code will be published soon.

Based on the information provided by @rspaargaren I have some basic code up running which switches the bridge LED, extracts the WifiBridgeSession bytes, builds the message buffer from the various parameters, and does the checksum calculation. However, the code messy and it will take some more days to clean-up and improve it for a first drop.

from node-milight-promise.

mwittig avatar mwittig commented on July 21, 2024 1

Released version 0.1.0

I am closing this now. Please open a new ticktet for any related issues or questions. Thanks again for your support in getting V6 support realized as part of node-milight-promise! Certainly, I'll continue improving the library.

from node-milight-promise.

Oggymator avatar Oggymator commented on July 21, 2024

The RGB+Dual White Bulb(RGB+CCT) will not work with the Bridge V4.0 oder V5.0.
For this you need the complete redesigned Wifi Bridge that will come in the next month.

from node-milight-promise.

mwittig avatar mwittig commented on July 21, 2024

Thanks, for pointing this out! In the middle of writing I mixed-up the version numbers. I edited my previous post accordingly.

from node-milight-promise.

Oggymator avatar Oggymator commented on July 21, 2024

The new Bridge is available, so satturation control by App is possible with the RGB+CCT controller or RGB+CCT lights.
Here the Link from Limitlessled with the API:
http://www.limitlessled.com/dev/

Maybe you can make a second plugin for the new bridge, I dont know what is changed to the old one.

Also you can buy it from me if you want(German reseller), but I will not make some promotion here. Only if mwittig will allow it.

from node-milight-promise.

mwittig avatar mwittig commented on July 21, 2024

Thanks for letting me know! Buying from you would also help to speed up things. Can you please send me an email with details on pricing/shipping costs. Thanks!

See my coordinates at
https://www.npmjs.com/~mwittig

from node-milight-promise.

Oggymator avatar Oggymator commented on July 21, 2024

send an email, maybe have to look in the spam folder ;)

from node-milight-promise.

rspaargaren avatar rspaargaren commented on July 21, 2024

Nice, just checking if @mwittig was picking up the conversion to the v6 bridge. As I have this box in my house now and love to see the integration with Pimatic working. If you need some testing done...

from node-milight-promise.

rspaargaren avatar rspaargaren commented on July 21, 2024

on the miligth tweakers forum more info can be found on how to interpretate the limitlessled dev information.

from node-milight-promise.

mwittig avatar mwittig commented on July 21, 2024

@rspaargaren Thank you for the info. Do you have a pointer for the Milight Tweakers Forum? The only forum I am aware of is the Dutch Tweakers.net forum at https://tweakers.net/merk/3235/milight/forum/. If this is the forum you're refering to, maybe you can point me to the interesting threads?! This would be great.

Thank you very much also for your offer to test stuff! I certainly will provide a test branch at the early stages of development.

from node-milight-promise.

mwittig avatar mwittig commented on July 21, 2024

@rspaargaren As far as I understand the conversation on Tweakers.net you have some basic prototyping code running for Milight v6? If yes, are you ready to share this with me? Maybe via gist? This would be great.

Update from my side: Thanks to @Oggymator I now have a v6 bridge to play with. I have started to implement the discovery part (very easy) and started to reverse engineer the wire-protocol. Obviously, the API overview given on the web site is obviously incomplete and faulty. I am wondering why these guys call it an "Opensource API"! It is perhaps a cultural misunderstanding on my side, but I think it should be better called the "API Challenge for Open Source Developers". Well, no need to argue on this. Most developers like these challenges as solving them is demonstrating how smart they are ;)

from node-milight-promise.

rspaargaren avatar rspaargaren commented on July 21, 2024

Hi, unfortunately I don't have prototyping software running. What I did was a manual interaction with the wifi bridge via Packet sender. Basically I have followed the following protocol.
Send out the following HEX UDP package to wifi bridge port 5987
UDP 20 00 00 00 16 02 62 3A D5 ED A3 01 AE 08 2D 46 61 41 A7 F6 DC AF D3 E6 00 00 1E
The Wifi Bridge responds with a hex string and I pick the 20 th HEX code as wifibrdige ID.
◾UDP.SEND hex bytes: 20 00 00 00 16 02 62 3A D5 ED A301 AE 08 2D 46 61 41 A7 F6 DC AF D3 E6 00 00 1E
◾UDP.Response: 28 00 00 00 11 00 02 (AC CF 23 F5 7A D4)(mac) 69 F0 3C 23 00 01 05 00 00

Then I have used this value in the following example string to turn the lamp wifibridge on / off
WB = for example 05
SN = 01
◾LimitlessLED Wifi Bridge Light ON 80 00 00 00 11 WB 00 00 SN 00 (31 00 00 00 03 03 00 00 00)(cmd) 01(zone) 00 38(chksum) UDP response: (88 00 00 00 03 00 SN 00)
◾LimitlessLED Wifi Bridge Light OFF 80 00 00 00 11 WB 00 00 SN 00 (31 00 00 00 03 04 00 00 00)(cmd) 01(zone) 00 39(chksum) UDP response: (88 00 00 00 03 00 SN 00)

This has worked in practice but it has now to be interpretated ito workable code.

from node-milight-promise.

Oggymator avatar Oggymator commented on July 21, 2024

@mwittig
The most people dont know it, but LimitlessLED is not the producer or inventor of these lights and products.
At the moment he is only a reseller like me. In the past he was involved on the first wifi bridge, if my informations are correct.
Maybe thats the reason why API is not correct.
The real company behind the products came from china and have also some more porducts like LimitlessLED and me.

from node-milight-promise.

mwittig avatar mwittig commented on July 21, 2024

@Oggymator thank you very much for the clarification. This seems also to be the case for Milight.com as the "About Us" page prompts the folllowing: "Gigateq Limited is an electronic retailer based in Manchester, United Kingdom. We are the largest independent online manufacturer and retailer of the innovative easybulb LED bulb that can be controlled with smartphones and mobile devices".

from node-milight-promise.

mwittig avatar mwittig commented on July 21, 2024

@rspaargaren Thank you very much for getting back to me. I'll do my best in developing a first draft based on the available information.

from node-milight-promise.

Oggymator avatar Oggymator commented on July 21, 2024

@mwittig
Yes, MiLight.com is also only a reseller from the Chinese company with its brand Easybulb.
They was fast enough for the domain milight.com ;)
We have the domain mi-light.de so it is not easy to find the real Producer with the domain.
It is also not easy to communicate with the real Chinese company about the API, but I can try if it will help you.
For the last times I got the LimitlessLED API information and never talked with the Chinese company about that.
Regards Oggy

from node-milight-promise.

rspaargaren avatar rspaargaren commented on July 21, 2024

@mwittig @Oggymator how About futlight.com? Are they the real supplier? They seam to have a complete and new range on their website?

from node-milight-promise.

duecedriver avatar duecedriver commented on July 21, 2024

found the api for the milight v3 / limitless v6 on the limitless site..

http://www.limitlessled.com/dev/

from node-milight-promise.

mwittig avatar mwittig commented on July 21, 2024

@duecedriver Thank you very much. I have edited your post and replaced the content with the link to the originating site.

from node-milight-promise.

duecedriver avatar duecedriver commented on July 21, 2024

thanks... I use home assistant and doesnt look like the new v3/v6 hub is supported there yet either...

hope this api info can help you guys get this working !!!

from node-milight-promise.

rspaargaren avatar rspaargaren commented on July 21, 2024

He is quite active on the following NZ forum:
http://m.geekzone.co.nz/Forums/73/Topic/113569/50

from node-milight-promise.

rspaargaren avatar rspaargaren commented on July 21, 2024

Hi @mwittig good work!, I am looking forward for your first beta version! I am also happy to read that v7 of the software is also comming where we can control individual lights etc. I expect the change in code in v6 is already preparing for that...

from node-milight-promise.

rspaargaren avatar rspaargaren commented on July 21, 2024

Hi @mwittig did you check the limitless website? They have now added a nodejs example code ! Or did you create this code..?

from node-milight-promise.

mwittig avatar mwittig commented on July 21, 2024

No, I didn't create this code. The example is incomplete unfortunately, but still it is very helpful

from node-milight-promise.

rspaargaren avatar rspaargaren commented on July 21, 2024

Here another piece of code....

https://github.com/daniel-t/MiLight_v6

from node-milight-promise.

mwittig avatar mwittig commented on July 21, 2024

@rspaargaren That's great. The code published on the Limitless LED web seite for nodeJS appears to be excerpt of the code included in this project!

I am making good progress and have working code for most of the command set including WW/CW white bulb commands which are not including in the info published so far.

from node-milight-promise.

mwittig avatar mwittig commented on July 21, 2024

Sorry for the delay at my end, as other things kept me busy most of the time. I have now pushed a first batch of the V6 implementation to the repo as promised.

I am planning to release the code before end of the year. So, if you guys have some time to play with the code and provide feedback this will be great! Just have a look at the examples to start with.

from node-milight-promise.

rspaargaren avatar rspaargaren commented on July 21, 2024

great also here a bit busy, but I will have a look! Keep up the good work.
What is the best way to test your code? Normally I use pimatic but can I also control it on prompt level or via a short script. I am not (yet) so familiar in this field.

from node-milight-promise.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.