Multiple group switching query
Have 4 P100's set up to control a heating system.
Socket 1 is boiler power, used to prevent boiler cycling if no heat is required
Socket 2 is ground floor pump
Socket 3 is upstairs pump
Socket 4 is hot water pumps
I've also set up groups that I hoped would control socket 1 along with the relevant pump. but the issue I can't see how to resolve, if I switch on groups 1 and 2, so I get sockets 1, 2 and 3 on, that's ideal, but if I switch OFF group 2 it takes socket 1 and 3 off, but as group 1 is still in theory on, I don't want socket 1 to go off, unless there are no groups on, but I can't see a way to achieve that.
Is there a way to check the groups, and if any group is ON, leave socket 1 on until there is no demand from any group?
Thanks
Steve