13.03.2018, 12:29
(13.03.2018, 11:28)admin Wrote: From event script:Perfect! Thank you.
Code:time, utime = os.microtime()
logtime = time + utime / 1000000
db:insert('objectlog', {
src = event.srcraw,
address = event.dstraw,
logtime = logtime,
datahex = event.datahex,
eventtype = event.type:gsub('group', ''),
sender = event.sender or '',
})
LM5Lp, firmware: 2018.08.22 and 2021.12.15, FlashSYS v2, ARMv7 Processor rev 5 (v7l), kernel 4.4.151 and 4.4.259