Logic Machine Forum
Read a change in knx device - 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: Read a change in knx device (/showthread.php?tid=1472)



Read a change in knx device - DGrandes - 02.07.2018

Hello,

I would like to know if there is any way to read if a group adress order comes from a knx specific device.
Possible use case: to checkĀ if there is still someone at home.

Thanks


RE: Read a change in knx device - Erwin van der Zwart - 02.07.2018

Hi,

I think it's event.src what you are looking for:
Code:
log(event.src)
BR,

Erwin


RE: Read a change in knx device - DGrandes - 02.07.2018

Thanks!!
is exactly what I was looking for.