26.08.2023, 15:01
If I have a event script linked to a tag is it possible to "read" what group address with that tag triggered the event, and write it in a telegram message?
something like this:
value = event.getvalue()
if value==true and grp.getvalue('1/0/0') then
telegram('Group %s triggered the event')
end
something like this:
value = event.getvalue()
if value==true and grp.getvalue('1/0/0') then
telegram('Group %s triggered the event')
end