cloudy

Author Topic: Cellphone / Mobile / iPhone Weather Script  (Read 22715 times)

0 Members and 4 Guests are viewing this topic.

Online ALITTLEweird1

  • Mark
  • Posts: 3,984
  • Snoqualmie,WA
    • Snoqualmie Weather
Re: Cellphone / Mobile / iPhone Weather Script
« Reply #30 on: January 06, 2010, 11:53:20 PM »
got that changed.. the temp is still showing in C, even though it has a F next to it
"Nature can do without man, but man cannot do without nature."

Davis VP2 + 1-Wire Solar + 1-wire Lightning + 1-Wire UV + Logitech Webcam

Offline Meerkat

  • Rainer
  • Posts: 695
  • WD v10.37Q b31, Win 7, HP 2 Core 4GB, 72hr UPS
  • Pretoria, South Africa
    • Bashewa
Re: Cellphone / Mobile / iPhone Weather Script
« Reply #31 on: January 07, 2010, 12:03:01 AM »
got that changed.. the temp is still showing in C, even though it has a F next to it

Nah ... you need the full new version of the Clientraw parser.
I've made lots of changes to it.
Looks like you're getting cached copy from the proxy.

http://www.bashewa.com/clientraw-parser.php?sce=view&buster=123
Cheers,
Rainer

Meerkat's Script Collection
Script download links always available on the first page of my threads

Offline Meerkat

  • Rainer
  • Posts: 695
  • WD v10.37Q b31, Win 7, HP 2 Core 4GB, 72hr UPS
  • Pretoria, South Africa
    • Bashewa
Re: Cellphone / Mobile / iPhone Weather Script
« Reply #32 on: January 07, 2010, 01:49:49 AM »
Ok I've added the last weeks daily rain from the clientrawextra file to the Clientraw Parser.
I'm trying to move away from the testtags.php file.

Get latest version of Clientraw Parser here:
http://www.bashewa.com/clientraw-parser.php?sce=view&buster=234
Cheers,
Rainer

Meerkat's Script Collection
Script download links always available on the first page of my threads

Offline BfdWx

  • Posts: 1,586
  • Branford Connecticut
    • Branford Weather
Re: Cellphone / Mobile / iPhone Weather Script
« Reply #33 on: January 07, 2010, 02:45:52 AM »
Getting there....slowly! :D

http://stillweather.com/cell.php

Issues so far that I'm working on....
-Comfort word is wrong
-Wind does not work
-Moonrise is not working
-Is there code for "cell-forecast"? :oops:
-and trying to figure out records.

Nice script though....thanks Meerkat!


Offline Meerkat

  • Rainer
  • Posts: 695
  • WD v10.37Q b31, Win 7, HP 2 Core 4GB, 72hr UPS
  • Pretoria, South Africa
    • Bashewa
Re: Cellphone / Mobile / iPhone Weather Script
« Reply #34 on: January 07, 2010, 02:49:29 AM »
Issues so far that I'm working on....
-Comfort word is wrong
-Wind does not work
-Moonrise is not working
-Is there code for "cell-forecast"? :oops:
-and trying to figure out records.

Cell Forecast script is on the 1st page.

Will have a look at the other issues tomorrow.
Cheers,
Rainer

Meerkat's Script Collection
Script download links always available on the first page of my threads

Offline Meerkat

  • Rainer
  • Posts: 695
  • WD v10.37Q b31, Win 7, HP 2 Core 4GB, 72hr UPS
  • Pretoria, South Africa
    • Bashewa
Re: Cellphone / Mobile / iPhone Weather Script
« Reply #35 on: January 07, 2010, 02:54:39 AM »
Ok get the parser again:
http://www.bashewa.com/clientraw-parser.php?sce=view&buster=345

Moon rise/set should be fixed.
Cheers,
Rainer

Meerkat's Script Collection
Script download links always available on the first page of my threads

Offline BfdWx

  • Posts: 1,586
  • Branford Connecticut
    • Branford Weather
Re: Cellphone / Mobile / iPhone Weather Script
« Reply #36 on: January 07, 2010, 03:03:40 AM »
Quote
Moon rise/set should be fixed.

Yes it is!

I don't think the WU script is going to work in the US?

Offline Meerkat

  • Rainer
  • Posts: 695
  • WD v10.37Q b31, Win 7, HP 2 Core 4GB, 72hr UPS
  • Pretoria, South Africa
    • Bashewa
Re: Cellphone / Mobile / iPhone Weather Script
« Reply #37 on: January 07, 2010, 03:10:28 AM »
Find the $heatcolourword line in your cell_ajax-dashboard and change it to this:

$heatcolourword = getHeatColor($TempC,$WindChillC,$HeatIndexC);

Also re-download the parser: http://www.bashewa.com/clientraw-parser.php?sce=view&buster=456
Cheers,
Rainer

Meerkat's Script Collection
Script download links always available on the first page of my threads

Offline BfdWx

  • Posts: 1,586
  • Branford Connecticut
    • Branford Weather
Re: Cellphone / Mobile / iPhone Weather Script
« Reply #38 on: January 07, 2010, 03:14:33 AM »
Quote
Find the $heatcolourword line in your cell_ajax-dashboard and change it to this:

$heatcolourword = getHeatColor($TempC,$WindChillC,$HeatIndexC);

Also re-download the parser: http://www.bashewa.com/clientraw-parser.php?sce=view&buster=456

That worked thx!

Quote
Will have a look at the other issues tomorrow.

No problem!
« Last Edit: January 07, 2010, 03:17:22 AM by firewall »

Offline Meerkat

  • Rainer
  • Posts: 695
  • WD v10.37Q b31, Win 7, HP 2 Core 4GB, 72hr UPS
  • Pretoria, South Africa
    • Bashewa
Re: Cellphone / Mobile / iPhone Weather Script
« Reply #39 on: January 07, 2010, 03:16:31 AM »
All the graphics are downloadable on the 1st page at the bottom.
Cheers,
Rainer

Meerkat's Script Collection
Script download links always available on the first page of my threads

Offline Meerkat

  • Rainer
  • Posts: 695
  • WD v10.37Q b31, Win 7, HP 2 Core 4GB, 72hr UPS
  • Pretoria, South Africa
    • Bashewa
Re: Cellphone / Mobile / iPhone Weather Script
« Reply #40 on: January 07, 2010, 03:20:00 AM »
Ok, will have to do something to get rid of all those testtags.php tags ... tomorrow  :oops:
Cheers,
Rainer

Meerkat's Script Collection
Script download links always available on the first page of my threads

Offline BfdWx

  • Posts: 1,586
  • Branford Connecticut
    • Branford Weather
Re: Cellphone / Mobile / iPhone Weather Script
« Reply #41 on: January 07, 2010, 11:33:30 AM »
Quote
will have to do something to get rid of all those testtags.php tags

Or just add a testtags inlude and it all works now! Wind is still in kts and no forecast page though.

Offline Meerkat

  • Rainer
  • Posts: 695
  • WD v10.37Q b31, Win 7, HP 2 Core 4GB, 72hr UPS
  • Pretoria, South Africa
    • Bashewa
Re: Cellphone / Mobile / iPhone Weather Script
« Reply #42 on: January 07, 2010, 11:37:56 AM »
Or just add a testtags inlude and it all works now! Wind is still in kts and no forecast page though.

Will have a look at it tonight (about 18h00 GMT ... my time 20h00).
The wind in testtags is in kts ... I will have to do it in clientraw-parser.php.
Cheers,
Rainer

Meerkat's Script Collection
Script download links always available on the first page of my threads

Online ALITTLEweird1

  • Mark
  • Posts: 3,984
  • Snoqualmie,WA
    • Snoqualmie Weather
Re: Cellphone / Mobile / iPhone Weather Script
« Reply #43 on: January 07, 2010, 12:52:15 PM »
Wind is still in kts and no forecast page though.

My wind speed is showing in mph, I just changed the description from kts to mph in the ajax script.
« Last Edit: January 07, 2010, 11:16:20 PM by ALITTLEweird1 »
"Nature can do without man, but man cannot do without nature."

Davis VP2 + 1-Wire Solar + 1-wire Lightning + 1-Wire UV + Logitech Webcam

Offline Meerkat

  • Rainer
  • Posts: 695
  • WD v10.37Q b31, Win 7, HP 2 Core 4GB, 72hr UPS
  • Pretoria, South Africa
    • Bashewa
Re: Cellphone / Mobile / iPhone Weather Script
« Reply #44 on: January 07, 2010, 10:12:50 PM »
Ok, I've done away with most of the testtags.php tags.
However the values for the testtags below are not available in any of
the clientraw files for clientraw-parser.php and therefore you'll
have to upload the testtags.php file with at least these tags.

$maxtempt     = '%maxtempt%';     // Time of todays max temperature
$maxtempyest  = '%maxtempyest%';  // Yesterday's max temperature
$maxtempyestt = '%maxtempyestt%'; // Time of yesterday's max temperature
$mintempyest  = '%mintempyest%';  // Yesterday's min temperature
$mintempyestt = '%mintempyestt%'; // Time of yesterday's min temperature

Download latest version of Clientraw Parser:
http://www.bashewa.com/clientraw-parser.php?sce=view&buster=567

Also download the latest version of cell_ajax-dashboard.php:
There was a problem with the $3QMoons table.
http://www.bashewa.com/cell_ajax-dashboard.php?sce=view&buster=567
Cheers,
Rainer

Meerkat's Script Collection
Script download links always available on the first page of my threads