LoRa Receiver

Supports HelTec ESP32 DevKit (v2) initially, just because I already have it.

Link to GitHub Repository

https://github.com/jhughes1010/weather_v4_lora_receiver

This repo is marked private currently

Software Milestones

Basic dump of data to serial console and LCD indicating RX success
MQTT repackage data and forward to broker
Persistent rainfall data collection and management
Removal of LCD screen support as normal sender does not have this
Possibly bring wind vane calibration into this module vs. The station itself???
Calibrate the RTC on the sender via the receiver module. This will happen in the LoRaWAN integration as I have access to easy uplink/downlink communications

Software configuration

Rename conf.h to config.h

I’m actively developing and this shields my WiFi SSID and password details. conf.h is a template. The following edits are all in config.h

LoRa radio frequency

//=========================================== //LoRa band //=========================================== #define BAND 915E6 //you can set band here directly,e.g. 868E6,915E6

WiFi connect details

//=========================================== //WiFi connection //=========================================== char ssid[] = "ssid"; // WiFi Router ssid char pass[] = "password"; // WiFi Router password

MQTT settings

Set to your local mqtt broker. If you do not have a broker, feel free to comment line #5 below and uncomment line #4

//=========================================== //MQTT broker connection //=========================================== //const char* mqttServer = "test.mosquitto.org"; const char* mqttServer = "192.168.5.66"; const int mqttPort = 1883; const char* mqttUser = "mqtt_user"; const char* mqttPassword = "mqtt_password"; const char mainTopic[20] = "RoyalGorgee/";

Timezone details

 

MQTT Topic Structure