-
Notifications
You must be signed in to change notification settings - Fork 198
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
In 5.0.0, colour UDP URLs not issued to milight hub #808
Comments
Your config seems correct, exactly the way i'm using it (it works for me using the official hue android app, and other android apps). Maybe the iPhone app does something different. |
Here's a log fragment at DEBUG level, with tcpdump output intermingled. I've *'d out the userid as it looks a bit shared-secret-y, but I might just be paranoid. If I haven't given enough context let me know - I tried to snip the logs sensibly either side of the colour change action. Thanks for a swift reponse!
|
Ah okay i think i found the culprit: This seems to be something that needs a fix in code. If i try this command with my real hue hub both bri and xy get executed. This didn't come up before because i never saw an app do this. In most apps it is impossible to do this. |
Interesting. This is the offical Hue iOS app from Philips that's doing this. Another thing I noted while experimenting: iConnectHue (one of the other apps I have to hand) appears to send hue and saturation - I think I read that this is unusual...: Anyhow - I'll hang fire for a code fix. I'm about 20 years too rusty on the coding front for this! |
Regarding hue/sat i wrote this in the v5 testing issue:
|
I only mention hue/sat for interest having come across an app that uses it - I'm not personally dependant on that app and probably shouldn't have mentioned it here since it muddies the water. Exams are rather more important. |
@bwssytems Please ignore the latter query about hue/sat being sent by iConnectHue. Is the original issue ref the official Philips Hue app actually an enhancement/bug? @FloFoer has kindly spotted the root cause already. |
I will let @FloFoer answer as this was his contribution. |
@untruenorth Is this issue resolved? |
Not him but i can say: No, not really since the code was not changed in that way this still applies. |
So this would be an enhancement. |
I have a milight hub v6 which is a bit more comlicated protocol than v4. I have written a small python script which can be used through ha-bridge to dim, switch on/off, change color for any zones. I give details if someone interested in. |
Have a look at #845 ... Echo / Alexa doesn't support color features via the LAN Hue-API. Unfortunately! But many thanks for the script! That helps here. |
OK, I got it. Anyway, a "Test Color" button on the ha-bridge web UI would be useful. |
The implementation I will do is a separate call for each type of request that is available in the body. The Philips spec shows that on, bri and color items can be in the same request. IF any are present it will call the url for each. I'll ad a test color button as well. |
Does anyone have a devices.db they would post that does all the colors and modes? |
Milight hub running v4.x, group 0 (all bulbs) added and working well for on/off/dim. (Config snapshot at end.)
Hue app on iPhone connected to ha-bridge with no issues. The milight group 0 "bulb" is added to a room. When I use the hue app to change colour, tcpdump confirms that only dim commands get sent:
At which point, I'm all out of options. Have deleted and re-added the bulb, no difference. Am I missing something?
--Chris
Bulb config:
The text was updated successfully, but these errors were encountered: