You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of the common things I need to do when automating some lights or switches is setting a common custom cluster attribute to a single value, or executing a custom cluster command across all the members of a group. While setting the attribute will eventually be taken care of when herdsman #1318 is done, executing commands, at least on my Inovelli switches, would still require knowing the group membership and issuing the commands to the individual switches.
The main difficulty with executing commands from HA across all members of a z2m group is keeping the group membership in sync between the 2 systems. Could the relationship instead be passed / updated from z2m to HA? For example, in the mqtt discovery messages it's possible to list connections. Could listing the individual device's IDs as connections accomplish this? An HA automation could then iterate over {{ device_attr(device_id, 'connections') }} to execute the given actions.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
One of the common things I need to do when automating some lights or switches is setting a common custom cluster attribute to a single value, or executing a custom cluster command across all the members of a group. While setting the attribute will eventually be taken care of when herdsman #1318 is done, executing commands, at least on my Inovelli switches, would still require knowing the group membership and issuing the commands to the individual switches.
The main difficulty with executing commands from HA across all members of a z2m group is keeping the group membership in sync between the 2 systems. Could the relationship instead be passed / updated from z2m to HA? For example, in the mqtt discovery messages it's possible to list
connections. Could listing the individual device's IDs asconnectionsaccomplish this? An HA automation could then iterate over{{ device_attr(device_id, 'connections') }}to execute the given actions.Beta Was this translation helpful? Give feedback.
All reactions