Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

191 967 Last Error Webtags

Please discuss beta versions of Cumulus 1 here. Note: There are currently no beta versions of Cumulus 1.
Locked
Synewave
Posts: 642
Joined: Mon 25 Jan 2010 1:55 pm
Weather Station: Watson W-8681
Operating System: Raspian
Location: Brighton, UK
Contact:

191 967 Last Error Webtags

Post by Synewave »

Hi Steve,

I've just been helping another member (robynfali) to add the new Error information to his System Status page.

The webtags have been placed into a new file called realtimeextras.txt and added to the 'extra files' section of the Cumulus internet settings with Process, Realtime and FTP all ticked.

The file on his PC is like this:

Code: Select all

<#LatestError>~
<#ErrorLight>~
<#LatestErrorTime>~
<#LatestErrorDate>~
The tildas are the seperators.

The file is being processed as follows:

Code: Select all

An error has occurred during the Wunderground update~
0~
14:03~
05/12/2010~
and can been seen at http://www.h-i-r.org.uk/weather/realtimeextras.txt
The file is being updated every 48 seconds.

His error light is not flashing in Cumulus (as he has clicked on the error light) and is reflected in this file.

In my realtimeextras.txt http://www.synewave.co.uk/gcsweather/realtimeextras.txt file I have:

Code: Select all

~
0~
----~
------~
indicating the last error has been cleared and the date and timestamps have also. My last error was an FTP Connect Timeout which I have also cleared .

Does the new error webtag work differently for errors other than FTP errors?
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: 191 967 Last Error Webtags

Post by steve »

Some errors get logged to the error log form but don't flash the light; I think currently the only ones like that are FTP connect retries (but if the connect fails after the 3 retries, the final error does flash the light), and Wunderground and PWS failures. But all of the errors logged to the error log form affect the new web tags, irrespective of whether they flash the light. I'm open to suggestions that this behaviour should change.
Steve
User avatar
robynfali
Posts: 1076
Joined: Sat 31 Jul 2010 10:34 pm
Weather Station: Vantage Vue
Operating System: Windows XP
Location: Anglesey, North Wales, UK
Contact:

Re: 191 967 Last Error Webtags

Post by robynfali »

Paul,

Don't know what happened, but it's cleared itself now, I haven't done anything, but now its showing --- rather than date/time
User avatar
robynfali
Posts: 1076
Joined: Sat 31 Jul 2010 10:34 pm
Weather Station: Vantage Vue
Operating System: Windows XP
Location: Anglesey, North Wales, UK
Contact:

Re: 191 967 Last Error Webtags

Post by robynfali »

@ Steve

I think you should leave it as ALL errors are logged, its handy to know if any error has occoured, rather than just the FTP error. My reason for this is cumulus is running on the wife's pc, I cant always get at it, and at least this way I know if an error has occoured without incurring her wrath for disturbing her! :bash:
Synewave
Posts: 642
Joined: Mon 25 Jan 2010 1:55 pm
Weather Station: Watson W-8681
Operating System: Raspian
Location: Brighton, UK
Contact:

Re: 191 967 Last Error Webtags

Post by Synewave »

robynfali wrote:Paul,

Don't know what happened, but it's cleared itself now, I haven't done anything, but now its showing --- rather than date/time
Rob,

The ----, yes that's how it should be if there is no error.

Did you get another FTP since the WU error? And if so, did you click on the error light to clear it?
User avatar
robynfali
Posts: 1076
Joined: Sat 31 Jul 2010 10:34 pm
Weather Station: Vantage Vue
Operating System: Windows XP
Location: Anglesey, North Wales, UK
Contact:

Re: 191 967 Last Error Webtags

Post by robynfali »

Well, its uploading every 15, so i imagine it's been uploaded since, but no, no error light mate
Synewave
Posts: 642
Joined: Mon 25 Jan 2010 1:55 pm
Weather Station: Watson W-8681
Operating System: Raspian
Location: Brighton, UK
Contact:

Re: 191 967 Last Error Webtags

Post by Synewave »

robynfali wrote:@ Steve

I think you should leave it as ALL errors are logged, its handy to know if any error has occoured, rather than just the FTP error. My reason for this is cumulus is running on the wife's pc, I cant always get at it, and at least this way I know if an error has occoured without incurring her wrath for disturbing her! :bash:
Steve,

I too would also say leave it as it is.

Rob,

What I'll do is modify the javascript so that the error light will flash orange and show the last error if the error is anything other than FTP related. If the last error is FTP related, the red flashing light will display as it does now. How does that sound?
User avatar
robynfali
Posts: 1076
Joined: Sat 31 Jul 2010 10:34 pm
Weather Station: Vantage Vue
Operating System: Windows XP
Location: Anglesey, North Wales, UK
Contact:

Re: 191 967 Last Error Webtags

Post by robynfali »

That sounds pretty damn good to me buddy
User avatar
daj
Posts: 2041
Joined: Tue 29 Jul 2008 8:00 pm
Weather Station: WH1081
Operating System: Pi & MX
Location: SW Scotland
Contact:

Re: 191 967 Last Error Webtags

Post by daj »

Just to throw into the thought process -- FTP errors being shown on the site are of course redundant and superflous. The only way to see an error is after a successful FTP, by which time and FTP error has cleared. ;)
David
kippfordweather.uk
Cumulus MX & Raspberry Pi
Synewave
Posts: 642
Joined: Mon 25 Jan 2010 1:55 pm
Weather Station: Watson W-8681
Operating System: Raspian
Location: Brighton, UK
Contact:

Re: 191 967 Last Error Webtags

Post by Synewave »

daj wrote:Just to throw into the thought process -- FTP errors being shown on the site are of course redundant and superflous. The only way to see an error is after a successful FTP, by which time and FTP error has cleared. ;)

David, good thinking, but the FTP error stays in the tag whilst the error light is flashing in Cumulus. So when Cumulus does recover from FTP failures, and uploads the tag to the website, it will show the last error. It seems to have worked for me (so far) when I force an FTP failure.

I may be mis-understanding what you are saying though.
User avatar
robynfali
Posts: 1076
Joined: Sat 31 Jul 2010 10:34 pm
Weather Station: Vantage Vue
Operating System: Windows XP
Location: Anglesey, North Wales, UK
Contact:

Re: 191 967 Last Error Webtags

Post by robynfali »

Well, these have just worked PERFECTLY for me, I got an FTP error and it showed it on the site, two different ways, the first being the error indicators that Paul did for me, and then looking down at the new error indicator telling me an ftp error had happened

Well done gents, well done indeed,
User avatar
robynfali
Posts: 1076
Joined: Sat 31 Jul 2010 10:34 pm
Weather Station: Vantage Vue
Operating System: Windows XP
Location: Anglesey, North Wales, UK
Contact:

Re: 191 967 Last Error Webtags

Post by robynfali »

Synewave wrote:
daj wrote:Just to throw into the thought process -- FTP errors being shown on the site are of course redundant and superflous. The only way to see an error is after a successful FTP, by which time and FTP error has cleared. ;)

David, good thinking, but the FTP error stays in the tag whilst the error light is flashing in Cumulus. So when Cumulus does recover from FTP failures, and uploads the tag to the website, it will show the last error. It seems to have worked for me (so far) when I force an FTP failure.

I may be mis-understanding what you are saying though.

The other thing with this (see my above post) is that the faults come through realtime, so if the ftp does fail, then the realtime (in my case) made it through
Locked