I have followed the wiki for hue and everything almost works, but what I’ve noticed is that if something changes the color property (normally via a rule, but perhaps via the hue app) then the hue will turn on, but the toggle switch will be off. Because me sitemap looks like this:
I’m thinking about making a fake colorpicker that if set will set the toggle switch to on as a way of fixing this, but I was just wondering what others have done.
Normally that should work, at least it does for me.
There are actually two reasons for such a problem: First is, you are too fast. It will take a few seconds for the item state to be transmitted frm the hue bridge to the OH. The second might be that there is a (well known) problem with your sitemap that it doesn’t refresh automatically. So when you reload the site manually it should be displayed correctly.
BTW: Of course you have checked the switch to be connected to the correct HUE bulb by switching it ON/OFF?!
The ON/OFF isn’t always that reliable - I think my hub might be too far away so I’ll re-position it, but I know frequently the toggle switch will be off, but the hue is still on.
Ok, I move them closer and this definitely isn’t working.
So if I turn on the hue using the hue application, then the item isn’t updated. My guess is that this is just the way it works. Is that how it works for you?
@rossdargan First I’d make sure you are running the latest version of the addon (v1.8 hue binding can be used with 1.7.x), and maybe play with ‘hue:refresh’ in openhab.cfg. For example, set it to a half second instead of 10 seconds (default):
Also, I can confirm that my setup accurately updates the OpenHAB Hue item state when changed from other applications - can see it happening in the server logs.