Configuring a LoRa32 as an AcuRite Bridge

Hello. I’m relatively new to ESPHome and Home Assistant. I’m trying to setup a LILYGO T3 LoRa32 V1.6.1 to read data from AcuRite temperature sensors. I’m using the custom component from https://github.com/swoboda1337/acurite-esphome/.

I’m confused about how to setup the remote_receiver block. How do I know which pin assignment to use there? Currently it’s set to GPIO32, but I only have that value set because that’s what’s shown in the sample config from the custom component’s website. As far as I can tell, my LoRa32 doesn’t have a GPIO32 pin.

Also, how do I know which settings to use in the sx127x block (e.g., modulation, bandwidth, etc.)?

Thank you.

substitutions:
  name: acurite-bridge
  board: ttgo-lora32-v21
  spi_clk_pin: GPIO5
  spi_mosi_pin: GPIO27
  spi_miso_pin: GPIO19
  sx127x_cs_pin: GPIO18
  sx127x_rst_pin: GPIO23
  sx127x_dio0_pin: GPIO26
  remote_receiver_pin: GPIO32

esphome:
  name: ${name}

esp32:
  board: ${board}
  framework:
    type: esp-idf

logger:
  level: INFO

api:
  encryption:
    key: "!secret api_encryption_key"

ota:
  - platform: esphome
    password: "!secret otapassword"

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  ap:
    ssid: ${name}
    password: "!secret wifi_ap_password"

captive_portal:

spi:
  clk_pin: ${spi_clk_pin}
  mosi_pin: ${spi_mosi_pin}
  miso_pin: ${spi_miso_pin}

sx127x:
  cs_pin: ${sx127x_cs_pin}
  rst_pin: ${sx127x_rst_pin}
  dio0_pin: ${sx127x_dio0_pin}
  frequency: 433920000
  modulation: OOK
  rx_start: true
  bandwidth: 50_0kHz
  packet_mode: false
  bitsync: true
  rx_floor: -90

remote_receiver:
  pin: ${remote_receiver_pin}
  dump: all

external_components:
  - source: github://swoboda1337/acurite-esphome

acurite:

Hi

For info ESPHome supports none LoRa devices ! If you want to do it with LoRa you’ll need to program the ESP with Arduino for example :wink:

Vincèn

To start with, go with your external component example parameters. Gpio32 is named Lora2 on your board. For further information you should contact the author of that component.

Not true. ESPHome supports these boards with the “ttgo-lora32-v21” board type.