Group state changes not entirely caught

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
User avatar
heggink
Posts: 989
Joined: Tuesday 08 September 2015 21:44
Target OS: Raspberry Pi / ODroid
Domoticz version: 12451
Location: NL
Contact:

Group state changes not entirely caught

Post by heggink »

When devices in a group change state then the group status also changes (On, Off, Mixed) but this change does not constitute a status change in domoticz and therefore, the "on groups" clause won't catch it. Only if you switch the group directly it gets caught in dzvents.

Any chance that can be enhanced to catch any change including 'Mixed'?
Docker in Truenas scale, close to latest beta
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Group state changes not entirely caught

Post by waaren »

heggink wrote: Wednesday 18 November 2020 15:40 When devices in a group change state then the group status also changes (On, Off, Mixed) but this change does not constitute a status change in domoticz and therefore, the "on groups" clause won't catch it. Only if you switch the group directly it gets caught in dzvents.
I have to look into it so see if I can solve this within dzVents because the EventSystem does not send a group event in this case. I don't have high hopes but will investigate.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
User avatar
heggink
Posts: 989
Joined: Tuesday 08 September 2015 21:44
Target OS: Raspberry Pi / ODroid
Domoticz version: 12451
Location: NL
Contact:

Re: Group state changes not entirely caught

Post by heggink »

Understood and agreed. Thanks for checking!

Sent from my SM-G980F using Tapatalk

Docker in Truenas scale, close to latest beta
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest