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

Guinea pig?

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

TNETWeather

Guinea pig?

Post by TNETWeather »

.
Looking for a Guinea pig.... not really the rodent, they are cute, make great pets, but but rather a Cumulus user that is publishing data to a website.

Requirements:
  • Needs to be using Metric, I'm already testing Imperial
  • Needs to be uploading Realtime.txt once a minute.
  • Needs to running 24hrs a day (part time uploads won't work)
Really only looking for 1 site, but might take on a couple, perhaps another Imperial site.

This will be to do some testing of an auto generated Cumulus template website, testing a PHP dashboard etc...
User avatar
akinvic
Posts: 24
Joined: Mon 17 Nov 2008 10:59 pm
Weather Station: Davis Vantage Pro 2
Location: Victoria, BC, Canada

Re: Guinea pig?

Post by akinvic »

I might be able to help as I "qualify" with one caveat:

You mentioned realtime.txt needs to be uploaded once a minute. Right now I'm uploading it every 5 sec but this can be temporarily changed if needed.

My cumulus data is at http://www.vicweather.net/cumulus

It's a test site anyway, so it's already seeing intermittent changes.

Cheers,
Andreas
Image
firewall
Posts: 17
Joined: Sat 29 Nov 2008 4:05 pm
Weather Station: Davis Vantage Pro 2
Location: Branford, CT
Contact:

Re: Guinea pig?

Post by firewall »

Hi Kevin,

I'd be happy to help, I use imperial but I'll throw a metric up if you would like.

Jack
Image
TNETWeather

Re: Guinea pig?

Post by TNETWeather »

akinvic wrote:I might be able to help as I "qualify" with one caveat:
You mentioned realtime.txt needs to be uploaded once a minute. Right now I'm uploading it every 5 sec but this can be temporarily changed if needed.
That will work as long as you are using rename with FTP.
User avatar
akinvic
Posts: 24
Joined: Mon 17 Nov 2008 10:59 pm
Weather Station: Davis Vantage Pro 2
Location: Victoria, BC, Canada

Re: Guinea pig?

Post by akinvic »

That will work as long as you are using rename with FTP.
Indeed I am :)
Image
TNETWeather

Re: Guinea pig?

Post by TNETWeather »

I'll start with yours first.

When it starts collecting the following will show up in your web logs for those connections.

Code: Select all

TNET_WXbot/1.0 (+http://TNETWeather.com/tws-bots.php)
It should hit once a minute to pick up a copy of your realtime.txt file and will build a realtime.log file locally. I need to whip up the script to make the call and storage.

After I have collected some data (at least several hours worth), I will generate a site that will use it so that I can test.

I will post the test URL when it is setup.
TNETWeather

Re: Guinea pig?

Post by TNETWeather »

akinvic,

This still needs a lot of coding to make it a real template as I had to manually change a lot more than should need to be. I also have more work that needs to be done to the graphs package, including some stuff that Jozef added etc...

There are also missing things like a link editor, radar page, ability to provide some management access for configuration changes and other info and a lot more color styles to choose from but... this is a basic idea of what can be provided with just the collection of realtime.txt data...

http://vicweather.tnet.com

But that is what the test data is for....
User avatar
akinvic
Posts: 24
Joined: Mon 17 Nov 2008 10:59 pm
Weather Station: Davis Vantage Pro 2
Location: Victoria, BC, Canada

Re: Guinea pig?

Post by akinvic »

I like what you've done, I really do. Even the makeshift Vicweather.net logo. I am neither a web developer nor graphic artist so it's nice to see a pro tinker with it. I, for one, would love to know when you will make the template(s) available including of course that very nice dashboard.

Cheers,
Andreas
Image
TNETWeather

Re: Guinea pig?

Post by TNETWeather »

firewall wrote:Hi Kevin,

I'd be happy to help, I use imperial but I'll throw a metric up if you would like.

Jack
Tracking your data now as well...

http://stillweather.tnet.com
firewall
Posts: 17
Joined: Sat 29 Nov 2008 4:05 pm
Weather Station: Davis Vantage Pro 2
Location: Branford, CT
Contact:

Re: Guinea pig?

Post by firewall »

This has a very nice, clean look to it! I like it a lot, wonderful work, as always Kevin.

Jack


Edit: I take it the graphs work because it is running off your site? One minor poi...the correct spelling is "Branford", no big deal though!
Image
TNETWeather

Re: Guinea pig?

Post by TNETWeather »

Must be your browser.....


:roll:
firewall
Posts: 17
Joined: Sat 29 Nov 2008 4:05 pm
Weather Station: Davis Vantage Pro 2
Location: Branford, CT
Contact:

Re: Guinea pig?

Post by firewall »

Must be your browser.....
LOL...yeah, it's almost fifty and needs glasses! :lol:
Image
TNETWeather

Re: Guinea pig?

Post by TNETWeather »

firewall wrote:I take it the graphs work because it is running off your site?
The only data being collected is from your realtime.txt file each minute. The server scripts are storing their own version of realtime.log from that data and the charts and other data is using that data.

So the data starts when I turned on the robot.

The template calls images rather than the PHP graph scripts though as that is much faster. A cron processes the graphs for each site once every 5 minutes and outputs png images which is what the template picks up and uses.
firewall
Posts: 17
Joined: Sat 29 Nov 2008 4:05 pm
Weather Station: Davis Vantage Pro 2
Location: Branford, CT
Contact:

Re: Guinea pig?

Post by firewall »

A cron processes the graphs for each site once every 5 minutes and outputs png images which is what the template picks up and uses.
Which is what e-rice won't do. I do have a 1&1 server which will do crons but runs php 4. Any idea if they can bump up to 5? I guess I'll check with them today.

Jack

Hmmm......a quick check with 1&1 revealed the ability to use php5 by just putting that extension at the end of the script! Something to do tonight!
Image
TNETWeather

Re: Guinea pig?

Post by TNETWeather »

There are other ways to do this type of stuff without cron, but it is much simpler if you have access to it.

As to 1&1... Not sure what they are waiting for. Most ISP's have switched to PHP5 some time ago. I switched more than a year ago on all of my servers and client servers.

They do have a FAQ about using PHP5 ... the note about the change in .htaccess would eliminate having to rename everything.

http://faq.1and1.com/scripting_language ... php/9.html
Post Reply