Logic Machine Forum
Object logs source address - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: Object logs source address (/showthread.php?tid=2811)



Object logs source address - usyntax - 27.08.2020

Hello,

When LM script send some information to group address (by grp.write command), then in object logs i can see that information (in source address i can see "local (se)"). I wondering, maybe there are method, that i can modify source address information when i sending data, so i can filter better? 

For example: when resident script "test" write any data to 0/0/1 group address, then i want to see in object logs, that source address: "resident script - test" sent "data" to 0/0/1 address.


RE: Object logs source address - admin - 27.08.2020

You can set grp.sender but it's limited to 2 characters. In new FW you can set grp.meta to any value before using grp.write or similar calls. It will be shown in Login / metadata column in Object Logs.


RE: Object logs source address - usyntax - 28.08.2020

(27.08.2020, 13:25)admin Wrote: You can set grp.sender but it's limited to 2 characters. In new FW you can set grp.meta to any value before using grp.write or similar calls. It will be shown in Login / metadata column in Object Logs.


I can't find any information about grp.sender and grp.meta. Maybe you can send some examples?


RE: Object logs source address - Daniel - 28.08.2020

grp.sender = 'ww'
grp.meta = 'something'


RE: Object logs source address - Daniel - 28.08.2020

you have to use this before each grp.write otherwise it will go back to default.
PS. 40 telegrams/sec is too much for KNX, slow it down.


RE: Object logs source address - usyntax - 28.08.2020

(28.08.2020, 08:58)Daniel. Wrote: you have to use this before each grp.write otherwise it will go back to default.
PS. 40 telegrams/sec is too much for KNX, slow it down.


Thank you.