I am having problem with Rpi RF switch.
I am trying to control my 433mhz plug outlets from HA.
After sniffing the codes, the following is my configuration.yaml file:
I receive the correct code. But the protocol changes to 5.
I do not know why.
Because of this, I am unable to control my remote using HA running in raspberry PI. It does’nt matter which protocol I set, it always changes to 5!
Is this issue an with rpi_rf platform?
Anyone had a similiar problem, any help would be appreciated . Thanks.
Also, I am able to control the remote successfully with the same codes using an Arduino.
hello adi,
did you solve the issue. I have the exact same situation. I have a arduino receiver and regardless of what protocol I set in rpi_df I always get protocol 5. My gadgets expect protocol 1 and consequently do not respond
Best
-Mark
Would you elaborate a bit ? After installing Wiring Pi should I use the command line switch as the later post by @adi or should this solve the issue with RPi RF switch component? And my installation in in Venv, so should the installation be different ? On other words should I install wiringpi by apt-get or pip3 ?
I didn’t check what code its sending after plugging the TX to pi but as I see I am in a similar issue (Sending code from Arduino works reliably but not from the Pi).
Hi @DJR Thanks for the reply. My issue was resolved indeed by reconnecting the cables to the right GPIO port, previously I had connected that in a wrong pi as I have multiples stacked for different functions.
Hi All, not sure if this is the right thread, but I seem to be having a similar problem. I can sniff the correct RF codes for my RF controlled wall switches but when my raspberry pi transmits the signal as 24 bit when my sniffed codes are 32 bit. I have amended this line in the rpi-rf code to change the tx_length value to 32, but this doesn’t seem to work either:
Is there anything else I should be doing? I have heard others getting 32 bit codes to send properly with this component but haven’t found anything concrete.