Comments on: ESP32 LoRa Sensor Monitoring with Web Server (Long Range Communication) https://randomnerdtutorials.com/esp32-lora-sensor-web-server/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Sat, 15 Mar 2025 11:31:14 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Sara Santos https://randomnerdtutorials.com/esp32-lora-sensor-web-server/#comment-998124 Tue, 07 Jan 2025 19:36:53 +0000 https://randomnerdtutorials.com/?p=90811#comment-998124 In reply to Doug Richardson.

Try removing any folders from your libraries folder related to the AsyncWebServer and AsyncTCP libraries and install them again using the links provided in this guide.
Then, try again.
Regards,
Sara

]]>
By: Doug Richardson https://randomnerdtutorials.com/esp32-lora-sensor-web-server/#comment-998109 Tue, 07 Jan 2025 18:42:45 +0000 https://randomnerdtutorials.com/?p=90811#comment-998109 In reply to Sara Santos.

Hi Sara
Unfortunately the 3.0.7 version of the board did not work as well as 3.0.6 version.
I am using the LILYGO LORA32 T3.V1.6.1 and your above receiver code .
As stated Sender portion is fine.

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-lora-sensor-web-server/#comment-998020 Tue, 07 Jan 2025 11:52:36 +0000 https://randomnerdtutorials.com/?p=90811#comment-998020 In reply to Doug Richardson.

Hi.
Try downgrading the ESP32 boards to version 3.0.7 (Tools > Boards > Boards Manager > ESP32 > Downgrade to 3.0.7)
There is currently an issue with the new version and the ESPASynvWebServer.
Regards,
Sara

]]>
By: Doug Richardson https://randomnerdtutorials.com/esp32-lora-sensor-web-server/#comment-997433 Sun, 05 Jan 2025 22:45:34 +0000 https://randomnerdtutorials.com/?p=90811#comment-997433 Sara just tried to up load to IDE 1.8.19
same results.

]]>
By: Doug Richardson https://randomnerdtutorials.com/esp32-lora-sensor-web-server/#comment-997431 Sun, 05 Jan 2025 22:25:15 +0000 https://randomnerdtutorials.com/?p=90811#comment-997431 Hi Sara
I have downloaded this LORA file for the receiver as it is from the raw file download provided.

I notice it uses the h> file among others.
I am using IDE 2.3.4 for the project.

I get this as an upload problem exit status 1
Looks like it trying to use SPIFFS. not sure how to fix, and not sure how much code you want to see.

The sending half of the LORA project is up and running.
Following is some code , I will await your reply.

C:\Users\55dog\AppData\Local\arduino\sketches\9D0130BAF0946AE0C54D811538519022\libraries\ESP_Async_WebServer\WebResponses.cpp.o
In file included from c:\Users\55dog\OneDrive\Documents\Arduino\libraries\ESP_Async_WebServer\src\SPIFFSEditor.cpp:1:
c:\Users\55dog\OneDrive\Documents\Arduino\libraries\ESP_Async_WebServer\src\SPIFFSEditor.h:18:18: error: ‘virtual bool SPIFFSEditor::canHandle(AsyncWebServerRequest*)’ marked ‘override’, but does not override
18 | virtual bool canHandle(AsyncWebServerRequest *request) override final;
| ^~~~~~~~~
c:\Users\55dog\OneDrive\Documents\Arduino\libraries\ESP_Async_WebServer\src\SPIFFSEditor.h:21:18: error: ‘virtual bool SPIFFSEditor::isRequestHandlerTrivial()’ marked ‘override’, but does not override
21 | virtual bool isRequestHandlerTrivial() override final {return false;}
| ^~~~~~~~~~~~~~~~~~~~~~~

Using library WiFi at version 3.1.0 in folder: C:\Users\55dog\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0\libraries\WiFi
Using library Networking at version 3.1.0 in folder: C:\Users\55dog\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0\libraries\Network
Using library ESP Async WebServer at version 3.4.5 in folder: C:\Users\55dog\OneDrive\Documents\Arduino\libraries\ESP_Async_WebServer
Using library FS at version 3.1.0 in folder: C:\Users\55dog\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0\libraries\FS
Using library AsyncTCP at version 1.1.4 in folder: C:\Users\55dog\OneDrive\Documents\Arduino\libraries\AsyncTCP
Using library LittleFS at version 3.1.0 in folder: C:\Users\55dog\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0\libraries\LittleFS
Using library SPI at version 3.1.0 in folder: C:\Users\55dog\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0\libraries\SPI
Using library LoRa at version 0.8.0 in folder: C:\Users\55dog\OneDrive\Documents\Arduino\libraries\LoRa
Using library Wire at version 3.1.0 in folder: C:\Users\55dog\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.0\libraries\Wire
Using library Adafruit GFX Library at version 1.11.11 in folder: C:\Users\55dog\OneDrive\Documents\Arduino\libraries\Adafruit_GFX_Library
Using library Adafruit BusIO at version 1.16.2 in folder: C:\Users\55dog\OneDrive\Documents\Arduino\libraries\Adafruit_BusIO
Using library Adafruit SSD1306 at version 2.5.13 in folder: C:\Users\55dog\OneDrive\Documents\Arduino\libraries\Adafruit_SSD1306
Using library NTPClient at version 3.2.1 in folder: C:\Users\55dog\OneDrive\Documents\Arduino\libraries\NTPClient
exit status 1

Compilation error: exit status 1

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-lora-sensor-web-server/#comment-986722 Tue, 26 Nov 2024 14:50:52 +0000 https://randomnerdtutorials.com/?p=90811#comment-986722 In reply to Francisco CG.

Hi.
Thank you so much for your feedback.
Regards,
Sara

]]>
By: Francisco CG https://randomnerdtutorials.com/esp32-lora-sensor-web-server/#comment-986476 Mon, 25 Nov 2024 19:43:40 +0000 https://randomnerdtutorials.com/?p=90811#comment-986476 Dear Sara and Rui;
Just to say thank you again for your beginner-proof ever interesting projects.
Saludos,
Francisco.

]]>
By: Roman https://randomnerdtutorials.com/esp32-lora-sensor-web-server/#comment-930296 Tue, 25 Jun 2024 10:41:30 +0000 https://randomnerdtutorials.com/?p=90811#comment-930296 I did it and it works perfect. Thanks. Is it possible to integrate web server page to Home Assistant?

]]>
By: Peter https://randomnerdtutorials.com/esp32-lora-sensor-web-server/#comment-867156 Sun, 22 Oct 2023 01:32:35 +0000 https://randomnerdtutorials.com/?p=90811#comment-867156 There are some bugs in the sender code.
In the startOLED() function there is no display.display(); at the end and therefore when I run the program it just displays garbage.
Also, my sensor (which turned out to be a BMP280 not a BME280) runs fine using the test code( replacing Adafruit_BME280 with Adafruit_BMP280 and removing the humidity references)
but it this sketch never finds it. If I run a I2C scan after startOLED(); then only the 0x3c address can be detected.
I think there is something not right with this line:
Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, OLED_RST);

]]>
By: Ray Jorgensen https://randomnerdtutorials.com/esp32-lora-sensor-web-server/#comment-867067 Sat, 21 Oct 2023 15:52:22 +0000 https://randomnerdtutorials.com/?p=90811#comment-867067 I used this lesson in 2021 and it worked great. I now need to update it with another sensor and I’d get the message that it wouldn’t compile for ESP32.
I tracked it down and the problem is with” #include “ESPAsyncWebServer.h”. A change must have been made to the library and now this library needs to be used also. #include “AsyncTCP.h”

My sketch now uses:

#include “AsyncTCP.h”
#include “ESPAsyncWebServer.h”

and all works fine.
Thanks for all the great content!!

]]>