Logic Machine Forum
Script don't write to TP only to IP - 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: Script don't write to TP only to IP (/showthread.php?tid=5966)



Script don't write to TP only to IP - stonecroft - 15.04.2025

Hello.
 
I use the script "Logic functions and central statuses" from "examlpes".

In my case i use the "or" function to show if any lights is on in rooms.

The script works and the output object updates but it only write to IP side.
If I connect my interface to TP side it doessent send.
The TP connection works for other objekcts. The input to the logic all comes from TP side.

Does anyone have a idé what I missing?


RE: Script don't write to TP only to IP - admin - 15.04.2025

Replace grp.update with grp.write in the script.


RE: Script don't write to TP only to IP - stonecroft - 15.04.2025

Thanks, that solved it! ?