From d9ed055a3ba86774f0d8a15b2e10d80ee4a28bc0 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Wed, 12 Aug 2020 10:59:56 +0200 Subject: [PATCH] Final fix rule trigger support for status 11 Final fix rule trigger support for status 11 (#9053) --- tasmota/xdrv_10_rules.ino | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasmota/xdrv_10_rules.ino b/tasmota/xdrv_10_rules.ino index c2c9af422..a35391bb5 100644 --- a/tasmota/xdrv_10_rules.ino +++ b/tasmota/xdrv_10_rules.ino @@ -497,7 +497,8 @@ bool RulesRuleMatch(uint8_t rule_set, String &event, String &rule) rule_name = rule_name.substring(0, pos); // "SUBTYPE1#CURRENT" } - StaticJsonBuffer<1280> jsonBuf; // Was 1024 until 20200811 +// StaticJsonBuffer<1280> jsonBuf; // Was 1024 until 20200811 + DynamicJsonBuffer jsonBuf; // Was static until 20200812 JsonObject &root = jsonBuf.parseObject(event); if (!root.success()) { AddLog_P2(LOG_LEVEL_DEBUG, PSTR("RUL: Event too long (%d)"), event.length());