ומוסיף את זה לsitemap?
בפורום של openhab מישהו כתב לי להשתמש בזה עם Expire Binding אבל אני מצליח רק Expire 1 ולא 4 Expire
קוד: בחירת הכל
Switch helper15 “h15” (BoilerTimer) {expire=“15m, command = OFF”}
Switch helper30 “h30 (BoilerTimer) {expire=“30m, command = OFF”}
Switch helper45 “h45 (BoilerTimer) {expire=“45m, command = OFF”}
Switch helper60 “h60” (BoilerTimer) expire=“60m, command = OFF”}
Group:Switch:OR(ON, OFF) BoilerTimer "something"
Switch Boiler "Boiler" (channel="mqtt stuff"}
rule "strange boiler ON"
when
Member of BoilerTimer changed to ON
then
postUpdate(Boiler, ON)
end
rule "strange boiler OFF"
when
Member of BoilerTimer changed to OFF
then
postUpdate(Boiler, OFF)
end
