Comments on: DIY Cloud Weather Station with ESP32/ESP8266 (MySQL Database and PHP) https://randomnerdtutorials.com/cloud-weather-station-esp32-esp8266/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Mon, 20 Oct 2025 01:09:38 +0000 hourly 1 https://wordpress.org/?v=6.8.5 By: Randy https://randomnerdtutorials.com/cloud-weather-station-esp32-esp8266/#comment-1111567 Mon, 20 Oct 2025 01:09:38 +0000 https://randomnerdtutorials.com/?p=92139#comment-1111567 Please disregard my previous post, I recreated the esp-weather-station.php file, and all is working now.

]]>
By: Randy https://randomnerdtutorials.com/cloud-weather-station-esp32-esp8266/#comment-1111550 Sun, 19 Oct 2025 23:47:30 +0000 https://randomnerdtutorials.com/?p=92139#comment-1111550 Thanks for this tutorial. I’ve implemented my own Raspberry Pi server and have everything “mostly” working except for one problem.
I’ve verified that my ES32 is populating the table as expected. If I use the esp-weather-station.php source as is, I receive a 500 (Internal Server Error) in the console when I attempt to open the page.

If I comment out the following section, the page displays with no problem:

if (isset($_GET["readingsCount"])){
$data = $_GET["readingsCount"];
$data = trim($data);
$data = stripslashes($data);
$data = htmlspecialchars($data);
$readings_count = $_GET["readingsCount"];
}
// default readings count set to 20
else {
$readings_count = 20;
}

I added a new line below this to manually set the readings_count variable to 20. The page display now looks normal except for being fixed at the latest 20 readings.

Any ideas?

]]>
By: Sara Santos https://randomnerdtutorials.com/cloud-weather-station-esp32-esp8266/#comment-1082754 Sun, 17 Aug 2025 10:56:27 +0000 https://randomnerdtutorials.com/?p=92139#comment-1082754 In reply to Bob.

Hi.
Unfortunately, at the moment, we don’t have any tutorials for ethernet module with the ESP32.
Regards,
Sara

]]>
By: Bob https://randomnerdtutorials.com/cloud-weather-station-esp32-esp8266/#comment-1081873 Thu, 14 Aug 2025 15:54:27 +0000 https://randomnerdtutorials.com/?p=92139#comment-1081873 Afternoon,
Thanks for a great project with such a detailed description…
I’ve added a time stamp to the messages for my own information.
However, how can you move this from WiFi to Ethernet…..
I’ve spent “hours” trying to get it to work using a W5500 ethernet module which I can get an IP address, ping in and out but not get the time..
Any help guidance would be appreciated.

]]>
By: Bob https://randomnerdtutorials.com/cloud-weather-station-esp32-esp8266/#comment-1079074 Wed, 06 Aug 2025 14:05:34 +0000 https://randomnerdtutorials.com/?p=92139#comment-1079074 Afternoon,
Thanks for a great project with such a detailed description…
I’ve added a time stamp to the messages for my own information.
However, how can you move this from WiFi to Ethernet…..
I’ve spent “hours” trying to get it to work using a W5500 ethernet module which I can get an IP address, ping in and out but not get the time..
Any help guidance would be appreciated.

]]>
By: Claes Rolen https://randomnerdtutorials.com/cloud-weather-station-esp32-esp8266/#comment-991163 Fri, 13 Dec 2024 13:47:30 +0000 https://randomnerdtutorials.com/?p=92139#comment-991163 In reply to Sara Santos.

I get:
esp-sha: Failed to allocate buf memory
in ssl_client.c
probably due to the
WiFiClientSecure *client = new WiFiClientSecure;
run every loop without cleaning up with delete.

BR
Claes

]]>
By: Sara Santos https://randomnerdtutorials.com/cloud-weather-station-esp32-esp8266/#comment-991131 Fri, 13 Dec 2024 12:10:59 +0000 https://randomnerdtutorials.com/?p=92139#comment-991131 In reply to Claes.

Hi.
What is the error that you get?
Regards,
Sara

]]>
By: Claes https://randomnerdtutorials.com/cloud-weather-station-esp32-esp8266/#comment-990887 Thu, 12 Dec 2024 13:57:35 +0000 https://randomnerdtutorials.com/?p=92139#comment-990887 Hello and thank you for the great tutorial.
I have an issue with ESP32 causing a crash/reboot. It seems to be a memory leak eating heap in Secure Client block. Adding a delete client; after https.end(); fixed the problem.

I am using Arduino hardware package/library ESP32 – version 3.0.7.

// BR Claes

]]>
By: Peter https://randomnerdtutorials.com/cloud-weather-station-esp32-esp8266/#comment-950178 Thu, 22 Aug 2024 12:01:12 +0000 https://randomnerdtutorials.com/?p=92139#comment-950178 Hello,
I had this project up and running for a couple of years but started to run into various problems with hosting companies and decided to take the project local using WAMP and MySQL installed and configured on a desktop computer over my home wifi network. I am using your updated files. I continue to receive http response error code -1 with no data being posted to the table. Can you suggest trouble shooting steps? Thanks!

]]>
By: Xavi https://randomnerdtutorials.com/cloud-weather-station-esp32-esp8266/#comment-943710 Wed, 31 Jul 2024 10:19:10 +0000 https://randomnerdtutorials.com/?p=92139#comment-943710 In reply to Ken.

It happens to me too. Did you find the solution?

]]>