lost serial gateway after un plug power Rpi
-
I have the same problem, i posted a question at the Domoticz Forum :
Not reconnecting serial porttGreetz Peer
-
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 -
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:
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/ttyUSB30This way you avoid having the problem of USB devices not being detected on boot.
-
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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login