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
495 stars 113 forks source link

arduino LoRa library #148

Closed biospank closed 1 month ago

biospank commented 1 month ago

Current Situation

I'm using this library with Lilygo LoRa32 V2.1_1.6 (433) board and everything works fine. When I add arduino LoRa library to relay the incoming rtl_433_ESP message to remote LoRa module it stops to work. I think it's something related to the initialization and default configuration of these two libraries

rtl_433_ESP initialization code: rf.initReceiver(RF_MODULE_RECEIVER_GPIO, 433.92); arduino LoRa initialization code: digitalPinToInterrupt(LORA_IRQ); LoRa.setPins(LORA_CS, LORA_RST, LORA_IRQ);

I there any way to use both library at the same time avoiding conflict?

Any help would be appreciated.

Logs

no logs

Configuration

no conf

Environment

Process Supervisor

not applicable

Additional Context

No response

NorthernMan54 commented 1 month ago

The rtl_433 library is using the Lora chip to receive 433 MHz messages so using the Lora chip to send Lora messages at the same time is not feasible.