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. 💬 Debugging Sensors and the Gateway

💬 Debugging Sensors and the Gateway

Scheduled Pinned Locked Moved Announcements
21 Posts 10 Posters 3.6k Views 10 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 hek

    Not sure I understand...

    If you enable debug on gateway, I_LOG entries (with the debug information) is sent over ethernet (or serial) depending on the variant you use.

    NiklasON Offline
    NiklasON Offline
    NiklasO
    wrote on last edited by NiklasO
    #4

    @hek Really? That's nice. I use Sensebender GW with #define MY_DEBUG and #define MY_GATEWAY_W5100. Maybe using MY_SPECIAL_DEBUG?

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

      Oh, the sensebender gateway might be different as it has a some additional functionality (multi hardware serial ports). Need to ping @tbowmo for a correct answer here.

      1 Reply Last reply
      0
      • NiklasON NiklasO

        @hek Really? That's nice. I use Sensebender GW with #define MY_DEBUG and #define MY_GATEWAY_W5100. Maybe using MY_SPECIAL_DEBUG?

        gohanG Offline
        gohanG Offline
        gohan
        Mod
        wrote on last edited by
        #6

        @NiklasO if you want to debug the gateway you could use the MYSController and connect it to the ethernet gateway over LAN.

        1 Reply Last reply
        0
        • NiklasON Offline
          NiklasON Offline
          NiklasO
          wrote on last edited by
          #7

          Ah, I see. The "MySensors Debug" does only show data when you use the serial connection?

          1 Reply Last reply
          0
          • tbowmoT Offline
            tbowmoT Offline
            tbowmo
            Admin
            wrote on last edited by
            #8

            If you have configured it as a ethernet GW, it still dumps debug data to the serial port.

            Once I had plans to make a tcp connection to a debug channel, but never got any further with it.

            1 Reply Last reply
            0
            • gohanG Offline
              gohanG Offline
              gohan
              Mod
              wrote on last edited by
              #9

              Debugging over Lan connection is so much simpler because you can leave the gateway in its place and move around with your laptop 😁

              1 Reply Last reply
              0
              • tbowmoT Offline
                tbowmoT Offline
                tbowmo
                Admin
                wrote on last edited by
                #10

                @gohan

                I totally agree, but there is only 24 hours a day.. With family, work etc there is just not enough time to realize all my ideas. :)

                1 Reply Last reply
                0
                • gohanG Offline
                  gohanG Offline
                  gohan
                  Mod
                  wrote on last edited by
                  #11

                  Sure, that's why I suggested to use myscontroller since it can be used to debug pretty much everything you need to know out of the gateway.

                  1 Reply Last reply
                  0
                  • EduardoE Offline
                    EduardoE Offline
                    Eduardo
                    wrote on last edited by
                    #12

                    Anyone knows what happened to The Transport messages (TSM & TSF) and MySensors Core messages (MCO) links? I get a message from Jenkins saying "<user> is missing the Overall/Read permission".
                    Isn't it publicly available anymore? Or do I need to do something else?

                    1 Reply Last reply
                    0
                    • yogui79Y Offline
                      yogui79Y Offline
                      yogui79
                      wrote on last edited by
                      #13

                      hello
                      the links to "The Transport messages " and "The MySensors Core messages" are brocken

                      mfalkviddM 1 Reply Last reply
                      1
                      • yogui79Y yogui79

                        hello
                        the links to "The Transport messages " and "The MySensors Core messages" are brocken

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

                        @yogui79 thanks for reporting. I've fixed them now. Adding them below for reference:
                        The Transport messages (TSM & TSF) are described here.
                        The MySensors Core messages (MCO) are described here

                        1 Reply Last reply
                        1
                        • jopebeJ Offline
                          jopebeJ Offline
                          jopebe
                          wrote on last edited by
                          #15

                          The MySensors Core messages (MCO) are described here = broken!?!

                          mfalkviddM 1 Reply Last reply
                          0
                          • jopebeJ jopebe

                            The MySensors Core messages (MCO) are described here = broken!?!

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

                            @jopebe thanks for noticing. The link ended in .htmls instead of .html. Fixed now.

                            1 Reply Last reply
                            0
                            • user1306U Offline
                              user1306U Offline
                              user1306
                              wrote on last edited by
                              #17

                              my home has many sensors all built on my sensors library, (around 40 devices and 80+ sensors) as you can imagine it’s big network.
                              from time to time messages don’t get through, and when a sensor first start it take a long time to connect.
                              i was doing some testing the other day and i left the debug on the gateway turned on, and noticed things are working 10 times better, sensors connect immediately i can send multi command at the same time and they all reach their target (Home assistant turning multiple lights).
                              is this normal? did anyone notice this as well?

                              not sure why, maybe the delay it creates when it writes to Serial is making it work better?

                              mfalkviddM alexeliteA 2 Replies Last reply
                              0
                              • user1306U user1306

                                my home has many sensors all built on my sensors library, (around 40 devices and 80+ sensors) as you can imagine it’s big network.
                                from time to time messages don’t get through, and when a sensor first start it take a long time to connect.
                                i was doing some testing the other day and i left the debug on the gateway turned on, and noticed things are working 10 times better, sensors connect immediately i can send multi command at the same time and they all reach their target (Home assistant turning multiple lights).
                                is this normal? did anyone notice this as well?

                                not sure why, maybe the delay it creates when it writes to Serial is making it work better?

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

                                @user1306 yes, this has been reported by multiple users.

                                user1306U 1 Reply Last reply
                                0
                                • mfalkviddM mfalkvidd

                                  @user1306 yes, this has been reported by multiple users.

                                  user1306U Offline
                                  user1306U Offline
                                  user1306
                                  wrote on last edited by
                                  #19

                                  @mfalkvidd
                                  Thanks, and please let me know if i can help in some way

                                  1 Reply Last reply
                                  0
                                  • user1306U user1306

                                    my home has many sensors all built on my sensors library, (around 40 devices and 80+ sensors) as you can imagine it’s big network.
                                    from time to time messages don’t get through, and when a sensor first start it take a long time to connect.
                                    i was doing some testing the other day and i left the debug on the gateway turned on, and noticed things are working 10 times better, sensors connect immediately i can send multi command at the same time and they all reach their target (Home assistant turning multiple lights).
                                    is this normal? did anyone notice this as well?

                                    not sure why, maybe the delay it creates when it writes to Serial is making it work better?

                                    alexeliteA Offline
                                    alexeliteA Offline
                                    alexelite
                                    wrote on last edited by
                                    #20

                                    What type of gateway and radio do you use?

                                    user1306U 1 Reply Last reply
                                    0
                                    • alexeliteA alexelite

                                      What type of gateway and radio do you use?

                                      user1306U Offline
                                      user1306U Offline
                                      user1306
                                      wrote on last edited by
                                      #21

                                      @alexelite

                                      I’m using Arduino Nano connected through Serial
                                      radio is nrf24l01+ PA LNA connected to the 3.3 converter module and powered separately

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


                                      18

                                      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