Hi! I’ve been trying to get my Chuango security sensors (door and motion) to work with Home Assistant via de RFXtrx433XL transceiver.
I’ve managed to get the transceiver to work with the following configuration:
rfxtrx:
device: /dev/serial/by-id/usb-RFXCOM_RFXtrx433XL_DO3ZUL2A-if00-port0
debug: true
switch:
platform: rfxtrx
automatic_add: true
and when I open the front door, I see messages like these:
DEBUG (Thread-2) [homeassistant.components.rfxtrx] Receive RFXCOM event from (Device_id: 219890_32 Class: RFXtrxDevice Sub: 0, Pkt_id: 082000012198900279)
From others online, I gleaned that I should use the Pkt_id to add the sensor, so I added the device to the configuration and restarted HA. I’ve used this configuration:
rfxtrx:
device: /dev/serial/by-id/usb-RFXCOM_RFXtrx433XL_DO3ZUL2A-if00-port0
debug: true
switch:
platform: rfxtrx
automatic_add: false
devices:
'082000022198900279':
name: Chuango Door Sensor
The sensor is visible and can be added to the interface, but the state never changes. Opening and closing the door just adds messages like the above in the log. Am I missing something here?
I’ve checked the configuration both with and without the device via hass --script check_config, and neither checks reported errors.