Commit Graph

127 Commits

Author SHA1 Message Date
Stephan Hadinger 64c71970cb Fix clearing rules 2020-05-09 18:05:13 +02:00
Stephan Hadinger a2b05399a3 Add automatic compression of Rules to achieve ~60% compression, added ``SetOption93 1`` to control caching of rules 2020-05-08 19:33:20 +02:00
Theo Arends c939077514 Change pin handling part 3 2020-04-27 12:54:07 +02:00
Theo Arends c9149b53c5 Change pin handling part 1 2020-04-26 17:33:27 +02:00
Paul C Diem b116f07003 Send Event command to device group 2020-04-18 23:42:51 -05:00
Paul C Diem f040b90583 Add DGR Event item, Rework item parsing 2020-04-18 22:37:05 -05:00
Barbudor 2224e56e1b Added %utctime% as rules variable
Was in the docs but not implemented
2020-04-13 23:05:12 +02:00
Theo Arends 71d810aac4 Update Tx2x Sensor
Update Tx2x Sensor with command SpeedUnit (#7843)
2020-03-02 15:51:33 +01:00
Theo Arends d779a2b9b4 Add switch modes 11 and 12
Add switch modes 11 (PUSHHOLDMULTI) and 12 (PUSHHOLDMULTI_INV) (#7603)
2020-02-06 14:53:35 +01:00
Theo Arends 702821b4e1
Merge pull request #7603 from RemiDing/development
New switchmodes to control a dimmer with one switch
2020-02-06 14:14:12 +01:00
RemiDing deb8398d0b maybe needed 2020-01-28 15:15:49 +01:00
Theo Arends 473299ffcd Refactor rules JSON decoding
Refactor rules JSON decoding allowing up to 10 subtypes deep
2020-01-24 17:13:39 +01:00
Theo Arends 9afbf854cf Add rule trigger on one level deeper
Add rule trigger on one level deeper using syntax with two ``#`` like ``on zigbeereceived#vibration_sensor#aqaracubeside=0 do ...``
2020-01-23 13:03:05 +01:00
to-scho e327236485 New switchmodes TOGGLEMULTI, FOLLOWMULTI and FOLLOWMULTI_INV 2020-01-15 13:05:00 +01:00
Theo Arends 0e0d8190fa Change some commands displaying all items
Change commands ``Prefix``, ``Ssid``, ``StateText``, ``NTPServer``, and ``FriendlyName`` displaying all items
2020-01-12 13:10:21 +01:00
Theo Arends b05301b149 Refactor change 2019-12-31 17:24:47 +01:00
Theo Arends c13b755a59 Fix addition of backlog to IF clause
Fix addition of backlog to IF clause (#7342)
2019-12-31 17:17:30 +01:00
Theo Arends 8aa9109656 Happy New Year
Happy New Year
2019-12-31 14:23:34 +01:00
Theo Arends a2478f9569 Change number of ``FriendlyName``s from 4 to 8
Change number of ``FriendlyName``s from 4 to 8
2019-12-24 15:06:19 +01:00
Theo Arends c806b22e9d Change max number of rule ``Mem``s to 16
Change max number of rule ``Mem``s from 5 to 16 (#4933)
2019-12-22 15:36:20 +01:00
Theo Arends aae86a6718 Add fallback functionality
Add fallback functionality from next version 7.1.2.7
2019-12-16 15:13:57 +01:00
Adrian Scillato b1d26b9b3a
RULES: Fix duplicated BACKLOG when using EVENT inside a BACKLOG 2019-12-10 22:36:23 -03:00
Adrian Scillato 55b0312f86
Added new var %topic% for rules 2019-12-04 17:11:03 -03:00
Theo Arends 7777fa08b0 Sanitize code 2019-11-20 20:53:12 +01:00
Adrian Scillato 6f614369c1
Fix Rules Evaluation when using break and several triggers are true
When checking several triggers that were true at the same time and BREAK was being used, some rules were not executed.

The rule: 

rule3 on system#boot do var4 0 break on tele-SI7021#temperature do var4 %value% endon on tele-SI7021#humidity do var5 %value% endon

was not triggering the third statement.
2019-11-12 15:54:29 -03:00
Theo Arends 49e8f52a43 Fix case insensitive rule variable substitution
Fix case insensitive rule variable substitution (#6802)
2019-11-01 16:05:07 +01:00
Theo Arends 0e07397ff7 Change Sonoff-Tasmota to Tasmota 2019-10-27 12:04:08 +01:00