Opening serial port error to switch

433Mhz opensource Receiver & Transmitter.

Moderators: leecollings, Stuntteam

Post Reply
ulysse132
Posts: 1
Joined: Wednesday 12 September 2018 12:59
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Opening serial port error to switch

Post by ulysse132 »

Hello everybody,

I hope I'm in the right place...
Sometimes, after a reboot of my RPi3, my RFlink gateway can't be reached and i have this error :

Code: Select all

2018-09-12 13:07:31.777 Error: RFLink: Error opening serial port!
I fixed the usb port but this doesn't fix the problem.

The only way I found to fix this, is to disconnect and reconnect the usb cable to make it work.
(I've already changed the usb cable, don't search this way)

I found a way to fix this without disconnecting the cable when the problem occurs using this trick. It's not very clear but it works, I'll find a way to clean this later.

The only thing left is to detect when the problem occurs.
Is there a way to active a dummy switch when the problem occurs or to detect the problem using a script and a cron job ?

Thanks a lot for your help !
Tonio16
Posts: 45
Joined: Friday 23 February 2018 20:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: France
Contact:

Re: Opening serial port error to switch

Post by Tonio16 »

Hello

I have something similar.

After some times, days our hours, the USB port of the RFLink is vanishing,i.e. Not visible either with domoticz or directly under the Pi. I tried to unplug it and plug it again, it doesn't work, reboot also. I have to unplug and to reboot. After I can plug the RFLink and I can see it again in Domoticz. I will try the trick of ulyss132.

I am running it on Pi 3b+ with a ssd and all components are on their own power supply. Last stretch and Domoticz 4.9700.

I recently changed the Arduino board to one with a CH340 but it didn't solved the problem.

The disconnection looks to geting worst with the time of use. My last start worked for 2-3 hours only.

If somebody would have some hints to understand what is going on.

Cheers
Antoine

Ps: I am going to try another USB cable, it looks to be the usual solution.
Tonio16
Posts: 45
Joined: Friday 23 February 2018 20:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: France
Contact:

Re: Opening serial port error to switch

Post by Tonio16 »

The new USB cable looks to be a good solution.

Cheers

Antoine
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests