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.
  • tbowmoT tbowmo

    @Reza

    Not that I know of..

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

    @tbowmo
    I'm looking for a solution for this issue :)
    thank you

    1 Reply Last reply
    0
    • peerkersezuukerP Offline
      peerkersezuukerP Offline
      peerkersezuuker
      wrote on last edited by
      #42

      I have the same problem, i posted a question at the Domoticz Forum :
      Not reconnecting serial portt

      Greetz Peer

      Domoticz / My Sensors / Z-Wave
      https://www.kermisbuks.nl

      1 Reply Last reply
      0
      • bjacobseB Offline
        bjacobseB Offline
        bjacobse
        wrote on last edited by
        #43

        Somehow I think it's more related to the linux kernel than it's a mysensors or Domticz related issue
        I would start to check which linux kernel you are using with uname -a and then start to search from this
        Maybe it could also be USB power related? Try to use a better USB power supply to your RPI
        https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=53832

        1 Reply Last reply
        1
        • dbemowskD Offline
          dbemowskD Offline
          dbemowsk
          wrote on last edited by
          #44

          Why not connect the gateway to one of the onboard serial ports through the GPIO header? I have an Orange Pi which has a GPIO header that is pin compatible with the Raspberry Pi and I ran my gateway from there with no problems. I used pins 6, 8 and 10 which for me was /dev/ttyS3:
          alt text
          The trick in doing this with Domoticz is to create a synlink. The reason for this is that Domoticz looks for a ttyUSBxxx device, so with the symlink you are basically tricking Domoticz into thinking that the onboard serial port is USB. In my case I created a symlink for ttyS3 to ttyUSB30 like this:

          sudo ln -s /dev/ttyS3 /dev/ttyUSB30
          

          This way you avoid having the problem of USB devices not being detected on boot.

          Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
          Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

          1 Reply Last reply
          1
          • peerkersezuukerP Offline
            peerkersezuukerP Offline
            peerkersezuuker
            wrote on last edited by
            #45

            Thank's for the answers to this problem.
            They didn't work for me, but i think i solved mine.
            Stop monitoring the serial port for data from a terminal session.
            See my post at Domoticz forum.

            Domoticz / My Sensors / Z-Wave
            https://www.kermisbuks.nl

            1 Reply Last reply
            1
            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.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