NorthernMan54 / rtl_433_ESP

Trial port of the rtl_433 Library for use with OpenMQTTGateway on a ESP32 and a CC1101 Transceiver
GNU General Public License v3.0
491 stars 110 forks source link

Support for 868MHz ESP32 LoRa ? #55

Open MadMacMad opened 1 year ago

MadMacMad commented 1 year ago

hello, well by any chance is there a way to support the 868MHz ESP32 LoRa boards for Bresser 6 in 1 sensors ? the rtl_433 does support the 868MHz ... many thx

NorthernMan54 commented 1 year ago

The Bresser 6 in 1 uses FSK modulation, which is not supported - https://github.com/merbanan/rtl_433/blob/3597af8221b73e485cdeda0cccfa03fc171e1fad/src/devices/bresser_6in1.c#L243

The 868Mhz ESP32 Lora boards as long as they are the sx127x chipset should be supported.

ristomatti commented 1 year ago

Should a weather station work with SX127x 868M Lora boards that I've been using with a RTL_433 w/ SDR dongle? It's detected by "Fine Offset Electronics WH1080/WH3080 Weather Station" decoder? I'd test right away unless the weather station was not at our cottage.. :smile:

ristomatti commented 1 year ago

Answering myself: WH1080 seems to be using either OOK_PWM or FSK_PCM depending on the variant (https://github.com/merbanan/rtl_433/blob/master/src/devices/fineoffset_wh1080.c). I hope ours is not using FSK. 🤞

CazYokoyama commented 1 year ago

The Bresser 6 in 1 uses FSK modulation, which is not supported - https://github.com/merbanan/rtl_433/blob/3597af8221b73e485cdeda0cccfa03fc171e1fad/src/devices/bresser_6in1.c#L243

The 868Mhz ESP32 Lora boards as long as they are the sx127x chipset should be supported.

Is there anything I can do to support FSK modulation? I have LaCrosse Technology LTV-WSDTH01 Breeze Pro. rtl_433/src/devices/lacrosse_breezepro.c tells "FSK_PCM on a center frequency of 914.938 MHz". I am glad if you point me where I should look at.

NorthernMan54 commented 1 year ago

FSK Modulated signals are a challenge, as their are multiple FSK modulations, with unique receiver settings for each. Hence the lack of progress with FSK modulation. So creating a general receiver for OOK and FSK modulated signals is not feasible. Also on a personal nature I do not have access to a device that uses FSK modulation, so that is also preventing progress.

CazYokoyama commented 1 year ago

Yes, I found your fsk branch. Let me look at my box where some La Crosse transmitter.

I am modifing example/OOK_Receiver/OOK_Receiver.ino for FSK/915MHz. Is this another good approach? Or working at your fsk branch is better idea?

NorthernMan54 commented 1 year ago

That fsk branch and example are failed attempts to get it working from a few years ago, and I don’t recall the exact status except non functional

CazYokoyama commented 1 year ago

@NorthernMan54 I created https://github.com/NorthernMan54/rtl_433_ESP/pull/66. It does not ask you a pull. It is the status report of FSK 915MHz.