Cool, keep me posted ![]()
If necessary, I’m here to test. I’ve been waiting so long for a fix for this thing
![]()
Hello,
A first image is available here https://hub.docker.com/layers/cicoub13/gladys/fix-philips-hue-poll/images/sha256-33320d14fd9957fb3185579f4533e2ebf1994cb16755436777a8a6492d4c5f6e?context=explore. Same procedure to run a test image described here Tutoriel: Lancer une image Docker de test
I can’t find an algorithm to convert the color in ct mode to an integer (necessary for Gladys.
I don’t know how color modes are distributed across bulbs (xy, hs, ct).
To test:
- updating the color from the external source and automatic state update in Gladys
- updating the brightness from the external source and automatic state update in Gladys
I still have 2 failing unit tests ![]()
Amazing @cicoub13, thanks for your quick response
Don’t hesitate to ask if you need help with the tests
@Kevin it’s your turn!
I’m alone tonight, I’ll try to take a look at it a bit.
@cicoub13 : I’ll let you know as soon as possible.
Regarding my feedback:
- Color: OK
- Brightness: I seem to have succeeded the first time. But afterwards, nothing at all… Even after 5 minutes.
- Is it possible in the future to be able to set the polling interval yourself? Even if one minute may seem short, in some cases that could be problematic.
And thanks for the work anyway ![]()
Hello. Thanks for the feedback ![]()
I’ll run tests again on my side and will let you know when I have a new version.
For polling customization, we could do it, but I suggest handling that at a later stage. And @pierre-gilles suggested changing it to 15/30 seconds here Philips Hue - Issue with state #1690 - #13 par pierre-gilles
Indeed, we can change it to 15-30 seconds if needed!
Hello, I set the polling to 15 seconds and pushed a new image (with an update to the node-hue-js library).
@Kevin, can you test again please?
Make sure to pull the new image
docker pull cicoub13/gladys:fix-philips-hue-poll
Hello,
Sorry for the delay.
I have one good and two bad pieces of news:
- The intensity works.
- The unit on the bar is bugged regarding the intensity → If I’m at 20% in my app, the dot is in the middle of the bar. At 70%, the dot is all the way to the right, as if I were at 100%.
- The polling seems closer to a minute than to 15 seconds. No change on that front.
Thanks, I’m looking into it. Odd about the polling.
Just to be sure, did you delete your Philips Hue devices in Gladys and then re-create them?
We could add a migration, but I don’t think that’s the case in the current development.
Oh no, I didn’t know you had to remove and re-add it. I just reconnected the Philips Hub.
I’ll re-test that by Monday then.
Hi @Kevin
Just wanted to know if you were able to test it in the end?
Hi,
Sorry for the delay, shame on me, I’m unforgivable ![]()
I kind of lost track with the end-of-year work. It was a bit hectic and it slipped my mind.
Have you made any progress? Have there been any changes in the meantime? Or can I retest in the same state as last time?
Hi @Kevin
Don’t worry, it happens!
No, I think we were at the same point.
Hello,
Here I am again after many weeks without testing ![]()
The news isn’t really good:
I deleted my dashboard, disconnected the lamps, restarted the Raspberry Pi and the system no longer receives any information from the outside once the reconfiguration was redone.
I can still send the information from the dashboard to change the bulb. But if I change it from the Philips Hue app, nothing changes on my Gladys dashboard. Even after 5 minutes..
I hope you’ll manage to find it ![]()
Thanks for testing @Kevin! Did you see anything unusual in the logs?
@cicoub13 Do you think you’ll have time to take a look? ![]()
Hello,
I’m chiming in on this thread for my personal case.
I added all my Hue lights to Gladys and it works well, I just have a problem that seems similar to the one in the original post.
I turn on lamps from Google Home or Alexa, the status correctly changes in my dashboard after 60 seconds → OK
I turn off lamps from Google Home or Alexa, the lamps remain in the « on » state even after several minutes.
I have nothing in the logs except:
Deprecated Function Usage: configuration.get()
Use configuration.getConfiguration() instead
Function will be removed from node-hue-api in version 5.x
when I added my bridge.
Tested on my « prod » instance and on a freshly created instance.
I hadn’t really paid attention to the logs..
If a dev. wants me to buy them a Philips hub to make it easier to fix, I’ll be happy to — don’t hesitate!