Updated Expressions in Rules (markdown)

Michael Ingraham 2019-10-14 09:27:22 -04:00
parent e013c082aa
commit a9eeece9fe
1 changed files with 8 additions and 8 deletions

@ -23,14 +23,14 @@ In addition to numeric constants, the following symbolic values can be used:
Symbol|Description Symbol|Description
-|- -|-
|VAR\<x>|variable (\<x> = `1..MAX_RULE_VARS`, e.g., `VAR2`) VAR\<x>|variable (\<x> = `1..MAX_RULE_VARS`, e.g., `VAR2`)
|MEM\<x>|persistent variable (\<x> = `1..MAX_RULE_MEMS`, e.g., `MEM3`) MEM\<x>|persistent variable (\<x> = `1..MAX_RULE_MEMS`, e.g., `MEM3`)
|TIME|minutes past midnight TIME|minutes past midnight
|UPTIME|uptime minutes UPTIME|uptime minutes
|UTCTIME|UTC time, UNIX timestamp, seconds since 01/01/1970 UTCTIME|UTC time, UNIX timestamp, seconds since 01/01/1970
|LOCALTIME|local time, UNIX timestamp LOCALTIME|local time, UNIX timestamp
|SUNRISE|current sunrise time (minutes past midnight) SUNRISE|current sunrise time (minutes past midnight)
|SUNSET|current sunset time (minutes past midnight) SUNSET|current sunset time (minutes past midnight)
Example: `Mem1=((0.5*Var1)+10)*0.7` Example: `Mem1=((0.5*Var1)+10)*0.7`