RPi RF Receiver addon

Thanks will try it out. Any recommended transmitter/receiver? I am looking for door sensors.

This is a good receiver:


I am actually using the broadlink door sensors that come with the broadlink s1 security device and they are being read by that device and not using the RF receiver. So, I cannot really suggest any good rf door sensor, sorry.

i to have the problem that i am just receiving complete random stuff, somthimes even absolutely nothing when i press remote buttonsā€¦ is this just a receiver problem?

Edit:
Well this is weird, if i use the transmitter module for the pi and send some codes, they get received just fine!
but it wont show me the codes from my remotesā€¦ even though those remotes DO control my lights and outlets jsut fineā€¦ which are 433 receivers as wellā€¦ how can this be?

Edit2:
as i tried the same thing again it stopped doing that, so it receives nothing again. not i am confused. but its not the addons or scripts fault, there is some other devil at workā€¦

i have same problem as @Liquidmasl
the log show only random code, it seem itā€™s not hear any code when i press remote

    2018-03-15 09:18:31 - [INFO] rpi-rf_receive: 32 [GPIO 27, pulselength 291 code 32, protocol 1]
2018-03-15 09:18:31 - [INFO] rpi-rf_receive: 32 [GPIO 27, pulselength 281 code 32, protocol 1]
2018-03-15 09:18:37 - [INFO] rpi-rf_receive: 8 [GPIO 27, pulselength 290 code 8, protocol 1]
2018-03-15 09:18:50 - [INFO] rpi-rf_receive: 4 [GPIO 27, pulselength 282 code 4, protocol 1]
2018-03-15 09:18:52 - [INFO] rpi-rf_receive: 4 [GPIO 27, pulselength 282 code 4, protocol 1]
2018-03-15 09:18:53 - [INFO] rpi-rf_receive: 4 [GPIO 27, pulselength 283 code 4, protocol 1]
2018-03-15 09:18:54 - [INFO] rpi-rf_receive: 4 [GPIO 27, pulselength 281 code 4, protocol 1]
2018-03-15 09:19:02 - [INFO] rpi-rf_receive: 8 [GPIO 27, pulselength 286 code 8, protocol 1]
2018-03-15 09:19:04 - [INFO] rpi-rf_receive: 8 [GPIO 27, pulselength 293 code 8, protocol 1]
2018-03-15 09:19:05 - [INFO] rpi-rf_receive: 4 [GPIO 27, pulselength 288 code 4, protocol 1]
2018-03-15 09:19:10 - [INFO] rpi-rf_receive: 1 [GPIO 27, pulselength 295 code 1, protocol 1]
2018-03-15 09:19:13 - [INFO] rpi-rf_receive: 8 [GPIO 27, pulselength 291 code 8, protocol 1]
2018-03-15 09:19:17 - [INFO] rpi-rf_receive: 8 [GPIO 27, pulselength 282 code 8, protocol 1]
2018-03-15 09:19:18 - [INFO] rpi-rf_receive: 8 [GPIO 27, pulselength 284 code 8, protocol 1]
2018-03-15 09:19:24 - [INFO] rpi-rf_receive: 8 [GPIO 27, pulselength 291 code 8, protocol 1]
2018-03-15 09:19:32 - [INFO] rpi-rf_receive: 4 [GPIO 27, pulselength 278 code 4, protocol 1]
2018-03-15 09:19:42 - [INFO] rpi-rf_receive: 12 [GPIO 27, pulselength 286 code 12, protocol 1]
2018-03-15 09:19:43 - [INFO] rpi-rf_receive: 8 [GPIO 27, pulselength 286 code 8, protocol 1]
2018-03-15 09:19:44 - [INFO] rpi-rf_receive: 4 [GPIO 27, pulselength 282 code 4, protocol 1]

It seams european switches/remotes use a not supported protocol. Which sucks. I had to buy a 100ā‚¬ usb antenna, now it works flawlessly, with very easy setup!

Rfxcom USB Transceiver (Transmitter/Receiver 433?Mhz) with Somfy Stand by Rfxcom https://www.amazon.de/dp/B01MYFAGWW/ref=cm_sw_r_cp_apip_T9QIYP5zbM1k6

Hi, iā€™m having the same problem of @Try2Fly. Iā€™m using hassio with SSL.

2018-03-22 11:40:55 - [INFO] rpi-rf_receive: 192 [GPIO 27, pulselength 1353, protocol 4]
Error: The connection was lost.

I found the problem. Is the MQTT protocol. Just add

-V mqttv311

to the mosquitto_pub call on rpi-rf_receive.py

1 Like

hey @Robson_Schmidt, thank you for the info.
I actually do not have that problem, even if I just reinstalled my system, so everything is new and updated. What environment is affected by that problem?

Iā€™m using Hassio, with Home Assistant 0.65.6 with raspbian 1.3.

Oh, youā€™re not using Hassio. I see. Ok, good to know. Thank you

How to use this with hassbian?

Ok i installed rfrx in hassbian and connected by rf receiver. I am using the following rf door sensor but i am not receiving any codes through by rf receiver from the this door sensor. Not sure if its sensor problem or connection. Anyone knows if this door sensor is compatible. It says its 433mhz.

https://www.gearbest.com/access-control/pp_593451.html?wid=21

These are receivers i am using with connected to my raspberry pi where hassbian is installed and rfrx is installed.

https://www.gearbest.com/mobile-phone-parts/pp_726451.html?wid=21

I got this add on working I like it a lot.
Works to pick up codes from Etekcity outlets and also an rf remote for an led strip I have.

I was hoping to also use it to be able to add this wireless bbq thermometer I just got, which I believe is 433mhz, but when I turn the thermometer on no codes get picked up. Is this possible to do or am I thinking about this wrong?

@jnvd3b, probably that device is using a different protocol to transmit data from the sensor to the receiver, maybe thatā€™s the reason why you cannot read any code.

Probably true. Bummer

hey guys,it seems i cant get this addon working on hassio

   mqtt:
  broker: core-mosquitto
  username:*****
  password: *****

#rpi-rf
  - platform: mqtt
    state_topic: "sensors/rf/receiver"
    name: "RF Receiver"

i am using reciver similar to this one (https://www.amazon.it/gp/product/B06XHJMC82)

HI, do any one know how to fix error installing addon on new HassOs?? I have gpio error when installing.

Hi people,

Thank you @Pantomax for creating this.

Secondly I feel really stupidā€¦ Iā€™m using the latest version of hassio (0.74.2) and trying to get this addon working, but I keep getting de following log:

Using base prefix ā€˜/usrā€™
New python executable in /data/venv/bin/python3
Also creating executable in /data/venv/bin/python
Installing setuptools, pip, wheelā€¦done.
Running virtualenv with interpreter /usr/bin/python3
Collecting rpi-rf
Downloading https://files.pythonhosted.org/packages/d9/a2/e4d43f773ce20a6950f6fd799cb1ede7feb679fd1c863f0360b24e7ebe97/rpi-rf-0.9.6.tar.gz
Collecting RPi.GPIO (from rpi-rf)
Downloading https://files.pythonhosted.org/packages/e2/58/6e1b775606da6439fa3fd1550e7f714ac62aa75e162eed29dbec684ecb3e/RPi.GPIO-0.6.3.tar.gz
Building wheels for collected packages: rpi-rf, RPi.GPIO
Running setup.py bdist_wheel for rpi-rf: started
Running setup.py bdist_wheel for rpi-rf: finished with status ā€˜doneā€™
Stored in directory: /root/.cache/pip/wheels/f8/f7/17/c4c4b5b048fd5320952b5b1e1f83cbb6378b51fb4319fbf469
Running setup.py bdist_wheel for RPi.GPIO: started
Running setup.py bdist_wheel for RPi.GPIO: finished with status ā€˜doneā€™
Stored in directory: /root/.cache/pip/wheels/f7/79/24/a9af41176b06678ebe1c1c2e25ecdd43fdddde1a9368aae9f4
Successfully built rpi-rf RPi.GPIO
Installing collected packages: RPi.GPIO, rpi-rf
Successfully installed RPi.GPIO-0.6.3 rpi-rf-0.9.6
Traceback (most recent call last):
File ā€œ/share/rpi-rf_receive.pyā€, line 35, in
rfdevice.enable_rx()
File ā€œ/data/venv/lib/python3.6/site-packages/rpi_rf/rpi_rf.pyā€, line 168, in enable_rx
GPIO.add_event_detect(self.gpio, GPIO.BOTH)
RuntimeError: Failed to add edge detection

I already tried different pins (GPIO 22, 26) , because i thought that GPIO 27 maybe used by something else but all with no luck, does anyone know what iā€™m doing wrong :frowning:

Iā€™m asking about it since they relesed hassos and I havent receive any answerā€¦ same errorā€¦

Same issue here, worked like a charm with ResinOS but fails in HassOS.