How to add RF PIR sensors

Hello
I want to add some RF PIR sensors using an ASK RECEIVER MODULE directly connected to my RPi GPIOs.(sparkfun. com/datasheets/Wireless/General/MO-RX3400.pdf)

I’ve installed RPI-rf according to https://www.home-assistant.io/integrations/rpi_rf/ and I get the log below on the RPI-rf_receive command, but apparently, Home Assistant’s Raspberry Pi RF only works with transmitting data not receiving.

2021-02-02 11:37:55 - [INFO] rpi-rf_receive: 5592405 [pulselength 532, protocol 1]
2021-02-02 11:37:55 - [INFO] rpi-rf_receive: 5592405 [pulselength 532, protocol 1]
2021-02-02 11:37:55 - [INFO] rpi-rf_receive: 5592405 [pulselength 532, protocol 1]
2021-02-02 11:37:56 - [INFO] rpi-rf_receive: 5592405 [pulselength 532, protocol 1]
2021-02-02 11:43:28 - [INFO] rpi-rf_receive: 5592405 [pulselength 533, protocol 1]
2021-02-02 11:43:29 - [INFO] rpi-rf_receive: 5592405 [pulselength 533, protocol 1]
2021-02-02 11:43:29 - [INFO] rpi-rf_receive: 5592405 [pulselength 533, protocol 1]
2021-02-02 11:43:29 - [INFO] rpi-rf_receive: 5592405 [pulselength 533, protocol 1]

Are there any components like https://github.com/home-assistant/core/blob/45ac6df76f9425ffed98cb1fdbfe83096321203f/homeassistant/components/rpi_rf/switch.py for receiving sensor data?

Hi there… I think you can look into this addon. It will publish the received codes as the state of a mqtt sensor. You can use it to detect events.