samclane / LIFX-Control-Panel

As LIFX no longer supports their Windows 10 app, I created an open-source alternative for controlling LIFX-brand smart lights.
https://github.com/samclane/LIFX-Control-Panel
MIT License
161 stars 19 forks source link

Having a hard time getting Screen regions to work. #145

Open prediscover opened 1 year ago

prediscover commented 1 year ago

I had been using the 1.8.0 version for forever, and just stumbled upon the latest 2.3.1 version!!

I'm usually pretty good at figuring out tech things, but I'm having a hard time understanding the Screen region left,width,top,height values.

I have two bulbs, on either side of my monitor and my goal is to get the left bulb to react to the left half of the screen and the right bulb to react to the right half of the screen. Either Avg. color or Dominant color is fine.

I have a 1440p main monitor, so I thought inputting this for the left bulb: left 0 width 1280
top 0 height 1440

, and this for the right bulb:

left 1280 width 2560
top 0 height 1440

would work. However, only the left bulb seems to be reacting properly on the left side and the right bulb just reacts to the whole screen. What am I missing?

AnthonyANI commented 1 year ago

Since a previous update, the two inputs on the right have changed from right, bottom to width, height. So no longer coordinates for the two boxes on the right. For your right bulb, the correct width is still 1280. Height is correct for both.