Problem with curtains based on illumination


#1

1) Give a description of the problem
When the illumination is greather than 500lux the piston is executed and the curtains are closed but after several sec they are opened and closed again and is going to endless loop.

2) What is the expected behaviour?
They should be closed only one time and wait at noon to be opened agaian.

3) What is happening/not happening?
(PUT YOUR INFO HERE)

**4) Post a Green Snapshot of the piston![image|45x37]


#2

illuminance is greater than 500 Lux many times in the day, try if illuminance becomes greater than 500 Lux, that only happens once in the day, or changes to greater than 500 lux. Same logic for your second IF.


#3

If I correctly understand what you want, I would try something like this:

IF Temperature Sensor 1's illuminance rises above 500lux  <- Trigger
AND
Time is between sunrise and noon  <- Condition
AND
Contact Sensor 16 is open  <- Condition
  Then
    With contact Sensor 16
    Fade level to 0% in 0 seconds
END IF

Every day at 1 minute after noon
  IF Contact Sensor 16 is closed
    Then
      With contact Sensor 16
      Open
  END IF
END Every

#4

Thanks a lot guys this was my stupid mistake. Right now is working perfectly.


#5

But it looks like that is not working. I checked it several days the if for the illuminance is failing. if I put it on rises above. If I put it on is greater is working. Some idea? Probably is because the illuminance is a virtual weather sensor. I have no idea really. The only way is how to keep it paused after run it once until noon.


#6

Can you post a green snapshot and log with trace turned on? That will help us.