Niklas Haas

Results 362 comments of Niklas Haas

Seems to be some sort of duplicate of #70 and #62. My debug log shows the light being stuck in initialization: ``` DEBU[2024/28/10 00:02:11] ⚙ Configuration hasn't changed. Omitting write....

The issue appears to be when setting color temperature values lower than what the light "actually" supports. If I change the CCT of the current time slot to something like...

For what it's worth, I tried updating the software firmware version. It now reports: ``` DEBU[2024/28/10 00:30:44] 💡 Light Hallway Main - Initialization complete. Identified as Color temperature light (ModelID:...

Now everything works: ```diff diff --git a/huelight.go b/huelight.go index c20609a..d9be6e9 100644 --- a/huelight.go +++ b/huelight.go @@ -63,7 +63,9 @@ func (light *HueLight) initialize(attr hue.LightAttributes) { light.SupportsXYColor = containsString(lightsSupportingXYColor, attr.Type) //...

Update: I tried testing it locally but got: ``` λ docker run -v $(pwd):/app basnijholt/adaptive-lighting:latest ============================= test session starts ============================== platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 -- /usr/local/bin/python3 cachedir:...

Note: You can work around it using tags: ``` windowrulev2 = tag +nofocusactive, class:(.*) windowrulev2 = tag -nofocusactive, onworkspace:special windowrulev2 = suppressevent activatefocus, tag:nofocusactive ``` But I think it would...

In general, it would be useful to support arbitrary expressions, e.g. `class:(firefox) && !title:(YouTube)`, but this would be a more involved change to implement.

Note to any future people hitting this limitation: You can already invert regex-based expressions, by using a `(?!)` negative lookahead: ``` windowrulev2 = suppressevent activatefocus, class:^(?!dev\.zed\.Zed$) ```

I suppose the first thing to figure out would be whether this should be handled by mpv or by libplacebo. Does vo_gpu generate the OSD twice (once per eye), or...

A quick glance at [mpgl_osd_generate](https://github.com/mpv-player/mpv/blob/master/video/out/gpu/osd.c#L329) reveals a lot of code related to stereo3D support. Presumably that code needs to be lifted out of `vo_gpu` and into some common place where...