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. Repeater nood keeps looping... and doesnt reach gw.

Repeater nood keeps looping... and doesnt reach gw.

Scheduled Pinned Locked Moved Bug Reports
26 Posts 5 Posters 10.4k Views 4 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.
  • sundberg84S Offline
    sundberg84S Offline
    sundberg84
    Hardware Contributor
    wrote on last edited by sundberg84
    #8

    -Clean domoticz install - only two nodes installed (Relay 103, Repeter 100 and GW) but same error.
    -Changed radio but no effect (and i guess there should not since i have st=ok)

    I notised that it loops also in the GW.

    Logs:
    Repeter (Same as above, loops until a st=fail or another/new info comes in

    GW (Ethernet)

    0;0;3;0;14;Gateway startup complete.
    0;0;3;0;9;read: 100-100-0 s=1,c=1,t=16,pt=0,l=1:1
    100;1;1;0;16;1
    0;0;3;0;9;read: 100-100-0 s=255,c=0,t=18,pt=0,l=3:1.5
    100;255;0;0;18;1.5
    0;0;3;0;9;read: 100-100-0 s=255,c=3,t=6,pt=1,l=1:0
    100;255;3;0;6;0
    100;255;3;0;6;M0;0;3;0;9;send: 0-0-100-100 s=255,c=3,t=6,pt=0,l=1,st=ok:M
    0;0;3;0;9;read: 100-100-0 s=255,c=3,t=11,pt=0,l=15:Repeater+ - 100
    100;255;3;0;11;Repeater+ - 100
    0;0;3;0;9;read: 100-100-0 s=255,c=3,t=12,pt=0,l=3:1.0
    100;255;3;0;12;1.0
    0;0;3;0;9;read: 100-100-0 s=1,c=0,t=1,pt=0,l=0:
    100;1;0;0;1;
    
    0;0;3;0;9;read: 102-100-0 s=255,c=0,t=18,pt=0,l=3:1.5
    102;255;0;0;18;1.5
    0;0;3;0;9;read: 102-100-0 s=255,c=3,t=6,pt=1,l=1:100
    102;255;3;0;6;100
    102;255;3;0;6;M0;0;3;0;9;send: 0-0-100-102 s=255,c=3,t=6,pt=0,l=1,st=ok:M
    0;0;3;0;9;read: 0-100-102 s=255,c=3,t=6,pt=0,l=1:M
    0;0;3;0;9;send: 0-0-100-102 s=255,c=3,t=6,pt=0,l=1,st=ok:M
    0;0;3;0;9;read: 0-100-102 s=255,c=3,t=6,pt=0,l=1:M
    0;0;3;0;9;send: 0-0-100-102 s=255,c=3,t=6,pt=0,l=1,st=ok:M
    0;0;3;0;9;read: 0-100-102 s=255,c=3,t=6,pt=0,l=1:M
    0;0;3;0;9;send: 0-0-100-102 s=255,c=3,t=6,pt=0,l=1,st=ok:M
    0;0;3;0;9;read: 0-100-102 s=255,c=3,t=6,pt=0,l=1:M
    --keeps looping
    
    Switch change:
    0;0;3;0;9;read: 0-100-102 s=1,c=1,t=2,pt=2,l=2:0
    0;0;3;0;9;send: 0-0-100-102 s=1,c=1,t=2,pt=2,l=2,st=ok:0
    0;0;3;0;9;read: 0-100-102 s=1,c=1,t=2,pt=2,l=2:0
    0;0;3;0;9;send: 0-0-100-102 s=1,c=1,t=2,pt=2,l=2,st=ok:0
    0;0;3;0;9;read: 0-100-102 s=1,c=1,t=2,pt=2,l=2:0
    0;0;3;0;9;send: 0-0-100-102 s=1,c=1,t=2,pt=2,l=2,st=ok:0
    0;0;3;0;9;read: 0-100-102 s=1,c=1,t=2,pt=2,l=2:0
    0;0;3;0;9;send: 0-0-100-102 s=1,c=1,t=2,pt=2,l=2,st=ok:0
    
    

    This affects my relays and my outdoor sensor (all powered with 5 volt usb chargers...) either there was some sort of thunderstorm killing them all at the same time or i dont know what... :( (all volts are within range though)

    Power Issues i guess becuase now i cant read the serial-logs from the relays anymore... just wingdings letters... all i can see there is that it does not loop.

    :boom:

    Controller: Proxmox VM - Home Assistant
    MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
    MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
    RFLink GW - Arduino Mega + RFLink Shield, 433mhz

    1 Reply Last reply
    0
    • U Offline
      U Offline
      uandy
      wrote on last edited by uandy
      #9

      I have the same problem:

        MySensors Debug                 receive raw 0;0;3;0;9;send: 0-0-4-11 s=1,c=1,t=2,pt=0,l=1,sg=0,st=ok:1
        MySensors Debug                 receive raw 0;0;3;0;9;read: 0-4-11 s=1,c=1,t=2,pt=0,l=1,sg=0:1
        MySensors Debug                 receive raw 0;0;3;0;9;send: 0-0-4-11 s=1,c=1,t=2,pt=0,l=1,sg=0,st=ok:1
        MySensors Debug                 receive raw 0;0;3;0;9;read: 0-4-11 s=1,c=1,t=2,pt=0,l=1,sg=0:1
        MySensors Debug                 receive raw 0;0;3;0;9;send: 0-0-4-11 s=1,c=1,t=2,pt=0,l=1,sg=0,st=ok:1
        MySensors Debug                 receive raw 0;0;3;0;9;read: 0-4-11 s=1,c=1,t=2,pt=0,l=1,sg=0:1
        MySensors Debug                 receive raw 0;0;3;0;9;send: 0-0-4-11 s=1,c=1,t=2,pt=0,l=1,sg=0,st=ok:1
        MySensors Debug                 receive raw 0;0;3;0;9;read: 0-4-11 s=1,c=1,t=2,pt=0,l=1,sg=0:1
        MySensors Debug                 receive raw 0;0;3;0;9;send: 0-0-4-11 s=1,c=1,t=2,pt=0,l=1,sg=0,st=ok:1
        MySensors Debug                 receive raw 0;0;3;0;9;read: 0-4-11 s=1,c=1,t=2,pt=0,l=1,sg=0:1
      ....
      

      It happens when the gateway tries to send a new state to a node.

      Also, I have a similar problem sending sketch name and version for some nodes:

      MySensors Debug                 receive raw 0;0;3;0;9;read: 0-4-11 s=255,c=3,t=11,pt=0,l=15,sg=0:Get Sketch Name
        MySensors Debug                 receive raw 0;0;3;0;9;send: 0-0-4-11 s=255,c=3,t=11,pt=0,l=15,sg=0,st=ok:Get Sket
        MySensors Debug                 receive raw 0;0;3;0;9;read: 0-4-11 s=255,c=3,t=2,pt=0,l=11,sg=0:Get Version
        MySensors Debug                 receive raw 0;0;3;0;9;send: 0-0-4-11 s=255,c=3,t=2,pt=0,l=11,sg=0,st=ok:Get Versi
        MySensors Debug                 receive raw 0;0;3;0;9;read: 0-4-11 s=255,c=3,t=11,pt=0,l=15,sg=0:Get Sketch Name
        MySensors Debug                 receive raw 0;0;3;0;9;send: 0-0-4-11 s=255,c=3,t=11,pt=0,l=15,sg=0,st=ok:Get Sket
        MySensors Debug                 receive raw 0;0;3;0;9;read: 0-4-11 s=255,c=3,t=2,pt=0,l=11,sg=0:Get Version
        MySensors Debug                 receive raw 0;0;3;0;9;send: 0-0-4-11 s=255,c=3,t=2,pt=0,l=11,sg=0,st=ok:Get Versi
        MySensors Debug                 receive raw 0;0;3;0;9;read: 0-4-11 s=255,c=3,t=11,pt=0,l=15,sg=0:Get Sketch Name
        MySensors Debug                 receive raw 0;0;3;0;9;send: 0-0-4-11 s=255,c=3,t=11,pt=0,l=15,sg=0,st=ok:Get Sket
        MySensors Debug                 receive raw 0;0;3;0;9;read: 0-4-11 s=255,c=3,t=2,pt=0,l=11,sg=0:Get Version
        MySensors Debug                 receive raw 0;0;3;0;9;send: 0-0-4-11 s=255,c=3,t=2,pt=0,l=11,sg=0,st=ok:Get Versi
        MySensors Debug                 receive raw 0;0;3;0;9;read: 0-4-11 s=255,c=3,t=11,pt=0,l=15,sg=0:Get Sketch Name
        MySensors Debug                 receive raw 0;0;3;0;9;send: 0-0-4-11 s=255,c=3,t=11,pt=0,l=15,sg=0,st=ok:Get Sket
        MySensors Debug                 receive raw 0;0;3;0;9;read: 0-4-11 s=255,c=3,t=2,pt=0,l=11,sg=0:Get Version
        MySensors Debug                 receive raw 0;0;3;0;9;send: 0-0-4-11 s=255,c=3,t=2,pt=0,l=11,sg=0,st=ok:Get Versi
        MySensors Debug                 receive raw 0;0;3;0;9;read: 0-4-11 s=255,c=3,t=11,pt=0,l=15,sg=0:Get Sketch Name
        MySensors Debug                 receive raw 0;0;3;0;9;send: 0-0-4-11 s=255,c=3,t=11,pt=0,l=15,sg=0,st=ok:Get Sket
        MySensors Debug                 receive raw 0;0;3;0;9;read: 0-4-11 s=255,c=3,t=2,pt=0,l=11,sg=0:Get Version
        MySensors Debug                 receive raw 0;0;3;0;9;send: 0-0-4-11 s=255,c=3,t=2,pt=0,l=11,sg=0,st=ok:Get Versi
        MySensors Debug                 receive raw 0;0;3;0;9;read: 0-4-11 s=255,c=3,t=11,pt=0,l=15,sg=0:Get Sketch Name
        MySensors Debug                 receive raw 0;0;3;0;9;send: 0-0-4-11 s=255,c=3,t=11,pt=0,l=15,sg=0,st=ok:Get Sket
        MySensors Debug                 receive raw 0;0;3;0;9;read: 0-4-11 s=255,c=3,t=2,pt=0,l=11,sg=0:Get Version
        MySensors Debug                 receive raw 0;0;3;0;9;send: 0-0-4-11 s=255,c=3,t=2,pt=0,l=11,sg=0,st=ok:Get Versi
        MySensors Debug                 receive raw 0;0;3;0;9;read: 0-4-11 s=255,c=3,t=11,pt=0,l=15,sg=0:Get Sketch Name
        MySensors Debug                 receive raw 0;0;3;0;9;send: 0-0-4-11 s=255,c=3,t=11,pt=0,l=15,sg=0,st=ok:Get Sket
      ....
      

      I use Indigo as a controller, with connected Mysensors serial gateway.

      1 Reply Last reply
      0
      • barduinoB Offline
        barduinoB Offline
        barduino
        wrote on last edited by
        #10

        I have the same problem.

        If someone could try to replicate this:

        • Default SerialGW (from examples)
        • Default RepeaterNode (from examples)
        • Send message from GW to another node (254;4;1;0;2;1)

        This is what i get

        Startup GW

        0;0;3;0;9;gateway started, id=0, parent=0, distance=0
        0;0;3;0;14;Gateway startup complete.
        

        Startup repeater

        send: 253-253-0-0 s=255,c=0,t=18,pt=0,l=3,sg=0,st=ok:1.5
        send: 253-253-0-0 s=255,c=3,t=6,pt=1,l=1,sg=0,st=ok:0
        repeater started, id=253, parent=0, distance=1
        send: 253-253-0-0 s=255,c=3,t=11,pt=0,l=13,sg=0,st=ok:Repeater Node
        send: 253-253-0-0 s=255,c=3,t=12,pt=0,l=3,sg=0,st=ok:1.0
        

        Gatweway after repeater started

        0;0;3;0;9;read: 253-253-0 s=255,c=3,t=6,pt=1,l=1,sg=0:0
        253;255;3;0;6;0
        0;0;3;0;9;read: 253-253-0 s=255,c=3,t=11,pt=0,l=13,sg=0:Repeater Node
        253;255;3;0;11;Repeater Node
        0;0;3;0;9;read: 253-253-0 s=255,c=3,t=12,pt=0,l=3,sg=0:1.0
        253;255;3;0;12;1.0
        

        Then I type 254;4;1;0;2;1 on the gatweway serial log and press send

        I get hundresds of these on the gateway

        0;0;3;0;9;send: 0-0-253-254 s=4,c=1,t=2,pt=0,l=1,sg=0,st=ok:1
        0;0;3;0;9;read: 0-253-254 s=4,c=1,t=2,pt=0,l=1,sg=0:1
        0;0;3;0;9;send: 0-0-253-254 s=4,c=1,t=2,pt=0,l=1,sg=0,st=ok:1
        0;0;3;0;9;read: 0-253-254 s=4,c=1,t=2,pt=0,l=1,sg=0:1
        

        and the same on the repeater node

        read: 0-0-254 s=4,c=1,t=2,pt=0,l=1,sg=0:1
        send: 0-253-0-254 s=4,c=1,t=2,pt=0,l=1,sg=0,st=ok:1
        read: 0-0-254 s=4,c=1,t=2,pt=0,l=1,sg=0:1
        send: 0-253-0-254 s=4,c=1,t=2,pt=0,l=1,sg=0,st=ok:1
        read: 0-0-254 s=4,c=1,t=2,pt=0,l=1,sg=0:1
        send: 0-253-0-254 s=4,c=1,t=2,pt=0,l=1,sg=0,st=ok:1
        read: 0-0-254 s=4,c=1,t=2,pt=0,l=1,sg=0:1
        

        There is no controller here, manually assigned ID's.

        Cheers

        1 Reply Last reply
        0
        • sundberg84S Offline
          sundberg84S Offline
          sundberg84
          Hardware Contributor
          wrote on last edited by sundberg84
          #11

          @barduino I have tried new hardware on repeater and my next thought was to clean GW eeprom and reload scetch.
          Im just guessing here - but maybe an old route stored in eeprom thats causing problem?
          Since three people now report this - i guess its inside the code somewhere...

          Its frustrating - all my sensors not using the repeater works fine... but my networks isnt much of a network without my repeater.

          Controller: Proxmox VM - Home Assistant
          MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
          MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
          RFLink GW - Arduino Mega + RFLink Shield, 433mhz

          1 Reply Last reply
          0
          • U Offline
            U Offline
            uandy
            wrote on last edited by uandy
            #12

            I am not sure, but may be it's problem of the new API version 1.5. Early I used 1.4, and all was ok.

            1 Reply Last reply
            0
            • sundberg84S Offline
              sundberg84S Offline
              sundberg84
              Hardware Contributor
              wrote on last edited by
              #13

              Maybe I should try adding some log/debug lines in the lib files... @hek do you have any good start point/specific file that you think i should look in?

              Controller: Proxmox VM - Home Assistant
              MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
              MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
              RFLink GW - Arduino Mega + RFLink Shield, 433mhz

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

                Strange. Might be something not working as intended in 1.5. We should probably ping @celonunes who did the last couple of changes in the routing here.

                1 Reply Last reply
                0
                • U Offline
                  U Offline
                  uandy
                  wrote on last edited by uandy
                  #15

                  I have reloaded my repeater node with Mysensors API 1.4.2. And all work fine! Now I use serial gateway (1.5) + repeater node (1.4.2) + sensors (1.5). And it works.

                  1 Reply Last reply
                  1
                  • sundberg84S Offline
                    sundberg84S Offline
                    sundberg84
                    Hardware Contributor
                    wrote on last edited by
                    #16

                    and i can also comfirm @uandy that this is working here as well.
                    Ethernet 1.4, Repeater 1.4.2 and Sensor 1.5

                    So the problem must be in the 1.5 repeater routing.

                    Controller: Proxmox VM - Home Assistant
                    MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                    MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                    RFLink GW - Arduino Mega + RFLink Shield, 433mhz

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

                      Trying to re-create your setup here.

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

                        @sundberg84 said:

                        send: 0-100-0-103 s=255,c=3,t=6,pt=0,l=1,sg=0,st=ok:M

                        Seeing the same thing here.

                        Getting closer.. the repeater seems to pick up "0" incorrectly from its routing table. In your case it should be 103.

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

                          Ok, with some help from @celonunes I think we found the problem.

                          It has been pushed to master.. just one little eeprom write that was missing. ;)

                          barduinoB 1 Reply Last reply
                          0
                          • sundberg84S Offline
                            sundberg84S Offline
                            sundberg84
                            Hardware Contributor
                            wrote on last edited by sundberg84
                            #20

                            @hek and @celonunes GREAT job - thank you.
                            You have saved my homeautomation system :)

                            Controller: Proxmox VM - Home Assistant
                            MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                            MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                            RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                            1 Reply Last reply
                            0
                            • hekH hek

                              Ok, with some help from @celonunes I think we found the problem.

                              It has been pushed to master.. just one little eeprom write that was missing. ;)

                              barduinoB Offline
                              barduinoB Offline
                              barduino
                              wrote on last edited by
                              #21

                              Thanks @hek!

                              Working fine now

                              Cheers

                              1 Reply Last reply
                              0
                              • sundberg84S Offline
                                sundberg84S Offline
                                sundberg84
                                Hardware Contributor
                                wrote on last edited by
                                #22

                                @hek Correct me if im wrong - but can this been a bug from 1.4?

                                I had 1.4 on another laptop, uploaded the repeaterscetch there... then my last relay (new and 1.5) didnt work (stupid me - i didnt check repeter log though) - bu I changed computer reuploaded the new 1.5 and the new relay worked.

                                Can be a good to know for people upgrading to 1.5 - if my finding is correct they should upgrade repeaters asap.

                                Controller: Proxmox VM - Home Assistant
                                MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                                MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                                RFLink GW - Arduino Mega + RFLink Shield, 433mhz

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

                                  Yes, this might very well be a bug in 1.4. But it could have been introduced late in 1.4 life as people have had repeaters working earlier.

                                  1 Reply Last reply
                                  0
                                  • sundberg84S Offline
                                    sundberg84S Offline
                                    sundberg84
                                    Hardware Contributor
                                    wrote on last edited by
                                    #24

                                    Ok - tnx! :)

                                    Controller: Proxmox VM - Home Assistant
                                    MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                                    MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                                    RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                                    1 Reply Last reply
                                    0
                                    • D Offline
                                      D Offline
                                      doblanch
                                      wrote on last edited by doblanch
                                      #25

                                      Hello Team,

                                      I think I fall into the same issue. My repeater goes into a loop (led is blinking continiously), and nothing is not longer working on the repeaterI changed everything (nano/NRF PA/LNA). NRF is powered externally, adding Cap also. Issue seems like to be the same. I can't connect full time in USB because my repeater is outside. Repeater stuck after between 1 day and 2 weeks.
                                      I have a serial console on the sensor, and after a while, packet are sent st=ok, but packets doesn't reach the GW which work correctly...
                                      I use library 1.5 for the repeater / node / GW (downloaded in august)... I don't understand the conclusion !!! What should I do, downgrade to 1.4 ??? what is the line code changed, to compare if I have the fix into my library already...

                                      please advise, I'm working on this issue since 3 months without any finding...Should I clear the eeprom ?
                                      Thanks a lot !

                                      1 Reply Last reply
                                      0
                                      • sundberg84S Offline
                                        sundberg84S Offline
                                        sundberg84
                                        Hardware Contributor
                                        wrote on last edited by sundberg84
                                        #26

                                        Hi @doblanch!
                                        This issue was resolved in 1.5 and if you are using 1.5 you should do fine!
                                        My repeaters use 1.5 and works great.

                                        Controller: Proxmox VM - Home Assistant
                                        MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                                        MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                                        RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                                        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.0k

                                        Posts


                                        Copyright 2019 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