diff --git a/tasmota/support_device_groups.ino b/tasmota/support_device_groups.ino index 6ed072490..26684cafc 100644 --- a/tasmota/support_device_groups.ino +++ b/tasmota/support_device_groups.ino @@ -740,7 +740,9 @@ void ProcessDeviceGroupMessage(char * packet, int packet_length) } } else if (item == DGR_ITEM_EVENT) { +#ifdef USE_RULES CmndEvent(); +#endif } XdrvCall(FUNC_DEVICE_GROUP_ITEM); } diff --git a/tasmota/xdrv_27_shutter.ino b/tasmota/xdrv_27_shutter.ino index f94464cad..85bb900cf 100644 --- a/tasmota/xdrv_27_shutter.ino +++ b/tasmota/xdrv_27_shutter.ino @@ -53,6 +53,9 @@ void (* const ShutterCommand[])(void) PROGMEM = { const char JSON_SHUTTER_POS[] PROGMEM = "\"" D_PRFX_SHUTTER "%d\":{\"Position\":%d,\"Direction\":%d,\"Target\":%d}"; const char JSON_SHUTTER_BUTTON[] PROGMEM = "\"" D_PRFX_SHUTTER "%d\":{\"Button%d\":%d}"; +const char kCommands[] PROGMEM = + D_CMND_WIFICONFIG " 2|" D_CMND_WIFICONFIG " 2|" D_CMND_WIFICONFIG " 2|" D_CMND_RESTART " 1|" D_CMND_UPGRADE " 1"; + #include Ticker TickerShutter;