RFXCOM RFXtrx via ser2net stops working after several hours

Hi,

This is my first post here. I have been running Domoticz previously and have now completely switched to HA. Love it so far! Way more options and integrations, and a lot more active development and community! :slight_smile:

I have searched for “RFXtrx ser2net” but could not find a solution to my issue, so I figured I’d start a new topic. If I missed a topic which discusses this exact issue and configuration, please point me to it and accept my apologies. :slight_smile:

Here’s my issue:

I am running HA in a VM on my main server. I have a Raspberry Pi 3 with APC UPS, Aeotec Z-wave stick, DSMR and RFXCOM RFXtrx devices connected. On the Pi I have ser2net running for connecting my DSMR and RFXCOM RFXtrx to HA on my main server.

This all runs well, except that after several hours, my RFXCOM RFXtrx entities don’t get updated anymore. DSMR is still running fine and keeps updating. Reloading the RFXCOM RFXtrx integration does not help, but completely restaring HA makes the RFXCOM RFXtrx entities work again for several hours, until they stop again and I have to restart HA again…

I don’t have to restart ser2net to get it back working again, so my guess is that there is an issue with the
RFXCOM RFXtrx intergration of HA. But that’s just a guess.

HA Version: 2020.12.1
Ser2net version: 4.2.3
Ser2net config (/etc/ser2net/ser2net.yaml):

connection: &dsmr
  accepter: tcp,2001
  timeout: 0
  enable: on
  connector: serialdev,/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A139GPQL-if00-port0,115200n81,local
  options:
    kickolduser: true

connection: &rfxcom
  accepter: tcp,2002
  timeout: 0
  enable: on
  connector: serialdev,/dev/serial/by-id/usb-RFXCOM_RFXtrx433_A121JBDO-if00-port0,38400n81,local
  options:
    kickolduser: true

I hope someone can help me with this issue!
I can’t find enything relevant in the logs, but if there are specific logs/debugging to check, please let me know!

Thanks in advance!

No response yet, but hopefully that will still come… :slight_smile:

In the mean time I have started Home Assistant with debugging enabled for RFXcom. These are the last lines of the output before it stops working:

Jan 12 20:47:09 hortensia hass[1340834]: 2021-01-12 20:47:09 DEBUG (Thread-3) [RFXtrx] Recv: 0x0a 0x52 0x07 0xa3 0x20 0x0e 0x00 0x25 0x54 0x03 0x69
Jan 12 20:47:28 hortensia hass[1340834]: 2021-01-12 20:47:28 DEBUG (Thread-3) [RFXtrx] Recv: 0x09 0x57 0x02 0xa4 0xf4 0x00 0x00 0x25 0x54 0x69
Jan 12 20:47:52 hortensia hass[1340834]: 2021-01-12 20:47:52 DEBUG (Thread-3) [RFXtrx] Recv: 0x0a 0x52 0x07 0xa5 0x20 0x0e 0x00 0x24 0x54 0x03 0x69
Jan 12 20:47:57 hortensia hass[1340834]: 2021-01-12 20:47:57 DEBUG (Thread-3) [RFXtrx] Recv: 0x0d 0x54 0x01 0xa6 0xc8 0x01 0x00 0x23 0x5f 0x03 0x03 0xf7 0x01 0x59
Jan 12 20:48:35 hortensia hass[1340834]: 2021-01-12 20:48:35 DEBUG (Thread-3) [RFXtrx] Recv: 0x0a 0x52 0x07 0xa7 0x20 0x0e 0x00 0x24 0x54 0x03 0x69
Jan 12 20:48:41 hortensia hass[1340834]: 2021-01-12 20:48:41 DEBUG (Thread-3) [RFXtrx] Recv: 0x09 0x57 0x02 0xa8 0xf4 0x00 0x00 0x24 0x54 0x69
Jan 12 20:48:50 hortensia hass[1340834]: 2021-01-12 20:48:50 DEBUG (Thread-3) [RFXtrx] Recv: 0x0d 0x54 0x01 0xa9 0xc8 0x01 0x00 0x23 0x5f 0x03 0x03 0xf7 0x01 0x59
Jan 12 20:49:18 hortensia hass[1340834]: 2021-01-12 20:49:18 DEBUG (Thread-3) [RFXtrx] Recv: 0x0a 0x52 0x07 0xaa 0x20 0x0e 0x00 0x24 0x54 0x03 0x69
Jan 12 20:49:24 hortensia hass[1340834]: 2021-01-12 20:49:24 DEBUG (Thread-3) [RFXtrx] Recv: 0x0b 0x55 0x03 0xab 0x80 0x0c 0x00 0x00 0x00 0x00 0x15 0x69
Jan 12 20:49:43 hortensia hass[1340834]: 2021-01-12 20:49:43 DEBUG (Thread-3) [RFXtrx] Recv: 0x0d 0x54 0x01 0xac 0xc8 0x01 0x00 0x23 0x5f 0x03 0x03 0xf7 0x01 0x59
Jan 12 20:50:01 hortensia hass[1340834]: 2021-01-12 20:50:01 DEBUG (Thread-3) [RFXtrx] Recv: 0x0a 0x52 0x07 0xad 0x20 0x0e 0x00 0x23 0x54 0x03 0x69
Jan 12 20:50:36 hortensia hass[1340834]: 2021-01-12 20:50:36 DEBUG (Thread-3) [RFXtrx] Recv: 0x0d 0x54 0x01 0xae 0xc8 0x01 0x00 0x23 0x5f 0x03 0x03 0xf7 0x01 0x59
Jan 12 20:50:44 hortensia hass[1340834]: 2021-01-12 20:50:44 DEBUG (Thread-3) [RFXtrx] Recv: 0x0a 0x52 0x07 0xaf 0x20 0x0e 0x00 0x23 0x54 0x03 0x69
Jan 12 20:50:50 hortensia hass[1340834]: 2021-01-12 20:50:50 DEBUG (Thread-3) [RFXtrx] Recv: 0x10 0x56 0x04 0xb0 0x89 0x16 0x00 0xb4 0x00 0x00 0x00 0x00 0x00 0xad 0x00 0xad 0x59
Jan 12 20:51:23 hortensia hass[1340834]: 2021-01-12 20:51:23 DEBUG (Thread-3) [RFXtrx] Recv: 0x10 0x56 0x04 0xb1 0x89 0x16 0x00 0xb4 0x00 0x00 0x00 0x00 0x00 0xad 0x00 0xad 0x59
Jan 12 20:51:27 hortensia hass[1340834]: 2021-01-12 20:51:27 DEBUG (Thread-3) [RFXtrx] Recv: 0x0a 0x52 0x07 0xb2 0x20 0x0e 0x00 0x22 0x54 0x03 0x69
Jan 12 20:51:29 hortensia hass[1340834]: 2021-01-12 20:51:29 DEBUG (Thread-3) [RFXtrx] Recv: 0x0d 0x54 0x01 0xb3 0xc8 0x01 0x00 0x22 0x5f 0x03 0x03 0xf7 0x01 0x59
Jan 12 20:51:56 hortensia hass[1340834]: 2021-01-12 20:51:56 DEBUG (Thread-3) [RFXtrx] Recv: 0x10 0x56 0x04 0xb4 0x89 0x16 0x00 0xb4 0x00 0x00 0x00 0x00 0x00 0xad 0x00 0xad 0x59
Jan 12 20:52:10 hortensia hass[1340834]: 2021-01-12 20:52:10 DEBUG (Thread-3) [RFXtrx] Recv: 0x0a 0x52 0x07 0xb5 0x20 0x0e 0x00 0x22 0x54 0x03 0x69
Jan 12 20:52:22 hortensia hass[1340834]: 2021-01-12 20:52:22 DEBUG (Thread-3) [RFXtrx] Recv: 0x0d 0x54 0x01 0xb6 0xc8 0x01 0x00 0x22 0x5f 0x03 0x03 0xf7 0x01 0x59
Jan 12 20:52:27 hortensia hass[1340834]: 2021-01-12 20:52:27 DEBUG (Thread-3) [RFXtrx] Recv: 0x0b 0x55 0x03 0xb7 0x80 0x0c 0x00 0x00 0x00 0x00 0x15
Jan 12 20:55:01 hortensia hass[1340834]: 2021-01-12 20:55:01 DEBUG (Thread-3) [RFXtrx] Recv: 0x69 0x10 0x56 0x04 0xb8 0x89 0x16 0x00 0xb4 0x00 0x00 0x00 0x00 0x00 0xad 0x00 0xad 0x59 0x0a 0x52 0x07 0xb9 0x20 0x0e 0x00 0x21 0x54 0x03 0x69 0x10 0x56 0x04 0xba 0x89 0x16 0x00 0xb4 0x00 0x00 0x00 0x00 0x00 0xad 0x00 0xad 0x59 0x0d 0x54 0x01 0xbb 0xc8 0x01 0x00 0x22 0x5f 0x03 0x03 0xf7 0x01 0x59 0x0a 0x52 0x07 0xbc 0x20 0x0e 0x00 0x22 0x54 0x03 0x69 0x0a 0x52 0x07 0xbd 0x20 0x0e 0x00 0x22 0x54 0x03 0x69 0x10 0x56 0x04 0xbe 0x89 0x16 0x00 0xb4 0x00 0x00 0x00 0x00 0x00 0xad 0x00 0xad 0x59 0x0d 0x54 0x01 0xbf 0xc8 0x01 0x00