- Visualize Your Sensor Readings from Anywhere in the World (ESP32/ESP8266 + MySQL + PHP)
- https://randomnerdtutorials.com/visualize-esp32-esp8266-sensor-readings-from-anywhere/
Hi Rui, Hi Sara
thank you for your great tutorial,
I want to show the chart at the time intervals I have specified (start and end date).
How should I make a change in coding.
Hello Hasan, I’m not sure if I understood exactly what you’r trying to accomplish. What start and end data are you referring to? That example starts with the first timestamp and then, it only display the last couple of readings.
Thanks
I want to pass information from the database into a variable in esp32. How can I do that?
In order to get a value to your ESP32, you should setup your PHP server to return your desired information when it receives an HTTP request from the ESP32.
- Here’s an example: https://randomnerdtutorials.com/esp32-http-get-post-arduino/
Basically, you can have a PHP script or Node-RED flow that answers an HTTP GET request to update an ESP32 variable.
I hope that helps!