How to read logs with javascript - 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: How to read logs with javascript (/showthread.php?tid=774) |
How to read logs with javascript - Mirco - 05.05.2017 Hi guys, I would like to read from logs: data, time, group address and value. I want to use an iFrame with an HTML page that display those datas as the customer wants Thanks RE: How to read logs with javascript - Mirco - 09.05.2017 Nobody can help me?? RE: How to read logs with javascript - buuuudzik - 09.05.2017 You should prepare .lp file in/user/ location(e.g. logs.lp) and inside you must prepare in lua such script: Code: <? And when you will have this file you can use it in js by: Code: $.get( "/user/logs.lp", function( data ) { RE: How to read logs with javascript - buuuudzik - 09.05.2017 Or maybe better for you would be to prepare all html, js and lua in this .lp file RE: How to read logs with javascript - Mirco - 16.05.2017 Thank you buuuudzik! RE: How to read logs with javascript - buuuudzik - 16.05.2017 You're welcome and good luck with your project |