TD-er
af3541188f
[Docs] Describe how to iterate over a lookup table using rules
2020-10-31 12:56:41 +01:00
TD-er
96dc16c825
Add standard conversion for converting int to HEX
...
For example `%c_2hex%(100000)` is converted to `186A0`
2020-10-07 14:35:11 +02:00
Ton Huisman
d85e901e77
[Checks] Update docs
2020-08-30 16:33:57 +02:00
Ton Huisman
1514ab8d43
[Checks] Disallow round braces too
2020-08-30 15:06:08 +02:00
Ton Huisman
6dc20c0ce9
[Checks] Update docs, disallow curly braces
2020-08-30 15:02:39 +02:00
TD-er
cfe2f12a58
Merge branch 'mega' into feature/commands_doc
2020-08-12 01:33:25 +02:00
Gijs Noorlander
fc3a08f07e
[Docs] Update mentioned dates of introduced feature
...
... to expected build date
2020-08-11 22:50:00 +02:00
Gijs Noorlander
fbcfb153c1
[Timers] Cleanup of timer code.
2020-08-10 00:25:11 +02:00
Gijs Noorlander
53f161df05
[Docs] Add documentation for msec timers and loop timers
2020-08-10 00:25:11 +02:00
Gijs Noorlander
bede949bef
[docs] Replace code-block:: html with code-block:: none
...
The HTML parser does not parse our own rules which is where it is used.
So until we have a rules highlighter, we use the ``none`` highlighter.
2020-08-04 13:18:36 +02:00
tonhuisman
16318a74b1
[Transformation] Optimizations for Password transformation
2020-06-28 13:45:38 +02:00
tonhuisman
9a17df2aeb
[Transformation] Add P/p (Password display)
2020-06-21 18:42:06 +02:00
Ton Huisman
dd252ff17d
Merge branch 'mega' into feature/value_formattings
2020-05-31 15:21:20 +02:00
tonhuisman
f0597082a5
[Docs] Describe 'elseif' with some examples
2020-05-31 14:14:38 +02:00
tonhuisman
4ba9e2575e
[Justifications] Added u/l for upper/lowercasing the value, removed dash-check from C justificaion
2020-05-31 13:07:26 +02:00
tonhuisman
a7a09b2917
[Justifications] Add 'C' (Capitalize, OPEN -> Open) option
2020-05-31 11:51:23 +02:00
tonhuisman
700e6babd6
[Transformations] Adjusted R/r to L/l and added c
2020-05-31 10:31:31 +02:00
tonhuisman
fdc6ce70d2
[Transformation] Add R/r transformations (LEFT/RIGHT and L/R)
2020-05-29 20:01:32 +02:00
Bartłomiej Zimoń
08dc1d9bdf
docs: add 'd' formating in rules
2020-03-08 22:07:30 +00:00
TD-er
0397eae003
[Rules] Use curly braces for string conversion commands
2020-02-24 23:40:04 +01:00
TD-er
6022fc5837
[Rules] Remove [div100ths:...] as it is too specific
...
Will add a more generic variant later.
2020-02-24 22:50:10 +01:00
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