Theo Arends
8a61c25218
6.1.1.6 Add modulo option to rules
...
Add modulo option to rules like rule1 on Time#Minute|5 do backlog power on;delay 200;power off endon (#3466 )
2018-08-13 13:09:22 +02:00
Theo Arends
cc5b0aaf90
Add option + to command Rule
...
Add option + to command Rule to concatenate new rule with existing rules (#3365 )
2018-07-29 14:45:42 +02:00
Theo Arends
da7dadae21
Add rule triggers
...
Add rule triggers Wifi#Connected and Wifi#Disconnected (#3359 )
2018-07-28 15:06:31 +02:00
Adrian Scillato
96fb23737d
Move subStr Function to Support.ino
2018-07-23 01:29:50 -03:00
Theo Arends
9ef10f24d2
Fix command Scale buffer overflow
...
Fix command Scale buffer overflow (#3236 )
2018-07-16 12:37:49 +02:00
Theo Arends
b56961c528
Fix rules once regression
...
Fix rules once regression from v6.1.0 (#3198 , #3226 )
2018-07-16 11:34:44 +02:00
Adrian Scillato
27ddbb0609
Added decimal values support for commands ADD, SUB, MULT and SCALE
2018-06-28 13:06:21 -03:00
Theo Arends
20a53950ff
Fix possible wifi connection problem
...
Fix possible wifi connection problem (#1366 )
2018-06-28 12:25:50 +02:00
Theo Arends
862623b295
Add rule variables and add minutes
...
6.0.0a
* Add time in minutes to rule Time#Initialized, Time#set and Time#Minute
(#2669 )
* Add rule variables %time% for minutes since midnight, %uptime%,
%sunrise% and %sunset% giving time in minutes (#2669 )
2018-06-26 16:22:53 +02:00
Theo Arends
dc1c2abda7
Add heap and stack debug information
...
Add heap and stack debug information
2018-06-26 11:48:09 +02:00
Theo Arends
e818f0da55
Fix rules induced LWT message
...
Fix rules induced LWT message
2018-06-25 18:00:20 +02:00
Adrian Scillato
f45dd53352
Add Arithmetic commands for VAR
...
New Arithmetic commands to be used with VARs:
ADD1 to ADD5: Add a value to VAR[x]
Usage: ADD1 15
Result: VAR1 = VAR1 + 15
SUB1 to SUB5: Substract a value from VAR[x]
Usage: SUB1 15
Result: VAR1 = VAR1 - 15
MULT1 to MULT5: Multiply a value to VAR[x]
Usage: MULT1 15
Result: VAR1 = VAR1 * 15
SCALE1 to SCALE5: Scale a value from a low and high limit to another low and high limit and store it in VAR[x] (directly equivalent to MAP arduino command)
Syntax:
SCALEx value, fromLow, fromHigh, toLow, toHigh
Parameters
value: the number to scale
fromLow: the lower bound of the value’s current range
fromHigh: the upper bound of the value’s current range
toLow: the lower bound of the value’s target range
toHigh: the upper bound of the value’s target range
(omitted values are taken as zero)
Usage: SCALE1 15, 0, 100, 0, 1000
Result: VAR1 = 150
2018-06-10 02:09:11 -03:00
Theo Arends
d4119fe54d
Add SnfBrdg EFM8BB1 fw tools
...
6.0.0a
* Add support for uploading Sonoff Bridge firmware found in
tools/fw_efm8bb1 folder build by Portisch using Web Gui File Upload
(#2886 )
* Add command RfRaw to control Portisch firmware features
2018-06-04 18:10:38 +02:00
Theo Arends
f3c4001b4a
Fix HWRestart on rule event
...
5.14.0b
* Fix Hardware Watchdog restart when using event command (#2853 )
2018-05-29 17:24:42 +02:00
Theo Arends
ed56322f12
Add command source information
...
5.14.0b
* Add source information to command execution to be shown with logging
option 3 (#2843 )
2018-05-28 15:52:42 +02:00
Theo Arends
d1db31fc0a
Fix rule string comparison
2018-05-24 17:08:14 +02:00
Theo Arends
9f329d5fb0
Add rule support for IrReceive and RfReceive
...
5.14.0b
* Add rule support for IrReceive and RfReceive (#2758 )
2018-05-24 16:23:20 +02:00
Theo Arends
ca08b77aad
Add two more rule sets
...
5.14.0b
* Increase rule storage space to 3 rule sets of 512 characters
using commands rule1, rule2 and rule3
2018-05-24 14:25:52 +02:00
Theo Arends
06258e5a68
Rules fixes and additions
...
5.14.0a
* Add rules %mem1% to %mem5% variable names storing data in flash
(#2780 )
* Add rules test on %varx% or %memx% (#2780 )
* Fix anomalies in rules (#2778 )
2018-05-20 17:46:00 +02:00
Adrian Scillato
65985dc35f
Fix 'vars' on Rules
...
The 'vars' was not working from one rule to another because the declaration of the variable was not global and was being lost.
2018-05-19 03:00:48 -03:00
Theo Arends
a6e0156576
Add SetOption16 Power legacy/indexed mode
...
5.13.1a
* Add SetOption26 to enforce use of indexes even when only one relay is
present (#1055 )
2018-05-13 17:38:44 +02:00
Theo Arends
016b1dd029
Optimize command handling
...
Optimize command handling
2018-05-09 10:49:43 +02:00
Theo Arends
d935004e4a
Fix rule backlog issue and add On/Off test
...
5.13.1a
* Fix rule power trigger when no backlog command is used (#2613 )
* Add rule state test for On/Off in addition to 0/1 (#2613 )
2018-05-06 16:07:42 +02:00
Theo Arends
d629b8ce2a
v5.13.0a - Fix JSON buffer size
...
5.13.0a
* Fix JSON buffers size too small for execution in some
situations (#2580 )
2018-05-01 11:28:36 +02:00
Theo Arends
4675dbea1c
Add rules variables and teleperiod trigger
...
5.12.0m
* Add rule variables and teleperiod trigger to accomodate user HA
messages
2018-04-27 18:06:19 +02:00
Theo Arends
f9c702f8eb
v5.12.0m - Add MQTT_TELE_RETAIN
...
5.12.0m
* Add define MQTT_TELE_RETAIN compile option default set to 0 (#1071 )
2018-04-25 12:06:53 +02:00
Theo Arends
5858ecdb79
Fix negative Lat an Long value entry
...
5.12.0l
* Fix negative Latitude and Longitude value entry (#2461 )
2018-04-17 15:34:18 +02:00
Theo Arends
946fcd2fe4
v5.12.0l - Increase rules save area to 511 chars
...
5.12.0l
* Release rules up to 511 characters
* Prepare for feature
release - call on translators to update their language files
2018-04-14 14:39:16 +02:00
Theo Arends
08456e55e6
v5.12.0k - Add rules
...
5.12.0k
* Add commands Publish, Rule, RuleTimer and Event. See Wiki about Rule
restriction, usage and examples
2018-04-13 17:42:11 +02:00