Logic Machine Forum
Java Script - Read 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: Java Script - Read address (/showthread.php?tid=4901)



Java Script - Read address - Re-G - 03.08.2023

Hi all.

I have 2 question about how to write a script in Custom JavaScript.


  1. How to read a value of specific address (KNX, virtual address) and depends on value do something. I don't mean set a custom css class to object, just read directly value and then do smoothing. for example change a css class of completely different object.
  2. It is possible to set a custom css class to object 1 .css1 then read another object 2 .css2 value and then change some of parameters (depends on value of object 2) of object 1



Thank You in advance for answer.


RE: Java Script - Read address - Daniel - 03.08.2023

Study this thread, many examples
https://forum.logicmachine.net/showthread.php?tid=275&pid=1233#pid1233


RE: Java Script - Read address - Re-G - 03.08.2023

(03.08.2023, 08:46)Daniel Wrote: Study this thread, many examples
https://forum.logicmachine.net/showthread.php?tid=275&pid=1233#pid1233

Thanks.
I will study thread.