Cumulus Toolbox webtags support
Posted: Sun 23 Dec 2012 11:26 pm
Hi all
Forgive me if this question has been asked and answered before - I did some searching and couldn't find the answer to it. I'm relatively new to the whole Cumulus thing, and learning as I go.
I have a Fine Offset station and have been struggling with the issue of the console stops communicating with Cumulus. I'm trying to add a new rule to Cumulus Toolbox to email me if it detects a problem, so I can get the station reset sooner. Otherwise, I don't know unless I see my web pages aren't updating as expected, and I'm not looking at them constantly. My goal is to reduce the amount of lost data I will have with this communication error.
So, I've done some experimenting with the webtags stuff, and finally figured out that I had to fix a couple of things in CT (Cumulus Toolbox) first. I got those fixed, and have successfully emailed myself for a dummy condition (day not equal to 99). I've seen reference to new web tags in the beta versions ( on this page: http://wiki.sandaysoft.com/a/BETA_webtags) called DataStopped, LatestError, LatestErrorDate and LatestErrorTime to name a few interesting ones. All of these are present in my cumuluswebtags.txt file that is being used by Cumulus and CT. I've turned on debug in CT, and find this error in the log:
12/23/2012 3:02:43 PM : Reading Tag file.C:\Cumulus\data\cumuluswebtags.txt
12/23/2012 3:02:43 PM : Could not read value of webtag 'currcond'
12/23/2012 3:02:43 PM : Could not read value of webtag 'longlocation'
12/23/2012 3:02:43 PM : Could not read value of webtag 'LatestError'
In addition, when I get my email, a couple of the tags are not populating:
ErrorLight: 0 Latest Error: *unknown* Latest Error Date: ------ Latest Error Time: ---- - Data Stopped: <#DataStopped> - Last data Read: <#LastDataReadT>
This is how the text is set in the rule:
ErrorLight: <#ErrorLight> Latest Error: <#LatestError> Latest Error Date: <#LatestErrorDate> Latest Error Time: <#LatestErrorTime> - Data Stopped: <#DataStopped> - Last data Read: <#LastDataReadT>
I'm currently running Cumulus 1.9.3 build 1057 - the latest as of today.
Here are the entries in my cumuluswebtags.txt file for those tags:
$currcond = "<#currcond>"; // The current condition as set within Cumulus
$longlocation = "<#longlocation>"; // longer description of the station location
$LatestError = "<#LatestError>"; // The latest error logged to the error log window. Cleared to an empty string when the error light is clicked, and when Cumulus is restarted
$DataStopped = "<#DataStopped>"; // 1 if the station has apparently stopped sending data to Cumulus, otherwise 0
$LastDataReadT = "<#LastDataReadT>"; //The date/time data was last read from the station
So, my question is twofold:
- How do I fix those errors in the debug log
- How do I fix it so I can use these new web tags?
Thanks for any help you can provide. I'm pretty sure it is something stupid, but I can't see it....
Rob
Forgive me if this question has been asked and answered before - I did some searching and couldn't find the answer to it. I'm relatively new to the whole Cumulus thing, and learning as I go.
I have a Fine Offset station and have been struggling with the issue of the console stops communicating with Cumulus. I'm trying to add a new rule to Cumulus Toolbox to email me if it detects a problem, so I can get the station reset sooner. Otherwise, I don't know unless I see my web pages aren't updating as expected, and I'm not looking at them constantly. My goal is to reduce the amount of lost data I will have with this communication error.
So, I've done some experimenting with the webtags stuff, and finally figured out that I had to fix a couple of things in CT (Cumulus Toolbox) first. I got those fixed, and have successfully emailed myself for a dummy condition (day not equal to 99). I've seen reference to new web tags in the beta versions ( on this page: http://wiki.sandaysoft.com/a/BETA_webtags) called DataStopped, LatestError, LatestErrorDate and LatestErrorTime to name a few interesting ones. All of these are present in my cumuluswebtags.txt file that is being used by Cumulus and CT. I've turned on debug in CT, and find this error in the log:
12/23/2012 3:02:43 PM : Reading Tag file.C:\Cumulus\data\cumuluswebtags.txt
12/23/2012 3:02:43 PM : Could not read value of webtag 'currcond'
12/23/2012 3:02:43 PM : Could not read value of webtag 'longlocation'
12/23/2012 3:02:43 PM : Could not read value of webtag 'LatestError'
In addition, when I get my email, a couple of the tags are not populating:
ErrorLight: 0 Latest Error: *unknown* Latest Error Date: ------ Latest Error Time: ---- - Data Stopped: <#DataStopped> - Last data Read: <#LastDataReadT>
This is how the text is set in the rule:
ErrorLight: <#ErrorLight> Latest Error: <#LatestError> Latest Error Date: <#LatestErrorDate> Latest Error Time: <#LatestErrorTime> - Data Stopped: <#DataStopped> - Last data Read: <#LastDataReadT>
I'm currently running Cumulus 1.9.3 build 1057 - the latest as of today.
Here are the entries in my cumuluswebtags.txt file for those tags:
$currcond = "<#currcond>"; // The current condition as set within Cumulus
$longlocation = "<#longlocation>"; // longer description of the station location
$LatestError = "<#LatestError>"; // The latest error logged to the error log window. Cleared to an empty string when the error light is clicked, and when Cumulus is restarted
$DataStopped = "<#DataStopped>"; // 1 if the station has apparently stopped sending data to Cumulus, otherwise 0
$LastDataReadT = "<#LastDataReadT>"; //The date/time data was last read from the station
So, my question is twofold:
- How do I fix those errors in the debug log
- How do I fix it so I can use these new web tags?
Thanks for any help you can provide. I'm pretty sure it is something stupid, but I can't see it....
Rob