Iāve been testing 433 MHz in the workshop for a long time. I am using a receiver marked in the photo, see. with my code the noise is minimalā¦ I STRONGLY RECOMMEND USING ESP32! esp8266 and others have to make noise.
Hey everyone Iām having issues using the transmitter. I got the following from Amazon. The receivers work just fine and Iām able to read my remote signal data but after lot of trial I canāt get the transmitter to work. Any advice will be truly appreciated.
How did you do your project? I am trying to do the same but I am totally lost. I am not getting any data from the receiver. Could you help me? Sorry for the inconvenience
Your post will probably only be inconvenient for you as nobody will be able to help you based on the vague and little information you provide.
As a hint take a little time and read this here from top to bottom
Then open a new thread with a meaningful title and provide detail information on what you did, how you did it and donāt forget to provide your yaml, logs and schematics
Hi !
I want to get and decode some rf signals and send them later via Homeassistant just like described in post #1.
Unfortunately I also have the same problem like you described.
Also ordered superheterodyne receiver / transmitter and Iām using D1 Mini.
Like you I already tried different filter, idle, tolerance values and pins.
Currently I receive some signals with this code so at least the receiver could be okay.
On the other hand I receive a lot of data if for example ārawā is commented in without doing anything so Iām not sure if the receiver is working correct.
Unfortunately the receiver does not receive anything if I press any button on my remotes and I tried several ones.
remote_receiver:
pin:
number: D2
mode: INPUT
inverted: True
dump:
- aeha #Decode and dump AEHA infrared codes.
#- canalsat #Decode and dump CanalSat infrared codes.
#- canalsatld #Decode and dump CanalSatLD infrared codes.
- coolix #Decode and dump Coolix infrared codes.
- dish #Decode and dump Dish infrared codes.
- drayton #Decode and dump Drayton Digistat RF codes.
- jvc #Decode and dump JVC infrared codes.
- lg #Decode and dump LG infrared codes.
- magiquest #Decode and dump MagiQuest wand infrared codes.
- midea #Decode and dump Midea infrared codes.
- nec #Decode and dump NEC infrared codes.
- nexa #Decode and dump Nexa (RF) codes.
- panasonic #Decode and dump Panasonic infrared codes.
- pioneer #Decode and dump Pioneer infrared codes.
#- pronto #Print remote code in Pronto form. Useful for using arbitrary protocols.
#- raw #Print all remote codes in their raw form. Also useful for using arbitrary protocols.
- rc5 #Decode and dump RC5 IR codes.
- rc6 #Decode and dump RC6 IR codes.
- rc_switch #Decode and dump RCSwitch RF codes.
- samsung #Decode and dump Samsung infrared codes.
- samsung36 #Decode and dump Samsung36 infrared codes.
- sony #Decode and dump Sony infrared codes.
- toshiba_ac #Decode and dump Toshiba AC infrared codes.
tolerance: 50
filter: 1us
idle: 1ms
buffer_size: 2kb
Did you get your rf receiver working ?
Or did you tried the referenced esp home code from @swedude ?
Okay got it working with an 433 Mhz garage door opener with following settings.
remote_receiver:
pin:
number: D2
mode: INPUT
inverted: True
dump: #all
- aeha #Decode and dump AEHA infrared codes.
#- canalsat #Decode and dump CanalSat infrared codes.
#- canalsatld #Decode and dump CanalSatLD infrared codes.
- coolix #Decode and dump Coolix infrared codes.
- dish #Decode and dump Dish infrared codes.
- drayton #Decode and dump Drayton Digistat RF codes.
- jvc #Decode and dump JVC infrared codes.
- lg #Decode and dump LG infrared codes.
- magiquest #Decode and dump MagiQuest wand infrared codes.
- midea #Decode and dump Midea infrared codes.
- nec #Decode and dump NEC infrared codes.
- nexa #Decode and dump Nexa (RF) codes.
- panasonic #Decode and dump Panasonic infrared codes.
- pioneer #Decode and dump Pioneer infrared codes.
#- pronto #Print remote code in Pronto form. Useful for using arbitrary protocols.
#- raw #Print all remote codes in their raw form. Also useful for using arbitrary protocols.
- rc5 #Decode and dump RC5 IR codes.
- rc6 #Decode and dump RC6 IR codes.
- rc_switch #Decode and dump RCSwitch RF codes.
- samsung #Decode and dump Samsung infrared codes.
- samsung36 #Decode and dump Samsung36 infrared codes.
- sony #Decode and dump Sony infrared codes.
- toshiba_ac #Decode and dump Toshiba AC infrared codes.
tolerance: 25 #20230830 Garage door opener
filter: 250us
idle: 3ms
buffer_size: 2kb
Now I get something like this in the log window:
[21:42:44][D][remote.rc_switch:261]: Received RCSwitch Raw: protocol=6 data='0010101110111100110000111011111001000110000111101101111111111011'
So my impression is that my other remote controllers are not using 433Mhz, rathermore they all use IRā¦
But is there any option to capture IR signals, decode them and transmit them later all together with ESP Home ?
Also I have another remote control using 40.685 MHz (Hƶrmann), would there also be an option ?
Which hardware would I need for IR and 40 MHz ?
I only found a project which could support IR (and other protocols like BLE):
If this is a modern BiSecur system I see no chance to remote control it with anything else but the original Hƶrmann remotes. They use a bidirectional encrypted communication that you cannot simply intercept and imitate from ESPhome. If you could, then anybody on the street could too and could open your garage door with minimal effort.
But the Hƶrmann garage door drives have a physical input that is meant to attach an external switch. Here you can add an ESP with a relay or an opto-coupler and control the door with ESPhome.
Great idea ! Because wifi signal isnāt strong if Garage door is closed idea would be to send a signal via my rf bridge over 433MHz and receive it with another esp inside the garage.
There a switch would be attached connected to the garage door opener.
For my Hƶrmann āSupraMaticEā it is described in manual.
Question: would the esp inside the garage need wifi or would 433MHz receiver be enough ?
Are there any recommendations for potential free relais for usage with esp ?
Be careful with any simple RF control for your garage door. Without a reliable rolling code encryption in that communication you will invite criminals to try and open your door. There are cheap Chinese gadgets on the market that iterate through all possible RF commands in a very short time. They are used while slowly driving through streets to see which garage doors will open. It really happens!
If you use Wifi on ESPhome instead a strong encryption is built in from the start. Better stay with that. It also gives you the possibility to update your ESP over there air.
Donāt use a relay. Use a 2x or 4x opto coupler. It is much cheaper and you donāt need a driver transistor. You can also use it to return the door closed state from your SupraMatic to your ESP.
Have a look at the diagram below where I did something similar with an older ProMatic and a KNX device. The only difference in your case would be that you will need resistors for all (!) your opto LEDs. The LEDs only need between 1 and 10 mA to fully open the photo transistor. So a resistor of about 360 Ohms would be ok. On the back path you need between 2.2k and 22k as shown in the diagram, i.e. 4k would be fine. Make sure you activate the internal pull-up for the corresponding ESP input off that back path GPIO.
Never heard of that People really have to much timeā¦ Donāt they just grab like amazon delivers directly from the front porch nowadays?
But we know that many of this ākeylessā systems used in some Toyota, Jeep or other cars are easily relayed and allowing ākeyless theftsā even 2023
Probably a typo. 443MHz is right in the middle of a busy ham radio band. If anyone is using a wireless remote on 443MHz, you will soon meet your neighborhood ham radio operators looking for the illegal interference.
Yes I get your point but as I mentioned my problem is that Wifi signal isnāt reliable inside the garage.
So I thought using RF to bring my commands inside the garage would be a good ideaā¦
Thatās an interesting pointā¦ but unfortunately I donāt get the point how I can find out the door closed position with the pins mentioned in the manual of my supramatic e1 ?! https://www.ruschmetall.at/download/SupraMatic%20E-1.pdf
Pin 20/21 - external Impuls
Pin 14/15 - external Switch Door Open
Pin 14/17 - external Switch Door Close
In your diagram itās connected to + - in path D ?
In datasheet of optocoupler LTV-847 a typical Forward Voltage is given with Vf = 1.2V.
I calculated with desired led current of 5mA, so for the resistors my thoughts were these:
(3.3V-1.2V) / 0.005A = 420Ohm
ā choosed 430Ohm based on E24 resistor row.
One connector pin of the garage door changes itās state like this:
Door not open: 22.3V
Door completely open: 0.6V
With measured voltage at state garage door is OPEN the led calculation is like this:
(22.3V-1.2V) / 0.005A = 4220Ohm
ā choosed 4,3kOhm based on E24 resistor row.
What would you think about the schematic and the resistor calculation ?
Edit:
Just like I expected wifi signal isnāt reliable enough so it happens that the door opener isnāt available.
This especially happens if the (metal) door is closed, so it canāt be opened again.
I already used an external antenna for the esp.
Also I tried a repeater but also the repeater doesnāt receive a signal which is strong enoughā¦
At the beginning my idea was to use a 433MHz transmitter / receiver but this seems not a good idea.
What else can I do to get the garage door opener working reliable ?