Best way to do a shutter closing automation

Hello !
I have an automation that doesn’t work as intented and I wanted to discuss the best way to do it in terms of reliability and sobriety.
I want to shut my rolling shutter when the following conditions are met :

  • When temperature room is above a threshold
  • Not before 2pm neither after 7pm
  • Only if the shutter already fully opened
  • Only if the cloud coverage is below a threshold

Most of these points are conditions on the automation but what is the best trigger to action the automation in this case ?

The first item is the best trigger. It really depends what you’re trying to accomplish as in why you want it to close and based on what or is it just the first item and make sure the rest are true? With what you provided you would use that as a trigger and the rest as conditions.

I have my shades close based on the light outside for example. Once it goes below x and they are open they close and the opposite to open unless they recently closed then I don’t let them reopen for a period of time to avoid constant close/re-open on cloudy days.

I want to close it only when the room is exposed to the sun (my time condition) and only if the temperature is above the threshold. The final goal is to lower the temperature when it is caused by the sun but not suppress natural light otherwise.

I already tried this way and it doesn’t seem to work because the temperature is higher most of the day now - so before the time condition.
I believe that numeric state trigger fires only when the numeric value crosses the threshold.

It’s probably best to use an aeotec Multisensor 6 or 7 and point it outside to accomplish detecting when the room is exposed to the sun.

That is how the numeric state works and it will only trigger once. Which is why it may not be the best for your use case. It will only trigger when it crosses the threshold one time and that may not be the time it meets all of your conditions.

You will need to figure out what luminance value equates to the room being exposed to the sun and then you can reliably use that as a trigger.

Yes, or using the sun’s elevation and azimut values based on my location, but the result will be the same when the room is exposed and the temperature doesn’t have the threshold yet.
Thats why i was thinking to a Time pattern trigger, with minutes: “/5” or “/10”.

You can also have 2 triggers. The temperature threshold can be a trigger with the sun as a condition. Along with the sun being the trigger too for efficiency.

Example:

Trigger:
  Sun
  Temperature
Conditions:
  Sun 
  Temperature

Either 1 can be a trigger and both conditions must be true. That way it will trigger again if the sun is there but the temperature is not. You can also use a time pattern once the sun is coming into the room. You can use more than 1 trigger to check the conditions. You could have those 2 and the time pattern as well. Now you have 3 to ensure what you’re looking for or just a time pattern.

1 Like