To work with change of values in real time we can use:
- FirebaseDB (realtime).
Here we are going to see it with a MySQL database:
Data base name: web
Table name: sensores
We want to query the cell temperatura of the row id = 2
We have several methods:
Create an HTML page with PHP and refresh it with the classic:
<meta http-equiv ="refresh" content ="8" >
With these two methods we would refresh the entire page.
- We can also use a Clock timer and the Web component: