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. General Discussion
  3. I am a bit confused over wiring ethernet gateway

I am a bit confused over wiring ethernet gateway

Scheduled Pinned Locked Moved General Discussion
14 Posts 3 Posters 2.7k Views 2 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.
  • mark_vennM Offline
    mark_vennM Offline
    mark_venn
    wrote on last edited by
    #3

    Thanks @hek I have set it up that way and I have made the softspi change to the code but I am now getting the 0;0;3;0;9;radio init fail error. I have the 4.7uF cap in and all the connectors are tight. Is there any other ways of getting more info out than 0;0;3;0;9;radio init fail ?
    I am using a wireless chip that seems to work ok in a serial gateway.

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

      Does the radio still fail If you remove power from the w5100 while starting up? It's quite power hungry.

      1 Reply Last reply
      0
      • mark_vennM Offline
        mark_vennM Offline
        mark_venn
        wrote on last edited by
        #5

        I am powering the Uno with 12 v not just the usb power.

        I have now set the uno up as a temp / humidity sensor and I am seeing:
        req id
        send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok:
        sensor started, id=255, parent=0, distance=1
        req id
        send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=fail:
        req id
        send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=fail:
        req id
        send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=fail:
        req id
        send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=fail:
        req id
        send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=fail:
        T: 23.00
        req id
        send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=fail:
        H: 49.00

        I can see some entries in the gateway serial when I restart the dht sensor:
        0;0;3;0;9;gateway started, id=0, parent=0, distance=0
        0;0;3;0;14;Gateway startup complete.
        0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
        255;255;3;0;3;
        0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
        255;255;3;0;3;
        0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
        255;255;3;0;3;
        0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
        255;255;3;0;3;
        0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
        255;255;3;0;3;
        0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
        255;255;3;0;3;
        0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
        255;255;3;0;3;

        so I assume the radio is working properly. Should I see the temp and humidity values in the gateway output in the way I do in the sensor output?

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

          req id means it tries to fetch an ID from the controller - do you use a controller that can assign ID?

          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

          mark_vennM 1 Reply Last reply
          0
          • sundberg84S sundberg84

            req id means it tries to fetch an ID from the controller - do you use a controller that can assign ID?

            mark_vennM Offline
            mark_vennM Offline
            mark_venn
            wrote on last edited by
            #7

            @sundberg84
            Hi
            Yes, I am using a gateway that will hand out an address ok to another sensor so that seems ok. The gateway does seems to see something coming in when I restart the dht sensor so I am assuing it is something wrong in the software. I have swapped the radio over with the gateway and this seems ok with the motion sensor that has been handed id 105. I am not with the hardware at the moment, I will have a look at the software and see if I can see anytbing I have messed up but can't test till later. I might try a different sensor instead so I am using different software. I have a few different bits to play with.

            Thanks for the reply

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

              @mark_venn The gateway does not hand out any ID - you need a controller like Vera or Domoticz behind to do that. If you dont have that the node will keep asking if you dont set it manually - do you have that (I guess since its worked with another node).

              If you think its in the software, clearing the eeprom might be useful

              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

              mark_vennM 1 Reply Last reply
              0
              • sundberg84S sundberg84

                @mark_venn The gateway does not hand out any ID - you need a controller like Vera or Domoticz behind to do that. If you dont have that the node will keep asking if you dont set it manually - do you have that (I guess since its worked with another node).

                If you think its in the software, clearing the eeprom might be useful

                mark_vennM Offline
                mark_vennM Offline
                mark_venn
                wrote on last edited by mark_venn
                #9

                @sundberg84
                I am not attached to a controller at the moment; the traces on the gateway with a motion sensor have worked differently then. I assume the code for the motion sensor has a hard coded value in then?

                0;0;3;0;9;gateway started, id=0, parent=0, distance=0
                0;0;3;0;14;Gateway startup complete.
                0;0;3;0;9;read: 105-105-0 s=255,c=3,t=15,pt=2,l=2,sg=0:0
                105;255;3;0;15;0
                0;0;3;0;9;read: 105-105-0 s=255,c=0,t=17,pt=0,l=5,sg=0:1.5.4
                105;255;0;0;17;1.5.4
                0;0;3;0;9;read: 105-105-0 s=255,c=3,t=6,pt=1,l=1,sg=0:0
                105;255;3;0;6;0
                0;0;3;0;9;read: 105-105-0 s=255,c=3,t=11,pt=0,l=13,sg=0:Motion Sensor
                105;255;3;0;11;Motion Sensor

                ...
                ...
                ...
                0;0;3;0;9;read: 105-105-0 s=1,c=1,t=16,pt=0,l=1,sg=0:1
                105;1;1;0;16;1
                0;0;3;0;9;read: 105-105-0 s=1,c=1,t=16,pt=0,l=1,sg=0:0
                105;1;1;0;16;0
                0;0;3;0;9;read: 105-105-0 s=1,c=1,t=16,pt=0,l=1,sg=0:1
                105;1;1;0;16;1
                0;0;3;0;9;read: 105-105-0 s=1,c=1,t=16,pt=0,l=1,sg=0:0
                105;1;1;0;16;0

                The gateway I am using is the serial gateway running on a nano

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

                  @mark_venn - as i said, you need a controller if you want to use automatic ID.
                  Your motion dec is probably hardcoded ID as many examples are in the forum.

                  Use gw.begin(NULL, AUTO, true) change auto to nodeID and true to false if you have battery sensor

                  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

                  mark_vennM 1 Reply Last reply
                  0
                  • sundberg84S sundberg84

                    @mark_venn - as i said, you need a controller if you want to use automatic ID.
                    Your motion dec is probably hardcoded ID as many examples are in the forum.

                    Use gw.begin(NULL, AUTO, true) change auto to nodeID and true to false if you have battery sensor

                    mark_vennM Offline
                    mark_vennM Offline
                    mark_venn
                    wrote on last edited by
                    #11

                    @sundberg84
                    I am going to hok the whole system up to openHAB or possibly Domoticz once I have more sensors working. I am most likely to use MQTT as the final gateway but wanted to get something working, the ethernet gateway would not work properly. I think MQTT will give me more data space to pass messages around. I am going to tyr the ethernet gw again tonight once I get back from uni

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

                      I would suggest using the development branch. No special configuration is needed for the W5100 sketch.

                      mark_vennM 1 Reply Last reply
                      0
                      • hekH hek

                        I would suggest using the development branch. No special configuration is needed for the W5100 sketch.

                        mark_vennM Offline
                        mark_vennM Offline
                        mark_venn
                        wrote on last edited by
                        #13

                        @hek
                        Does this include not needing the softspi fix?

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

                          It's enabled automatically for the w5100 gateway.

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


                          25

                          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