RFXCom - Error Connecting to USB: Error: Serial Port closed!... Error: End of file

Moderator: leecollings

Post Reply
Licht2002
Posts: 4
Joined: Sunday 27 February 2022 10:07
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

RFXCom - Error Connecting to USB: Error: Serial Port closed!... Error: End of file

Post by Licht2002 »

Hello Experts,

since two Days i get an error - every 30sec USB connects und disconnect my RFXCom XL from USB....

Code: Select all

2022-02-27 10:02:25.902 subtype = Interface Response 
2022-02-27 10:02:25.902 Sequence nbr = 18 
2022-02-27 10:02:25.902 response on cmnd = Get Status 
2022-02-27 10:02:25.902 Transceiver type = 433.92MHz 
2022-02-27 10:02:25.902 Firmware version = 1044 
2022-02-27 10:02:25.902 Firmware type = Pro XL1 
2022-02-27 10:02:25.902 Noise Level: 126 
2022-02-27 10:02:25.902 Hardware version = 3.1 
.... her are some lines with the protocols
2022-02-27 10:02:25.250 Status: RFXCom: Using serial port: /dev/ttyUSB2 
2022-02-27 10:02:25.902 Status: RFXCom: Async Disabled 
2022-02-27 10:02:31.409 subtype = Wrong command received from application (40) 
2022-02-27 10:02:31.409 Sequence nbr = 7 
2022-02-27 10:02:31.826 Status: RFXCom: retrying in 30 seconds... 
2022-02-27 10:02:31.409 Error: Serial Port closed!... Error: End of file 
Raspberry Pi4 Buster
RFXCom connected directly to USB / No Hub
Version 2022.1

Whats wrong - i can't find an issue!?!?

Btw: Same Problem with

Code: Select all

Using serial port: /dev/serial/by-id/usb-RFXCOM_RFXtrx433XL_DO5O57NE-if00-port0 
2022-02-27 10:22:49.439 Status: RFXCom: Async Disabled 
2022-02-27 10:22:56.364 Status: RFXCom: retrying in 30 seconds... 
Zwischenablage01.jpg
Zwischenablage01.jpg (221.97 KiB) Viewed 1857 times
Thx for your help!!!
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: RFXCom - Error Connecting to USB: Error: Serial Port closed!... Error: End of file

Post by waltervl »

Power supply is loosing power?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Licht2002
Posts: 4
Joined: Sunday 27 February 2022 10:07
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: RFXCom - Error Connecting to USB: Error: Serial Port closed!... Error: End of file

Post by Licht2002 »

Thx waltervl,

Yes - i use a new 4A USB-C Supply since yesterday, before it was a 3A USB-C.
waltervl wrote: Sunday 27 February 2022 11:46 Power supply is loosing power?
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: RFXCom - Error Connecting to USB: Error: Serial Port closed!... Error: End of file

Post by waltervl »

And since then you have this issue?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Licht2002
Posts: 4
Joined: Sunday 27 February 2022 10:07
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: RFXCom - Error Connecting to USB: Error: Serial Port closed!... Error: End of file

Post by Licht2002 »

No... the issue was before. I also thing, there is a Power-Problem...
waltervl wrote: Sunday 27 February 2022 12:12 And since then you have this issue?
PieterS
Posts: 195
Joined: Wednesday 31 May 2017 16:06
Target OS: NAS (Synology & others)
Domoticz version: 2024.7
Location: NL
Contact:

Re: RFXCom - Error Connecting to USB: Error: Serial Port closed!... Error: End of file

Post by PieterS »

Maybe to many protocols enabled?? I thought the manual advise is only the ones needed..
And maybe to many other devices connected to your RPI?
Synology with Domoticz build (V2024.7) in Docker
b_weijenberg
Posts: 517
Joined: Friday 12 July 2013 18:13
Target OS: -
Domoticz version:
Location: Netherlands
Contact:

Re: RFXCom - Error Connecting to USB: Error: Serial Port closed!... Error: End of file

Post by b_weijenberg »

Enabled protocols is no reason for this problem.
In most cases it is a bad power delivered by the RPI to the USB.

Try another USB cable, use a powered USB hub or use the RFXtrxLAN.
The RFXtrxLAN (LAN or Wifi version) has his own power supply and can be located on the best location for 433 receive and transmit.
RFXtrx433, RFXtrx433E, RFXtrx433XL, RFX433XL, RFX868XL
Licht2002
Posts: 4
Joined: Sunday 27 February 2022 10:07
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: RFXCom - Error Connecting to USB: Error: Serial Port closed!... Error: End of file

Post by Licht2002 »

Hi...

i will wait for the RFXtrxLAN....

Thx for your help

Tom
b_weijenberg wrote: Monday 28 February 2022 10:48 ...... or use the RFXtrxLAN.
The RFXtrxLAN (LAN or Wifi version) has his own power supply and can be located on the best location for 433 receive and transmit.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests