mirror of https://github.com/arendst/Tasmota.git
4b4b3709ad
Support use an expression as paramter in some rule commands, include Var<x>, Mem<x> and Ruletimer<x>. Expression is constructed by constants (float number), variables (var<x>, mem<x>, Time, Uptime, Sunrise, Sunset), operators and round brackets. Currently support 6 operators, order by priority from high to low: ^ (power) % (modulo) *, / +, - Commands examples: Var1 3.14 * (MEM1 * (10 + VAR2 ^2) - 100) % 10 + uptime / (2 + MEM2) Ruletimer4 Time - Sunrise + MEM2/2 |
||
---|---|---|
.. | ||
SimpleIntegerList.pde |