Hello all,
I have a few HM-Sec-RHS and HmIP-SRH (rotary-window-handles) which are string items as per definition. They can have the values OPEN, CLOSED & TILTED.
I’ve added them all to a group (gWindows) and wanted to also show the ammount of open windows. As long as they are OPEN or CLOSED it works like charm. But the TILTED windows are treated like closed which is expected from the group definition but not the way I’d like to have it.
When I leave home and alarm system is turned on, a TILTED window should be considered as OPEN.
Anyone an idea how to achive the same? Ideally without adding virtual items (contacts) that are updated accordingly by some rules.
Here’s a sample definition and the corresponding view in OH:
Group:Contact:OR(OPEN, CLOSED) gWindow
"Alle Fenster [(%d)]"
<contact>
(All)
["object:fenster"]
String eg_buero_fenster
"Büro [MAP(contact3.map):%s]"
<contact>
(gBuero,gWindow)
{ channel="homematic:HM-Sec-RHS:ccu2:KEQ1097XXX:1#STATE" }
As you can see, even though office window is tilted, the quantity of open windows is 0. Any help to treat this as OPEN, would be appreciated. Btw, I’m still on 2.3
Thanks much
Sebastian