Alarm clock function block

The smart alarm clock for your Smart Home


The Alarm function block allows you to perform actions, either once or repeatedly at the desired days and times. In addition to the days of the week different settings can be defined for holidays, bank holidays or lie ins!

The function block also has the universally loved (or hated!) snooze function.



First of all double click on the block to open up the editor to set your alarms.

To add a new alarm click on the green plus at the bottom left. You can then add a description for the name of the alarm (for example Work days), as well as select the time of the alarm and the days the alarm happens on.



It is important to choose in the properties window of the block whether an acknowledgement of the alarm is required or not in order to turn the alarm off. If an acknowledgement is not required then the alarm will stop automatically after the time set by parameter Ta.



When the alarm goes off a pulse occurs on output QTa, and once the alarm is deactivated (either by a pulse on input C, or after the timeout if no acknowledgement necessary) a pulse occurs on the QTe output. When the alarm is active then the output Qa will be on.

If you want to snooze the alarm then input S allows you to do this. If the ‘acknowledgement required’ box is checked is ticked and the alarm hasn’t been acknowledged in the alarm time (parameter Ts) the snooze will be started automatically. The snooze time can be adjusted with parameter Ts, if a pulse occurs on Tsc within the snooze period then the timer is reset to the beginning. The alarm can also of course be acknowledged with input C within the snooze timer.

If you want something to happen before the actual alarm (for example dim the lights up slowly) you can do that using the QTp output. This provides a pulse at a set amount of seconds before the alarm goes off. You can set this time using the parameter Tp.

If the input DisP is on then all the alarms of the block will be disabled.