User Tools

Site Tools


valuetrigger

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
valuetrigger [2012/04/23 19:53] seststvaluetrigger [2018/11/03 02:59] (current) – external edit 127.0.0.1
Line 1: Line 1:
 {{control.png| Category Controls}} {{control.png| Category Controls}}
 ====== ValueTrigger ====== ====== ValueTrigger ======
-This module is a part of the [[NetHomeServer]]. The ValueTrigger is not yet documented.+This module is a part of the [[NetHomeServer]]. The ValueTrigger monitors an attribute of an other Item (a thermometer for example) and triggers actions when the value goes above or below specified values. Typical use is as a thermostat. The value is checked once a minute when the Item is enabled.
 ===== Attributes ===== ===== Attributes =====
-  * **State** //[get] [init]//  +  * **State** //[get] [init]// Current state, may be: deactivated, normal, overMax, underMin 
-  * **LatestValue** //[get]//  +  * **LatestValue** //[get]// The latest read value 
-  * **ValueAction** //[get] [set]//  +  * **ValueAction** //[get] [set]// The action to fetch the value. Should be on the form: //get,ITEMNAME,ATTRIBUTENAME// 
-  * **Max** //[get] [set]//  +  * **Max** //[get] [set]// The MAX limit value - a numeric value 
-  * **Min** //[get] [set]//  +  * **Min** //[get] [set]// The MIN limit value - a numeric value  
-  * **ActionOnExceedingMax** //[get] [set]//  +  * **ActionOnExceedingMax** //[get] [set]// An action that will be performed once when the value passes from under MAX to over MAX 
-  * **ActionOnDeceedingMin** //[get] [set]//  +  * **ActionOnDeceedingMin** //[get] [set]// An action that will be performed once when the value passes from over MIN to under MIN 
-  * **ActionWhileOverMax** //[get] [set]//  +  * **ActionWhileOverMax** //[get] [set]// An action that will be performed on every check where the value is over max 
-  * **ActionWhileUnderMin** //[get] [set]// +  * **ActionWhileUnderMin** //[get] [set]// An action that will be performed on every check where the value is under min
 ===== Actions ===== ===== Actions =====
-  * **EnableTrigger**   +  * **EnableTrigger** Enables the automatic check once a minute 
-  * **DisableTrigger**   +  * **DisableTrigger**  Disables the automatic check 
-  * **CheckNow**  +  * **CheckNow**  Checks the value now and performs any actions as a consequence
 ==== See also ==== ==== See also ====
-[[start]]+[[start | NetHomeServer]]
valuetrigger.1335203614.txt.gz · Last modified: 2018/11/03 02:57 (external edit)