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. Bug Reports
  3. Gateway Ready message with sensor id 0 [V 1.6 beta]

Gateway Ready message with sensor id 0 [V 1.6 beta]

Scheduled Pinned Locked Moved Bug Reports
9 Posts 3 Posters 2.6k Views 1 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.
  • J Offline
    J Offline
    jkandasa
    Plugin Developer
    wrote on last edited by
    #1

    I'm getting gateway ready message as 0;0;3;0;9;Starting gateway (RNNGA-, 1.6.0-beta)

    Here nodeId and sensorId shows as 0, I believe sensorId should be 255?

    1 Reply Last reply
    0
    • mfalkviddM Offline
      mfalkviddM Offline
      mfalkvidd
      Mod
      wrote on last edited by
      #2

      The gateway always has nodeid 0

      J 1 Reply Last reply
      0
      • mfalkviddM mfalkvidd

        The gateway always has nodeid 0

        J Offline
        J Offline
        jkandasa
        Plugin Developer
        wrote on last edited by
        #3

        @mfalkvidd said:

        The gateway always has nodeid 0

        @mfalkvidd I'm fine with nodeId, but sensorId should be 255 right? It should not be 0. As we can assign 0 to some other sensor.

        1 Reply Last reply
        0
        • mfalkviddM Offline
          mfalkviddM Offline
          mfalkvidd
          Mod
          wrote on last edited by
          #4

          Sorry about that. I believe you can use child-sensor-id 0 for any sensor that is not a gateway. Since any other child sensor will have a different node id, there will be no collision.

          1 Reply Last reply
          0
          • J Offline
            J Offline
            jkandasa
            Plugin Developer
            wrote on last edited by
            #5

            @hek For internal message gateway device using sensor id 0. I hope it should be 255.
            0;0;3;0;9;send: 0-0-2-2 s=1,c=1,t=2,pt=0,l=1,sg=0,st=ok:0

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

              Yes, internal messages uses sensor-id 255.

              J 1 Reply Last reply
              0
              • hekH hek

                Yes, internal messages uses sensor-id 255.

                J Offline
                J Offline
                jkandasa
                Plugin Developer
                wrote on last edited by jkandasa
                #7

                @hek said:

                Yes, internal messages uses sensor-id 255.

                but I'm getting sensor-id 0 for internal messages

                For now I have identified for I_GATEWAY_READY and I_LOG_MESSAGE

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

                  That's plain wrong. Created a PR here:

                  https://github.com/mysensors/Arduino/pull/316

                  J 1 Reply Last reply
                  1
                  • hekH hek

                    That's plain wrong. Created a PR here:

                    https://github.com/mysensors/Arduino/pull/316

                    J Offline
                    J Offline
                    jkandasa
                    Plugin Developer
                    wrote on last edited by
                    #9

                    @hek said:

                    That's plain wrong. Created a PR here:

                    https://github.com/mysensors/Arduino/pull/316

                    Thank you @hek !!

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


                    11

                    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