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());