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.
  • 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/parser?log=TSF%3AMSG%3ASEND%2C1-1-0-0%2Cs%3D5%2Cc%3D1%2Ct%3D38%2Cpt%3D1%2Cl%3D1%2Csg%3D0%2Cft%3D0%2Cst%3DOK%3A40 TSF%3AMSG%3AREAD%2C0-0-1%2Cs%3D5%2Cc%3D1%2Ct%3D38%2Cpt%3D1%2Cl%3D1%2Csg%3D0%3A40 TSF%3AMSG%3AACK TSF%3AMSG%3ASEND%2C1-1-0-0%2Cs%3D5%2Cc%3D1%2Ct%3D38%2Cpt%3D1%2Cl%3D1%2Csg%3D0%2Cft%3D0%2Cst%3DOK%3A45 TSF%3AMSG%3AREAD%2C0-0-1%2Cs%3D5%2Cc%3D1%2Ct%3D38%2Cpt%3D1%2Cl%3D1%2Csg%3D0%3A45 TSF%3AMSG%3AACK TSF%3AMSG%3AREAD%2C0-0-255%2Cs%3D255%2Cc%3D3%2Ct%3D20%2Cpt%3D0%2Cl%3D0%2Csg%3D0%3A TSF%3AMSG%3ABC TSF%3AMSG%3ASEND%2C1-1-0-0%2Cs%3D255%2Cc%3D3%2Ct%3D21%2Cpt%3D1%2Cl%3D1%2Csg%3D0%2Cft%3D0%2Cst%3DOK%3A0 TSF%3AMSG%3ASEND%2C1-1-0-0%2Cs%3D5%2Cc%3D1%2Ct%3D38%2Cpt%3D1%2Cl%3D1%2Csg%3D0%2Cft%3D0%2Cst%3DOK%3A50 TSF%3AMSG%3AREAD%2C0-0-1%2Cs%3D5%2Cc%3D1%2Ct%3D38%2Cpt%3D1%2Cl%3D1%2Csg%3D0%3A50 TSF%3AMSG%3AACK TSF%3AMSG%3ASEND%2C1-1-0-0%2Cs%3D5%2Cc%3D1%2Ct%3D38%2Cpt%3D1%2Cl%3D1%2Csg%3D0%2Cft%3D0%2Cst%3DOK%3A55 TSF%3AMSG%3AREAD%2C0-0-1%2Cs%3D5%2Cc%3D1%2Ct%3D38%2Cpt%3D1%2Cl%3D1%2Csg%3D0%3A55 TSF%3AMSG%3AACK

                        1 Reply Last reply
                        0
                        • 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
                                  • W Offline
                                    W Offline
                                    willemx
                                    wrote on last edited by
                                    #21

                                    No support for Gateway Transport messages?
                                    GWT:TPS:TOPIC=mygateway1-out/19/255/3/0/21,MSG SENT

                                    1 Reply Last reply
                                    0
                                    • hekH hek

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

                                      A Offline
                                      A Offline
                                      alphaHotel
                                      wrote on last edited by
                                      #22

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

                                      0_1564621330737_2019-07-31_2059.png

                                      I also made a subsequent one line change to correct the issue that @BoresExpress noted a while back.

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

                                        Thanks a bunch @alphaHotel, incorporated now!

                                        1 Reply Last reply
                                        1
                                        • T Offline
                                          T Offline
                                          The Grue
                                          wrote on last edited by
                                          #24

                                          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
                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          16

                                          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