Author Topic: Statistic on custom website  (Read 3081 times)

Toremann

  • Gentle Breeze
  • **
  • Posts: 17
  • Station Details: at the moment at WS2080 testing out on a imac
Statistic on custom website
« on: May 05, 2013, 11:37:33 AM »
Hello all

I am a novice in html

Could anyone give me a short example how to put statistic to a html site from weathercat

i would like to have last week statistic, last moth and laste year, and if possible records, i have seen that cumulus is able to do this

I hope someone could could help me out as I am "green"  [freeze] into this

Have a great day

Best Regards
Tore

Randall75

  • Storm
  • *****
  • Posts: 1332
  • CWOP-CW6734 WeatherUnderground-KOHNEWAR6
    • CW6734
    • KOHNEWAR6
    • Randy's Weather On The Hill
  • Station Details: Davis Vantage Pro 2 Plus.iMac i5 OS High Sierra 10.13.6 8GB Ram, WeatherCat 3,Logitech 9000 Pro Web Cam
Re: Statistic on custom website
« Reply #1 on: May 05, 2013, 12:26:05 PM »
Hi Tore
 On Page 164 of the WeatherCat manual gives you WeatherCat Web-Tags you need to this you will also need a program like Sea Monkey to the html but I have mine like this
you can see mine @ weatheronthehill.6te.net
Hope this helps
cheers
[cheers1]

Toremann

  • Gentle Breeze
  • **
  • Posts: 17
  • Station Details: at the moment at WS2080 testing out on a imac
Re: Statistic on custom website
« Reply #2 on: May 05, 2013, 12:35:23 PM »
Hello sir

Your site looks good

Could you help me with the html code you have used, as its typed in it would be most helpfully to me as am not good in html programming

I guess you are updating this site via additional files in weathercat?

cheers

Tore

Randall75

  • Storm
  • *****
  • Posts: 1332
  • CWOP-CW6734 WeatherUnderground-KOHNEWAR6
    • CW6734
    • KOHNEWAR6
    • Randy's Weather On The Hill
  • Station Details: Davis Vantage Pro 2 Plus.iMac i5 OS High Sierra 10.13.6 8GB Ram, WeatherCat 3,Logitech 9000 Pro Web Cam
Re: Statistic on custom website
« Reply #3 on: May 05, 2013, 01:45:26 PM »
Toreman
 Down load SeaMonkey it will do most of the work for for putting it into html for each daily weekly monthly you will need to save each one as a html code here it is for daily maybe this you give you and idea for you Open SeaMonkey then the composer put the info into it and save it as daily html you need to do this for each one
It takes time I spent days with not weeks to get mine that I was Happy with
 
Highest temperature today = STAT$TEMPERATURE:MAX:TODAY$TEMPUNITS$ at STAT$TEMPERATURE:MAX:TODAY:TIME$
Lowest temperature today = STAT$TEMPERATURE:MIN:TODAY$ TEMPUNITS$ at STAT$TEMPERATURE:MIN:TODAY:TIME$
Highest dewpoint today = STAT$DEWPOINT:MAX:TODAY$ TEMPUNITS$ at STAT$DEWPOINT:MAX:TODAY:TIME$
Lowest dewpoint today = STAT$DEWPOINT:MIN:TODAY$ TEMPUNITS$ at STAT$DEWPOINT:MIN:TODAY:TIME$
Highest external humidity today = STAT$EXTHUMIDITY:MAX:TODAY$ % at STAT$EXTHUMIDITY:MAX:TODAY:TIME$
Lowest external humidity today = STAT$EXTHUMIDITY:MIN:TODAY$ % at STAT$EXTHUMIDITY:MIN:TODAY:TIME$
Highest heat index today = STAT$HEATINDEX:MAX:TODAY$ TEMPUNITS$ at STAT$HEATINDEX:MAX:TODAY:TIME$
Lowest wind chill today = STAT$WINDCHILL:MIN:TODAY$ TEMPUNITS$ at STAT$WINDCHILL:MIN:TODAY:TIME$
Highest pressure today = STAT$PRESSURE:MAX:TODAY$ PRESSUREUNITS$ at STAT$PRESSURE:MAX:TODAY:TIME$
Lowest pressure today = STAT$PRESSURE:MIN:TODAY$ PRESSUREUNITS$ at STAT$PRESSURE:MIN:TODAY:TIME$
Highest wind speed today = STAT$WINDSPEED:MAX:TODAY$ WINDSPEEDUNITS$ at STAT$WINDSPEED:MAX:YESTERDAY:TIME$
Wind run today: STAT$WINDRUN:TOTAL:TODAY$ WINDRUNUNITS$
Average wind direction today = STAT$WINDDIRECTION:AVERAGE:TODAY$ degrees
Highest rain rate today = STAT$RAIN:MAX:TODAY$ RAINUNITS$/h at STAT$RAIN:MAX:TODAY:TIME$                
Rain Total today = STAT$RAIN:TOTAL:TODAY$ RAINUNITS$ 
[cheers1]              

 

Toremann

  • Gentle Breeze
  • **
  • Posts: 17
  • Station Details: at the moment at WS2080 testing out on a imac
Re: Statistic on custom website
« Reply #4 on: May 05, 2013, 05:03:40 PM »
Thank you Randall75

I am sure this will help me

Have a great day

Cheers  [cheers1]

Toremann

  • Gentle Breeze
  • **
  • Posts: 17
  • Station Details: at the moment at WS2080 testing out on a imac
Re: Statistic on custom website
« Reply #5 on: May 08, 2013, 01:39:12 PM »
Hello Everyone

Could anyone tell me where to put "at" in this: STAT$RAIN:MAX:THISWEEK$ RAINUNITS$/h STAT$RAIN:MAX:THISWEEK:TIME$ to get:

1,5 mm/h  7 May 2013 at 18:57

Best regards
Tore

jace

  • Storm
  • *****
  • Posts: 812
    • DW9675
    • ISuffolk62
    • Yoxford weather site.
  • Station Details: Davis Vantage Pro2, with Mac USB Data Logger. 2.4 GHz Intel Core 2 Duo MacBook, with 8 GB 1033 MHz DDR3 Memory, running Mac OSX Version 10.10.1 (Yosimite).
Re: Statistic on custom website
« Reply #6 on: May 08, 2013, 03:01:12 PM »
Toremann

I would try between RAINUNITS$/h  and    STAT$RAIN going by Randall's examples.

JC


Toremann

  • Gentle Breeze
  • **
  • Posts: 17
  • Station Details: at the moment at WS2080 testing out on a imac
Re: Statistic on custom website
« Reply #7 on: May 08, 2013, 04:33:46 PM »
Quote

I would try between RAINUNITS$/h  and    STAT$RAIN going by Randall's examples.

JC
**************************************************
No its not seems to be correct, what i get out then is:

1,5 mm/h at 7 May 2013 18:56,  i would prefer to get: 1,5 mm/h 7 May 2013 at 18:56

Cheers
Tore

Randall75

  • Storm
  • *****
  • Posts: 1332
  • CWOP-CW6734 WeatherUnderground-KOHNEWAR6
    • CW6734
    • KOHNEWAR6
    • Randy's Weather On The Hill
  • Station Details: Davis Vantage Pro 2 Plus.iMac i5 OS High Sierra 10.13.6 8GB Ram, WeatherCat 3,Logitech 9000 Pro Web Cam
Re: Statistic on custom website
« Reply #8 on: May 08, 2013, 08:26:49 PM »
Hi Toremann
You can try to put it before TIME$(@TIMES) or (at TIMES)
but I don't think you can but give it a try
  ] [cheers1]