Make multi-threaded
[wakeup.git] / test / wakeup_alarms.xml
1 <?xml version='1.0'?>
2 <wakeup>
3   <event id='lightson_workdays'>
4     <start>2020-04-02 06:00</start>
5     <recurrance>
6        <pattern>weekdays</pattern>
7        <number>1,2,3,4,5</number>
8     </recurrance>
9     <action>lightcontrol -r 10 -f 300 -a 1000</action>
10     <action>lightcontrol -g 10 -f 300 -a 1000</action>
11     <action>lightcontrol -w 10 -f 300 -a 1000</action>
12   </event>
13   <event id='sunrise'>
14     <start>sunrise</start>
15     <action>cancel lightson_workdays</action>
16     <action>curtain -o 2 -t</action>
17     <action>lightcontrol -r 0 -g 0 -w 0 -f 100 -a 1000</action>
18     <recurrance>
19        <pattern>weekdays</pattern>
20        <number>1,2,3,4,5</number>
21     </recurrance>
22   </event>
23   <event id='open_curtains'>
24     <start>2020-04-02 09:00</start>
25     <recurrance>
26        <pattern>days</pattern>
27        <number>1</number>
28     </recurrance>
29     <action>curtain -o 1 -t</action>
30   </event>
31   <event id='end_test'>
32     <start>2020-04-08 11:00</start>
33     <recurrance>
34        <pattern>days</pattern>
35        <number>7</number>
36     </recurrance>
37     <action>exit</action>
38   </event>
39 </wakeup>