Logic Machine Forum
Scenes are applying after reading - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: General (https://forum.logicmachine.net/forumdisplay.php?fid=2)
+--- Thread: Scenes are applying after reading (/showthread.php?tid=1841)



Scenes are applying after reading - Thomas - 16.01.2019

Hi
Scenes are applying after every reading. Is it a bug? I want apply my scene after writing only Can change this behavior?
Thank you


RE: Scenes are applying after reading - Thomas - 16.01.2019

Sorry, my mistake. Not the reading requests but the following responses are re-applying scenes. Can I disable it?


RE: Scenes are applying after reading - admin - 17.01.2019

This is the same as with scripts that react to both group write and response the same way. It's not possible to disable this behaviour, but you can attach your scene to another object and write a small script that passes value to it only in case of group write.

Code:
if event.type == 'groupwrite' then
  grp.update('32/1/1', event.getvalue())
end