Maybe the attached code for an Adafruit Feather Lora (AKA Lora32u4) with a BME280 & LDR sensor will help.
I use a different Lora library and it works well for me.
The project is battery powered so sleeps most of the time but every 30 minutes sends data over Lora. I pack the data into a JSON style string so the receiver just forwards the payload onto Node-Red where it gets extracted and used. I opted for this format so I don't need to also reprogram my Lora gateway every time I alter the Feather code/sensors.
LoRa_32u4_BME280_1.ino (8.07 KB)