Sandaysoft

Support forum for Cumulus weather station software
It is currently Fri May 24, 2013 6:29 pm
Please click here before posting. Help me to help you!
Useful Links: Cumulus FAQ • Enhancement requests • Wiki (documentation)
Please put your approximate location into your profile
Add your web site to the Cumulus user map
Vantage Pro2 users with firmware 3.00 should upgrade to fw 3.12 and Cumulus 1.9.4

All times are UTC




Post new topic Reply to topic  [ 144 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10  Next
Author Message
 Post subject: Re: New Cumulus realtime console
PostPosted: Thu Feb 17, 2011 5:30 am 
Offline

Joined: Fri Mar 19, 2010 12:19 pm
Posts: 12
Weather Station: PCE-FWS 20 = VH1080/81
Operating System: VISTA
Dear Ray
In a post that I posted above but also behind Theo tell in his new Beta (Weatherconsola) errors of two tags TAG-web. It has been found? are small mistakes that drive you crazy looking for them and not find them.
You say that Theo is not going to publish anything until this program Ok, shame and sorrow, because I like to help debugging.
A hug, jesus

_________________
JESUS


Top
 Profile  
 
 Post subject: Re: New Cumulus realtime console
PostPosted: Thu Feb 17, 2011 8:55 am 
Offline
User avatar

Joined: Sat Dec 04, 2010 10:11 am
Posts: 94
Location: Lemmer
Weather Station: ws4000
Operating System: win7
Im sorry for the late response!

Thanks Ray for helping and answering the questions in this topic :clap:

About the view-gauges.js file. That file is a part of the original gaugesT.htm file that comes with Cumulus itself.
It is actualy the last lines of gaugesT.htm file. I have looked at the original file and the error's are the same.
I didnt notice there was an error in it, I just copy and paste that code into a new file without checking the code itself.

About the (old) Weather-Console script.....

As Ray already explained, Im working on a new script. At this moment Im putting all the free time I have in that new script.
So at this moment I dont have much time to work on the old Weather-Console. In time I will release a new version of the Weather-Console.
(There are some things I want to change) The Weather-Console as I posted in my first post is working fine on my test server since the day I released the script.

If there are any fatal errors in the script, please let me know, I will take a look at it.



Theo.

_________________
Sincerely, Theo
Image
http://www.weerstation-lemmer.nl


Top
 Profile  
 
 Post subject: Re: New Cumulus realtime console
PostPosted: Thu Feb 17, 2011 9:14 am 
Offline
User avatar

Joined: Sat Dec 04, 2010 10:11 am
Posts: 94
Location: Lemmer
Weather Station: ws4000
Operating System: win7
JESUS HEREDERO wrote:
Dear Ray
In a post that I posted above but also behind Theo tell in his new Beta (Weatherconsola) errors of two tags TAG-web. It has been found? are small mistakes that drive you crazy looking for them and not find them.
You say that Theo is not going to publish anything until this program Ok, shame and sorrow, because I like to help debugging.
A hug, jesus


Hi Jusus,

The script is "open source" Please feel free to change the script, make it better if you like.
The idea behind posting the script is that if someone wants to use it and change it to suit ones needs it is possible.

Of course Im here to help if someone does not have the knowledge to make the script working.

So if you have a problem, please try to explain what the problem is, and I will take a look at it and post a new version of the script. If needed

Problem with the gauges script is, that its originaly uses a sql database. I had to change the script to make it work without a sql database. So there may be some errors in it. In a later version of the script (In time I will re-write a part of the script) the sql database is build in.

Theo

_________________
Sincerely, Theo
Image
http://www.weerstation-lemmer.nl


Top
 Profile  
 
 Post subject: Re: New Cumulus realtime console
PostPosted: Wed Mar 23, 2011 1:44 pm 
Offline
User avatar

Joined: Sat Dec 04, 2010 10:11 am
Posts: 94
Location: Lemmer
Weather Station: ws4000
Operating System: win7
edit: never mind... posted this in the wrong topic...
Theo

_________________
Sincerely, Theo
Image
http://www.weerstation-lemmer.nl


Last edited by phtvs on Tue Apr 05, 2011 7:46 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: New Cumulus realtime console
PostPosted: Thu Mar 24, 2011 1:21 pm 
Offline

Joined: Mon Aug 10, 2009 10:16 pm
Posts: 1772
Location: World...
Weather Station: No weather station
Operating System: No operating system
Theo, you are still alive... :D


Top
 Profile  
 
 Post subject: Re: New Cumulus realtime console
PostPosted: Tue Apr 05, 2011 7:49 am 
Offline
User avatar

Joined: Sat Dec 04, 2010 10:11 am
Posts: 94
Location: Lemmer
Weather Station: ws4000
Operating System: win7
gemini06720 wrote:
Theo, you are still alive... :D


barely....... :lol:

Been away a while, but Im back now.


Theo

_________________
Sincerely, Theo
Image
http://www.weerstation-lemmer.nl


Top
 Profile  
 
 Post subject: Re: New Cumulus realtime console
PostPosted: Tue Apr 05, 2011 12:39 pm 
Offline

Joined: Mon Aug 10, 2009 10:16 pm
Posts: 1772
Location: World...
Weather Station: No weather station
Operating System: No operating system
gemini06720 wrote:
Theo, you are still alive... :D
phtvs wrote:
barely....... :lol:
Been away a while, but Im back now.
Theo, nice to see you are with us again ... hopefully fully recovered. :)

Now it is my turn to be a bit sick ... I hate colds so much (more so with sinus problems)... :evil:


Top
 Profile  
 
 Post subject: Re: New Cumulus realtime console
PostPosted: Sat Apr 30, 2011 9:27 am 
Offline

Joined: Sat Jan 10, 2009 8:36 pm
Posts: 62
Location: Broadstairs, Kent
Weather Station: Maplin N96FY (WH1081)
Operating System: Windows 7
Very impressive Theo
I have uploaded the script and it all works really well the only problem i have is the forecast icons
I have tried to locate them as a download but failed it could be my limited French skills but i have been unable to find a direct link to get the icons from
i would like to incorporate the console in my site but without the icons it would look a bit odd
any help would be appreciated
neil


update
I have just downloaded the gauges package to play with and noticed the icons are included
all working now will have it on line ASAP
i have noticed one small error in todays low temperature field the text "time of todays" low temperature is in both boxs

the script is working really well it can be viewed by selecting live weather from my site or a direct link is below
http://www.thanetweather.co.uk/weather/weatherconsole.php

neil

_________________
Follow Thanetweather on Twitter http://twitter.com/#!/thanetweather
Thanetweather home page http://www.thanetweather.co.uk

Image


Top
 Profile  
 
 Post subject: Re: New Cumulus realtime console
PostPosted: Tue Oct 04, 2011 9:06 am 
Offline

Joined: Thu Jun 02, 2011 8:03 am
Posts: 10
Location: Galway city, Ireland
Weather Station: Davis Vantage Pro2 Plus
Operating System: Windows XP
This is an excellent script Theo and thanks so much for taking the trouble to write it :clap:

I too am having trouble with the icons. I'm sure I have uploaded the file to the correct directory etc but they still do not appear

http://www.galwaycityweather.com/weatherconsole.php

I would be really grateful for any help. I only have basic skills but with help from this forum and the Wiki I have managed to get my site up and running, create & modify my banner etc but this one has me stumped :(

_________________
Image


Top
 Profile  
 
 Post subject: Re: New Cumulus realtime console
PostPosted: Tue Oct 04, 2011 1:38 pm 
Offline

Joined: Mon Aug 10, 2009 10:16 pm
Posts: 1772
Location: World...
Weather Station: No weather station
Operating System: No operating system
It seems that you are missing the 'icons' sub-directory as well as the '2' sub-sub-directory:
    - the 'icons' sub-directory should contain 26 images (named '1.png' to '26.png')
    - the '2' sub-sub-directory should contain 2 images (named '0.png' and '1.png')


Top
 Profile  
 
 Post subject: Re: New Cumulus realtime console
PostPosted: Tue Oct 04, 2011 3:34 pm 
Offline

Joined: Thu Jun 02, 2011 8:03 am
Posts: 10
Location: Galway city, Ireland
Weather Station: Davis Vantage Pro2 Plus
Operating System: Windows XP
gemini06720 wrote:
It seems that you are missing the 'icons' sub-directory as well as the '2' sub-sub-directory:
    - the 'icons' sub-directory should contain 26 images (named '1.png' to '26.png')
    - the '2' sub-sub-directory should contain 2 images (named '0.png' and '1.png')


Thanks for having a look at it for me Ray

I have uploaded both of those sub-directories ('icons' and '2') but obviously to the wrong place. I put all of the files and the icons folder in the web directory of http://www.galwaycityweather.com
I'm a complete novice at this but I usually manage to figure it out by back over it til I get it right. Not this time though.
If you don't mind having a look I've attached some screen shots of where I have put them

Thank you

Fiona


You do not have the required permissions to view the files attached to this post.

_________________
Image


Top
 Profile  
 
 Post subject: Re: New Cumulus realtime console
PostPosted: Tue Oct 04, 2011 3:56 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17611
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
With the default Apache configuration, the /icons directory is aliased to somewhere else, e.g. /usr/share/apache2/icons/ which means that any URLs starting http://www.galwaycityweather.com/icons aren't looking at the icons directory you've created. You either need to amend the Apache configuration to remove the alias, or (if you don't have the permissions to do that) use a different directory.

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: New Cumulus realtime console
PostPosted: Tue Oct 04, 2011 4:49 pm 
Offline

Joined: Thu Jun 02, 2011 8:03 am
Posts: 10
Location: Galway city, Ireland
Weather Station: Davis Vantage Pro2 Plus
Operating System: Windows XP
Thanks Steve, much appreciated. I'll use a different directory as you suggest

EDIT: Ta Da!!! Thanks a million Steve :D


You do not have the required permissions to view the files attached to this post.

_________________
Image


Top
 Profile  
 
 Post subject: Re: New Cumulus realtime console
PostPosted: Wed Oct 05, 2011 12:10 am 
Offline

Joined: Mon Aug 10, 2009 10:16 pm
Posts: 1772
Location: World...
Weather Station: No weather station
Operating System: No operating system
steve wrote:
With the default Apache configuration, the /icons directory is aliased to somewhere else, e.g. /usr/share/apache2/icons/ which means that any URLs starting http://www.galwaycityweather.com/icons aren't looking at the icons directory you've created.
Steve thank you for the reply.

Is that 'path aliasing' typical for an Apache installation on a Linux server!

I have Abyss, XAMPP, WAMP and Apache (all Apache servers software) installed on my 'development' computer (running Windows 7 Pro as the OS) and I have never encountered that type of restriction!

For example, the PHP script for producing this modified weather console is located into the 'cumulus' sub-directory (one level down from the root directory, which on my Apache installations is called 'htdocs'); I then have the graphic images (icons) located into the 'icons' sub-sub-directory (two levels down from the root directory). Thus, in my PHP script, the path to the graphic images (icons) is given as ' $icon = "icons/" ' (relative to the script).

When the script is called from the browser (with a URI such as 'http://{IP address}/cumulus/weatherconsole.php'), it properly display the required graphic images (icons) on the console page.

When I look directly into the 'icons' sub-sub-directory from the browser (with a URI such as 'http://{IP address}/cumulus/icons/1.png'), it properly display the proper graphic image (icon).

10 minutes later... :geek:

Further to the above, as a test, I just installed the required files for the weather console onto my Synology DiskStation, an Apache server running under Linux.

I have installed the PHP script (for producing the weather console) into the 'cumulus' sub-directory (one level down from the root directory, which on this Apache installations is called 'web'); I then have installed the graphic images (icons) into the 'icons' sub-sub-directory (two levels down from the root 'web' directory).

When I call the script from my browser (with a URI such as 'http://{IP address:port number}/cumulus/weatherconsole.php'), it properly display the required graphic images (icons) on the console page. And it also properly display the graphic images (icons) when I look directly into the 'icons' sub-sub-directory from the browser (with a URI such as 'http://{IP address:port number}/cumulus/icons/1.png')...

Now I am really confused! Without any modification, the weather console scripts is producing the expected results (display) whether installed on Abyss/XAMPP (Apache running under Windows 7 Pro) or on Apache running under Linux... :?


Top
 Profile  
 
 Post subject: Re: New Cumulus realtime console
PostPosted: Wed Oct 05, 2011 6:54 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17611
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
gemini06720 wrote:
Is that 'path aliasing' typical for an Apache installation on a Linux server!

It's quite common. Perhaps certain Linux distributions do it; it's only the icons directory in the root of the server which is aliased.

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 144 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group