Page 1 of 1
Toolbox sensorcontact
Posted: Mon 14 Feb 2011 2:27 pm
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
Re: Toolbox sensorcontact
Posted: Mon 14 Feb 2011 9:50 pm
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?
Re: Toolbox sensorcontact
Posted: Mon 14 Feb 2011 9:59 pm
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)?
Re: Toolbox sensorcontact
Posted: Mon 14 Feb 2011 10:50 pm
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.
Re: Toolbox sensorcontact
Posted: Tue 15 Feb 2011 1:32 am
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.
Re: Toolbox sensorcontact
Posted: Tue 15 Feb 2011 12:17 pm
by Snupple
daj wrote:
Change the webtag to..
Code: Select all
$sensorcontactlost = "<#SensorContactLost>";
Note the uppercase letters. That should work.
Thanks, that fixed it!
