• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Visualize Your Sensor Readings from Anywhere in the World (ESP32/ESP8266 + MySQL + PHP)

Q&A Forum › Category: ESP32 › Visualize Your Sensor Readings from Anywhere in the World (ESP32/ESP8266 + MySQL + PHP)
0 Vote Up Vote Down
Hasan Demirayak asked 3 years ago
  • 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.

Question Tags: esp32 chart
3 Answers
0 Vote Up Vote Down
Rui Santos Staff answered 3 years ago

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

0 Vote Up Vote Down
Hasan Demirayak answered 3 years ago

I want to pass information from the database into a variable in esp32. How can I do that?

0 Vote Up Vote Down
Rui Santos Staff answered 3 years ago

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!

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] SMART HOME with RPi, ESP32, and ESP8266 (version 1.2) March 8, 2023
  • [eBook Updated] ESP32-CAM Projects (version 1.3) January 7, 2023

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2023 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.