Commit Graph

114 Commits

Author SHA1 Message Date
Barbudor 26916f62de Trim pre/pst spaces on rule trigger 2021-10-02 15:46:51 +02:00
Theo Arends a4e36d8224 Add command ``Subscribe2 ...``
Add command ``Subscribe2 ...`` to subscribe to a MQTT topic without appended "/#" (#12858)
2021-08-25 16:40:03 +02:00
Stephan Hadinger d3ad13c962 Berry system events for rules 2021-08-19 12:37:19 +02:00
Theo Arends e5e8ef4736 Refactor access TasnotaGlobal.mqtt_data 2021-08-15 17:08:31 +02:00
Theo Arends 6b05b62099 Save some bytes 2021-06-29 10:46:56 +02:00
Barbudor 51744bf645 event support JSON payload 2021-06-27 18:58:40 +02:00
Theo Arends e02b58a6ed Refactor ShowFreeMem 2021-06-25 17:09:53 +02:00
Theo Arends 841df72580 Remove redundant code 2021-06-22 17:30:45 +02:00
Theo Arends 540574fe49 Fix NO VALID JSON regression from may 4th
Fix NO VALID JSON regression from may 4th (#12440)
2021-06-22 16:54:47 +02:00
Theo Arends 5e805e0c4a Move Settings from DRAM to heap 2021-06-11 18:14:12 +02:00
Theo Arends 749093a697 Prep mqtt_data from char to String (prt.3) 2021-06-06 17:26:01 +02:00
Theo Arends ebeb4ea7ff Remove AddLog_P in favour of AddLog
Remove AddLog_P in favour of AddLog switching log from stack to heap allowing longer log entries (up to approximate log buffer size)
2021-06-05 11:47:09 +02:00
Theo Arends 4d2ac90bf1 Add support for long rule events 2021-06-02 17:56:44 +02:00
Theo Arends cea58d66c8 Prep virtual mqtt_data prt3 2021-05-24 16:52:59 +02:00
Theo Arends 77760dc2cc Prep virtual mqtt_data prt2 2021-05-23 16:50:17 +02:00
Theo Arends 408ae6a4ef Prep virtual mqtt_data 2021-05-23 14:42:27 +02:00
Theo Arends 90bb707430 Fix rule Invalid JSON message 2021-05-04 11:10:24 +02:00
Theo Arends 674509a56e Fix teleperiod rule handling regression
Fix teleperiod rule handling regression from v9.3.1.2 (#11851)
2021-04-23 10:59:33 +02:00
Theo Arends ba5f912709 Fix rule uncompress log 2021-04-20 17:34:04 +02:00
Theo Arends c2cde43a54 Refactor Tasmota Discovery 2021-04-11 13:29:33 +02:00
Theo Arends 403eba7a99 Add rule number to rule command JSON result 2021-04-07 15:44:29 +02:00
Theo Arends 2f5c20a42f Add more rule triggers 2021-04-07 15:07:05 +02:00
Theo Arends f6f13fe249 Fix define USE_DT_VARS 2021-04-05 13:33:00 +02:00
Theo Arends ca61cb06d0 Fix possible rule issue 2021-04-05 10:39:43 +02:00
Theo Arends 1829df6d56 Unify rules process call
Unify rules process call (#11572)
2021-04-04 12:04:36 +02:00
Theo Arends c87a4df7e9 Refactor TM1638 pin numbers 2021-03-19 10:33:46 +01:00
Paul C Diem 60252a9043 Add DGR device map support 2021-02-09 15:10:32 -06:00
Theo Arends 223d14e0fe Add strict rule scale parameters 2021-01-31 16:54:28 +01:00
Barbudor 5b0629554f add and fix new string ops in rules 2021-01-31 13:52:56 +01:00
Theo Arends 1e0631d7e1 Refactor command line arguments 2021-01-30 12:27:48 +01:00
Theo Arends 44e3a29810 Refactor AddLog usage 2021-01-23 17:24:54 +01:00
Theo Arends efaed8046d Refactor AddLog usage 2021-01-23 16:26:23 +01:00
Theo Arends 47ce7c7312 Add rule trigger string comparisons
Add rule trigger string comparisons for EndsWith ``$>``, StartsWith ``$<`` and Contains ``$|`` (#10538)
2021-01-21 14:54:38 +01:00
Stephan Hadinger b55fdcef75 Fix compilation ESP32 2021-01-18 22:32:59 +01:00
Stephan Hadinger 2f139d0e47 More PROGMEM 2021-01-18 21:48:04 +01:00
Theo Arends 619e4bbfb5 Add command ``RuleTimer0`` to access all RuleTimers at once
Add command ``RuleTimer0`` to access all RuleTimers at once (#10352)
2021-01-03 17:31:44 +01:00
Barbudor 5bb682b7e7 insure ruletimers always stops at 0 2021-01-02 18:47:03 +01:00
Barbudor ca09594c24 RuleTimer0 applies to all RuleTimers 2021-01-01 21:13:22 +01:00
Theo Arends dcbb3f1e0e Happy New Year 2021-01-01 13:44:04 +01:00
Paul C Diem b0fb9090bc Support rules that override button holds 2020-11-26 10:36:43 -06:00
Theo Arends fa7fdbd51a Consolidate `AddLog_P`
Consolidate `AddLog_P` into `AddLog_P2` and rename to `AddLog_P`
2020-11-06 17:09:13 +01:00
Christopher Tremblay b5b6b97295 Swapped strstr for strchr where applicable
strstr calls with a single character were changed to strchr which should be more efficient.
2020-11-04 02:20:17 -08:00
Theo Arends b869abb0b6 Fix rule handling of JSON ``null``
Fix rule handling of JSON ``null`` regression from v8.5.0.1 (#9685)
2020-11-02 14:35:19 +01:00
Theo Arends c2482e9913 Add command ``SwitchText``
Add command ``SwitchText`` to change JSON switch names by barbudor (#9691)
2020-11-01 13:26:35 +01:00
Theo Arends af5082320d Use global struct 2020-10-30 12:29:48 +01:00
Theo Arends e59bfc1d69 Use global struct 2020-10-29 13:58:50 +01:00
Theo Arends 280f0a9de7 Use global struct 2020-10-29 13:37:09 +01:00
Theo Arends f1ac7b2d67 Use global struct 2020-10-28 19:03:39 +01:00
Theo Arends b93b719108 Use global struct 2020-10-28 17:32:07 +01:00
Theo Arends b4dc2600c5 Remove empty line 2020-10-26 17:01:49 +01:00