Reguła, która pozwoli jednym suwakiem zmienić ustawienia wszystkich termostatów danfos, bramka z-wave.
.item
NumberTem1_Setpoint"Temperatura 1[%.1f °C]" <radiator> (Thermostat) {channel="zwave:device:22d4257b:node6:thermostat_setpoint_heating"}
NumberTem2_Setpoint"Temperatura 2[%.1f °C]" <radiator> (Thermostat) {channel="zwave:device:22d4257b:node7:thermostat_setpoint_heating"}
NumberTem3_Setpoint"Temperatura 3[%.1f °C]" <radiator> (Thermostat) {channel="zwave:device:22d4257b:node8:thermostat_setpoint_heating"}
NumberTempParter_Setpoint"Temperatura[%.1f °C]" <radiator> {channel="zwave:device:22d4257b:node8:thermostat_setpoint_heating"}
.home
Setpoint item=Tem1_Setpoint minValue=16 maxValue=28 step=0.5
Setpoint item=Tem2_Setpoint minValue=16 maxValue=28 step=0.5
Setpoint item=Tem3_Setpoint minValue=16 maxValue=28 step=0.5
Slider item=TempParter_Setpoint minValue=16 maxValue=26 step=1
.rule //
rule "wszystkie termostaty" when ItemTempParter_Setpoint received update then Tem1_Setpoint.sendCommand(TempParter_Setpoint.state)
Tem2_Setpoint.sendCommand(TempParter_Setpoint.state)
Tem3_Setpoint.sendCommand(TempParter_Setpoint.state) end