Times function blocks
lease note that this is referring to the times in the periphery tree NOT setting the time zone. In order to do this, please see our page on Miniserver setup.
The Miniserver can either use the Internet to set its time or can use the local time on your PC, so there are parameters which are defined in the Times section of the Periphery tree window to use in your program.
In the Periphery tree window click on the first entry. Here you can enter all the information about your project. As long as you have Internet access when you save the details of the project such as the postcode (put in the entry Town). This will enable the Miniserver to calculate its time and hence you can then use all the values in the Times section in your program accurately.
You can find the times in the Periphery tree window underneath the section Times (beneath the Remote Controls).
CURTAINS OPEN AT SUNRISE
Often people would like that their curtains open at sunrise. Not at 7:00 am, not at 8:00 am, but at sunrise. With Loxone no problem!
Just use the Pulse for sunrise found in the Times. In this example the pulse is connected to a memory flag and then this can be used on all the Automatic blind blocks. It is connected to the Cu input which drives the curtains fully open.
The opposite has also been implemented by using the Pulse for dusk as well so the curtains close in the evening.
MOTION DETECTOR ONLY BRINGS ON LIGHTS AT NIGHT
In a bathroom at night you might want to use a motion detector to bring on some low level lights. You wouldn’t want this to happen at day. To do this simply use the Lighting controller program block with the time “Daylight”.
Connect the motion sensor to the input Mv on the Lighting controller. See more about this here. Then associate a night scene with the motion sensor.
To stop the motion sensor coming on in the day connect the time input “Daylight” to the DisM input. If this input is active the motion sensor will be disabled and won’t turn on the night scene when triggered.
OUTDOOR LIGHTING FOR EVENING
The outside lights in this configuration are set to turn on 90 minutes after sunset and then off at midnight. The lights can also be directly controlled in the UI with the pushbutton block.
First the time “Minutes until sunset” is connected to an Add (2-way) block with the constant 90. Then when the time “Minutes past midnight” is equal to this value this turns the outdoor lights on (connected to the O always on input of the pushbutton).
Then when the time “Minutes past midnight” is equal to zero the lights go off (this is connected to the R input on the pushbutton).
Using constants means it is easy to quickly change the times the lights come on and go off at.