well, I think I should move this to my own thread
I have an same issue with 0.111 HA core in venv and RFXTRX433XL on a seperate pi with ser2net.
sensors work fine for a few days and suddenly stop reporting. restart of HA does not fix it for me, resetting the sensor (so it gets a new ID that pops up in HA) fixes it, they are re-discovered with a new ID and I can use that ID to add them to my configuration.yaml.
after a few days, all my sensor stop working again, and I have to reset all of them. the RFXTRX component seems to receive the packages, as seen in the log, just they dont update the devices I added.
I still see things like this in my log (enabled debug for rfxtrx), but the sensors are “unknown” for a while now:
2020-06-24 09:36:00 DEBUG (Thread-3) [homeassistant.components.rfxtrx] Receive RFXCOM event from (Device_id: 73c300_78 Class: RFXtrxDevice Sub: 1, Pkt_id: 0a4e010173c30047008529)
2020-06-24 09:36:12 DEBUG (Thread-3) [homeassistant.components.rfxtrx] Receive RFXCOM event from (Device_id: 73c300_78 Class: RFXtrxDevice Sub: 1, Pkt_id: 0a4e010273c30047008529)
2020-06-24 09:36:32 DEBUG (Thread-3) [homeassistant.components.rfxtrx] Receive RFXCOM event from (Device_id: 73c300_78 Class: RFXtrxDevice Sub: 1, Pkt_id: 0a4e010373c30048008529)
2020-06-24 09:36:36 DEBUG (Thread-3) [homeassistant.components.rfxtrx] Receive RFXCOM event from (Device_id: 73c300_78 Class: RFXtrxDevice Sub: 1, Pkt_id: 0a4e010473c30048008529)
2020-06-24 09:36:48 DEBUG (Thread-3) [homeassistant.components.rfxtrx] Receive RFXCOM event from (Device_id: 73c300_78 Class: RFXtrxDevice Sub: 1, Pkt_id: 0a4e010573c30048008529)
2020-06-24 09:37:00 DEBUG (Thread-3) [homeassistant.components.rfxtrx] Receive RFXCOM event from (Device_id: 73c300_78 Class: RFXtrxDevice Sub: 1, Pkt_id: 0a4e010673c30048008529)
any way to extract the device identifier from the log records?
my configuration.yaml looks like this:
sensor:
- platform: rfxtrx
#automatic_add: true
devices:
0a4e0100e4b9001a001939:
name: MaverickBBQ
data_type:
- Temperature
- Battery numeric
105602b79e000000000300106874205249:
name: Windmesser
data_type:
- Wind direction
- Wind average speed
- Wind gust
- Chill
- Battery numeric
0a520200da0100de3e0139:
name: Temperaturmesser
data_type:
- Temperature
- Humidity
- Humidity status
- Battery numeric
when I remove all devices from yaml again and restart HA, they are automatically added again:
2020-06-24 09:54:48 INFO (Thread-3) [homeassistant.components.rfxtrx.sensor] Automatic add rfxtrx.sensor: 0a4e010173c3004b008429