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. lost serial gateway after un plug power Rpi

lost serial gateway after un plug power Rpi

Scheduled Pinned Locked Moved Domoticz
45 Posts 8 Posters 13.8k 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.
  • R Offline
    R Offline
    Reza
    wrote on last edited by Reza
    #1

    hi guys
    after un plug raspberry pi and plug in power again , my serial gateway (mysensors) is lost , so i must disconnect USB cable (serial gateway) and connect again every time. . . !!!
    where problem !?

    0_1474810074123_ksksk.jpg

    1 Reply Last reply
    0
    • R Offline
      R Offline
      Reza
      wrote on last edited by Reza
      #2

      anybody test this issue !? and have same problem !

      1 Reply Last reply
      0
      • nagelcN Offline
        nagelcN Offline
        nagelc
        wrote on last edited by
        #3

        I have this exact problem. I have 2 gateways, a moteino USB for RFM69 radios and a nano for an NRF24 radios.
        Domoticz running on a raspberry pi.
        If I reboot the pi, or power down and restart, the moteino connects back up automatically.
        For the nano, I have to unplug and reconnect it after the pi has booted up, or it won't be detected.

        1 Reply Last reply
        1
        • tbowmoT Offline
          tbowmoT Offline
          tbowmo
          Admin
          wrote on last edited by
          #4

          I have never experienced this. I'm using a nano with nrf24.

          Could be a hardware issue with your arduino.

          1 Reply Last reply
          1
          • R Offline
            R Offline
            Reza
            wrote on last edited by Reza
            #5

            i think that this problem is related to startup . when plug in power (rasspberry pi ) , the serial gateway is faster to startup than rasspberry. so when raspberry pi is startup dont detect serial gateway !!! are there any ways for this ? for example a delay for turn on gateway or startup until first raspberry pi started!

            1 Reply Last reply
            0
            • AWIA Offline
              AWIA Offline
              AWI
              Hero Member
              wrote on last edited by AWI
              #6

              The possible cause is that the Raspberry-Pi has no consistency in assigning USB port numbers. This occurs mainly when you have more than 1 USB port in use. Read for a solution..
              Btw I never experienced it running 3 PI's with each a serial gateway.

              R 1 Reply Last reply
              1
              • AWIA AWI

                The possible cause is that the Raspberry-Pi has no consistency in assigning USB port numbers. This occurs mainly when you have more than 1 USB port in use. Read for a solution..
                Btw I never experienced it running 3 PI's with each a serial gateway.

                R Offline
                R Offline
                Reza
                wrote on last edited by Reza
                #7

                @AWI
                i test this but dont work.
                0_1474891685019_Untitledksks.jpg

                AWIA 1 Reply Last reply
                0
                • R Reza

                  @AWI
                  i test this but dont work.
                  0_1474891685019_Untitledksks.jpg

                  AWIA Offline
                  AWIA Offline
                  AWI
                  Hero Member
                  wrote on last edited by
                  #8

                  @Reza What does not work?

                  R 1 Reply Last reply
                  1
                  • AWIA AWI

                    @Reza What does not work?

                    R Offline
                    R Offline
                    Reza
                    wrote on last edited by
                    #9

                    @AWI

                    after turn off Rpi ,lost serial gateway yet

                    AWIA 1 Reply Last reply
                    0
                    • R Reza

                      @AWI

                      after turn off Rpi ,lost serial gateway yet

                      AWIA Offline
                      AWIA Offline
                      AWI
                      Hero Member
                      wrote on last edited by
                      #10

                      @Reza Do you reboot or just unplug the PI? You can also try to enable the "Data Timeout" in Domoticz, that way it searches actively when not found in first instance

                      R 1 Reply Last reply
                      1
                      • AWIA AWI

                        @Reza Do you reboot or just unplug the PI? You can also try to enable the "Data Timeout" in Domoticz, that way it searches actively when not found in first instance

                        R Offline
                        R Offline
                        Reza
                        wrote on last edited by
                        #11

                        @AWI

                        first i reboot and lost serial. i test once unplug. in both serial gateway is lost... data timeout must disable !!!!

                        AWIA 1 Reply Last reply
                        0
                        • R Reza

                          @AWI

                          first i reboot and lost serial. i test once unplug. in both serial gateway is lost... data timeout must disable !!!!

                          AWIA Offline
                          AWIA Offline
                          AWI
                          Hero Member
                          wrote on last edited by
                          #12

                          @Reza said:

                          data timeout must disable !

                          Whatever :confused:

                          If you are using a good quality Nano with default sketch I am out of options.

                          R 1 Reply Last reply
                          1
                          • AWIA AWI

                            @Reza said:

                            data timeout must disable !

                            Whatever :confused:

                            If you are using a good quality Nano with default sketch I am out of options.

                            R Offline
                            R Offline
                            Reza
                            wrote on last edited by
                            #13

                            @AWI
                            :(

                            AWIA 1 Reply Last reply
                            0
                            • R Reza

                              @AWI
                              :(

                              AWIA Offline
                              AWIA Offline
                              AWI
                              Hero Member
                              wrote on last edited by
                              #14

                              @Reza 0_1474892836376_upload-73dba86d-b2df-491d-af4b-132b615acf8f

                              R 1 Reply Last reply
                              2
                              • AWIA AWI

                                @Reza 0_1474892836376_upload-73dba86d-b2df-491d-af4b-132b615acf8f

                                R Offline
                                R Offline
                                Reza
                                wrote on last edited by
                                #15

                                @AWI
                                :)
                                I'm tired for this problem :/
                                thank you

                                1 Reply Last reply
                                0
                                • R Offline
                                  R Offline
                                  Reza
                                  wrote on last edited by
                                  #16

                                  i think if Rpi gateway complete and test... this is can resolved this problem ! is that correct? so i must wait...

                                  1 Reply Last reply
                                  0
                                  • tbowmoT Offline
                                    tbowmoT Offline
                                    tbowmo
                                    Admin
                                    wrote on last edited by
                                    #17

                                    @Reza

                                    I assume that you have tried to look at lsusb, dmesg, and /dev population, when the device is not turning up in Domoticz?

                                    Does any of those indicate something bad / interesting?

                                    R 1 Reply Last reply
                                    1
                                    • tbowmoT tbowmo

                                      @Reza

                                      I assume that you have tried to look at lsusb, dmesg, and /dev population, when the device is not turning up in Domoticz?

                                      Does any of those indicate something bad / interesting?

                                      R Offline
                                      R Offline
                                      Reza
                                      wrote on last edited by
                                      #18

                                      @tbowmo
                                      I can not understand what you mean !!!
                                      but after all my try , after reset (Rpi) or turn off .... my serial gateway is lost and i must unplug usb cable and plug in again.

                                      1 Reply Last reply
                                      0
                                      • tbowmoT Offline
                                        tbowmoT Offline
                                        tbowmo
                                        Admin
                                        wrote on last edited by
                                        #19

                                        after you have powered on your raspberry, you log in

                                        then at the command prompt you type:

                                        lsusb

                                        -> provide the output

                                        unplug / plug the usb device

                                        once more in your terminal
                                        lsusb
                                        -> provide output

                                        the same for dmesg. In a terminal type "dmesg" hit return, and provide the output, both before you unplug a device that is not working, and after you have done it, and it is working.

                                        R 3 Replies Last reply
                                        1
                                        • tbowmoT tbowmo

                                          after you have powered on your raspberry, you log in

                                          then at the command prompt you type:

                                          lsusb

                                          -> provide the output

                                          unplug / plug the usb device

                                          once more in your terminal
                                          lsusb
                                          -> provide output

                                          the same for dmesg. In a terminal type "dmesg" hit return, and provide the output, both before you unplug a device that is not working, and after you have done it, and it is working.

                                          R Offline
                                          R Offline
                                          Reza
                                          wrote on last edited by Reza
                                          #20

                                          @tbowmo 0_1474903726513_12.jpg

                                          "the same for dmesg. In a terminal type "dmesg" hit return, and provide the output, both before you unplug a device that is not working, and after you have done it, and it is working."

                                          for this , what am i do ?

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


                                          13

                                          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