Author Topic: HOMEWEATHERSTATION TEMPLATE with meteobridge options  (Read 4972 times)

0 Members and 1 Guest are viewing this topic.

Offline dupreezd

  • Senior Contributor
  • ****
  • Posts: 176
Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
« Reply #100 on: July 31, 2017, 06:00:43 PM »
I really don't understand why there is requirement to have time zone and UTC. Does that mean we have to go into EasySetup twice a year to change the UTC setting when we switch between Standard and Daylight saving time?

 
WS-1200-IP | ObserverIP
WU - KTXCONRO61
CWOP - fw0717

Offline prestwickwx

  • Member
  • *
  • Posts: 34
Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
« Reply #101 on: July 31, 2017, 09:14:11 PM »
Vinny  =D> \:D/ glad it is working for you now.

I had nothing in there, so it was easy to spot after three hours lol. I just went slowly and checked everything.

Glad you and dupreezd found it! I forgot about UTC. I did have that issue one time when I added a leading 0 in the UTC time entry.

Best wishes.

Offline weatherist34

  • its just my hobby
  • Forecaster
  • *****
  • Posts: 345
    • Sinanoba Istanbul Home Weather Station
Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
« Reply #102 on: August 13, 2017, 03:19:14 AM »
Hello

due to demand and ongoing requests you may download last version i worked on , it is really important to *NOTE there is NO SUPPORT the download is provided as is and no point emailing for support . This is the BEST i can do to show some appreciation to Boris at smartbedded .
This version is exclusive to Meteobridge USERS ONLY it will not work with any other software or hardware you must be running Meteobridge Hardware.

I am simply honouring Boris who sent me a meteobridge package some months ago .At least providing something which again exclusive to Meteobridge users in that version .



available via https://weather34.com/homeweatherstation/


the other version supported is CUMULUS but then you would need to use that version only..

In the future at some stage though I have no dates or timeframe , I will release the WeatherFlow exclusive version which again I am honouring WeatherFlow who sent me a field test unit some months ago. again the version is exclusive to Weatherflow and be available when there hardware is available to purchase .

so there you are ..please no more emails I get the picture and hopefully have now responded to them all..

brian
« Last Edit: August 13, 2017, 04:01:03 AM by weatherist34 »

Offline prestwickwx

  • Member
  • *
  • Posts: 34
Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
« Reply #103 on: August 13, 2017, 09:09:12 AM »
Brian,

Many thanks for the "final meteobridge Template" download and all of your beautiful work over the last several years.

Cheers!

Chuck

Offline dupreezd

  • Senior Contributor
  • ****
  • Posts: 176
Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
« Reply #104 on: August 13, 2017, 09:17:44 AM »
Quote
Many thanks for the "final meteobridge Template" download and all of your beautiful work over the last several years.

Ditto
WS-1200-IP | ObserverIP
WU - KTXCONRO61
CWOP - fw0717

Offline mkutche

  • Forecaster
  • *****
  • Posts: 618
    • GosportWx.com - Your Weather Center
Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
« Reply #105 on: August 13, 2017, 01:13:00 PM »
« Last Edit: August 13, 2017, 02:56:11 PM by mkutche »

----------------------------------
Mike - Gosport, IN USA
Cumulus (1.9.4-b1097)
Win-7 Ambient Weather Station WS2080
Website: GosportWX.com
facebook: GosportINWX WeatherNet
Twitter: GosportINWX
GR3, PWS/weatherforyou.com

Offline mkutche

  • Forecaster
  • *****
  • Posts: 618
    • GosportWx.com - Your Weather Center
Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
« Reply #106 on: August 13, 2017, 03:28:54 PM »
Looks good!!http://gosportwx.com/pws/

It wont let me see anything chart wise when i click on 2017, AUG or Today under the temperature. The little popups under Forecast and Current Conditions dont wanna show up either.
« Last Edit: August 13, 2017, 03:36:11 PM by mkutche »

----------------------------------
Mike - Gosport, IN USA
Cumulus (1.9.4-b1097)
Win-7 Ambient Weather Station WS2080
Website: GosportWX.com
facebook: GosportINWX WeatherNet
Twitter: GosportINWX
GR3, PWS/weatherforyou.com

Offline dupreezd

  • Senior Contributor
  • ****
  • Posts: 176
Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
« Reply #107 on: August 13, 2017, 04:23:18 PM »
In your pws\chartswu folder in monthtemperature.php, this is where it reads the data
Quote
      url: "../chartswudata/<?php echo $weatherfile;?>.txt",
Have a look in
\pws\chartswudata
and see if you can see something like this
 [ You are not allowed to view attachments ]
This is the data that is displayed in the graphs.
WS-1200-IP | ObserverIP
WU - KTXCONRO61
CWOP - fw0717

Offline mkutche

  • Forecaster
  • *****
  • Posts: 618
    • GosportWx.com - Your Weather Center
Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
« Reply #108 on: August 13, 2017, 04:25:29 PM »
For some reason it doesn't wanna load.. it reads wind gust, rain and what not but not temperature *shrugs*
« Last Edit: August 13, 2017, 04:27:43 PM by mkutche »

----------------------------------
Mike - Gosport, IN USA
Cumulus (1.9.4-b1097)
Win-7 Ambient Weather Station WS2080
Website: GosportWX.com
facebook: GosportINWX WeatherNet
Twitter: GosportINWX
GR3, PWS/weatherforyou.com

Offline dupreezd

  • Senior Contributor
  • ****
  • Posts: 176
Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
« Reply #109 on: August 13, 2017, 04:29:01 PM »
Open 082017.txt and see if there's data in it. Best is to use something like notepad++
WS-1200-IP | ObserverIP
WU - KTXCONRO61
CWOP - fw0717

Offline mkutche

  • Forecaster
  • *****
  • Posts: 618
    • GosportWx.com - Your Weather Center
Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
« Reply #110 on: August 13, 2017, 04:31:01 PM »
Yep has data..
Quote
Date,TemperatureHighF,TemperatureAvgF,TemperatureLowF,DewpointHighF,DewpointAvgF,DewpointLowF,HumidityHigh,HumidityAvg,HumidityLow,PressureMaxIn,PressureMinIn,WindSpeedMaxMPH,WindSpeedAvgMPH,GustSpeedMaxMPH,PrecipitationSumIn<br>
2017-8-1,85.5,75.7,65.8,68.3,65.7,63.5,93,74,52,30.14,30.02,11,1,11,0.02
<br>
2017-8-2,84.0,74.4,64.9,68.0,65.3,62.3,93,75,54,30.14,29.99,11,2,11,0.10
<br>
2017-8-3,84.9,75.0,65.1,69.9,66.1,62.5,92,73,53,30.08,29.93,15,3,15,0.00
<br>
2017-8-4,78.3,68.9,59.4,66.9,57.5,51.3,84,68,52,30.06,29.89,25,7,25,0.00
<br>
2017-8-5,76.8,65.8,54.9,59.3,55.6,50.9,89,71,50,30.22,30.01,13,2,13,0.00
<br>
2017-8-6,72.5,68.0,63.5,63.4,60.4,58.6,87,79,65,30.11,30.02,13,1,13,0.00
<br>
2017-8-7,79.2,71.4,63.7,64.9,61.4,57.9,92,76,53,30.29,29.96,19,2,19,0.02
<br>
2017-8-8,81.3,69.2,57.2,58.9,54.2,47.2,89,64,31,30.68,30.10,21,4,21,0.00
<br>
2017-8-9,80.6,66.9,53.2,61.6,54.6,51.3,94,85,42,30.28,30.18,11,1,13,0.00
<br>
2017-8-10,71.1,70.6,70.2,62.4,61.9,61.5,74,74,73,30.12,30.10,2,0,4,0.00
<br>
2017-8-11,81.9,73.9,66.2,69.0,64.4,60.6,86,74,60,30.14,29.98,13,3,13,0.09
<br>
2017-8-12,80.4,70.7,61.0,65.0,58.5,53.9,89,68,46,30.19,30.02,17,3,17,0.00
<br>
2017-8-13,83.1,69.2,55.4,62.5,56.7,52.8,93,75,42,30.15,30.00,13,2,13,0.00
<br>

----------------------------------
Mike - Gosport, IN USA
Cumulus (1.9.4-b1097)
Win-7 Ambient Weather Station WS2080
Website: GosportWX.com
facebook: GosportINWX WeatherNet
Twitter: GosportINWX
GR3, PWS/weatherforyou.com

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1088
    • Support site Leuven Template and scripts
Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
« Reply #111 on: August 13, 2017, 05:00:11 PM »
Yep has data..
Quote
Date,TemperatureHighF,TemperatureAvgF,TemperatureLowF,DewpointHighF,DewpointAvgF,DewpointLowF,HumidityHigh,HumidityAvg,HumidityLow,PressureMaxIn,PressureMinIn,WindSpeedMaxMPH,WindSpeedAvgMPH,GustSpeedMaxMPH,PrecipitationSumIn<br>
2017-8-1,85.5,75.7,65.8,68.3,65.7,63.5,93,74,52,30.14,30.02,11,1,11,0.02
<br>
2017-8-2,84.0,74.4,64.9,68.0,65.3,62.3,93,75,54,30.14,29.99,11,2,11,0.10
<br>
2017-8-13,83.1,69.2,55.4,62.5,56.7,52.8,93,75,42,30.15,30.00,13,2,13,0.00
<br>
The script is not processing your data as it breaks with a javascript error. This is the script which is executed when you click on August:
http://gosportwx.com/pws/chartswu/monthtemperature.php
Inspecting (using right click => inspect) that script it displays an error
Code: [Select]
monthtemperature.php:30 Uncaught SyntaxError: Unexpected token )  That line 30 reads:
Code: [Select]
dataPoints1.push({label:moment(rowData[0],'YYYY-MM-DD').format("ddd Do"),y:)});There is something missing after the y: it should read like this:
Code: [Select]
dataPoints1.push({label:moment(rowData[0],'YYYY-MM-DD').format("ddd Do"),y:parseFloat(rowData[1])});That missing part is inserted by convert.php based on the region you selected in the settings. Maybe you set the region wrong, you have to choose one of the four regions, not set them all to false in settings1.php
Code: [Select]
$uk = false;
$usa = false;
$scandinavia = false;
$restoftheworld = true;
I am in Belgium => rest of the world.  Check yours if at least one of them is set to true.

Wim
« Last Edit: August 13, 2017, 05:07:11 PM by wvdkuil »
Vantage VUE with a WLIP used for https://weer.sluispark.be/
Vantage VP2 with a USB logger/Meteobridge for https://www.weerstation-herent.be/

Offline mkutche

  • Forecaster
  • *****
  • Posts: 618
    • GosportWx.com - Your Weather Center
Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
« Reply #112 on: August 13, 2017, 05:08:09 PM »
Yep has data..
Quote
Date,TemperatureHighF,TemperatureAvgF,TemperatureLowF,DewpointHighF,DewpointAvgF,DewpointLowF,HumidityHigh,HumidityAvg,HumidityLow,PressureMaxIn,PressureMinIn,WindSpeedMaxMPH,WindSpeedAvgMPH,GustSpeedMaxMPH,PrecipitationSumIn<br>
2017-8-1,85.5,75.7,65.8,68.3,65.7,63.5,93,74,52,30.14,30.02,11,1,11,0.02
<br>
2017-8-2,84.0,74.4,64.9,68.0,65.3,62.3,93,75,54,30.14,29.99,11,2,11,0.10
<br>
2017-8-13,83.1,69.2,55.4,62.5,56.7,52.8,93,75,42,30.15,30.00,13,2,13,0.00
<br>
The script is not processing your data as it breaks with a javascript error. This is the script which is executed when you click on August:
http://gosportwx.com/pws/chartswu/monthtemperature.php
Inspecting (using right click => inspect) that script it displays an error
Code: [Select]
monthtemperature.php:30 Uncaught SyntaxError: Unexpected token )  That line 30 reads:
Code: [Select]
dataPoints1.push({label:moment(rowData[0],'YYYY-MM-DD').format("ddd Do"),y:)});There is something missing after the y: it should read like this:
Code: [Select]
dataPoints1.push({label:moment(rowData[0],'YYYY-MM-DD').format("ddd Do"),y:parseFloat(rowData[1])});That missing part is inserted by convert.php based on the region you selected in the settings. Maybe you set the region wrong, you have to choose one of the four regions, not set them all to false in settings1.php
Code: [Select]
$uk = false;
$usa = false;
$scandinavia = false;
$restoftheworld = true;
I am in Belgium => rest of the world.  Check yours if at least one of them is set to true.

Wim

that is weird i didnt change anything and i have it already set to USA true

----------------------------------
Mike - Gosport, IN USA
Cumulus (1.9.4-b1097)
Win-7 Ambient Weather Station WS2080
Website: GosportWX.com
facebook: GosportINWX WeatherNet
Twitter: GosportINWX
GR3, PWS/weatherforyou.com

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1088
    • Support site Leuven Template and scripts
Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
« Reply #113 on: August 13, 2017, 05:18:02 PM »
Did you modify the script? The generated html now reads
Code: [Select]
dataPoints1.push({label:moment(rowData[0],'YYYY-MM-DD').format("ddd Do"),y:parseFloat(rowData[1])});)});So there is far to much information  ")});" now.  The PHP instructions in the original monthtemperature.php script should  read like this
Code: [Select]
dataPoints1.push({label:moment(rowData[0],'YYYY-MM-DD').format("ddd Do"),y:<?php echo $temperatureconvhi ;?>)});You should not modify the script http://gosportwx.com/pws/chartswu/monthtemperature.php itself, as the text inserted selects the  field to process based on the settings1.php by checking if the units ( C or F)  must be converted or not.
Wim

Vantage VUE with a WLIP used for https://weer.sluispark.be/
Vantage VP2 with a USB logger/Meteobridge for https://www.weerstation-herent.be/

Offline mkutche

  • Forecaster
  • *****
  • Posts: 618
    • GosportWx.com - Your Weather Center
Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
« Reply #114 on: August 13, 2017, 05:18:37 PM »
So what is causing my 500 HTTP errors when clicking on forecast summary, forecast ahead and hourly forecast?

----------------------------------
Mike - Gosport, IN USA
Cumulus (1.9.4-b1097)
Win-7 Ambient Weather Station WS2080
Website: GosportWX.com
facebook: GosportINWX WeatherNet
Twitter: GosportINWX
GR3, PWS/weatherforyou.com

Offline mkutche

  • Forecaster
  • *****
  • Posts: 618
    • GosportWx.com - Your Weather Center
Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
« Reply #115 on: August 13, 2017, 05:20:40 PM »
Did you modify the script? The generated html now reads
Code: [Select]
dataPoints1.push({label:moment(rowData[0],'YYYY-MM-DD').format("ddd Do"),y:parseFloat(rowData[1])});)});So there is far to much information  ")});" now.  The PHP instructions in the original monthtemperature.php script should  read like this
Code: [Select]
dataPoints1.push({label:moment(rowData[0],'YYYY-MM-DD').format("ddd Do"),y:<?php echo $temperatureconvhi ;?>)});You should not modify the script http://gosportwx.com/pws/chartswu/monthtemperature.php itself, as the text inserted selects the  field to process based on the settings1.php by checking if the units ( C or F)  must be converted or not.
Wim

It seemed to have worked when i changed the stuff in the monthtemperature.php script i saw no setting for this in settings1.php

----------------------------------
Mike - Gosport, IN USA
Cumulus (1.9.4-b1097)
Win-7 Ambient Weather Station WS2080
Website: GosportWX.com
facebook: GosportINWX WeatherNet
Twitter: GosportINWX
GR3, PWS/weatherforyou.com

Offline dupreezd

  • Senior Contributor
  • ****
  • Posts: 176
Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
« Reply #116 on: August 13, 2017, 05:31:46 PM »
It seems you have not set everything using Easysetup.
There's some information missing.
 [ You are not allowed to view attachments ]
Start Easysetup and fill in all the required information.
WS-1200-IP | ObserverIP
WU - KTXCONRO61
CWOP - fw0717

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1088
    • Support site Leuven Template and scripts
Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
« Reply #117 on: August 13, 2017, 05:32:39 PM »
So what is causing my 500 HTTP errors when clicking on forecast summary, forecast ahead and hourly forecast?
First find the scripts which generate the 500 error by right click => Open link in new tab
forecast summary =>  http://gosportwx.com/pws/forecast/outlook.php
forecast ahead => http://gosportwx.com/pws/forecast/forecast10.php
The 500 errors are caused by "parsing" errors. You can not see them as the parser simply stops and the error setting/display is not active yet.
That is easily solved by using an extra step.
A 2 line program, which sets all error reporting on and then loads the script with the 500 error.
1. unzip attachement
2. modify the name of the script with the problem scripts name in line 2
3. and put the testit.php  script inside the folder with the script you want to test. The scrip reads like this:
Code: [Select]
<?php ini_set('display_errors''On');   error_reporting(E_ALL);
include 
'outlook.php';
4. Then run http://gosportwx.com/pws/forecast/testit.php , it loads outlook.php and one or more messages are displayed.

Wim
Vantage VUE with a WLIP used for https://weer.sluispark.be/
Vantage VP2 with a USB logger/Meteobridge for https://www.weerstation-herent.be/

Offline mkutche

  • Forecaster
  • *****
  • Posts: 618
    • GosportWx.com - Your Weather Center
Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
« Reply #118 on: August 13, 2017, 05:34:49 PM »
It seems you have not set everything using Easysetup.
There's some information missing.
 [ You are not allowed to view attachments ]
Start Easysetup and fill in all the required information.

I filled out everything except for data base as I dont have a WS1001..

----------------------------------
Mike - Gosport, IN USA
Cumulus (1.9.4-b1097)
Win-7 Ambient Weather Station WS2080
Website: GosportWX.com
facebook: GosportINWX WeatherNet
Twitter: GosportINWX
GR3, PWS/weatherforyou.com

Offline mkutche

  • Forecaster
  • *****
  • Posts: 618
    • GosportWx.com - Your Weather Center
Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
« Reply #119 on: August 13, 2017, 05:37:39 PM »
Ok it is now back to http://www.gosportwx.com/CU-X5/ i guess i broke something  there when changing to /pws/ that also fixed my chart problem. Thanks Wim for the testit.php without that I would of been like *shrug* lol
« Last Edit: August 13, 2017, 05:41:24 PM by mkutche »

----------------------------------
Mike - Gosport, IN USA
Cumulus (1.9.4-b1097)
Win-7 Ambient Weather Station WS2080
Website: GosportWX.com
facebook: GosportINWX WeatherNet
Twitter: GosportINWX
GR3, PWS/weatherforyou.com

Offline dupreezd

  • Senior Contributor
  • ****
  • Posts: 176
Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
« Reply #120 on: August 13, 2017, 05:46:18 PM »
Good job. I can see your charts as well.

One thing, turn off directory browsing on your site.
 [ You are not allowed to view attachments ]
WS-1200-IP | ObserverIP
WU - KTXCONRO61
CWOP - fw0717

Offline mkutche

  • Forecaster
  • *****
  • Posts: 618
    • GosportWx.com - Your Weather Center
Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
« Reply #121 on: August 13, 2017, 05:47:51 PM »
Good job. I can see your charts as well.

One thing, turn off directory browsing on your site.
 [ You are not allowed to view attachments ]

Not sure how as it's hosted through my dad. I'll ask him to see if he can.

----------------------------------
Mike - Gosport, IN USA
Cumulus (1.9.4-b1097)
Win-7 Ambient Weather Station WS2080
Website: GosportWX.com
facebook: GosportINWX WeatherNet
Twitter: GosportINWX
GR3, PWS/weatherforyou.com

Offline dupreezd

  • Senior Contributor
  • ****
  • Posts: 176
Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
« Reply #122 on: August 13, 2017, 05:50:34 PM »
Looks like it is using Apache which I am not familiar with.
WS-1200-IP | ObserverIP
WU - KTXCONRO61
CWOP - fw0717

Offline dupreezd

  • Senior Contributor
  • ****
  • Posts: 176
WS-1200-IP | ObserverIP
WU - KTXCONRO61
CWOP - fw0717

Offline mkutche

  • Forecaster
  • *****
  • Posts: 618
    • GosportWx.com - Your Weather Center
Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
« Reply #124 on: August 13, 2017, 05:54:17 PM »
Ahh, here is how.

https://stackoverflow.com/questions/2530372/how-do-i-disable-directory-browsing

I tried it on my end but it still went through i'll have him do it on his end. Thanks

----------------------------------
Mike - Gosport, IN USA
Cumulus (1.9.4-b1097)
Win-7 Ambient Weather Station WS2080
Website: GosportWX.com
facebook: GosportINWX WeatherNet
Twitter: GosportINWX
GR3, PWS/weatherforyou.com

 

anything