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

Toolbox sensorcontact

Discussion and support for 3rd-party (non-Sandaysoft) tools for Cumulus
Post Reply
User avatar
Snupple
Posts: 40
Joined: Mon 17 Jan 2011 3:11 pm
Weather Station: WH3081
Operating System: Win 7 x64
Location: Perth, West Aust.

Toolbox sensorcontact

Post by Snupple »

Hi,

Im using toolbox with cumulus 1.9 and a WH3081, and having some problems with sensor loss, so I setup a rule in toolbox, but it doesn't seem to wo rk.. and the current status of the webtag shows "unknown"

Any help would be awes
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: Toolbox sensorcontact

Post by daj »

There seems to be an issue with the tags file.

Edit the tags file that Cumulus is processing -- Use notepad++ or some other text editor.
(not sure what you have called it, but in the installation instructions it is "cumuluswebtags.txt")

Near the very end of the file around line 305 you will see ...

Code: Select all

$sensorcontactlost    = "<#sensorcontactlost>"; 
Change the webtag to..

Code: Select all

$sensorcontactlost    = "<#SensorContactLost>"; 
Note the uppercase letters. That should work.

Steve -- are the webtags case sensitive? They appear to be? Is that new?
David
kippfordweather.uk
Cumulus MX & Raspberry Pi
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: Toolbox sensorcontact

Post by daj »

I have since found this post.... https://cumulus.hosiene.co.uk/viewtopic.p ... 972#p30972

Steve, does this mean that all the new tags will be case sensitive (the help has the new ones in ProperCase)?
David
kippfordweather.uk
Cumulus MX & Raspberry Pi
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: Toolbox sensorcontact

Post by steve »

They're case sensitive. I think that has always been true, even before I completely rewrote the code which handles them. I've been inconsistent in the past over the naming, so some are lowercase and some are CamelCase. I'm trying to make new ones CamelCase, but if it's one that is missing from a set which are already lowercase, I'm tending to make the new one lowercase too.
Steve
User avatar
Super-T
Posts: 906
Joined: Tue 09 Sep 2008 3:37 am
Weather Station: wh-1081
Operating System: Weather Laptop - Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: Toolbox sensorcontact

Post by Super-T »

AlwaysGoodToWriteNamesThus Much easier reading
I tend to name my files like this....old habits I reckon. But then file names are not case sensitive.
Keeps the names a tad shorter with no spaces or other punctuation.
User avatar
Snupple
Posts: 40
Joined: Mon 17 Jan 2011 3:11 pm
Weather Station: WH3081
Operating System: Win 7 x64
Location: Perth, West Aust.

Re: Toolbox sensorcontact

Post by Snupple »

daj wrote: Change the webtag to..

Code: Select all

$sensorcontactlost    = "<#SensorContactLost>"; 
Note the uppercase letters. That should work.
Thanks, that fixed it! :clap:
Post Reply