mirror of https://github.com/arendst/Tasmota.git
Updated Expressions in Rules (markdown)
parent
e013c082aa
commit
a9eeece9fe
|
@ -23,14 +23,14 @@ In addition to numeric constants, the following symbolic values can be used:
|
|||
|
||||
Symbol|Description
|
||||
-|-
|
||||
|VAR\<x>|variable (\<x> = `1..MAX_RULE_VARS`, e.g., `VAR2`)
|
||||
|MEM\<x>|persistent variable (\<x> = `1..MAX_RULE_MEMS`, e.g., `MEM3`)
|
||||
|TIME|minutes past midnight
|
||||
|UPTIME|uptime minutes
|
||||
|UTCTIME|UTC time, UNIX timestamp, seconds since 01/01/1970
|
||||
|LOCALTIME|local time, UNIX timestamp
|
||||
|SUNRISE|current sunrise time (minutes past midnight)
|
||||
|SUNSET|current sunset time (minutes past midnight)
|
||||
VAR\<x>|variable (\<x> = `1..MAX_RULE_VARS`, e.g., `VAR2`)
|
||||
MEM\<x>|persistent variable (\<x> = `1..MAX_RULE_MEMS`, e.g., `MEM3`)
|
||||
TIME|minutes past midnight
|
||||
UPTIME|uptime minutes
|
||||
UTCTIME|UTC time, UNIX timestamp, seconds since 01/01/1970
|
||||
LOCALTIME|local time, UNIX timestamp
|
||||
SUNRISE|current sunrise time (minutes past midnight)
|
||||
SUNSET|current sunset time (minutes past midnight)
|
||||
|
||||
Example: `Mem1=((0.5*Var1)+10)*0.7`
|
||||
|
||||
|
|
Loading…
Reference in New Issue