Hi,
The "realtimeinterval" is sent by Cumulus in CUtags.php and reflects what is set in cumulus so there should be no need for it to be separately specified within settings-weather.php - this would risk a mismatch.
I have added (if it wasn't there already) to my status page;
Code: Select all
// CU REALTIME #######################################
if($SITE['WXsoftware'] == 'CU' and isset($SITE['realtimefile'])) {
do_check($SITE['WXsoftwareLongName']." ".langtransstr("realtime"),"15 seconds",$SITE['realtimefile'],15+15,'file'); // Default 15 seconds - change to realtime updates time + a bit for tansmission variances
}
to my include-status.php ( along with a number of other extra checks).
There is no reason that you should not make these changes yourself if you want.
When making such changes it is best to follow the format that is already used.
If you want to use this information in a lot of scripts then you could add;
Code: Select all
$realtimeinterval = $WX['realtimeinterval'];
to CU-defs.php and then use $realtimeinterval wherever you need to, e.g.;
Code: Select all
// CU REALTIME #######################################
if($SITE['WXsoftware'] == 'CU' and isset($SITE['realtimefile'])) {
do_check($SITE['WXsoftwareLongName']." ".langtransstr("realtime"),"$realtimeinterval seconds",$SITE['realtimefile'],$realtimeinterval+15,'file'); // Default 15 seconds - change to realtime updates time + a bit for tansmission variances
}
I'm sure Ken looks at what people are doing with their sites when he come to make changes and would include those changes that he thinks would have broad appeal. In the meantime you can change your scripts to suit your own preferences.