Danielhiversen/pyRFXtrx

device id_string changes

Closed this issue · 3 comments

I have a 433 Mhz thermometer TS34C.
Every few months it seems to change the device id_string.
Here is the history of devices packets defined in home assistant:

0a520704ab0e006a3b0169
0a520711b30e00d1370159
0a520730aa0e00e7280159

The device id_string changes from ab0e to b30e and aa0e.
I think the id is extracted wrong.

RFXTRX: Recv: 0x0a 0x52 0x07 0x01 0xaa 0x0e 0x00 0x4d 0x49 0x03 0x59
<class 'RFXtrx.SensorEvent'> device=[<class 'RFXtrx.RFXtrxDevice'> type='TFA TS34C, Cresta' id='aa:0e'] values=[('Battery numeric', 9), ('Humidity', 73), ('Humidity status', 'wet'), ('Humidity status numeric', 3), ('Rssi numeric', 5), ('Temperature', 7.7)]

I am also experiencing this.

Expected, but should not be a problem

Hi, I'm facing the same issue, and it turns out pyRFXtrx correctly extracts the device ID from the packets for the Temperature and humidity sensors class of devices (id 0x52) according to RFXCOM's SDK (access to which can be requested from their website contact form).

The issue seems to be with the devices themselves rotating their id based on unidentified conditions, maybe low battery level.

Maybe something could be done at home assistant level to group several RFXtrx ids under the same HA device.