{{control.png| Category Controls}} ====== ValueTrigger ====== 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 ===== * **State** //[get] [init]// Current state, may be: deactivated, normal, overMax, underMin * **LatestValue** //[get]// The latest read value * **ValueAction** //[get] [set]// The action to fetch the value. Should be on the form: //get,ITEMNAME,ATTRIBUTENAME// * **Max** //[get] [set]// The MAX limit value - a numeric value * **Min** //[get] [set]// The MIN limit value - a numeric value * **ActionOnExceedingMax** //[get] [set]// An action that will be performed once when the value passes from under MAX to over MAX * **ActionOnDeceedingMin** //[get] [set]// An action that will be performed once when the value passes from over MIN to under MIN * **ActionWhileOverMax** //[get] [set]// An action that will be performed on every check where the value is over max * **ActionWhileUnderMin** //[get] [set]// An action that will be performed on every check where the value is under min ===== Actions ===== * **EnableTrigger** Enables the automatic check once a minute * **DisableTrigger** Disables the automatic check * **CheckNow** Checks the value now and performs any actions as a consequence ==== See also ==== [[start | NetHomeServer]]