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.

Documentation
#14
(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!  Smile
My fault I didn't also check the pdf manual, I only searched in online kb and forum.

Greetings,
Tigi
Reply


Messages In This Thread
Documentation - by admin - 01.07.2015, 11:47
RE: Documentation - by oyvindi - 02.11.2016, 11:39
RE: Documentation - by admin - 02.11.2016, 12:10
RE: Documentation - by Reuben Sugars - 30.01.2017, 06:13
RE: Documentation - by admin - 30.01.2017, 07:34
RE: Documentation - by edgars - 13.03.2017, 12:17
RE: Documentation - by 02dag - 13.04.2017, 11:21
RE: Documentation - by mjaanes - 15.10.2018, 09:38
RE: Documentation - by AEK - 18.10.2018, 12:46
RE: Documentation - by alik - 13.12.2018, 14:27
RE: Documentation - by Erwin van der Zwart - 13.12.2018, 18:24
RE: Documentation - by tigi - 30.11.2025, 10:05
RE: Documentation - by AEK - Yesterday, 10:17
RE: Documentation - by tigi - Yesterday, 10:21

Forum Jump: