Posts: 36
Threads: 7
Joined: Feb 2019
Reputation:
0
Hi Guys,
I don't get it with eventbased script. I want to trigger only when the KNX object is set to 1. But it is not triggered when it is set to 0. I can't find a way to do this in the settings.
If window is opened (not if it is closed) and front door is opened, then xyz....
Can you helf me with this configuration?
Thanks
Lenze
Posts: 4659
Threads: 24
Joined: Aug 2017
Reputation:
212
Hi
Tag your door and window object and then create event based script triggered by this tag then make script like that
Code:
window = grp.getvalue('window object')
door = grp.getvalue('door object')
if (window and door) then
--dosomething()
end
------------------------------
Ctrl+F5
Posts: 4659
Threads: 24
Joined: Aug 2017
Reputation:
212
(22.02.2019, 14:58)lenze90 Wrote: (22.02.2019, 14:52)Daniel. Wrote: Hi
Tag your door and window object and then create event based script triggered by this tag then make script like that
Code:
window = grp.getvalue('window object')
door = grp.getvalue('door object')
if (window and door) then
--dosomething()
end
thank you Daniel for your quick feedback.
I just wonder which KNX group address I use for the trigger?
so the trigger would also start the script when the door is closed. But the If does not execute anything.
Is this the basic procedure with the logic machine?
Not KNX group only the TAG I asked you to create. This way script will run each time when window or the door group will receive telegram.
------------------------------
Ctrl+F5
Posts: 36
Threads: 7
Joined: Feb 2019
Reputation:
0
but I have to specify a group address when I create an event script? Or what do you mean by TAG?
Posts: 4659
Threads: 24
Joined: Aug 2017
Reputation:
212
------------------------------
Ctrl+F5