I have a group LivingRoom which consists of multiple devices. These devices are controlled via MQTT and included
in domoticz. The problem is, that I want to trigger a special function after the state of the group LivingRoom has changed,
so I tried to use the following trigger:
Code: Select all
on = {
groups = {
'LivingRoom'
}
},
execute = function(dz, item, triggerInfo)
dz.log('Triggered', dz.PRIORITY_LOW)
end
state of the LivingRoom group (On or Off) is correctly displayed in the domoticz web ui). Everything works when
switching on or off the group directly via domoticz, in this case the event is triggered.
I'm currently using a workaround - just using the on handler for a specific device of the group, but this is
not really perfect.
Any ideas?
Thanks
