29.04.2021, 07:31
http://LM_IP/public/read.lp?addr=1/1/1
Code:
<?
require('apps')
addr = getvar('addr') or ''
value = grp.getvalue(addr)
if type(value) == 'table' then
value = json.encode(value)
end
print(value)