Logic Machine Forum
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: Source address (/showthread.php?tid=5497)



Source address - khalil - 04.07.2024

Hello Dears,
I want to run a script only if the source address is from KNX Bus and not from LM Server?


RE: Source address - admin - 04.07.2024

Like this:
Code:
if event.sender == 'bus' then
...
end



RE: Source address - khalil - 04.07.2024

(04.07.2024, 11:32)admin Wrote: Like this:
Code:
if event.sender == 'bus' then
...
end

Thank you adminĀ 
what are the values of event.sender?


RE: Source address - admin - 04.07.2024

See this: https://forum.logicmachine.net/showthread.php?tid=2979&pid=19193#pid19193