Also, are there any known issues with group items that have been added or has its name changed while OH is running? I can’t seem to loop members of a groupitem that I just defined and added members to…
I get no error message, it just doesn’t loop the groupitem.
Edit: I have no idea how, but after trying different approaches and finally returning to the same way of looping the members (ir.getItem(“blabla”)) it just started working. So in conclusion, probably a PEBKAC But the first post is still an issue…
When an Item in a group with an aggregated group function receives an update, the group does not receive an update event. So, this rule would not trigger unless you were sending the group an update. You could use a ‘changed’ or ‘Member of’ triggers.
Ok, but shouldn’t that be the case for DSL rules as well? The update (group item) triggers fine in DSL (from a groupmember), just not in jsr223/jython.
Unfortunately, no, since it is a different rule engine. I haven’t run into issues using either ‘changed’ or ‘Member of’, so I moved this to the bottom of my list. Are you having trouble making one of those work for you?