Page 1 of 2

Guinea pig?

Posted: Sun 30 Nov 2008 8:16 pm
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...

Re: Guinea pig?

Posted: Sun 30 Nov 2008 8:50 pm
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

Re: Guinea pig?

Posted: Sun 30 Nov 2008 9:01 pm
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

Re: Guinea pig?

Posted: Sun 30 Nov 2008 9:15 pm
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.

Re: Guinea pig?

Posted: Sun 30 Nov 2008 9:25 pm
by akinvic
That will work as long as you are using rename with FTP.
Indeed I am :)

Re: Guinea pig?

Posted: Sun 30 Nov 2008 9:34 pm
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.

Re: Guinea pig?

Posted: Sun 30 Nov 2008 11:53 pm
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....

Re: Guinea pig?

Posted: Mon 01 Dec 2008 1:15 am
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

Re: Guinea pig?

Posted: Mon 01 Dec 2008 3:18 am
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

Re: Guinea pig?

Posted: Mon 01 Dec 2008 3:59 am
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!

Re: Guinea pig?

Posted: Mon 01 Dec 2008 4:21 am
by TNETWeather
Must be your browser.....


:roll:

Re: Guinea pig?

Posted: Mon 01 Dec 2008 4:24 am
by firewall
Must be your browser.....
LOL...yeah, it's almost fifty and needs glasses! :lol:

Re: Guinea pig?

Posted: Mon 01 Dec 2008 4:26 am
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.

Re: Guinea pig?

Posted: Mon 01 Dec 2008 1:05 pm
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!

Re: Guinea pig?

Posted: Mon 01 Dec 2008 3:19 pm
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