-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
YL5 LED strip controller support #68
Comments
After connecting the controller to wifi via the app, i can access its webserver. Its just a basic reconfiguration UI which allows you to configure a different ssid/password and lists the software version plus device name. That probably also gets used during the app configuration process. If someone could shed some light on how the YL5 communicates through the websocket that would be awesome! |
Could you please share the path to the web UI you're seeing? The only address I was able to get something other than a 404 was http://X.X.X.X/iweb.html which allows one to upgrade the firmware of the LPT230 chip. I did a lot of Wiresharking but my limited experience didn't get me really far. It appears to be a back and forth HEX payload which is probably similar to the one used on V6 protocol but I haven't been able to make any correlation. |
Did you have any progress on this? I am able to red and change all the settings. There is also one App on google play "com.epocapp.milightcontroller" that is supposed to work without cloud access. |
Hey guys, did you manage to find anything about these controllers? Would be nice to implement into homebridge. Thanks! |
I'm using the LS2 model which looks very similiar but does not have the WiFi functionality integrated. For the WiFi functions I previously had running an iBox2, now replaced it with a ESP8266 hub With the iBox2 I can call Port 80, I can call /iweb.html and I can read data with the LimitlessLEDv6 tool but I can't set any colour with the tool! Instead I've tested the 8zone-v6 script which is working. @joeio |
Thanks @buenyamin-olgun for stepping in. From reading the link included in the first post my understanding is as follows: The product contains a V6 bridge which can be controlled via UDP 5987. The product is claimed to be compatible with all Might remotes. Thus it should also work with with fullColor (RGB+CCT) control of node-milight-promise set which is basically the command set of the FUT092 remote. Important notice. The bridge needs to be paired/linked to the type of remote control you want to use. The recommended way of doing this is to use the Smartphone app. Besides the 8-channel remote I would expect the RGB+CCT (FUT092) remote to work. @joeio When you are able to control the lights with the 8-channel remote on you Smartphone the example-8zone-v6.js scripts should also work as suggested by @buenyamin-olgun You may need to change the IP address used in the script, however. See notice here: https://github.com/mwittig/node-milight-promise/blob/master/examples/example-rgbw-v6.js |
I was able to analyze the commands using the Milight app on an android emulator and wireshark. Before you can send any control commands you have to get a "session id" from the device. I will release the source within the next few days. |
@Phil1pp That's great. However, I am wondering whether or not you have paired (see "link/unlink" in the app) the device RGB+CCT (FUT092) remote as suggested earlier. If it is paired with the FUT092 I expect it will work with the existing code (using fullColor) given that the product works as advertised. Which remote did you use with the Milight App on the emulator? Did you try to pair with FUT089 or FUT092? Note you have to unlink the remote currently used before you can link to another remote. |
@Phil1pp succeded? can you lay out an example code? |
Sorry for the long delay. Enter IP address of controller, open socket and then pair. You can also send HEX commands. ON Color fading (Brightness adjusted seperately) Decrease Pulse Speed Color XX (0-255), repeat 4 times |
Hey guys, is there any progress on this? |
It appears as if the Milight YL5 LED strip controller should be supported by this package but I'm having problems getting it to work.
The discoverBridges function does discover the device as v6 with a name of "HF-LPT230" but no other commands I've tried work. I always get "no response timeout" errors.
The device is listening on UDP 5987 and on TCP 80, although I get a 404 not found trying to open the latter through HTTP.
I was also able to find that as soon as it's on wi-fi, it establishes a permanent connection to "cm2.xlink.cn", regardless if it's "activated" in the Milight Cloud app or not. From what I could gather, it would appear that both the YL5 and the Milight Cloud app establish a socket connection with XLink cloud and that the commands are sent and received through that socket. Apart from device discovery and wi-fi connection, everything else going on between the app and the device is done through the cloud but instead of just sending individual API commands through HTTP, it does it through the socket connection. Maybe all of this is already known but I thought I would mention what I was able to find.
Thoughts? Ideas?
The text was updated successfully, but these errors were encountered: