adaptive-cover icon indicating copy to clipboard operation
adaptive-cover copied to clipboard

Use a swing range for lux values when using illuminance to open/close blinds

Open maxowner1 opened this issue 8 months ago • 3 comments

Checklist

  • [x] I have filled out the template to the best of my ability.
  • [x] This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
  • [x] This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.

I use the integration in climate mode using an outdoor illuminance sensor. On a somewhat cloudy evening, as lux values fall, the blinds will sometimes open and shut multiple times as lux values go below and above the threshold value.

Describe the solution you'd like

I would like a “swing range” for lux values such that the blinds will open as lux drops below a certain threshold, but then not close again until the illuminance rises above the threshold plus an additional, adjustable swing value, so that the blinds do not repeatedly close and open so often.

Describe alternatives you've considered

None

Additional context

None

maxowner1 avatar Apr 17 '25 17:04 maxowner1

Hi, Let's have a look on this tutorial I made recently…

patrickp78 avatar Apr 18 '25 08:04 patrickp78

Bonjour Patrick,

Thanks for that. I use the Philips Hue outdoor motion sensor as my illuminance meter, mounted in a shady spot, and I find it be a pretty accurate measurement of the ambient light conditions. Obviously I’ve had to play with it for a while to see what its lux values mean relative to my perception of brightness.

In my opinion, the trouble comes from having simply a single lux value essentially acting as a toggle in climate mode. If for example, we could say, open the shades when lux<1000, but don’t reopen them until lux>1500, I think it could work pretty well.

Cheers!

maxowner1 avatar Apr 18 '25 12:04 maxowner1

Hi,

I agree. Not only is a lux meter not the best sensor for determining whether there is sun or not, but the brightness is so variable over very short periods that the shutters operate too often. Have you tried combining the Adaptive Cover calculation with Node Red? Another solution is to limit the number of changes in Adaptive Cover with the "Minimum position adjustment" and "Minimum time interval…" parameters in the Modify automation configuration tab.

patrickp78 avatar Apr 18 '25 13:04 patrickp78