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. Development
  3. Changing Node Id of Serial Gateway

Changing Node Id of Serial Gateway

Scheduled Pinned Locked Moved Development
7 Posts 3 Posters 2.5k Views 3 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.
  • LyubomyrL Offline
    LyubomyrL Offline
    Lyubomyr
    wrote on last edited by
    #1

    Hello.

    Can I change Node ID of the Serial gateway? I'm using Domoticz as a controller.
    I tried to change the code
    gw.begin(incomingMessage, 24, true, 0);
    // also tried gw.begin(incomingMessage, 24, true, 24);

    and changed each
    serial(PSTR("0;0;%d;0;%d; .........
    into
    serial(PSTR("24;0;%d;0;%d;.............

    // also tried cahnging into serial(PSTR("24;24;%d;0;%d;.............

    I made changes in the files SerialGateway and SerialGatewayUtil
    The node with sensor sees SerialGateway; Domoticz showes log "Serial gateway ready", but Domoticz does not see the sensor.

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

      No, you cannot. May I ask why?

      1 Reply Last reply
      1
      • LyubomyrL Offline
        LyubomyrL Offline
        Lyubomyr
        wrote on last edited by
        #3

        I suppose that this could increase security a little bit. Sorry to hear that this is impossible.

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

          How would it increase security?

          1 Reply Last reply
          0
          • LyubomyrL Offline
            LyubomyrL Offline
            Lyubomyr
            wrote on last edited by
            #5

            Well, if one wants to steal a signal, it would be more difficult to him to understand what is happening. It is some kind of Security through obscurity.
            On the other hand if something wants to pretend being a gateway, it would be more difficult to find out what node id does the node have.
            I understand that this not huge security upgrade but this can cause some difficulties for intruder.

            1 Reply Last reply
            0
            • mfalkviddM Online
              mfalkviddM Online
              mfalkvidd
              Mod
              wrote on last edited by mfalkvidd
              #6

              This thread might be of interest if you want to increase security: http://forum.mysensors.org/topic/1021/security-introducing-signing-support-to-mysensors

              There is also a sniffer available to capture traffic (including node ids): https://www.mysensors.org/controller/sniffer

              1 Reply Last reply
              0
              • LyubomyrL Offline
                LyubomyrL Offline
                Lyubomyr
                wrote on last edited by
                #7

                I've seen the security link, but sniffer is very interesting indeed. Thank You!

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


                26

                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