User Tools

Site Tools


weektimer

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
weektimer [2008/10/05 09:40] seststweektimer [2018/11/03 02:59] (current) – external edit 127.0.0.1
Line 2: Line 2:
  
 ====== WeekTimer ====== ====== WeekTimer ======
-This module is a part of the [[NetHomeServer]]. The WeekTimer performes tasks according to a defined schedule. Separate time periods are specified for weekdays and for weekends. +This module is a part of the [[:start|NetHomeServer]]. The WeekTimer performes tasks according to a defined schedule. Separate time periods are specified for weekdays and for weekends. 
  
 A time period is specified as a start time and an end time in 24 hour format with a hyphen between start and end time. For example: //08:15-16:30// A time period is specified as a start time and an end time in 24 hour format with a hyphen between start and end time. For example: //08:15-16:30//
Line 8: Line 8:
 At the start of each time period the OnCommand is executed and at the end of the time period the OffCommand is executed. A command may for example be to call the //on//-method of a lamp or to execute an external shell file.  The syntax of the command is described [[commandportsyntax|here]]. The supported commands are: //set, call, event, exec//. At the start of each time period the OnCommand is executed and at the end of the time period the OffCommand is executed. A command may for example be to call the //on//-method of a lamp or to execute an external shell file.  The syntax of the command is described [[commandportsyntax|here]]. The supported commands are: //set, call, event, exec//.
 ===== Attributes ===== ===== Attributes =====
-  * **WeekDayTimes** //[get] [set]// Active time periods during Monday to Friday. Multiple time periods are separated with comma ",". Se above for syntax. Example: "07.00-09.00,16.30-21.00".+  * **WeekDayTimes** //[get] [set]// Active time periods during Monday to Friday. Multiple time periods are separated with comma ",". Se above for syntax. Example: //"07:00-09:00,16:30-21:00"//.
   * **WeekEndTimes** //[get] [set]// Active time periods during Saturday and Sunday. Multiple time periods are separated with comma ",". Se above for syntax.   * **WeekEndTimes** //[get] [set]// Active time periods during Saturday and Sunday. Multiple time periods are separated with comma ",". Se above for syntax.
   * **OnCommand** //[get] [set]// Command to be executed at the start of a time period. Se above for syntax.   * **OnCommand** //[get] [set]// Command to be executed at the start of a time period. Se above for syntax.
weektimer.1223192451.txt.gz · Last modified: 2018/11/03 02:57 (external edit)