This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Event address changed
#1
Hi,
I surf on the forum without success.

I have to create an event script and I have to manage the value only if it is changed. 

Code:
value = event.getvalue()

    if value == true then
    require("user.telegram")
    message = 'ALARM'
    res, err = telegram(message)
    log(res, err)
    else
  require("user.telegram")
    message = 'NOT ALARM'
    res, err = telegram(message)
    log(res, err)
    end

The problem is that everytime there's a KNX telegram sending I receive a message. Which command can I use please?

Thanks.

BR
Reply
#2
You can use storage: https://forum.logicmachine.net/showthrea...07#pid1707
Reply


Forum Jump: