From e7cd96689f4960772fbd1d5a492582ed5362be75 Mon Sep 17 00:00:00 2001 From: Norbert Richter Date: Sat, 4 Jul 2020 13:23:35 +0200 Subject: [PATCH] Shutter reactivate rule trigger during move --- tasmota/xdrv_27_shutter.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasmota/xdrv_27_shutter.ino b/tasmota/xdrv_27_shutter.ino index 4b132338e..6d0c6e5ce 100644 --- a/tasmota/xdrv_27_shutter.ino +++ b/tasmota/xdrv_27_shutter.ino @@ -280,7 +280,7 @@ void ShutterReportPosition(bool always, uint32_t index) ResponseJsonEnd(); if (always || (rules_flag.shutter_moving)) { MqttPublishPrefixTopic_P(RESULT_OR_STAT, PSTR(D_PRFX_SHUTTER)); - //XdrvRulesProcess(); //removed because to many exceptions and reboots. + XdrvRulesProcess(); //RulesProcess() now re-entry protected } //AddLog_P2(LOG_LEVEL_DEBUG_MORE, PSTR("SHT: rules_flag.shutter_moving: %d, moved %d"), rules_flag.shutter_moving, rules_flag.shutter_moved);