Author Topic: Weather34 template(non meteobridge versions)  (Read 117901 times)

0 Members and 1 Guest are viewing this topic.

Offline weather34

  • Forecaster
  • *****
  • Posts: 1068
    • https://weather34.com/homeweatherstation
Re: HOMEWEATHERSTATION Dashboard template
« Reply #550 on: May 30, 2018, 04:08:05 AM »
good morning

after the initial announcement from wunderground services related to their api the template is now reverted back to an original script i used for a short while back in 2016. please do not email me if the forecast are not accurate the template has no bearing or manipulation it simply displays what is retrieved based on your lat lon settings.

has always available via https://weather34.com/homeweatherstation/ choose the appropriate version.


please note i am not answering emails until June 26th due to the unfortunate circumstances occurred here after our neighbours roof caught fire and spread to ours causing a lot of damaged and inconvenience beyond belief .



..brian
« Last Edit: May 30, 2018, 10:54:55 AM by weatherist34 »

Offline doubleohwhatever

  • Senior Contributor
  • ****
  • Posts: 252
Re: HOMEWEATHERSTATION Dashboard template
« Reply #551 on: May 30, 2018, 04:43:22 AM »
Sorry to hear about the roof :/

Offline dupreezd

  • Forecaster
  • *****
  • Posts: 512
Re: HOMEWEATHERSTATION Dashboard template
« Reply #552 on: May 30, 2018, 06:50:54 AM »
+1
Davis VP2 6163 | WiFi Logger
CWOP - FW0717
Blitzortung 2100

Offline prestwickwx

  • Senior Contributor
  • ****
  • Posts: 164
    • Myrtle Beach - Rain or Shine
Re: HOMEWEATHERSTATION Dashboard template
« Reply #553 on: May 31, 2018, 11:28:39 AM »
Brian,

Very sorry to hear about the situation with your roof. Good luck on a speedy recovery.

Best wishes to you and your family.

Chuck

Offline nitrx

  • Senior Contributor
  • ****
  • Posts: 277
    • Apeldoorn-Oost The Netherlands
Re: HOMEWEATHERSTATION Dashboard template
« Reply #554 on: May 31, 2018, 11:32:14 AM »
Hoping the roof is repaired !

BTW I get a 403 error acces denied for your page do you hate The Netherlands  8-)
Ron
Cumulus software
Apeldoorn NL
http://www.apeldoornmeteo.nl

several languages

Offline weather34

  • Forecaster
  • *****
  • Posts: 1068
    • https://weather34.com/homeweatherstation
Re: HOMEWEATHERSTATION Dashboard template
« Reply #555 on: May 31, 2018, 12:38:53 PM »
Hoping the roof is repaired !

BTW I get a 403 error acces denied for your page do you hate The Netherlands  8-)

Ron no i don't hate Netherlands .. i have many dutch friends outside of this weather community we are a small expat community many work for ING Bank here and of course Ryan Babel son goes to my wives school in the past there were other familiar sporting names :-) in istanbul... normally its Turkey that gets blocked :-) !

i can not go into details about blockages for certain IP ranges but it is nothing personal believe me.

but here are the direct download links

Cumulus Version 31st May http://www.mediafire.com/file/94nx9aucbx1nnq5/CU-X7.zip/file

Meteobridge Version 31st May http://www.mediafire.com/file/2w843u8d2df96sw/MB.zip/file

Weatherflow Version 31st May http://www.mediafire.com/file/7ddxmjm3ei9ssp8/WF.zip/file

Weather Display 31st May Version http://www.mediafire.com/file/6k5ner54w64t9yr/WD.zip/file

WS1001 Clones 17th April Version  http://www.mediafire.com/file/a43tyogv0740p44/ws1001.zip/file

*Dark Sky API Forecast replaces wunderground (30-May-2018)
*rain fix for non metric forecast Dark Sky API data (31-May-2018)
*added Dark Sky API hourly forecast data (31-May-2018)
*added Dark Sky API day , night icon switching (31-May-2018)
*added Dark Sky API night icons for all scenarios (31-May-2018)

brian





« Last Edit: May 31, 2018, 12:48:58 PM by weatherist34 »

Offline nitrx

  • Senior Contributor
  • ****
  • Posts: 277
    • Apeldoorn-Oost The Netherlands
Re: HOMEWEATHERSTATION Dashboard template
« Reply #556 on: May 31, 2018, 01:21:03 PM »
Great thanks Ryan Babel lives everywhere  :grin:
Ron
Cumulus software
Apeldoorn NL
http://www.apeldoornmeteo.nl

several languages

Offline prestwickwx

  • Senior Contributor
  • ****
  • Posts: 164
    • Myrtle Beach - Rain or Shine
Re: HOMEWEATHERSTATION Dashboard template
« Reply #557 on: June 01, 2018, 09:27:21 AM »
Has anyone gone live with Brian's latest update - using the Dark Sky API? I would like to take a look at the latest version.

Thanks,

Chuck

Offline doubleohwhatever

  • Senior Contributor
  • ****
  • Posts: 252
Re: HOMEWEATHERSTATION Dashboard template
« Reply #558 on: June 01, 2018, 01:28:58 PM »
Has anyone gone live with Brian's latest update - using the Dark Sky API?
Yep: https://kirkmanweather.com

Offline prestwickwx

  • Senior Contributor
  • ****
  • Posts: 164
    • Myrtle Beach - Rain or Shine
Re: HOMEWEATHERSTATION Dashboard template
« Reply #559 on: June 01, 2018, 01:39:37 PM »
Has anyone gone live with Brian's latest update - using the Dark Sky API?
Yep: https://kirkmanweather.com

Many thanks. The Dark Sky API looks great!

Offline doubleohwhatever

  • Senior Contributor
  • ****
  • Posts: 252
Re: HOMEWEATHERSTATION Dashboard template
« Reply #560 on: June 01, 2018, 01:41:14 PM »
Agreed. It's a shame what is happening with WU but Dark Sky API is a good replacement for forecasts.

Offline prestwickwx

  • Senior Contributor
  • ****
  • Posts: 164
    • Myrtle Beach - Rain or Shine
Re: HOMEWEATHERSTATION Dashboard template
« Reply #561 on: June 01, 2018, 01:44:41 PM »
Yep. WU has been going downhill for sometime. It's barely functioning, at all, at this point. I am not sure they are interested in local PWS.

Offline Mystic_Art

  • Member
  • *
  • Posts: 2
Re: HOMEWEATHERSTATION Dashboard template
« Reply #562 on: June 02, 2018, 08:09:07 AM »
Darksky is awesome. Brian in next week I send you updated ws1001 version.

http://konstantynow.cba.pl

Wysłane z mojego SM-G935F przy użyciu Tapatalka


Offline bianconero57

  • Contributor
  • ***
  • Posts: 131
    • Valdefensch@57
Re: HOMEWEATHERSTATION Dashboard template
« Reply #563 on: June 03, 2018, 06:14:25 AM »
Darksky does not work at home !?
my JSON seems ok ...
http://seremange-meteolive.franceserv.com/pws/index.php
Regards

Offline weather34

  • Forecaster
  • *****
  • Posts: 1068
    • https://weather34.com/homeweatherstation
Re: HOMEWEATHERSTATION Dashboard template
« Reply #564 on: June 03, 2018, 07:00:10 AM »
Darksky does not work at home !?
my JSON seems ok ...
http://seremange-meteolive.franceserv.com/pws/index.php
Regards

looks ok now :-) dont choose color theme (i left it in there my mistake), ive removed it from the setup screen no longer available one less file file to work on and css and languages layout(word lengths) give me a headache so its somewhat easier to just concentrate on two...

looks fine now

Offline prestwickwx

  • Senior Contributor
  • ****
  • Posts: 164
    • Myrtle Beach - Rain or Shine
Re: HOMEWEATHERSTATION Dashboard template
« Reply #565 on: June 03, 2018, 07:55:00 AM »
Brian,

I hope your roof repairs are going well.

The Dark Sky API looks great - a good substitute for WU. Will the latest release of the stationcron.php support Curl? I believe I am presently using a custom version you sent me.

Take care.

Chuck

Offline weather34

  • Forecaster
  • *****
  • Posts: 1068
    • https://weather34.com/homeweatherstation
Re: HOMEWEATHERSTATION Dashboard template
« Reply #566 on: June 03, 2018, 08:13:31 AM »
Brian,

I hope your roof repairs are going well.

The Dark Sky API looks great - a good substitute for WU. Will the latest release of the stationcron.php support Curl? I believe I am presently using a custom version you sent me.

Take care.

Chuck

hi all API calls are now curl based now as more and more hosts are disabling fopen/ by default so

example but all are almost identical apart from url..


// weather34 darksky  curl based
$url4a = 'https://api.forecast.io/forecast/'.$apikey.'/'.$lat.','.$lon.'?lang='.$language.'&units='.$darkskyunit ;
$ch4a = curl_init($url4a);
$filename4a = '../jsondata/darksky.txt';
$complete_save_loc4a = $filename4a;
$fp4a = fopen($complete_save_loc4a, 'wb');
curl_setopt($ch4a, CURLOPT_FILE, $fp4a);
curl_setopt($ch4a, CURLOPT_HEADER, 0);
curl_exec($ch4a);
curl_close($ch4a);
fclose($fp4a);

Offline prestwickwx

  • Senior Contributor
  • ****
  • Posts: 164
    • Myrtle Beach - Rain or Shine
Re: HOMEWEATHERSTATION Dashboard template
« Reply #567 on: June 03, 2018, 01:07:41 PM »
Brian,

I hope your roof repairs are going well.

The Dark Sky API looks great - a good substitute for WU. Will the latest release of the stationcron.php support Curl? I believe I am presently using a custom version you sent me.

Take care.

Chuck

hi all API calls are now curl based now as more and more hosts are disabling fopen/ by default so

example but all are almost identical apart from url..


// weather34 darksky  curl based
$url4a = 'https://api.forecast.io/forecast/'.$apikey.'/'.$lat.','.$lon.'?lang='.$language.'&units='.$darkskyunit ;
$ch4a = curl_init($url4a);
$filename4a = '../jsondata/darksky.txt';
$complete_save_loc4a = $filename4a;
$fp4a = fopen($complete_save_loc4a, 'wb');
curl_setopt($ch4a, CURLOPT_FILE, $fp4a);
curl_setopt($ch4a, CURLOPT_HEADER, 0);
curl_exec($ch4a);
curl_close($ch4a);
fclose($fp4a);

Great! Just updated and the Dark Sky API is working fine. I did notice one possible bug in the UVI-SOLAR Panel. When the Solar Radiation reaches 1000 W/M2 the Panel bar graph shows it as 1.

Still waiting for the WeatherFlow!

Best wishes,

Chuck

Offline weather34

  • Forecaster
  • *****
  • Posts: 1068
    • https://weather34.com/homeweatherstation
Re: HOMEWEATHERSTATION Dashboard template
« Reply #568 on: June 03, 2018, 02:34:56 PM »
sorry its a short reply all fixed just replace livedata.php from download, i have to go an meet my wife at the airport ...ps download was updated with new air quality provider ..if air quality is of interest...other than that its the same..

Offline prestwickwx

  • Senior Contributor
  • ****
  • Posts: 164
    • Myrtle Beach - Rain or Shine
Re: HOMEWEATHERSTATION Dashboard template
« Reply #569 on: June 04, 2018, 08:17:35 AM »
sorry its a short reply all fixed just replace livedata.php from download, i have to go an meet my wife at the airport ...ps download was updated with new air quality provider ..if air quality is of interest...other than that its the same..

Got it. Thanks for the fix!

Chuck

Offline bianconero57

  • Contributor
  • ***
  • Posts: 131
    • Valdefensch@57
Re: HOMEWEATHERSTATION Dashboard template
« Reply #570 on: June 04, 2018, 10:27:44 AM »
good evening Brian yes thank you i saw that everything seems ok for my second station  :-)
by cons, this morning, doing the same update for my first station, as a habit i still have the two modules that remain "off"
**Forecast and ** Current conditions
while i edited my easy_weathersetup ?
http://valdefench57sgz.franceserv.com/pws/index.php

Regards


Offline weather34

  • Forecaster
  • *****
  • Posts: 1068
    • https://weather34.com/homeweatherstation
Re: HOMEWEATHERSTATION Dashboard template
« Reply #571 on: June 04, 2018, 03:07:21 PM »
hello fixed , you had not set the language option for the forecast so the dark sky api was returning this

{"code":400,"error":"An invalid lang parameter was provided."}

also corrected your utc offset ... dont use +2 just use 2

brian


Offline weather34

  • Forecaster
  • *****
  • Posts: 1068
    • https://weather34.com/homeweatherstation
Re: HOMEWEATHERSTATION Dashboard template
« Reply #572 on: June 06, 2018, 01:13:33 AM »
good morning

*please note it is only my personal weather station site that is private the download page is available as normal. sorry if i dont reply to all the pm or emails about this ..

if your ip is blocked then i apologize but simply means an ip,address within the same range was scraping my personal weather site every 5 seconds , i recieved a warning email from host of excessive cpu continous useage , after they investigated they came back with ip adresses from europe those were i czech rep and in holland.

simply blocking the ip,adresses is not always sufficient has the culprits can go vpn hopping so hence the password protect. do not take anything personal or assume its anything else , it simply is what it is as stated above.

download page

https://weather34.com/homeweatherstation/

the url is also in my signature
« Last Edit: June 06, 2018, 01:16:59 AM by weatherist34 »

Offline prestwickwx

  • Senior Contributor
  • ****
  • Posts: 164
    • Myrtle Beach - Rain or Shine
Re: HOMEWEATHERSTATION Dashboard template
« Reply #573 on: June 07, 2018, 02:55:37 PM »
Brian,

Just uploaded your latest with the AirVisual AQi. The Air Visual API seems to work much better than the previous one. Your re-work of the css on the Hourly Forecast and Forecast Summary (Dark Sky) look great! I did notice that in the previous version the Hourly Forecast time increments were formatted in 12 hr. time and new version is in 24 hour. Not a big deal, but I thought I would let you know.

Best Wishes,

Chuck
« Last Edit: June 14, 2018, 08:49:36 AM by prestwickwx »

Offline Ryan

  • Member
  • *
  • Posts: 13
Re: HOMEWEATHERSTATION Dashboard template
« Reply #574 on: June 09, 2018, 03:37:35 PM »
So I'm trying to work through getting this set up. Never done this sort of thing before. I have a couple issues.

Where is the download that contains the mbx5-mysql-setup.pdf?

And when I am seeing the following error on the main page and a couple other places.

Warning: ini_set(): Headers already sent. You cannot change the session module's ini settings at this time in /srv/users/serverpilot/apps/pws/public/settings.php on line 83

 

anything