• 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

cloud-weather-station auto refresh

Q&A Forum › Category: ESP32 › cloud-weather-station auto refresh
0 Vote Up Vote Down
Patto asked 1 year ago

Awesome Tutorial thanks guys.
It works great but I want the webpage to auto update the data a bit like this tutorial does https://randomnerdtutorials.com/esp32-plot-readings-charts-multiple/.
Currently I have to manually refresh the data and I prefer to be able to get it to auto refresh. How do I do that or what code do I need. I’m a bit of a newbie

2 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 1 year ago

Hi.
I think the easiest option, in that case, is to add something like this in the head of the HTML file (esp-weather-station.php):

  • https://www.w3schools.com/tags/att_meta_http_equiv.asp

I hope this helps.
Regards,
Sara
 

0 Vote Up Vote Down
Patto answered 1 year ago

Thanks Sara
that works perfectly.
I have many more questions so Ill post separately as they are all different topics.
 

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] Firebase Web App with ESP32 and ESP8266 (version 1.2) April 25, 2022
  • [eBook Updated] MicroPython Programming with ESP32 and ESP8266 (version 1.3) February 7, 2022

You must be logged in to view this content.

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

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