💬 Log Parser
-
Hi, I wonder why the following is parsed as a S_LIGHT presentation. Shouldn't be S_BINARY the type number 3? (https://www.mysensors.org/download/serial_api_20). Thanks!
0;1;0;0;3; -
@raptorjr thanks for reporting.
Could you describe where this link exists?
Edit: Found it. The link is fixed now. Thanks!@mfalkvidd I'm sorry. Thought it was obviuos since I posted in the comment section of the article where the link was =) But I will be more clear if I find a problem some other time.
Thanks for fixing the link.
-
I think the log parser needs to be updated for new message types in MySensors v2.2.0 - they are currently being shown in the log parser as "Undefined":
I_SIGNAL_REPORT_REQUEST = 29,
I_SIGNAL_REPORT_REVERSE = 30,
I_SIGNAL_REPORT_RESPONSE = 31,
I_PRE_SLEEP_NOTIFICATION = 32,
I_POST_SLEEP_NOTIFICATION = 33Is the source code for this parser somewhere on Github? If not, could we get it put on Github so it's easier to maintain?
-
-
Seems like log parser incorrectly prints command types for signature messages (see picture):

-
Just started MySensors 2.3 project. I have the same problem as Nca78 had 5 months again.
Only the two right columns are filled. Better than nothing but not perfect as intended.
And yes I tried running this code directly: https://gist.github.com/henrikekblad/c1d652cce16eaf2ef6340eacaefc97b0
Is anyone maintaining this code? -
Clearly the debug log format has changed to something that this tool does not support.
My log entries look like:
228642 TSF:MSG:SEND,1-1-0-0,s=2,c=1,t=16,pt=1,l=1,sg=0,ft=0,st=OK:0
The old log entries looked like this:
0;255;3;0;9;TSF:MSG:READ,12-4-0,s=18,c=1,t=16,pt=1,l=1,sg=0:1 -
The gist has now been updated to the lastest running on mysensors.org
@hek I was able to add support for stream message types to the log parser but can't perform a pull request against the gist. Here is my diff analysis if you're interested in this small update.

I also made a subsequent one line change to correct the issue that @BoresExpress noted a while back.
-
Logparser is really a helpful tool. But is there a version that I can run offline on my computer?
- It is annoying to be forced to be online, just to interpret logs
- If I had it on my computer, I coult pipe the debug output through the parser and see the results life