Yesterday, 10:21
(Yesterday, 10:17)AEK Wrote:(30.11.2025, 10:05)tigi Wrote: Hi,
I can't find anything on https://kb.logicmachine.net in the lua reference manual about event.dst or event.getvalue()
It does show up in some examples but as it seems is nowhere described specifically.
So if I'm correct, maybe a suggestion to add this to the manual as this is really helpful.
Thanks in advance!
Tigi
Event-based scripting can be used to implement custom logic for group address or tag events. User-defi ned function is executed when a “group write/response” or “group read” (if enabled) event occurs for a given group address. Event information is stored in the global event variable. Variable contents:
● dstraw (integer) - raw destination group address
● srcraw (integer) - raw source individual address
● dst (string) - decoded destination group address (for example: 1/1/4)
● src (string) - decoded source individual address (for example: 1.1.2)
● type (string) - type of the event, either 'groupwrite', 'groupread', 'groupresponse'
● dataraw (string) - event data as a binary string
● datahex (string) - event data as a hex-encoded string
it's from LM manual
https://logicmachine.net/manuals/lm_20240923.pdf
page 34
Hi AEK,
Thanks for the information and location where to find!

My fault I didn't also check the pdf manual, I only searched in online kb and forum.
Greetings,
Tigi