friedpenguin

OH basic cron rule

Jan 10th, 2019
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. rule "Chicken Light"
  2. when
  3. Time cron "0 0 16 ? JAN,FEB,MAR,OCT,NOV,DEC SUN-SAT"
  4. then
  5. chicken.sendCommand(ON)
  6. candy.sendCommand(ON)
  7. end
  8.  
  9.  
  10. rule "chicken light off"
  11. when
  12. Time cron "0 0 22 ? JAN,FEB,MAR,OCT,NOV,DEC SUN-SAT"
  13. then
  14. chicken.sendCommand(OFF)
  15. candy.sendCommand(OFF)
  16. end
Advertisement
Add Comment
Please, Sign In to add comment