Gijs Noorlander
079e84b3d3
[Rules] Make nested string modification commands possible
2020-02-24 13:02:12 +01:00
Gijs Noorlander
4a19cc8b77
[docs] Document string handling in rules (PR #2828 )
...
Closes: #2828
2020-02-24 01:46:35 +01:00
Grovkillen
661026f3a7
[docs] added rules example + fixed S11 (P052) links
2020-02-04 17:14:35 +01:00
Gijs Noorlander
2025228ce3
[Docs] Document changed rules parameter parsing
...
See also https://github.com/letscontrolit/ESPEasy/issues/2724
2019-11-09 23:52:45 +01:00
Gijs Noorlander
83e9d20f78
[Rules] Some minor code improvements (suggests from @uzi18 )
2019-09-25 00:44:44 +02:00
Gijs Noorlander
efbb4e13ac
[Rules] Allow transformations on [var#n] and add [int#n]
...
Also add some caches to find task-value names.
Fix some minor issue when referring [var#n] variables. These were always rounded to 2 decimals.
Also added [int#n] to address the same variables as with [var#n] but rounded to integer values, to be used in rules for more reliable comparing.
2019-09-25 00:44:44 +02:00
Gijs Noorlander
8b5470e9a8
[Rules] Reduce memory usage when parsing rules templates
...
The parsetemplate function was almost always shown as function with the lowest free memory when called.
The function did make a lot of memory re-allocations and was very hard to read.
This commit is about reducing the memory allocations and speed up the parsing.
Will also fix [this issue reported on the forum](https://www.letscontrolit.com/forum/viewtopic.php?p=39219#p39219 )
2019-09-25 00:44:44 +02:00
Gijs Noorlander
28b75dfb42
[Docs] Document the new %unixday% and %unixday_sec$ variables
...
See PR #2527
2019-08-04 15:51:01 +02:00
TD-er
4c9f4cd638
[Factory Reset] Change #switch in rules and plugin to #state
...
Also updated in all rules examples.
N.B. some examples already were using #state, which is more intuitive.
2019-02-26 11:44:39 +01:00
Grovkillen
7118dce882
[docs] Rules (fixed error in syntax)
2019-02-14 12:40:54 +01:00
Grovkillen
77062e50ce
[docs] Rules (Let used in filters)
2019-02-14 12:36:34 +01:00
Grovkillen
5c1d68b627
[docs] moved events to repl file (same as commands)
2019-01-07 08:43:54 +01:00
Grovkillen
bf96e341d6
[docs] fixed rule syntax typo
2018-12-28 11:49:37 +01:00
Grovkillen
370f1eb207
[docs] P013 added
2018-12-21 13:19:17 +01:00
TD-er
fd9f63aab9
[WiFi] Documentation of new WiFi#APmodeEnabled / Disabled events
2018-12-19 22:13:53 +01:00
Grovkillen
3f1deeef96
[docs] Small update, fixed some typos
2018-11-28 14:45:19 +01:00
Grovkillen
3984823de6
[docs] Added GPIO handling pages (tones, relay etc.)
2018-11-26 12:46:21 +01:00
Grovkillen
84caa6939c
[docs] added a first device page
...
If we like this one I will go ahead and convert the rest.
2018-11-19 15:55:07 +01:00
Grovkillen
c88b04cd98
[docs] Rules, fixed compile error
2018-11-16 09:51:45 +01:00
Grovkillen
05d79ce854
[docs] More spelling
...
Still some compile error...
2018-11-13 19:59:55 +01:00
Grovkillen
7864863df8
[docs] History converted to rst
2018-11-13 18:55:22 +01:00
Grovkillen
bf28625eca
[docs] Rules converted from wiki
2018-11-12 13:43:59 +01:00
TD-er
ffd0d26ed3
[Docs] Added some directory structure and template
2018-10-08 00:00:27 +02:00