I guess it's something like this:
Code: Select all
<?php
$dataUrl = 'http://domainname/all-sensors.xml';
$data = simplexml_load_file($dataUrl);
and than what???
}
?>
Moderator: Mattk
Code: Select all
<?php
$dataUrl = 'http://domainname/all-sensors.xml';
$data = simplexml_load_file($dataUrl);
and than what???
}
?>
It can be handy to includeWS Grave wrote:It seems that one minute the data are filled in OK, but the other minute not and I get to see the code instead of data for some.
60 seconds is very tight. Just one missed reading for a lot of sensor types? Mine is set to 300, which is I think the default?PS.
Could this be due to low "Hold time for live data"?
I had it set to 60 seconds, but it should be higher?
Actually, I forgot to mention that there is also a newer, fancier, technique available too. Maybe you've already spotted it?WS Grave wrote:Thanks for that tip Skyewright.