22.10.2019, 16:21
Tank you.
The whole solution is:
The whole solution is:
Code:
myobject = grp.find("24/3/16")
if (myobject.enums) then
json = require('json')
data = json.decode(myobject.enums)
log(data[tostring(myobject.value)])
end
LM5Lp, firmware: 2018.08.22 and 2021.12.15, FlashSYS v2, ARMv7 Processor rev 5 (v7l), kernel 4.4.151 and 4.4.259