RFXtrx only receives data for a short moment after reboot

Hi all. After a reboot HA recieves signals from RFXtrx, but after a few minutes no more data is recieved. Sending signals continue to work.

2022-09-16 13:59:31.583 INFO (SyncWorker_7) [homeassistant.loader] Loaded backup from homeassistant.components.backup
2022-09-16 13:59:31.662 DEBUG (Thread-3 (_connect)) [RFXtrx] Send: 0x0d 0x00 0x00 0x01 0x02 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
2022-09-16 13:59:31.666 INFO (MainThread) [homeassistant.setup] Setting up backup
2022-09-16 13:59:31.667 INFO (MainThread) [homeassistant.setup] Setup of domain backup took 0.0 seconds
2022-09-16 13:59:31.693 DEBUG (Thread-3 (_connect)) [RFXtrx] Recv: 0x0d 0x01 0x00 0x01 0x02 0x53 0x5b 0x00 0x00 0x04 0x00 0x01 0x02 0x1c
2022-09-16 13:59:31.694 DEBUG (Thread-3 (_connect)) [RFXtrx] Send: 0x0d 0x00 0x00 0x00 0x03 0x53 0x1c 0x00 0x00 0x04 0x00 0x00 0x00 0x00
2022-09-16 13:59:31.717 INFO (SyncWorker_1) [homeassistant.loader] Loaded stream from homeassistant.components.stream
2022-09-16 13:59:31.741 INFO (SyncWorker_7) [homeassistant.loader] Loaded weather from homeassistant.components.weather
2022-09-16 13:59:31.765 INFO (MainThread) [homeassistant.setup] Setting up weather
2022-09-16 13:59:31.766 INFO (MainThread) [homeassistant.setup] Setup of domain weather took 0.0 seconds
2022-09-16 13:59:31.766 INFO (MainThread) [zwave_js_server] Z-Wave JS initialized. 32 nodes
2022-09-16 13:59:31.767 INFO (MainThread) [homeassistant.components.weather] Setting up weather.met
2022-09-16 13:59:31.767 INFO (MainThread) [homeassistant.components.zwave_js] Connection to Zwave JS Server initialized
2022-09-16 13:59:31.769 INFO (MainThread) [homeassistant.setup] Setting up stream
2022-09-16 13:59:31.771 INFO (MainThread) [homeassistant.setup] Setup of domain stream took 0.0 seconds
2022-09-16 13:59:31.772 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.zwave_js
2022-09-16 13:59:31.773 INFO (MainThread) [homeassistant.setup] Setup of domain default_config took 0.2 seconds
2022-09-16 13:59:31.788 INFO (SyncWorker_6) [homeassistant.loader] Loaded button from homeassistant.components.button
2022-09-16 13:59:31.789 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.tibber
2022-09-16 13:59:31.791 INFO (MainThread) [homeassistant.setup] Setting up button
2022-09-16 13:59:31.791 INFO (MainThread) [homeassistant.setup] Setup of domain button took 0.0 seconds
2022-09-16 13:59:31.792 INFO (MainThread) [homeassistant.components.button] Setting up button.zwave_js
2022-09-16 13:59:31.874 DEBUG (Thread-3 (_connect)) [RFXtrx] Recv: 0x0d 0x01 0x00 0x00 0x03 0x53 0x5b 0x00 0x00 0x04 0x00 0x01 0x02 0x1c
2022-09-16 13:59:31.874 DEBUG (Thread-3 (_connect)) [RFXtrx] Send: 0x0d 0x00 0x00 0x01 0x02 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
2022-09-16 13:59:31.943 DEBUG (Thread-3 (_connect)) [RFXtrx] Recv: 0x0d 0x01 0x00 0x01 0x02 0x53 0x5b 0x00 0x00 0x04 0x00 0x01 0x02 0x1c
2022-09-16 13:59:31.944 DEBUG (Thread-3 (_connect)) [RFXtrx] Status: Status [subtype=433.92MHz, firmware=91, output_power=28, devices=['ac']]
2022-09-16 13:59:31.944 DEBUG (Thread-3 (_connect)) [RFXtrx] Send: 0x0d 0x00 0x00 0x03 0x07 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
2022-09-16 13:59:32.044 DEBUG (ArloMediaDownloader) [pyaarlo] not starting downloader
2022-09-16 13:59:32.059 INFO (SyncWorker_3) [pyaarlo] pyaarlo starting
2022-09-16 13:59:32.168 DEBUG (Thread-3 (_connect)) [RFXtrx] Recv: 0x14 0x01 0x07 0x03 0x07 0x43 0x6f 0x70 0x79 0x72 0x69 0x67 0x68 0x74 0x20 0x52 0x46 0x58 0x43 0x4f 0x4d
... no more rfx entries before I try to send a signal
2022-09-16 14:09:51.623 DEBUG (SyncWorker_2) [RFXtrx] Send: 0x0b 0x11 0x00 0x00 0x00 0x00 0x44 0x55 0x01 0x02 0x06 0x00
2022-09-16 14:09:52.255 DEBUG (Thread-3 (_connect)) [RFXtrx] Recv: 0x04 0x02 0x01 0x00 0x00
2022-09-16 14:09:56.787 DEBUG (SyncWorker_0) [RFXtrx] Send: 0x0b 0x11 0x00 0x00 0x00 0x00 0x44 0x55 0x01 0x02 0x0b 0x00
2022-09-16 14:09:57.405 DEBUG (Thread-3 (_connect)) [RFXtrx] Recv: 0x04 0x02 0x01 0x00 0x00
2022-09-16 14:09:58.812 DEBUG (SyncWorker_6) [RFXtrx] Send: 0x0b 0x11 0x00 0x00 0x00 0x00 0x44 0x55 0x01 0x02 0x04 0x00
2022-09-16 14:09:59.484 DEBUG (Thread-3 (_connect)) [RFXtrx] Recv: 0x04 0x02 0x01 0x00 0x00

This is HA 2022.9.4 running in a container. I’m not 100% sure which version RFX stopped receiving signals, I don’t use the integration that much. I just notice the problem a few weeks ago. Probably the RFX com has not received data for a few months.

Any tips on what to do?

Which sensors should be received?
Have you enabled the right protocols in the RFXtrx?
Check with RFXmngr on a Windows system if the RFXtrx receives sensors/remotes

Yeah, this has been working previously, and suddenly just stopped working. If I connect the RFXtrx device to a Windows machine and run the RFXtrx manager software, data are received from all expected sensors.

I stopped Home Assistant and connected directly to the device to read raw data using
screen /dev/ttyUSB0 38400
This gives me a raw data stream, each time the yellow led blinks new data are displayed in the stream.

If I stop the screen command, and restarts Home Assistant I notices that the yellow led indicator in the RFX device stop flashing. Like the device does not receive any signals at all. But sending still works though. To me it lokes like something in the Home Assistant RFX config blocks the device from receiving any signals.

Stopping Home Assistant isn’t enough to get the RFX device to start flashing yellow again. I have to disconnect and connect (aka power off the device), to receive any signals.

I know that the device can be configured dynamically during an init operation. But I haven’t configured any init string in Home Assistant, and hence the configuration parameters written to the device using the RFX manager software on Windows should be used. But apparently Home Assistant write a new config to the device during init of the RFX integration.

Ahh, I believe the integration has changed. Now I have to actually specify the protocols to use. Previously the config written to the device was used during initialization.

And if I don’t select any protocols in the protocol list, Home Assistant doesn’t write a temporary config during initialization of the RFX device, and the configuration stored in the device is used. Everything seems to be working again.