Let me add here the relevant item definitions:
Switch BF_Heat_Need "Basement heat need" <heating> (gHneed)
Switch GF_Heat_Need "Ground floor heat need" <heating> (gHneed)
Switch FF_Heat_Need "First floor heat need" <heating> (gHneed)
Group:Switch:OR(ON, OFF) gHneed "Heat need" <heating> (Home)
Switch GF_Heating_Pump "Groundfloor heating pump" <faucet> (GF, gFaucet) ["Switch","Switchable"] {autoupdate="false", channel="souliss:t11:77:0-15:onoff"}
Switch FF_Heating_Pump "First floor heating pump" <faucet> (FF, gFaucet) ["Switch","Switchable"] {autoupdate="false", channel="souliss:t11:77:0-16:onoff"}
Switch BF_Heating_Pump "Basement heating pump" <faucet> (BF, gFaucet) ["Switch","Switchable"] {autoupdate="false", channel="souliss:t11:77:0-17:onoff"}
I have created this rule with your help @rlkoshak a few months ago - this is the one that controls the heating. The logic was simple: whenever one of the 3 floors needs heating, basement also turns on (because the basement switch turns on the heating) and when nothing needs heating, basement also switches off. Here’s the old thread with the old rule: [SOLVED] Control underfloor heating for multiple floors (OH as thermostat) - #9 by rlkoshak
The startup rule (either run automatically or by hand) should populate the values for the Heat_Need variables which in turn should assign the value to gHneed.