Hi,
once again, I need your support guys (and ladies)
I have set up a rule that should fire a mail, soon as a window has been opened or closed. For whatever strange reason, only 2 of 6 definded items are triggering that mail.
Attached I have a part of the config
[CODE]
rule “Window opened"
when
Item Fenster_WoZi_Balkon changed from CLOSED to OPEN or
Item Fenster_Kueche_Ost changed from CLOSED to OPEN or
Item Fenster_WoZi_Ost changed from CLOSED to OPEN or
Item Fenster_Treppenhaus changed from CLOSED to OPEN
then
sendMail(“hierstehtmeineemail”, “Fenster geöffnet”, “Ein Fenster wurde am “+ Date.state.format(”%tD”) +” um " + Date.state.format("%tr")+" geöffnet")
end
rule “Window closed"
when
Item Fenster_WoZi_Balkon changed from OPEN to CLOSED or
Item Fenster_Kueche_Ost changed from OPEN to CLOSED or
Item Fenster_WoZi_Ost changed from OPEN to CLOSED or
Item Fenster_Treppenhaus changed from OPEN to CLOSED
then
sendMail(“hierstehtmeineemail”, “Fenster geschlossen”, “Ein Fenster wurde am “+ Date.state.format(”%tD”) +” um " + Date.state.format("%tr")+" geschlossen")
end
[/CODE]
Kueche_Ost and Treppenhaus are working, the rest is not. They do, in fact, work ALL as a contact item. So in the GUI I can see ALL items change from OPEN to CLOSED and back.
Same in the EVENTS Log. No typos, checked that as well
All Items aer defined like this:
Contact Fenster_Kueche_Ost "Küche Ost" <window> (gWindows,gWindows_EG) { knx = "1.019:9/0/1" }
Contact Fenster_Wozi_Ost "Wohnen Ost" <window> (gWindows,gWindows_EG) { knx = "1.019:9/0/2" }
DPTs are identical as well; four of the six Items are using an MDT BE, only two are connected separately via JUNG UP JA. Those four which are not working are all conected to the MDT.
No errors in the logs, btw.
But as the contact item itself is working fine, I am running out of ideas what the root cause might be.
Any ideas?
Thanks a lot!