Hello, I recently purchased a 433mhz rf receiver and transmitter set, and I am encountering some difficulty reading remote codes with ESPHome. Here are the components I ordered: link.
I soldered the antennas to the modules and connected them to a Wemos D1 mini. Finally, is my ESPHome code:
I have tried my code with and without multiple options such as inverted, tolerance, filter, etc., however I receive no output in the log when operating a 433mhz RF remote near the receiver (I am trying to capture codes to rebroadcast them with the transmitter). The receiver module is labeled RX470C-V01.
As far as I know, I have the module wired correctly, with VCC to 5V, GND to ground, and the data pin to a free pin on the Wemos (I have tried the data pin on the RX pin, as well as D1, D4, and D6.
Posting here because Iām interested. I bought a Sonoff RFBridge hoping to get 433 MHz data from my weather station. Apparently because itās not broadcasting an officially recognized remote protocol, the Portisch firmware for the RFBridge isnāt going to pass the weather station data back to ESPHome, and thatās a huge disappointment. What youāre trying is exactly what I was about to do next, so Iām paying close attention.
What is the specific RF Remote youāre using?
I just checked Reddit for any similar projects, and someone suggested this IR configuration. While itās not 433 MHz, itās still a raw data signal, which comes out of the 433 MHz receiver module. Might want to give this a shot.
Hi, I am using the remote from this ceiling fan kit: link
The manufacturer indicates that the remote does in fact run on 433mhz. I tried pin D5 with no luck. I am wondering if it is the fault of the superheterodyne type receiver? My understanding is that it should work better but maybe it is not compatible with ESPHome.
I might try ordering these to see if I get better results.
Is there an FCC ID on the remote or the fan module? The vendor on Amazon actually said ā443 MHzā which seems wildly incorrect, but the FCC review should report the frequency correctly.
Iām not able to find an FCC ID on the remote, and Iām hesitant to unwire the unit in my fan. However, inside the remote I found a crystal oscillator labeled ā13.560ā (the resonant frequency). This matches the oscillator crystal on the transmitter I purchased, which also reads 13.560.
Iām not sure if this translates to matching transmission frequencies between the two, but it is all the information I have at the moment.
Edit: Also, in another post the amazon vendor says the unit runs at 433MHz, so I am fairly certain the 443 MHz comment is a typo.
I might try ordering these to see if I get better results.
I had a lot of problems getting it going at all - you are much more likely to have a problem with your circuit at this stage than it being completely down to the components.
I was not aware any complex circuitry was necessary for the module to work. Per the manufacturer specs here for a similar item: link, it should be able to be wired directly to an arduino or equivalent. Perhaps it has an issue with the Wemos D1 mini? I wanted to use the superheterodyne module for its better range but I have ordered a standard RF pair to test in the mean time. I will also try verbose logging of my module, I suppose thereās a possibility, although unlikely, it is just dead
Donāt give up hope, @devjklein. That photo simply shows both the transmitter and receiver connected to the Esp8266 with a LED added. I have a 433 MHz receiver/transmitter pair arriving tomorrow, and will get the receiver module running Tuesday evening or Wednesday some time, using a Wemos D1 mini clone.
One thing I noticed is, the module I ordered appears to need 5VDC for Vin. If you wired your module to 3.3VDC Vcc signal, that might explain why itās not returning any data? Is it connected to the USB/5VDC pin on the D1 mini?
My 433 MHz receiver/transmitter pairs arrived late this afternoon. Now I just need to find my Wemos D1 mini clones. Weāve got construction going on in the house this week, and finding things is a bit of a challenge right now.
Fortunately, I had an unused authentic Lolin D32 ESP32 board handy. Set it up with the 433 MHz receiver board on pin 5, and VERY_VERBOSE logging. Holy heck did it ever start spewing a LOT of data received. Shifting to only VERBOSE logging now that itās clear itās working. Nope, VERBOSE was way too much, too fast, as well.
Found the Wemos D1 Mini clone, still need to cable it up. I have to wonder, can the ESP8266 handle the enormous amount of data coming in? I mean, it should, but you never know. Got it cleaned up, connected, and configured. Itās definitely receiving raw 433 MHz RF data. Hereās the setup photo, and the ESPHome YAML config:
It mostly handles it okay if logging is not set to verbose, although I do occasionally get some strange crashes and stack traces which I didnāt get to the bottom of yet.
This is actually the one receiver nobody should should use because of itās insane noise (which can not be fixed). Itās not superheterodyne (thatās the type you want) anyway.
I definitely noticed the constant noise. Iāve since moved on to directly tapping the 433 MHz signal from the weather station receiver, as another person did.
Sorry Iāve been MIA. I got a similar receiver to yours, however I am facing the same issue of wayyyy too much noise. Iām also not sure that my receiver screw is set correctly, it was not glued in place as it should have been when it arrived.
Hi folks.
Iām doing something very similar. Iām using āthe one receiver that nobody should useā lol.
It does not filter out noise. If fact, if you connect it to a speaker, you will hear the hiss, and any data that comes in.
Mine is connected directly to a PIC microcontroller. This basically continually loops until it detects a āpreambleā of around 8ms. This is doing the work of filtering out the static noise.
After that, it waits for the first bit, then reads in the code.
This is specific timing to what I have created, it canāt read anything else.
Once the information has been read, it outputs it over 9600 8n1 serial data into an ESP8266, which in turn sends that out to HA via restful.
I was under the impression that an 8266 on its own wasnāt fast enough to capture RF data. I would like to be proved wrong on this as it would make life a lot easier.
Just an observation, that RF receiver is missing an aerial.
For 433Mhz, a 32cm wire should be soldered to the connection at the bottom right, thatās assuming your going to use it again.
posting here as I spent some time on the topic as well.
I have a RXB6 receiver (Link) which i used with few different 433mhz buttons and door/window sensors with a D1 mini pro / Lolin D32 Pro / and ESP32 DEVKIT DOIT.
Strange thing I realized is behavior is quite different and settings needs to be adjusted accordingly to the board, with D1 mini pro definetly having the more consistent behavior.
I was really surprised by this and canāt explain why it is happeningā¦any idea?