[quote=“rotbard, post:24, topic:199808”]I didn’t understand how to use Sunrise/Sunset
I tried to set a trigger that works 1/2 Hr after Sunset
Where is the sunset time comes from?[/quote]
Reactor uses Luup’s calculated sunrise/sunset times. So first, you need to make sure that your Vera is configured with both the correct location (city, region, country, latitude and longitude), and time zone.
I want to turn garden light on when its Night and the roller Shutter is open
But Night status switch into night when there is still light outside
You seem to be on the right track based on the screen shot, except for the first line. Looking at both the “Day or Night” plugin and sunset is redundant. Remove that first line.
Your second line tests what I assume is your roller shade, for load level > 50. I don’t have or use Z-wave shades, so I’m not sure how they integrate, but if they use LoadLevelStatus as your rule suggests, this looks like it will be true when your shades are open more than half way (50/100). Your screen shot also shows that at the moment you took it, the shades were open 100%, so that condition is true (showing “true” and highlighted green).
The third line is the sunset test, which seems OK. The resolution/scale of the screen shot combined with my poor vision, I can’t tell if it reads “sunset+30” or “sunset-30”, but it should be “+30” based on what you are describing and I’ll assume that’s what it is. Since this is an “after” condition, it will be met (true) from 30 minutes after sunset until midnight; after midnight, this condition will be false. If you want the lights on from sunset+30 to sunrise (or sunrise-30, for example), you would need to use a “between” condition. But what you have will work, just know that the light will turn off at midnight unless you change it to “between”.
The ReactorSensor will trip when ALL conditions in any group are met. So, if your shades are up > 50%, and the time is after today’s sunset+30 minutes, then the sensor will trip, and if your “garden light on” scene is set to trigger when this ReactorSensor is “tripped whether armed or disarmed” your scene will run. The ReactorSensor will untrip when the conditions are no longer met (i.e. it’s after midnight, or you close your shades), so you need a scene “garden light off” that triggers when this ReactorSensor “restores from tripped whether armed or disarmed.”
You can use the time control on the “Test” tab to manipulate what the ReactorSensor thinks the current time is, so you can test the sensor without waiting until actual sunset. Just set a time, then go back to the Control tab and his the “Restart” button to make the sensor re-evaluate its conditions. When you are finished testing, remember to turn the override off on the Test tab.