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. gw.begin possible issue with _repeaterMode

gw.begin possible issue with _repeaterMode

Scheduled Pinned Locked Moved Bug Reports
5 Posts 2 Posters 3.8k 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.
  • M Offline
    M Offline
    marceltrapman
    Mod
    wrote on last edited by
    #1

    I am not 100% sure (although 90% is pretty much).

    Setting the _repeaterMode to true or false (3rd argument of gw.begin() does not do anything for me.

    Whatever I do:

    gw.begin(incomingMessage, AUTO, true) or gw.begin(incomingMessage, AUTO, false) it sets up the board in both sketches as a repeater.

    My hesitation comes from the fact that I defined the board previously with _repeaterMode to true and I changed it to false later on and I am not sure if this setting is stored in eeprom as well.

    Bug or my mistake?

    Fulltime Servoy Developer
    Parttime Moderator MySensors board

    I use Domoticz as controller for Z-Wave and MySensors (previously Indigo and OpenHAB).
    I have a FABtotum to print cases.

    H 1 Reply Last reply
    0
    • M marceltrapman

      I am not 100% sure (although 90% is pretty much).

      Setting the _repeaterMode to true or false (3rd argument of gw.begin() does not do anything for me.

      Whatever I do:

      gw.begin(incomingMessage, AUTO, true) or gw.begin(incomingMessage, AUTO, false) it sets up the board in both sketches as a repeater.

      My hesitation comes from the fact that I defined the board previously with _repeaterMode to true and I changed it to false later on and I am not sure if this setting is stored in eeprom as well.

      Bug or my mistake?

      H Offline
      H Offline
      hek
      Admin
      wrote on last edited by
      #2

      @marceltrapman

      Hmm.. strange. Just tried with the latest in 1.4.

      gw.begin(NULL, AUTO, true);

      ‘repeater started, id 1
      send: 1-1-0-0 s=255,c=0,t=18,pt=0,l=3,st=ok:1.4
      send: 1-1-0-0 s=255,c=3,t=6,pt=1,l=1,st=ok:0
      read: 0-0-1 s=255,c=3,t=6,pt=0,l=2:M
      send: 1-1-0-0 s=255,c=3,t=11,pt=0,l=18,st=ok:Air Quality Sensor
      

      gw.begin(NULL, AUTO, false);

      sensor started, id 1
      send: 1-1-0-0 s=255,c=0,t=17,pt=0,l=3,st=ok:1.4
      send: 1-1-0-0 s=255,c=3,t=6,pt=1,l=1,st=ok:0
      read: 0-0-1 s=255,c=3,t=6,pt=0,l=2:M
      send: 1-1-0-0 s=255,c=3,t=11,pt=0,l=18,st=ok:Air Quality Sensor
      send: 1-1-0-0 s=255,c=3,t=12,pt=0,l=3,st=ok:1.0
      send: 1-1-0-0 s=0,c=0,t=22,pt=0,l=3,st=ok:1.4
      

      Note the first debug string: sensor/repeater.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        marceltrapman
        Mod
        wrote on last edited by
        #3

        Thank you for testing Henrik.

        I include a callback method for the message instead of NULL but I will test again when I have time (by the end of the day) to see what is going on.
        To be honest I only looked at what happened on the controller side and hardly checked on the sensor side so I will first do that...

        Fulltime Servoy Developer
        Parttime Moderator MySensors board

        I use Domoticz as controller for Z-Wave and MySensors (previously Indigo and OpenHAB).
        I have a FABtotum to print cases.

        1 Reply Last reply
        0
        • M Offline
          M Offline
          marceltrapman
          Mod
          wrote on last edited by
          #4

          @hek do you think it could be 1.4b1?
          If so, can I just use the latest 1.4 with the 1.4b1 on the gateway or do I have to change all (I would prefer to wait until the release now)...

          This is what I get:
          repeater started, id 6
          send: 6-6-0-0 s=255,c=0,t=18,pt=0,l=15,st=ok:1.4b1 (18848a2)
          send: 6-6-0-0 s=255,c=3,t=6,pt=1,l=1,st=ok:0
          send: 6-6-0-0 s=255,c=3,t=11,pt=0,l=17,st=ok:Ventilator Switch
          send: 6-6-0-0 s=255,c=3,t=12,pt=0,l=3,st=ok:1.0
          send: 6-6-0-0 s=0,c=0,t=6,pt=0,l=15,st=ok:1.4b1 (18848a2)
          send: 6-6-0-0 s=1,c=0,t=3,pt=0,l=15,st=ok:1.4b1 (18848a2)
          send: 6-6-0-0 s=0,c=1,t=0,pt=0,l=4,st=ok:23.9

          Fulltime Servoy Developer
          Parttime Moderator MySensors board

          I use Domoticz as controller for Z-Wave and MySensors (previously Indigo and OpenHAB).
          I have a FABtotum to print cases.

          1 Reply Last reply
          0
          • M Offline
            M Offline
            marceltrapman
            Mod
            wrote on last edited by
            #5

            OK, so this was an issue with 1.4b1.
            The latest development version is ok :)

            Fulltime Servoy Developer
            Parttime Moderator MySensors board

            I use Domoticz as controller for Z-Wave and MySensors (previously Indigo and OpenHAB).
            I have a FABtotum to print cases.

            1 Reply Last reply
            0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            12

            Online

            12.0k

            Users

            11.2k

            Topics

            113.4k

            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