Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Announcements
  3. 💬 Log Parser

💬 Log Parser

Scheduled Pinned Locked Moved Announcements
27 Posts 17 Posters 5.9k Views 16 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • hekH Offline
    hekH Offline
    hek
    Admin
    wrote on last edited by hek
    #1

    This thread contains comments for the article "Log Parser" posted on MySensors.org.

    1 Reply Last reply
    9
    • bobbybobbybobbyB Offline
      bobbybobbybobbyB Offline
      bobbybobbybobby
      wrote on last edited by
      #2
      This post is deleted!
      1 Reply Last reply
      0
      • Ivan ZI Offline
        Ivan ZI Offline
        Ivan Z
        Hardware Contributor
        wrote on last edited by
        #3

        I crash parser

        0 MCO:BGN:INIT REPEATER,CP=RNORAA-,VER=2.1.1
        4 TSM:INIT
        4 TSF:WUR:MS=0
        11 TSM:INIT:TSP OK
        13 TSF:SID:OK,ID=15
        15 TSM:FPAR
        51 TSF:MSG:SEND,15-15-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
        2059 !TSM:FPAR:NO REPLY
        2061 TSM:FPAR
        2097 TSF:MSG:SEND,15-15-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
        2610 TSF:MSG:READ,5-5-15,s=255,c=3,t=8,pt=1,l=1,sg=0:1
        2615 TSF:MSG:FPAR OK,ID=5,D=2
        3053 TSF:MSG:READ,0-0-15,s=255,c=3,t=8,pt=1,l=1,sg=0:0
        3057 TSF:MSG:FPAR OK,ID=0,D=1
        4105 TSM:FPAR:OK
        4106 TSM:ID
        4107 TSM:ID:OK
        4109 TSM:UPL
        4146 !TSF:MSG:SEND,15-15-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=NACK:1
        6153 TSM:UPL
        6190 !TSF:MSG:SEND,15-15-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=1,st=NACK:1
        8197 TSM:UPL
        8233 !TSF:MSG:SEND,15-15-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=2,st=NACK:1
        10241 TSM:UPL
        10244 TSF:MSG:SEND,15-15-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=3,st=OK:1
        10250 TSF:MSG:READ,0-0-15,s=255,c=3,t=25,pt=1,l=1,sg=0:1
        10255 TSF:MSG:PONG RECV,HP=1
        10258 TSM:UPL:OK
        10259 TSM:READY:ID=15,PAR=0,DIS=1
        10267 TSF:MSG:SEND,15-15-0-0,s=255,c=4,t=0,pt=6,l=10,sg=0,ft=0,st=OK:FFFFFFFF40016FF10300
        10311 !TSF:MSG:SEND,15-15-0-0,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=NACK:0100
        12322 TSF:MSG:SEND,15-15-0-0,s=255,c=0,t=18,pt=0,l=5,sg=0,ft=1,st=OK:2.1.1
        12331 TSF:MSG:SEND,15-15-0-0,s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=OK:0
        12562 TSF:MSG:READ,0-0-15,s=255,c=3,t=6,pt=0,l=1,sg=0:M
        12578 TSF:MSG:SEND,15-15-0-0,s=255,c=3,t=11,pt=0,l=8,sg=0,ft=0,st=OK:Lighting
        12597 TSF:MSG:SEND,15-15-0-0,s=255,c=3,t=12,pt=0,l=3,sg=0,ft=0,st=OK:1.2
        12613 TSF:MSG:SEND,15-15-0-0,s=1,c=0,t=3,pt=0,l=11,sg=0,ft=0,st=OK:Light relay
        12628 TSF:MSG:SEND,15-15-0-0,s=2,c=0,t=6,pt=0,l=15,sg=0,ft=0,st=OK:Key temperature
        12641 TSF:MSG:SEND,15-15-0-0,s=3,c=0,t=30,pt=0,l=14,sg=0,ft=0,st=OK:Source current
        
        1 Reply Last reply
        0
        • hekH Offline
          hekH Offline
          hek
          Admin
          wrote on last edited by
          #4

          Ok, fixed the problem. Thanks for reporting.

          1 Reply Last reply
          0
          • U Offline
            U Offline
            user2684
            Contest Winner
            wrote on last edited by
            #5

            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;
            
            1 Reply Last reply
            1
            • hekH Offline
              hekH Offline
              hek
              Admin
              wrote on last edited by
              #6

              @user2684

              Yes, it should be S_BINARAY. Thanks for reporting. Updated.

              1 Reply Last reply
              1
              • ben999B Offline
                ben999B Offline
                ben999
                wrote on last edited by
                #7

                I have just discovered "The Log Parser" !!!

                WOW that's huge !

                Thumbs up to those involved in that !!! Thanks a lot :)

                1 Reply Last reply
                1
                • raptorjrR Offline
                  raptorjrR Offline
                  raptorjr
                  wrote on last edited by
                  #8

                  The link "More details about the log messages." don't work. 404

                  mfalkviddM 1 Reply Last reply
                  0
                  • raptorjrR raptorjr

                    The link "More details about the log messages." don't work. 404

                    mfalkviddM Offline
                    mfalkviddM Offline
                    mfalkvidd
                    Mod
                    wrote on last edited by mfalkvidd
                    #9

                    @raptorjr thanks for reporting. Could you describe where this link exists?
                    Edit: Found it. The link is fixed now. Thanks!

                    raptorjrR 1 Reply Last reply
                    0
                    • mfalkviddM mfalkvidd

                      @raptorjr thanks for reporting. Could you describe where this link exists?
                      Edit: Found it. The link is fixed now. Thanks!

                      raptorjrR Offline
                      raptorjrR Offline
                      raptorjr
                      wrote on last edited by
                      #10

                      @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.

                      1 Reply Last reply
                      1
                      • wesW Offline
                        wesW Offline
                        wes
                        wrote on last edited by wes
                        #11

                        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 = 33

                        Is the source code for this parser somewhere on Github? If not, could we get it put on Github so it's easier to maintain?

                        Blog: https://www.wes.id.au/
                        Nodes: Arduino Pro Mini ATMega328P 3.3V 8MHz, RFM69 433MHz, Canton Power CE024 0.8-3.3V regulator & single AA battery
                        Gateway & Controller: Raspberry Pi 3 + Home Assistant

                        1 Reply Last reply
                        1
                        • hekH Offline
                          hekH Offline
                          hek
                          Admin
                          wrote on last edited by
                          #12

                          @Wes,

                          Here's a gist with the code for the log parser
                          https://gist.github.com/henrikekblad/c1d652cce16eaf2ef6340eacaefc97b0

                          1 Reply Last reply
                          1
                          • wesW Offline
                            wesW Offline
                            wes
                            wrote on last edited by wes
                            #13

                            @hek I believe this should fix the issue:

                            https://gist.github.com/liwenyip/de6ff2a646ee417fcf2629eae64e6974/revisions#diff-a83c26f29ff664a062308cb4387554c0

                            AFAIK you can't do a pull request on Github Gists.

                            Hope that helps.

                            Blog: https://www.wes.id.au/
                            Nodes: Arduino Pro Mini ATMega328P 3.3V 8MHz, RFM69 433MHz, Canton Power CE024 0.8-3.3V regulator & single AA battery
                            Gateway & Controller: Raspberry Pi 3 + Home Assistant

                            1 Reply Last reply
                            2
                            • hekH Offline
                              hekH Offline
                              hek
                              Admin
                              wrote on last edited by
                              #14

                              Thanks, updated.

                              1 Reply Last reply
                              0
                              • Nca78N Offline
                                Nca78N Offline
                                Nca78
                                Hardware Contributor
                                wrote on last edited by
                                #15

                                Hello, it seems only the two rightmost columns are filled, I have the same problem with all the browsers.
                                Example:
                                https://www.mysensors.org/build/par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                                • B Offline
                                  B Offline
                                  BoresExpress
                                  wrote on last edited by BoresExpress
                                  #16

                                  Seems like log parser incorrectly prints command types for signature messages (see picture):
                                  0_1527439349118_33c24090-d308-418b-b2b9-e478ed10a05b-image.png

                                  1 Reply Last reply
                                  1
                                  • G Offline
                                    G Offline
                                    gbsmith
                                    wrote on last edited by
                                    #17

                                    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?

                                    1 Reply Last reply
                                    0
                                    • G Offline
                                      G Offline
                                      gbsmith
                                      wrote on last edited by
                                      #18

                                      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

                                      1 Reply Last reply
                                      0
                                      • hekH Offline
                                        hekH Offline
                                        hek
                                        Admin
                                        wrote on last edited by
                                        #19

                                        The gist has now been updated to the lastest running on mysensors.org

                                        A 1 Reply Last reply
                                        2
                                        • berkseoB Offline
                                          berkseoB Offline
                                          berkseo
                                          wrote on last edited by
                                          #20

                                          think it's time to add passive node support :) ||| Unknown | ?TSF:MSG:SEND... | |

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          21

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.1k

                                          Posts


                                          Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • MySensors
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular