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 Wed, 02 Jul 2025 10:49:31 +0000 hourly 1 https://wordpress.org/?v=6.8.2 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?

]]>
By: Selim https://randomnerdtutorials.com/cloud-weather-station-esp32-esp8266/#comment-938101 Tue, 16 Jul 2024 08:06:04 +0000 https://randomnerdtutorials.com/?p=92139#comment-938101 When I run the mysite.com/esp-weather-station.php I see a white empty page…I removed the php code lines from the esp-weather-station.php file and leave only the html lines…Now I can see the page and the blank values..I checked the database name and password again, all is ok and right written.Do you have any idea what is wrong in the php lines?…Thanks..

]]>
By: Lucien https://randomnerdtutorials.com/cloud-weather-station-esp32-esp8266/#comment-937047 Sat, 13 Jul 2024 16:53:13 +0000 https://randomnerdtutorials.com/?p=92139#comment-937047 Hello,
I tried to make this project with an esp32 and the same BME280 that is used in this tutorial.
I bought the BlueHost license, with the link present in this tutorial.
I thought I had succeeded in all the steps in this tutorial, but once the code had been uploaded to my esp32, the web page displayed a blank page.
In the previous steps, I managed to create the files “esp-post-data.php” and “esp-database.php”. I replaced the 3 fields indicated and obtained the following message: “No data posted with HTTP POST.”
But when I want to display the “https://example.com/esp-weather-station.php” page, the page remains blank and doesn’t display the diagrams shown in the tutorial, despite the fact that I’ve created the “esp-style.css” and “esp-weather-station.php” files.
Could you please help me? Thank you and have a nice day.
Sincerely

]]>
By: Jimtehd65 https://randomnerdtutorials.com/cloud-weather-station-esp32-esp8266/#comment-896847 Thu, 07 Mar 2024 07:32:17 +0000 https://randomnerdtutorials.com/?p=92139#comment-896847 Hi Sara, Rui
Many thanks for the detailed post, I was able to modify this and have it routed through the blockchain on to my private fleet contract and allowed me to show a very secure esp32 demo.

]]>
By: Ken https://randomnerdtutorials.com/cloud-weather-station-esp32-esp8266/#comment-872600 Fri, 17 Nov 2023 18:30:32 +0000 https://randomnerdtutorials.com/?p=92139#comment-872600 In reply to saeid.

Unfortunately, no. Not yet! I’ll post a solution as soon as It’s fixed. Good luck Saeid!

]]>
By: saeid https://randomnerdtutorials.com/cloud-weather-station-esp32-esp8266/#comment-872437 Thu, 16 Nov 2023 21:20:25 +0000 https://randomnerdtutorials.com/?p=92139#comment-872437 In reply to Kadek Suka Astawa.

Hello , Did you solve it? I have same situation…!

]]>