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. Controllers
  3. Domoticz
  4. Ethernet vs Serial gateway performance.

Ethernet vs Serial gateway performance.

Scheduled Pinned Locked Moved Domoticz
26 Posts 7 Posters 8.6k Views 7 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.
  • ahmedadelhosniA Offline
    ahmedadelhosniA Offline
    ahmedadelhosni
    wrote on last edited by ahmedadelhosni
    #1

    Hello

    It is kind of a silly question but does anyone have any lesson learned regarding which gateway can handle packets better and also regarding serial port stability.

    For example if some packets were missed when using serial and after switching to ethernet everything was fine.

    Personally I have used serial for a short period with OpenHab. My problem was that sometimes the usb port in the laptop (windows) stops working and I had to disable and enable it again. Thus I was afraid to face the same problem usinh Raspberry pi. Thus I am using Ethernet.

    But Currently for ease of hardware assembly I want to use Serial again but would like you to share your experience with using Serial gateway and whether it is stable i.e. won't stop, and also can handle packets (maybe someome can define the minimum number of packets per second which the Serial can handle)

    Thanks.

    1 Reply Last reply
    0
    • ahmedadelhosniA Offline
      ahmedadelhosniA Offline
      ahmedadelhosni
      wrote on last edited by
      #2

      you have any experience to tell me which is better please ? @mfalkvidd

      1 Reply Last reply
      0
      • mfalkviddM Offline
        mfalkviddM Offline
        mfalkvidd
        Mod
        wrote on last edited by
        #3

        I haven't got any ethernet gateways unfortunately. these posts have some cluses though:
        http://forum.mysensors.org/topic/594/arduino-yun-linino-openwrt/14
        http://forum.mysensors.org/topic/2437/step-by-step-procedure-to-connect-the-nrf24l01-to-the-gpio-pins-and-use-the-raspberry-as-a-serial-gateway/10

        ahmedadelhosniA 1 Reply Last reply
        0
        • mfalkviddM mfalkvidd

          I haven't got any ethernet gateways unfortunately. these posts have some cluses though:
          http://forum.mysensors.org/topic/594/arduino-yun-linino-openwrt/14
          http://forum.mysensors.org/topic/2437/step-by-step-procedure-to-connect-the-nrf24l01-to-the-gpio-pins-and-use-the-raspberry-as-a-serial-gateway/10

          ahmedadelhosniA Offline
          ahmedadelhosniA Offline
          ahmedadelhosni
          wrote on last edited by ahmedadelhosni
          #4

          @mfalkvidd Thanks for the links.

          So this means that you have no trouble using serial gateway or you mean your setup is using raspberry pi + nrf like the second link ?

          1 Reply Last reply
          0
          • mfalkviddM Offline
            mfalkviddM Offline
            mfalkvidd
            Mod
            wrote on last edited by
            #5

            I am using the direct gpio connection on my 5 Raspberry Pi's.

            ahmedadelhosniA 1 Reply Last reply
            1
            • alexsh1A Offline
              alexsh1A Offline
              alexsh1
              wrote on last edited by
              #6

              @ahmedadelhosni I think it is a matter of taste. You can either emulate GW with a software or have it separate (Ethernet). With the latest RPi 3 performance is not an issue.

              Personally, I like Ethernet GW for several reasons. 1) Serial GW was lacking development (MYS 1.4 ver) 2) If there are software issues (like 100% processor usage) you won't be able to receive/send anything.

              ahmedadelhosniA 1 Reply Last reply
              0
              • mfalkviddM mfalkvidd

                I am using the direct gpio connection on my 5 Raspberry Pi's.

                ahmedadelhosniA Offline
                ahmedadelhosniA Offline
                ahmedadelhosni
                wrote on last edited by
                #7

                @mfalkvidd 5 ? What 5 :) ?

                mfalkviddM 1 Reply Last reply
                0
                • alexsh1A alexsh1

                  @ahmedadelhosni I think it is a matter of taste. You can either emulate GW with a software or have it separate (Ethernet). With the latest RPi 3 performance is not an issue.

                  Personally, I like Ethernet GW for several reasons. 1) Serial GW was lacking development (MYS 1.4 ver) 2) If there are software issues (like 100% processor usage) you won't be able to receive/send anything.

                  ahmedadelhosniA Offline
                  ahmedadelhosniA Offline
                  ahmedadelhosni
                  wrote on last edited by ahmedadelhosni
                  #8

                  @alexsh1 I have not used MYS yet. Isnt it for OTA updates ?

                  alexsh1A 1 Reply Last reply
                  0
                  • ahmedadelhosniA ahmedadelhosni

                    @alexsh1 I have not used MYS yet. Isnt it for OTA updates ?

                    alexsh1A Offline
                    alexsh1A Offline
                    alexsh1
                    wrote on last edited by
                    #9

                    @ahmedadelhosni said:

                    @alexsh1 I have not used MYS yet. Isnt it for OTA updates ?

                    It is not MYS connector, it is MySensors v1.4 ;-0

                    1 Reply Last reply
                    0
                    • ahmedadelhosniA ahmedadelhosni

                      @mfalkvidd 5 ? What 5 :) ?

                      mfalkviddM Offline
                      mfalkviddM Offline
                      mfalkvidd
                      Mod
                      wrote on last edited by
                      #10

                      @ahmedadelhosni said:

                      @mfalkvidd 5 ? What 5 :) ?

                      Yes :-) One at home, four at work in different offices (Göteborg, Stockholm, Münich and Tulsa)

                      fetsF YveauxY 2 Replies Last reply
                      0
                      • mfalkviddM mfalkvidd

                        @ahmedadelhosni said:

                        @mfalkvidd 5 ? What 5 :) ?

                        Yes :-) One at home, four at work in different offices (Göteborg, Stockholm, Münich and Tulsa)

                        fetsF Offline
                        fetsF Offline
                        fets
                        wrote on last edited by
                        #11

                        @mfalkvidd since your first answer I was wondering what could you do at home with 5 GW !!!
                        Thanks for clearifying things up :)

                        1 Reply Last reply
                        0
                        • mfalkviddM mfalkvidd

                          @ahmedadelhosni said:

                          @mfalkvidd 5 ? What 5 :) ?

                          Yes :-) One at home, four at work in different offices (Göteborg, Stockholm, Münich and Tulsa)

                          YveauxY Offline
                          YveauxY Offline
                          Yveaux
                          Mod
                          wrote on last edited by
                          #12

                          @mfalkvidd that's a lot of plants to monitor :bowtie:

                          http://yveaux.blogspot.nl

                          mfalkviddM 1 Reply Last reply
                          1
                          • YveauxY Yveaux

                            @mfalkvidd that's a lot of plants to monitor :bowtie:

                            mfalkviddM Offline
                            mfalkviddM Offline
                            mfalkvidd
                            Mod
                            wrote on last edited by mfalkvidd
                            #13

                            @Yveaux Indeed. I've got requests from one partner in New York and one in California as well, will configure gw's for them and ship next week. Next up is Bangalore, India. It is a really fun project :)
                            Status for the plants can be seen live here if anyone is curious. Just click the big "PRESS HERE TO ACCESS THE DEMO SYSTEM" button and you'll be logged in.

                            Screen dump:
                            0_1457125970743_demo.png

                            YveauxY 1 Reply Last reply
                            3
                            • mfalkviddM mfalkvidd

                              @Yveaux Indeed. I've got requests from one partner in New York and one in California as well, will configure gw's for them and ship next week. Next up is Bangalore, India. It is a really fun project :)
                              Status for the plants can be seen live here if anyone is curious. Just click the big "PRESS HERE TO ACCESS THE DEMO SYSTEM" button and you'll be logged in.

                              Screen dump:
                              0_1457125970743_demo.png

                              YveauxY Offline
                              YveauxY Offline
                              Yveaux
                              Mod
                              wrote on last edited by
                              #14

                              @mfalkvidd nice! Thanks for the link!

                              http://yveaux.blogspot.nl

                              1 Reply Last reply
                              0
                              • ahmedadelhosniA Offline
                                ahmedadelhosniA Offline
                                ahmedadelhosni
                                wrote on last edited by
                                #15

                                WOOOW :) This is really great.

                                I do really want to switch to pi + nrf like in your tutorial, but I need to add signing ( as I have asked before ) :)
                                Maybe I will begin first with running it and then see how to enable the singing.

                                THanks for your help.

                                1 Reply Last reply
                                0
                                • SuperKrisS Offline
                                  SuperKrisS Offline
                                  SuperKris
                                  wrote on last edited by
                                  #16

                                  I have Domoticz with a RFlink (433mhz kit with aurel transiever on a arduino mega). Its connected to my raspberry pi 2 with Jessie trough USB. This works great. Domoticz always sees the RFlink kit, and communication works flawless.

                                  After reading al lot about mysensors i ordered a whole lot of of arduino and nRF24L01stuff. After reading this topic, i still dont see any real reasons for choosing USB(serial) or Ethernet.

                                  • I will place my mysensors gateway next to my Raspberry with Jessie
                                  • For not i only want to acces my nRF24L01 mysensor network with Domoticz
                                  • Power usage should be as low as possible
                                  • Connecting the gateway with Domoticz should be as plug and play as possible
                                  • I dont care about the extra costs of a ethernet gateway

                                  Next to the above, i have a small preference for a USB gateway, so i dont have to be carefull with IP addresses, configs, etc.

                                  What are the advantages or disadvantages between a USB(serial) gateway, and a Ethernet gateway? I'm planning to use a Arduino nano, or a UNO.

                                  Your advice is very welcome!

                                  alexsh1A 1 Reply Last reply
                                  0
                                  • SuperKrisS SuperKris

                                    I have Domoticz with a RFlink (433mhz kit with aurel transiever on a arduino mega). Its connected to my raspberry pi 2 with Jessie trough USB. This works great. Domoticz always sees the RFlink kit, and communication works flawless.

                                    After reading al lot about mysensors i ordered a whole lot of of arduino and nRF24L01stuff. After reading this topic, i still dont see any real reasons for choosing USB(serial) or Ethernet.

                                    • I will place my mysensors gateway next to my Raspberry with Jessie
                                    • For not i only want to acces my nRF24L01 mysensor network with Domoticz
                                    • Power usage should be as low as possible
                                    • Connecting the gateway with Domoticz should be as plug and play as possible
                                    • I dont care about the extra costs of a ethernet gateway

                                    Next to the above, i have a small preference for a USB gateway, so i dont have to be carefull with IP addresses, configs, etc.

                                    What are the advantages or disadvantages between a USB(serial) gateway, and a Ethernet gateway? I'm planning to use a Arduino nano, or a UNO.

                                    Your advice is very welcome!

                                    alexsh1A Offline
                                    alexsh1A Offline
                                    alexsh1
                                    wrote on last edited by
                                    #17

                                    @Kristiaan-Nugteren said:

                                    What are the advantages or disadvantages between a USB(serial) gateway, and a Ethernet gateway? I'm planning to use a Arduino nano, or a UNO.

                                    This is really a loaded question. I suppose there are pros and cons - personally I wanted to have a separate GW with an IP address. Additionally, the Ethernet GW is updated regularly. Pros of a serial GW are 1) simplicity 2) all in one design 3) no need for a separate box/PSU. On the other hand, it is not updated regularly. I think the latest software when I looked at it in December 2015 was MySensors v1.4

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

                                      On the other hand, it is not updated regularly

                                      I don't really understand the argumentation here, why should the serial gateway be updated regularity? It's a good sign you don't have to do frequent updates of it.

                                      The serial gateway is much simpler than the ethernet variant => Less can go wrong. :)

                                      1 Reply Last reply
                                      0
                                      • alexsh1A Offline
                                        alexsh1A Offline
                                        alexsh1
                                        wrote on last edited by
                                        #19

                                        @hek

                                        I am not suggesting this is good or bad. This is the fact that one has got 1.5 or 1.6 (dev) and the other one only 1.4 unless anything changed.

                                        I did experience issues with the serial set-up. I think it is due to the fact that I have multiple scripts running on my RPi and it was more due to one of those scripts taking too much processing power and not due to the serial software.

                                        1 Reply Last reply
                                        0
                                        • ahmedadelhosniA Offline
                                          ahmedadelhosniA Offline
                                          ahmedadelhosni
                                          wrote on last edited by ahmedadelhosni
                                          #20

                                          @alexsh1 What do you mean by not updates regulary ? You mean it updates on serial interrupts while ethernet is always running in a loop ?

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


                                          17

                                          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