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 Help

Discussion and support for 3rd-party (non-Sandaysoft) tools for Cumulus
Post Reply
rjbb2
Posts: 2
Joined: Wed 13 Jan 2010 7:03 pm
Weather Station: Davis Vanytage Pro
Operating System: Win7
Location: Clyde, NC 28721
Contact:

Toolbox Help

Post by rjbb2 »

I am receiving the following when try to check the webtags]
[url]
http://www.quailcovewx.com/cumuluswebta ... ource=view
[error]

Parse error: syntax error, unexpected T_STRING in /virtual/users/e16534-17788/web/cumuluswebtags.php on line 298

What am I doing wrong?
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 Help

Post by steve »

It's because of the double quotes that are (necessarily) in the webcam and/or forum web tags. If you change the PHP template to use single quotes for those items, that should fix it.
Steve
rjbb2
Posts: 2
Joined: Wed 13 Jan 2010 7:03 pm
Weather Station: Davis Vanytage Pro
Operating System: Win7
Location: Clyde, NC 28721
Contact:

Re: Toolbox Help

Post by rjbb2 »

steve wrote:It's because of the double quotes that are (necessarily) in the webcam and/or forum web tags. If you change the PHP template to use single quotes for those items, that should fix it.
Thank You. That corrected the problem. (My apologies, I realize I probably posted this in the wrong area of the forum)
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 Help

Post by daj »

I've modified the PHP file on the wiki to use single quotes for forum and webcam tags for now -- until we decide if we should be all one or the other setting!

Moved the topic too
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 Help

Post by steve »

The next build of Cumulus will have ' for the minutes symbol in the latitude and longitude tags.
Steve
gemini06720
Posts: 1700
Joined: Mon 10 Aug 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: Toolbox Help

Post by gemini06720 »

steve wrote:The next build of Cumulus will have ' for the minutes symbol in the latitude and longitude tags.
Steve may I suggest that the double quote (in the $forum and $Webcam webtags) be replaced by the " code - in the same way you are using the ° code in the $latitude and $longitude webtags.

With that change, either the single quote or the double quote can be used in the 'cumuluswebtags.php' file.
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 Help

Post by steve »

gemini06720 wrote:Steve may I suggest that the double quote (in the $forum and $Webcam webtags) be replaced by the " code
That won't work, because as I said in the other thread, the double quote in those is part of the HTML syntax.
Steve
User avatar
Paul C
Posts: 538
Joined: Thu 19 Jun 2008 7:45 am
Weather Station: Davis VP2 with solar
Operating System: Windows 10
Location: Brampton, Cumbria, UK
Contact:

Re: Toolbox Help

Post by Paul C »

I have only just got round to downloading the toolbox. I thought it may be handy for the email part of it so I could send out alerts ( rather sadly to myself mainly ) or perhaps it could send me a text !

Anyway its downloaded, email test worked and appears to work, Anyone worked out how to send a text message to a mobile phone ?

I was also a little confused with this cumuluswebtag.php I have followed the instructions but how do I know if its working
http://www.bramptonweather.co.uk/cumulu ... ebtags.php - just appears blank on my screen ?

any help greatfully received
Paul C
Brampton, Cumbria, UK
117m ASL
http://www.bramptonweather.co.uk
Image
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 Help

Post by daj »

Paul C wrote:Anyone worked out how to send a text message to a mobile phone ?
It is not available yet within Toolbox -- some mobile providers offer an email to text service so that would work if you have such a service.

That said, I have it working on my version of Toolbox (actually it was the first thing I did in Toolbox) however I wondered about the need for it given so many people can access email from their mobiles. However I accept texting has it's place. My next hurdle is cost -- Toolbox can send a text message but I have to pay for the option of sending via the network's gateway. How do I then implement a payment system into Toolbox? Would people want to pay for texting?
I was also a little confused with this cumuluswebtag.php I have followed the instructions but how do I know if its working http://www.bramptonweather.co.uk/cumulu ... ebtags.php - just appears blank on my screen ?
The webtags are basically a list of variables and not designed to view on a page. In theory you should be able to do this...
http://www.bramptonweather.co.uk/cumulu ... ource=view
You can see I added a little command at the end. The script sometimes does not show for some odd reason, however I can see here that yours does and the data is fine.

Toolbox does not need the tags uploaded to the website so if you are not using them on the website, do not upload them.

You can also check within Toolbox if the values are valid...

Create or Edit a Rule, select a tag and if Toolbox shows a value then the PHPwebtags file is working just fine
(Screen shot shows a reg arrow where a value would be)
toolboxscreen.png
You do not have the required permissions to view the files attached to this post.
David
kippfordweather.uk
Cumulus MX & Raspberry Pi
User avatar
Paul C
Posts: 538
Joined: Thu 19 Jun 2008 7:45 am
Weather Station: Davis VP2 with solar
Operating System: Windows 10
Location: Brampton, Cumbria, UK
Contact:

Re: Toolbox Help

Post by Paul C »

Thanks for the quick response.

I have set up a few rules and the data is appearing and correct so it must be setup right - thanks. I didnt realise that I wrongly assumed it was obtaining the data direct from my console !!

TEXT messages - look forward to seeing this as an option. I dont use my phone for emails occassionally check my weather data via wap but nothing more. I,m sure there must be some free out there than can generate a text message from an email. I know I get facebook messages via text automatically so there may be a way, sadly I dont know how facebook manages it ?
Paul C
Brampton, Cumbria, UK
117m ASL
http://www.bramptonweather.co.uk
Image
User avatar
MickinMoulden
Posts: 499
Joined: Mon 20 Dec 2010 12:12 pm
Weather Station: WS-1081 with rain gauge mod
Operating System: Windows 7 & 1.9.3 b1059
Location: Palmerston, NT, Australia
Contact:

Re: Toolbox Help

Post by MickinMoulden »

Paul C wrote: TEXT messages - look forward to seeing this as an option. I dont use my phone for emails occassionally check my weather data via wap but nothing more. I,m sure there must be some free out there than can generate a text message from an email. I know I get facebook messages via text automatically so there may be a way, sadly I dont know how facebook manages it ?
I'm not right into Facebook, but I do no that I have been able to send messages and photo's to Facebook, unfortunately in Australia (at least), we only get SMS notification through Telstra or Optus, and I'm with Virgin. However, you can update to FACEBOOK via Cumulus! However.....when you do a test email it sends a subject line which then posts this as an update. Good! But, when it sends an email when it satisfies a rule it sends it in the text area with no Subject, thus not showing up in Facebook.

What we need Toolbox to do is send the email with the information in the "Subject" heading. Any possibility of being able to add a picture to the email?
Michael, Palmerston, NT Australia www.Palmerston-WeatherImageNo image? I'm offline!
ImageImage
User avatar
MickinMoulden
Posts: 499
Joined: Mon 20 Dec 2010 12:12 pm
Weather Station: WS-1081 with rain gauge mod
Operating System: Windows 7 & 1.9.3 b1059
Location: Palmerston, NT, Australia
Contact:

Re: Toolbox Help

Post by MickinMoulden »

What is happening when in the Toolbox rules it has no "Add/Edit" buttons?
And before I deleted the rule that was in there I couldn't edit it? It didn't show that it was reading the Php file by showing any values.
These are the files I have:
Cumuluswebtags.txttmp and .phptmp and .php. Is this right?
Michael, Palmerston, NT Australia www.Palmerston-WeatherImageNo image? I'm offline!
ImageImage
Post Reply