Skip to content
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

Hue Entertainment with Yeelight not working #412

Closed
chrisdata opened this issue Jun 20, 2020 · 13 comments
Closed

Hue Entertainment with Yeelight not working #412

chrisdata opened this issue Jun 20, 2020 · 13 comments
Labels
stale This issue is stale, and will be closed

Comments

@chrisdata
Copy link

Describe the bug
Hue Entertainment not working with Yeelight.

To Reproduce
Hue Entertainmentwith Yeelight RGB bulb and strip able to create in Hue app (android).
After setup while it detect light working properly or not, it won't change color.
THen in any app with Hue Entertainment, it won't work.

Expected behavior
WIll yeelight work with Hue Entertainment ever?

Logs
WARNING:root:behind tv light not reachable: Yeelight with IP 192.168.0.112 doesn't want to connect in music mode: timed out
192.168.0.1 - - [20/Jun/2020 11:04:10] "GET /api/6815105eb0bd11ea8fd4b526e3fa79f4/lights HTTP/1.1" 200 -

FYI, it has enabled LAN Control in yeelight app.

@chrisdata
Copy link
Author

Yeelight music mode in Yeelight app also working.

Just the Hue Entertainment not.

@chrisdata
Copy link
Author

Screenshot 2020-06-23 at 10 43 47 PM

The hue mac app actually working, it changing color in sync mode, but you see the debug console, Yeelight rejecting connection.. so what's the problem?

@chrisdata
Copy link
Author

I opened port 55443 already on router and disable Ubuntu firewall. (just in case) still no fix.

@mariusmotea
Copy link
Member

I think the music mode was working fine until few weeks ago. Unfortunatelly this require advanced debugging, probably you need to connect with telent on the same service to see is the music mode server is available and can receive connections

@chrisdata
Copy link
Author

chrisdata commented Jun 25, 2020

Screenshot 2020-06-26 at 6 26 53 AM

https://www.yeelight.com/download/Yeelight_Inter-Operation_Spec.pdf

Here's what I get. 192.168.0.102 is my Ubuntu DiyHue server.
Is that correct but return an error...?

@mariusmotea
Copy link
Member

mariusmotea commented Jun 26, 2020

https://www.yeelight.com/download/Yeelight_Inter-Operation_Spec.pdf

{"id":1,"method":"set_music","params":[1, “192.168.0.2", 54321]}

this is from documentation and it looks corect.

Something similar: jomwells/ambilight-yeelight#3

@chrisdata
Copy link
Author

chrisdata commented Jun 26, 2020

It still same result in DiyHue but today I tried changing the port to default 54321 and it seem able to turn music mode on in telnet, what's now?
Screenshot 2020-06-27 at 5 27 10 AM

@stale
Copy link

stale bot commented Jul 6, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale This issue is stale, and will be closed label Jul 6, 2020
@chrisdata
Copy link
Author

Any updates?

@stale stale bot removed the stale This issue is stale, and will be closed label Jul 7, 2020
@Lord-Grey
Copy link

Lord-Grey commented Jul 7, 2020

Screenshot 2020-06-26 at 6 26 53 AM

https://www.yeelight.com/download/Yeelight_Inter-Operation_Spec.pdf

Here's what I get. 192.168.0.102 is my Ubuntu DiyHue server.
Is that correct but return an error...?

The telnet test does not makes sense in this scenario:
Your program needs to open a TCP-Server and with the port you provide the port the Yeelight will connect to for music mode. Using the Yeelight API port 5543 does not makes sense here...

I guess in case Yeelight is already in music mode, you will get the invalid param answer....

I tested with my yeelight rountine (not the diyHue one:
music mode is on, you get the error:

{"method":"props","params":{"power":"off","rgb":2300704,"hue":323,"sat":22,"bright":13,"music_on":0}}

{"method":"props","params":{"power":"on"}}
{"method":"props","params":{"music_on":1}}
{"id":3,"method":"set_music","params":[1,"192.168.2.152",39739]}
{"id":3,"error":{"code":-5001,"message":"invalid params"}}

if music mode is off, you get OK:

{"method":"props","params":{"power":"off","music_on":0}}
{"id":3,"method":"set_music","params":[1,"192.168.2.152",39739]}
{"method":"props","params":{"music_on":1}}
{"id":3,"result":["ok"]}
{"method":"props","params":{"music_on":0}}

Tested with a Yeelight Stripe

@chrisdata
Copy link
Author

I don't get it, so it still not fix? I
I unable to debug because I not a programmer, can't really help.

@stale
Copy link

stale bot commented Jul 18, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale This issue is stale, and will be closed label Jul 18, 2020
@stale
Copy link

stale bot commented Jul 25, 2020

This issue has been automatically closed as it has not had any recent activity. Thank you for your contributions.

@stale stale bot closed this as completed Jul 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale This issue is stale, and will be closed
Projects
None yet
Development

No branches or pull requests

3 participants