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. My Project
  3. Manual assigning node id's for network with repeaters

Manual assigning node id's for network with repeaters

Scheduled Pinned Locked Moved My Project
node childnode idsensorid
3 Posts 2 Posters 4.4k 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.
  • B Offline
    B Offline
    boozz
    wrote on last edited by
    #1

    Hi All,

    Trying to set up a network, but without a controller (like VERA or RB-pi). Using the serial gateway I found out that I could get the readings from a sensor (multiple dallas temperature) via the radio's. so far so good.
    Now I would like to use some extra (1 or 2 i guess) repeater nodes in order to get the sensors communicating over a larger distance, but am strugling to get the sensor talking via a repeater to the serial gateway. Searched for some points in the code (well done BTW !!) were I could tweak it such that it does what I would like to have, but without good luck so far.
    Any instructions anywhere how to set this up manually. I found out how to assign a node-id manually, but how do I have to proceed to get this working, as per below;

    sensor -> repeater 1 (-> repaeter 2) -> serial gateway.

    Any help appreciated.

    BR

    Boozz

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

      You should just have to enable repeater mode in gw.begin() and call gw.process() in the repeater node. See api documentation for details.

      "sensor" will find the shortest way to gateway.

      1 Reply Last reply
      0
      • B Offline
        B Offline
        boozz
        wrote on last edited by
        #3

        Thanks hek,

        Did it a bit different, but probably with the result i wanted.

        In the repeaternode sketch I used the following line:

        gw.begin(NULL,4,true);

        This created a repeater node with node-id 4 (just an arbitrary number)

        In the Dallastemperature example I used:

        gw.begin(NULL,5,false,4)

        This created the sensor node with id=5, talking via repeaternode 4 to the serial gateway. This works. See the info from the temperature sensor being relayed to the serial-gateway.

        I haven't tried the method you suggested yet, but this sounds interesting of course. Wiil do that after Christmas I think.

        Boozz

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


        9

        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