Posts: 87
Threads: 13
Joined: Oct 2015
Reputation:
6
Hi
Is there a way to set the value of an knx object without triggering a script or writing on the bus?
Thanks
Nicky
Posts: 7758
Threads: 42
Joined: Jun 2015
Reputation:
447
Do you mean you want to change internal object value in LM? Can you give some detail on why do you need this?
Posts: 7758
Threads: 42
Joined: Jun 2015
Reputation:
447
You can use event.sender field to check what caused the script to execute. It will be either bus or a two-character string, different for scripts, user action etc.
Posts: 87
Threads: 13
Joined: Oct 2015
Reputation:
6
Ok that is indeed an option, i will try that
Thanks
Posts: 87
Threads: 13
Joined: Oct 2015
Reputation:
6
How can I determine which script triggered the update?
The two character string does not seem to be unique per script?
Thanks
Posts: 7758
Threads: 42
Joined: Jun 2015
Reputation:
447
No, but you can set your own 2-char id by setting grp.sender field before calling any other grp functions.