User Tools

Site Tools


weektimer

Differences

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

Link to this comparison view

Next revision
Previous revision
weektimer [2008/03/09 12:31] – created seststweektimer [2018/11/03 02:59] (current) – external edit 127.0.0.1
Line 1: Line 1:
 {{port64.png|}} {{port64.png|}}
 +
 ====== 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//
  
-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.  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. +  * **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 Monday to Friday. 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.
-  * **OffCommand** //[get]// Command to be executed at the end of a time period. Se above for syntax.+  * **OffCommand** //[get] [set]// Command to be executed at the end of a time period. Se above for syntax.
  
 ===== Actions ===== ===== Actions =====
-  * **On** //[get]// Number of processed commands+  * **On**  Explicitly calls the defined OnCommand. This does not affect the schedule
-  * **Off** //[get]// Number of processed commands.+  * **Off** Explicitly calls the defined OffCommandThis does not affect the schedule. 
 + 
 +===== Supported Operating Systems ===== 
 +All
  
 ==== See also ==== ==== See also ====
 [[CommandPortSyntax|Command Port Syntax]] [[CommandPortSyntax|Command Port Syntax]]
weektimer.1205062264.txt.gz · Last modified: 2018/11/03 02:57 (external edit)