This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Logs in visu
#5
(13.02.2020, 08:34)admin Wrote: .lp file example. Pass object address/name like this: /user/logs.lp?obj=1/1/1
The number of log entries is limited to 100. You can change this value in query if needed.

Thank you for the file. But there is few issues.
buslib.encodeia(item.src) doesn't work at all. My KNX object which is source of the log record has address 1.3.63.
item.src = 46081
Result of buslib.encodeia(46081) is nil.
I thought there should be buslib.decodeia(item.src) instead of encode. But it doesn't work either. buslib.decodeia(46081) returns 11.4.1 so it looks like there's a bit ordering mismatch etc.


The second problem is:
busdatatype.decode(item.datahex, obj.datatype) returns only basic datatypes. But I'd like to see fully decoded values. Like switch on/off, open/close etc. Is it possible?

In attachments below I'm sending you what I see in log and what's on this newly created page.
   
LM5Lp, firmware: 2018.08.22 and 2021.12.15, FlashSYS v2, ARMv7 Processor rev 5 (v7l), kernel 4.4.151 and 4.4.259
Reply


Messages In This Thread
Logs in visu - by Thomas - 12.02.2020, 16:12
RE: Logs in visu - by Erwin van der Zwart - 12.02.2020, 21:26
RE: Logs in visu - by toujour - 12.02.2020, 23:00
RE: Logs in visu - by admin - 13.02.2020, 08:34
RE: Logs in visu - by Thomas - 13.02.2020, 17:38
RE: Logs in visu - by admin - 14.02.2020, 10:33
RE: Logs in visu - by Erwin van der Zwart - 14.02.2020, 20:16
RE: Logs in visu - by Thomas - 17.02.2020, 14:47
RE: Logs in visu - by sjfp - 02.06.2020, 14:35

Forum Jump: