Temperature sensor TFA Dostmann 433mhz - Rfxtrx - Event is not JSON serializable

Hello,

Im trying to read the Temperature sensor TFA Dostmann 433mhz with Home assistant trough Rfxcomxl.

But Home assistant receives the pulse but it can’t translate the data:

Logger: homeassistant.components.recorder.core
Source: components/recorder/core.py:620
Integration: Recorder
First occurred: 8:49:56 PM (2 occurrences)
Last logged: 8:49:56 PM* Event is not JSON serializable: <Event rfxtrx_event[L]: packet_type=3, sub_type=12, type_string=nec, id_string=Undecoded, data=05030c000700, values=Payload=bytearray(b’\x07\x00’)>: Type is not JSON serializable: bytearray

Looks like it can’t read the “bytearray”?

I suppose this sensor is not in the list of supported sensors, see the RFXtrx User Guide chapter 2.

Disable “undec on” as this can not be used in HA

9-9-2022 01:00:41:603= 05030C000700
Packettype = UNDECODED RF Message
UNDECODED NEC:0700

Thank you for the reply and pointing me to the user guide where is was not aware of.

TFA type is in the list of supported protocols;

It is a “lacrosse” protocol a parentally, what is supported bij HA. “lacrosse” is also mentioned in the firmware update of last month.

FW release 433_1046 12-07-2022
LaCrosse WS1652 added in Pro2, ProXL1

Ill try to update the rfxcom first.

After updating the Rfxcom it works with the lacrosse protocol :+1:


Well see how long the battery will last. There are 2 AA in there so probably a long time.