import reguł

This commit is contained in:
root
2018-07-01 21:48:20 +02:00
parent 78d4c6c5e1
commit 1d85c1669f
13 changed files with 466 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
rule "Zapal lampkę rano"
when
Time cron "0 39 5 ? * MON-FRI *"
then
sOWFS02.sendCommand(ON)
end
rule "Zgaś lampkę rano"
when
Time cron "0 20 6 * * ?"
then
sOWFS02.sendCommand(OFF)
end
/*
1 Seconds
2 Minutes
3 Hours
4 Day-of-Month
5 Month
6 Day-of-Week
7 Year (optional field)
*/