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. Troubleshooting
  3. Ethernet gateway troubleshooting advice

Ethernet gateway troubleshooting advice

Scheduled Pinned Locked Moved Troubleshooting
w5100nrf24l01+ethernetveragateway
69 Posts 14 Posters 38.8k Views 6 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.
  • N Offline
    N Offline
    niccodemi
    wrote on last edited by
    #40

    I used latest Master library this time and patched RF24_config.h (enabled SoftSPI and changed pins), included DigitalIO. Sketch uploaded successfully, I get "gateway startup" message and I can ping it. Vera also communicates with gateway (lib version shows up, inclusion buttons work). Then I tried to include two independent nodes / sensors : distance and relay. I can only include relay node (no light button) and distance sensor (no node). I tried several times. Gateway always receives radio message but somehow doesn't relay all info to Vera? I rebuilt sensors with latest Master library (with softspi disabled). What else should I try?

    hekH 1 Reply Last reply
    0
    • N niccodemi

      I used latest Master library this time and patched RF24_config.h (enabled SoftSPI and changed pins), included DigitalIO. Sketch uploaded successfully, I get "gateway startup" message and I can ping it. Vera also communicates with gateway (lib version shows up, inclusion buttons work). Then I tried to include two independent nodes / sensors : distance and relay. I can only include relay node (no light button) and distance sensor (no node). I tried several times. Gateway always receives radio message but somehow doesn't relay all info to Vera? I rebuilt sensors with latest Master library (with softspi disabled). What else should I try?

      hekH Offline
      hekH Offline
      hek
      Admin
      wrote on last edited by
      #41

      @niccodemi

      Could you post serial monitor debug messages from gateway (maybe easiest when plugged into computer). Then restart a sensor to get some traffic.

      1 Reply Last reply
      0
      • N Offline
        N Offline
        niccodemi
        wrote on last edited by
        #42

        @hek see below, I included relay node, tried several times, only 1 device added (node, no relay button)

        0;0;3;0;14;Gateway startup complete.
        0;0;3;0;9;read: 3-3-0 s=1,c=1,t=13,pt=2,l=2:5
        3;1;1;0;13;5
        0;0;3;0;2;Get Version
        0;0;3;0;2;1.4
        0;0;3;0;9;read: 3-3-0 s=1,c=1,t=13,pt=2,l=2:21
        3;1;1;0;13;21
        0;0;3;0;5;1
        0;0;3;0;5;1
        0;0;3;0;9;read: 4-4-0 s=255,c=0,t=18,pt=0,l=3:1.4
        4;255;0;0;18;1.4
        0;0;3;0;9;read: 4-4-0 s=255,c=3,t=6,pt=1,l=1:0
        4;255;3;0;6;0
        0;0;3;0;9;read: 4-1-0 s=255,c=3,t=6,pt=1,l=1:0
        4;255;3;0;6;0
        0;0;3;0;9;read: 4-4-0 s=255,c=0,t=18,pt=0,l=3:1.4
        4;255;0;0;18;1.4
        0;0;3;0;9;read: 4-1-0 s=255,c=0,t=18,pt=0,l=3:1.4
        4;255;0;0;18;1.4
        0;0;3;0;9;read: 4-4-0 s=255,c=3,t=6,pt=1,l=1:0
        4;255;3;0;6;0
        0;0;3;0;9;read: 4-1-0 s=255,c=3,t=6,pt=1,l=1:0
        4;255;3;0;6;0
        0;0;3;0;5;0
        0;0;3;0;5;0
        0;0;3;0;2;Get Version
        0;0;3;0;2;1.4
        0;0;3;0;9;read: 4-4-0 s=255,c=0,t=18,pt=0,l=3:1.4
        4;255;0;0;18;1.4
        0;0;3;0;9;read: 4-1-0 s=255,c=0,t=18,pt=0,l=3:1.4
        4;255;0;0;18;1.4
        0;0;3;0;9;read: 4-4-0 s=255,c=3,t=6,pt=1,l=1:0
        4;255;3;0;6;0
        0;0;3;0;9;read: 4-1-0 s=255,c=3,t=6,pt=1,l=1:0
        4;255;3;0;6;0
        4;255;3;0;6;M
        0;0;3;0;9;send: 0-0-1-4 s=255,c=3,t=6,pt=0,l=1,st=fail:M
        4;255;3;0;6;M
        0;0;3;0;9;send: 0-0-1-4 s=255,c=3,t=6,pt=0,l=1,st=fail:M
        0;0;3;0;9;read: 4-4-0 s=255,c=3,t=11,pt=0,l=5:Relay
        4;255;3;0;11;Relay
        0;0;3;0;9;read: 4-4-0 s=255,c=3,t=12,pt=0,l=3:1.0
        4;255;3;0;12;1.0
        0;0;3;0;9;read: 4-4-0 s=1,c=0,t=3,pt=0,l=3:1.4
        4;1;0;0;3;1.4

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

          Looks like the sends is failing.

          @Anticimex told me he was investigating send-fails that evidently started when the updated RF24-with-SOFTSPI was introduced a couple of weeks ago.

          Hmm... somehow this new version could be affecting this. If rolling back would mean you'd lose SOFT-SPI-option.

          @Anticimex: Did you locate the problem?

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

            Something fishy is definitely going on: This is the log from a relay actuator I just hooked up.

            send: 5-5-0-0 s=1,c=0,t=3,pt=0,l=3,st=ok:1.4
            read: 5-1-0 s=1,c=0,t=3,pt=0,l=3:1.4
            read: 5-1-0 s=1,c=0,t=3,pt=0,l=3:1.4
            read: 5-1-0 s=1,c=0,t=3,pt=0,l=3:1.4

            After the last send it finds messages (the last 3) which gateway not should have sent. Almost as the gateways hardware ack-messages is picked up by the sensor as regular messages.

            You might wanna roll back until the root cause of the is found.

            Pinging @TMRh20Projects here also.

            This is the commit that is causing the problem: https://github.com/mysensors/Arduino/commit/2fd948fc6667460961194040bef635d25b4dfd8b

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

              I think I've found the problem and a patch has been check in to master branch. So @niccodemi download the latest and try again please.

              @marceltrapman this might be related to some the problems you experiences earlier as well.

              marceltrapmanM 1 Reply Last reply
              0
              • hekH hek

                I think I've found the problem and a patch has been check in to master branch. So @niccodemi download the latest and try again please.

                @marceltrapman this might be related to some the problems you experiences earlier as well.

                marceltrapmanM Offline
                marceltrapmanM Offline
                marceltrapman
                Mod
                wrote on last edited by
                #46

                @hek said:

                @marceltrapman this might be related to some the problems you experiences earlier as well.

                I would be really happy when my case is solved as well with this.
                Do I have to reload gateway, repeater, sensor or all sketches?

                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
                • hekH Offline
                  hekH Offline
                  hek
                  Admin
                  wrote on last edited by
                  #47

                  Yes, as it is related to acks both gateway and sensors is affected, But it does not solve the fetch-id-through-repeater problem we also discussed.
                  I really encourage people to update if they are running code from 10:th of september and after.

                  1 Reply Last reply
                  0
                  • AnticimexA Offline
                    AnticimexA Offline
                    Anticimex
                    Contest Winner
                    wrote on last edited by
                    #48

                    I have not yet had opportunity to dig. Is the problem already identified and solved?

                    Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

                    hekH 1 Reply Last reply
                    0
                    • AnticimexA Anticimex

                      I have not yet had opportunity to dig. Is the problem already identified and solved?

                      hekH Offline
                      hekH Offline
                      hek
                      Admin
                      wrote on last edited by
                      #49

                      @Anticimex

                      Yes, I think it is solved. The problem was there even before the RF24 update but it didn't manifest itself as much.

                      AnticimexA 1 Reply Last reply
                      0
                      • hekH hek

                        @Anticimex

                        Yes, I think it is solved. The problem was there even before the RF24 update but it didn't manifest itself as much.

                        AnticimexA Offline
                        AnticimexA Offline
                        Anticimex
                        Contest Winner
                        wrote on last edited by Anticimex
                        #50

                        @hek great. I'll verify tonight. I have a setup that easily reproduces the problem.

                        Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

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

                          I had to update master as it is a show-stopper-bug.

                          AnticimexA 1 Reply Last reply
                          0
                          • Dan S.D Offline
                            Dan S.D Offline
                            Dan S.
                            Hero Member
                            wrote on last edited by
                            #52

                            Since it is a change to Mysensor.cpp, then I assume all sketches are the same but every sketch that uses Mysensor.cpp (which is all sensors and the gateway) need to be compiled/uploaded again after downloading the new library?

                            hekH 1 Reply Last reply
                            0
                            • Dan S.D Dan S.

                              Since it is a change to Mysensor.cpp, then I assume all sketches are the same but every sketch that uses Mysensor.cpp (which is all sensors and the gateway) need to be compiled/uploaded again after downloading the new library?

                              hekH Offline
                              hekH Offline
                              hek
                              Admin
                              wrote on last edited by
                              #53

                              @Dan-S.

                              Yes, if you're running code fetched after Sep 10 (https://github.com/mysensors/Arduino/commit/01a6adb1ccaee4f8546cab607f963dc1d6da4b43).

                              1 Reply Last reply
                              0
                              • hekH hek

                                I had to update master as it is a show-stopper-bug.

                                AnticimexA Offline
                                AnticimexA Offline
                                Anticimex
                                Contest Winner
                                wrote on last edited by Anticimex
                                #54

                                @hek Sorry to report that it does not resolve the ACK-issue. I still have the same phenomenon.

                                EDIT: Forgot to update GW as well. It works flawlessly :)

                                Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

                                1 Reply Last reply
                                0
                                • Dan S.D Offline
                                  Dan S.D Offline
                                  Dan S.
                                  Hero Member
                                  wrote on last edited by
                                  #55

                                  Gateway and sensors updated. Running fine.

                                  1 Reply Last reply
                                  0
                                  • N Offline
                                    N Offline
                                    niccodemi
                                    wrote on last edited by
                                    #56

                                    @hek I tested with updated library and I can confirm that relay actuator and distance sensor work ok.

                                    1 Reply Last reply
                                    0
                                    • karenbobivK Offline
                                      karenbobivK Offline
                                      karenbobiv
                                      wrote on last edited by
                                      #57

                                      I was able to get the GW up and added the temp sensors finally. Thanks for the help. :)

                                      Dan S.D 1 Reply Last reply
                                      0
                                      • karenbobivK karenbobiv

                                        I was able to get the GW up and added the temp sensors finally. Thanks for the help. :)

                                        Dan S.D Offline
                                        Dan S.D Offline
                                        Dan S.
                                        Hero Member
                                        wrote on last edited by
                                        #58

                                        @karenbobiv Congratulations!!!

                                        1 Reply Last reply
                                        0
                                        • P Offline
                                          P Offline
                                          p0lar
                                          wrote on last edited by
                                          #59

                                          so is there a 1.4.1 coming out? :)

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


                                          8

                                          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