vchlum / hue-lights

Gnome Shell extension for Philips Hue compatible lights controlled by the Philips Hue Bridge and for controlling Philips Hue HDMI sync box.
https://extensions.gnome.org/extension/3737/hue-lights/
MIT License
192 stars 14 forks source link

Color changing stopped working #45

Closed g1sbi closed 2 years ago

g1sbi commented 2 years ago

The extension was working fine for days, then suddenly I'm unable to change colors for any light. I can turn them on and off fine. Tried all the troubleshooting steps but none worked. I also tried creating a debug log but the command written on the troubleshooting page just hangs and doesn't output anything.

vchlum commented 2 years ago

Hi @Gisbitus ! The command should create a file named hue-lights.log. Please provide the file. Also, please provide more information... like your distro and gnome version. I did not observe your issue. I will investigate.

g1sbi commented 2 years ago

@vchlum I can run the command and create the log file, but it's empty, unfortunately. What can I do?

vchlum commented 2 years ago

Did you enable the debug mode in settings first?

JordanViknar commented 2 years ago

One of my laptops also has an issue with this extension (on Arch Linux). Either color changing doesn't work at all, or it's extremely delayed (an entire minute, sometimes 3). The delay also seems to apply to the loading of the settings interface. This is extremely concerning, nothing in the logs seems to be hinting at the problem. This may be caused by the "mutter-performance" or the "gnome-shell-performance" AUR packages, since I'm using those. Since I can boot on my BTRFS snapshots with writes in RAM, I can easily try and replace those 2 with the normal packages temporarily to see if that fixes the issue.

The extension works fine on my other laptop though (Arch Linux too), and it doesn't have the performance packages as it doesn't need them. Perhaps this is a separate problem : if necessary, I can make a different issue for it.

I confirm none of the troubleshooting steps helped.

g1sbi commented 2 years ago

@vchlum yep it's enabled

vchlum commented 2 years ago

So only changing color causes issues... Turning on/off and changing scenes works fine... right? Could you please try to sync your screen with your lights? I suppose the entertainment area should be affected too. It also uses the function Shell.Screenshot().pick_color(), which I think causes trouble.

Could you please try this extension: https://extensions.gnome.org/extension/3396/color-picker/ Are you able to pick the color in a reasonable time? (same function here).

@JordanViknar I installed both packages on my arch linux test system without noticing the issue.

@Gisbitus What is your linux distribution, please?

g1sbi commented 2 years ago

@vchlum Pop 21.10

g1sbi commented 2 years ago

Closing this issue, the latest update fixed this! Thanks a lot.

JordanViknar commented 2 years ago

I'll check if the update fixed this issue (assuming it's the same one) on my end.