-
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
Release Candidate for testing V5 #735
Comments
Is the color control all you need help with? |
Note that the "${color.milight:([01234])}" for miLight does not only return the milight color value. |
Thanks I'll give it a try on the weekend. This info no longer appears for me so the response order must have changed or that info as been eliminated. |
@tuicemen This could be due to the new automatic color capability detection. With real hue bulbs the properties hue, sat, effect, ct, xy, colormode get only returned if the light is color capable and the hue app relies on this, that means Dimmable lights would be displayed as color lights if they have one of these properties. Since this is not what we want the color info doesn't get stored (and thereby returned) anymore for non-color lights. That way the apps know if a device is really color capable. HA-Bridge decides automatically if a device is color capable by the following rules:
The new groups/rooms (another new feature) are always displayed as color lights. It doesn't check what type the group members are. |
That makes sense. |
Well I see why I took my milights and hub to the cottage. |
its nice to see the progress of habridge in the last month :-) But i am still facing an issue with the color support and alexa. After setting up the Color-URL Alexa recognizes the device as a "color light", but after telling her to change the color to "red" for example, she keeps telling me, that the corresponding device does not support this. Changing the color with the "all 4 hue" app works. Am i missing something here? |
@davidhennemann Yes unfortunately color does only work with apps and not with alexa. This is due to the fact that alexa does on/off/dim natively & local, but color works through the official hue skill. Since HA-Bridge is not linked to a hue account you can't link ha-bridge with the hue skill and thereby color commands aren't possible without programming a custom skill for alexa and exposing ha-bridge or another server as middle man to the internet. I described this behavior and the rooms feature here |
I use HA-Bridge since 2 days, since I've received my new Google Home. Ex : color payload => node c:\Users\Me\habridge\milight.js 192.168.1.20 2 color ${color.r} ${color.g} ${color.b} node : nodejs should be installed Thank you very much for this HA-Bridge |
I would like to help test this out, I am using milight and smartthings, but when I upgraded to the beta I couldn't get any lights to turn on. could someone post an example? the following works in the stable release, but if I try it on the Beta nothing happens. |
I'm wondering, does this work with the older RGBW bulbs and on the v5 milight hub? |
@Andyjd86 udp://ip:port/0x450055 should still work, i turn on my ambient light the same way. |
iPad editing working great on v5rc! |
@FloFoer thanks for confirming that it should still work. for me, it doesn't. when I click "test on" with the stable build, lights come on and the green confirmation popup shows in the top right. using the beta nothing happens at all. I have managed to get a test entry to show up as colour in the smartthings app though which is good, just nothing actually happens still. I can grab logs if needed, though an idea which bit to grab would be good. |
@bwssytems @FloFoer Basically, I have some bulbs taking a UDP input in the form of setcolor,R,G,B and it's not working. That is so say, as soon as I send a color command thru HDBridge the bulbs turn off. Sending setcolor,255,0,0 thru packetsender (ie. directly to the bulb - they are wifi enabled via ESP8266) turns the bulb red as expected. Saying "Alexa turn the Living Room Red" (the bulbs are discovered as a SmartThings Device, dimmable, color, tunable white) turns the bulb off. Using the SmartThings app turns the bulb off. Using the Hue 4 All turns the bulb off. What am I missing here? If I set the color command to a static value (ie. udp://ip:port/setcolor,127,32,87) works fine from all apps (as well as Alexa). Is there a conversion I'm missing between color.r and so on to actual RGB values? |
Updating from 4.5.6 to 5.0rc1 None of the external commands seem to run anymore. Neither the test buttons in the webgui nor alexa control seem to trigger them. Going back to 4.5.6 restores functionality When I have time tomorrow I'll start with a fresh confog and see if that helps. |
@bwssytems @FloFoer
My actual call looks like
Any ideas?! |
Ok, so more testing. This time with the color.milight variable. If I send
nothing is transmitted at all and I get an error logged for spark.webserver.MatcherFilter. No actual error message is included however. If I send a
I simply get that transmitted. If I send a
I get exactly that. Something is wrong :D |
Seems like your placeholder doesn't get replaced. |
Arne is driving, but would like to confirm that ${color.miligt:0} was a typo just in here not in his request ;) |
Right, I'm back at my desk. I changed the type to UDP in the middle of testing, and it yields the same results. So now I have Also, in the dim command I have What else should I be looking at in order to get this sorted? Setting DEBUG for the log level I never see anything resembling these lines
is it possible the RC1 version linked in the OP was compiled using the wrong ColorDecode? Or does this infact work for some people? |
@emigrating RC1 works for me. |
@FloFoer But sure, here's a complete device
and here's a DEBUG log from the issuance of ON, thru DIM, followed by OFF and COLOR
This all gave me the following in my listener
Now, if you say the above linked file works for you there's obviously something wrong with my setup. But I can't see what it is. I've tried creating a new device, I've tried editing an old one, both give the same output. Running on Debian 1609. --EDIT-- |
Ah now i see what's the problem. This: |
Hmm.. Now this is weird. On the initial device I get this using any app as well as voice via Alexa. That includes the Hue 4 All app. Anyway, I'm using SmartThings, so the bulbs are picked up by Alexa as a SmartThings "thing" rather than a Hue bulb, but they obviously go thru the HABridge either way. |
Since i never encountered Hue/Sat (using alexa, hue app, all 4 hue and some other apps) i wanted to implemented it last of the 3 variants and then i ran out of spare time for private programming and eventually i forgot this because i never ran into problems without the Hue/Sat conversion since my echo and none of my apps tried to use it that way ever. |
I'll have a look. Although I haven't found much info on Hue Sat conversion, it all seems to be HLS or HBS. But in any case. Getting this done will allow for color via Alexa as long as you also have a smartthings hub. |
New version to try! See top post |
I am getting this error when I navigate to the « Hue Devices » tab or the « Home Assistant Devices tab.
Here are the logs:
I fixed this by downgrading to the Release Candidate 1 of 5.0.0. #768 I also can't control the temperature of my lights when I change the whole group color. However, I can change it individually. |
@TheCellMC I am seeing the same issue with the HUE Passthru. Working on that. |
@TheCellMC Found it, it is fixed in the next RC to try |
New version rc4 to try! See top post |
Closing this thread for testing, hopefully, the final release candidate. Will open another thread. |
Here is a release candidate for testing V5 that includes color raw control.
Use "${color.r}", "${color.g}", "${color.b}" for the replacement values,
For miLight use "${color.milight:([01234])}"
Get the release here http://bwssystems.com/files/ha-bridge-5.0.0rc5.jar
Update: New RC5 to try!
The text was updated successfully, but these errors were encountered: