Welcome to the Cumulus Support forum.

Latest Cumulus MX release v3.0.0 build 3050 - 1 May 2019.
Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014

See the Wiki for downloading either version.

Recent history webtags

Discussion of version 3 of Cumulus, which runs on Windows, Linux, and OS X. All Cumulus MX queries in here, please.

Moderator: mcrossley

Post Reply
Matt.j5b
Posts: 446
Joined: Mon 28 Nov 2011 2:13 am
Weather Station: Davis VP2 with DFARS
Operating System: RPi Raspbian (Stretch)
Location: Ferny Grove, Brisbane, Australia
Contact:

Recent history webtags

Post by Matt.j5b » Tue 11 Jun 2019 1:07 pm

I am experiencing a problem using the recent history webtags in a table for the last 72hrs on my website. On my website this is very obvious in that each tag with a different time parameter reports the same time and data. I have triple checked this and I can't see to figure what is happening. I have these webtags processed by Cumulus MX in my php webtags file, which gets uploaded to my web server. There are however are a lot of tags in the file, if that makes any difference.

Link: https://fernygroveweather.com/recent-observations.php

As an examples this is the webtags for fours rows of the table (after the first row of the table)

Code: Select all

$RecentTSM30		=	'<#RecentTS m=31 format="d/MM h:mm tt">';
$RecentOutsideTempM30	=	'<#RecentOutsideTemp m=31>';
$RecentDewPointM30		=	'<#RecentDewPoint m=31>';
$RecentHumidityM30		=	'<#RecentHumidity m=31>';
$RecentWindAvgBearingM30	=   '<#RecentWindAvgDir m=31>';
$RecentWindSpeedM30		=	'<#RecentWindSpeed m=31>';
$RecentWindGustM30		=	'<#RecentWindGust m=31>';
$RecentPressureM30		=	'<#RecentPressure m=31>';
$RecentRainTodayM30	=	'<#RecentRainToday m=31>';

$RecentTSH1			=	'<#RecentTS h=1 m=1 format="d/MM h:mm tt">';
$RecentOutsideTempH1	=	'<#RecentOutsideTemp h=1 m=1>';
$RecentDewPointH1		=	'<#RecentDewPoint h=1 m=1>';
$RecentHumidityH1		=	'<#RecentHumidity h=1 m=1>';
$RecentWindAvgBearingH1 =   '<#RecentWindAvgDir h=1 m=1>';
$RecentWindSpeedH1		=	'<#RecentWindSpeed h=1 m=1>';
$RecentWindGustH1		=	'<#RecentWindGust h=1 m=1>';
$RecentPressureH1		=	'<#RecentPressure h=1 m=1>';
$RecentRainTodayH1		=	'<#RecentRainToday h=1 m=1>';

$RecentTSH1M30				=	'<#RecentTS h=1 m=31 format="d/MM h:mm tt">';
$RecentOutsideTempH1M30		=	'<#RecentOutsideTemp h=1 m=31>';
$RecentDewPointH1M30		=	'<#RecentDewPoint h=1 m=31>';
$RecentHumidityH1M30		=	'<#RecentHumidity h=1 m=31>';
$RecentWindAvgBearingH1M30		=   '<#RecentWindAvgDir h=1 m=31>';
$RecentWindSpeedH1M30		=	'<#RecentWindSpeed h=1 m=31>';
$RecentWindGustH1M30		=	'<#RecentWindGust h=1 m=31>';
$RecentPressureH1M30		=	'<#RecentPressure h=1 m=31>';
$RecentRainTodayH1M30		=	'<#RecentRainToday h=1 m=31>';

$RecentTSH2				=	'<#RecentTS h=2 m=1 format="d/MM h:mm tt">';
$RecentOutsideTempH2	=	'<#RecentOutsideTemp h=2 m=1>';
$RecentDewPointH2		=	'<#RecentDewPoint h=2 m=1>';
$RecentHumidityH2		=	'<#RecentHumidity h=2 m=1>';
$RecentWindAvgBearingH2		=   '<#RecentWindAvgDir h=2 m=1>';
$RecentWindSpeedH2		=	'<#RecentWindSpeed h=2 m=1>';
$RecentWindGustH2		=	'<#RecentWindGust h=2 m=1>';
$RecentPressureH2		=	'<#RecentPressure h=2 m=1>';
$RecentRainTodayH2		=	'<#RecentRainToday h=2 m=1>';
And after the webtags are processed:

Code: Select all

$RecentTSM30				=	'11/06 11:00 pm';
$RecentOutsideTempM30	=	'13.5';
$RecentDewPointM30		=	'10.7';
$RecentHumidityM30		=	'83';
$RecentWindAvgBearingM30	=   '0';
$RecentWindSpeedM30		=	'0';
$RecentWindGustM30		=	'0';
$RecentPressureM30		=	'1024.65';
$RecentRainTodayM30		=	'0.0';

$RecentTSH1				=	'11/06 11:00 pm';
$RecentOutsideTempH1	=	'13.5';
$RecentDewPointH1		=	'10.7';
$RecentHumidityH1		=	'83';
$RecentWindAvgBearingH1	=   '0';
$RecentWindSpeedH1		=	'0';
$RecentWindGustH1		=	'0';
$RecentPressureH1		=	'1024.65';
$RecentRainTodayH1		=	'0.0';

$RecentTSH1M30				=	'11/06 11:00 pm';
$RecentOutsideTempH1M30		=	'13.5';
$RecentDewPointH1M30		=	'10.7';
$RecentHumidityH1M30		=	'83';
$RecentWindAvgBearingH1M30		=   '0';
$RecentWindSpeedH1M30		=	'0';
$RecentWindGustH1M30		=	'0';
$RecentPressureH1M30		=	'1024.65';
$RecentRainTodayH1M30		=	'0.0';

$RecentTSH2				=	'11/06 11:00 pm';
$RecentOutsideTempH2	=	'13.5';
$RecentDewPointH2		=	'10.7';
$RecentHumidityH2		=	'83';
$RecentWindAvgBearingH2		=   '0';
$RecentWindSpeedH2		=	'0';
$RecentWindGustH2		=	'0';
$RecentPressureH2		=	'1024.65';
$RecentRainTodayH2		=	'0.0';
Edit: And it now seems to working after a Cumulus MX restart and tweaking the extra file settings. I had the same file processed twice, which might have caused an issue (with one for the website and the other locally on XAMPP).
Regards, Matt of Brisbane, Australia
Ferny Grove Weather

Matt.j5b
Posts: 446
Joined: Mon 28 Nov 2011 2:13 am
Weather Station: Davis VP2 with DFARS
Operating System: RPi Raspbian (Stretch)
Location: Ferny Grove, Brisbane, Australia
Contact:

Re: Recent history webtags

Post by Matt.j5b » Sat 15 Jun 2019 1:00 pm

This issue has been happening again in the same way as previously described. I have found that most of the time the webtags are not returning the correct data. The most recent tags often work correctly much of the time but all the webtags are more than 1 hour ago return the same data. However sometimes it does work properly. However I can't figure out what is causing this. Any ideas?
Regards, Matt of Brisbane, Australia
Ferny Grove Weather

Post Reply