User Tools

Site Tools



Table of Contents

Value Of

Returns the analog value of a unit. If the unit is “dimmable” and a pseudo the value can return any real number, not just integers and can be positive or negative. If the unit is a real device and is dimmable then the value will be between 0 and 100. If not dimmable the value will be 0 or non 0 to indicate on or off.


value of (name of a unit)


if value of "Temperature" is greater than 70 then
  turnoff "heating"
end if
set value of "Daily Rainfall" to ((value of "Daily Rainfall") + (value of "Hourly Rainfall"))
dictionary/unitinformation/valueof.txt · Last modified: 2017/10/15 16:08 by James Sentman