Author Topic: Weather Web page  (Read 805 times)

0 Members and 1 Guest are viewing this topic.

Offline Weatheroger

  • Senior Contributor
  • ****
  • Posts: 219
Weather Web page
« on: November 10, 2019, 12:12:48 PM »
I am thinking of setting up a weather web page and have been looking around for something. Not knowing anything about scripting or the nuts and bolts I was looking for something that was simple and could be set up easily. I found this and requesting your thoughts and suggestions. I am using an Ecowitt GW1000 gateway.
http://www.meteotemplate.com/web/download.php
« Last Edit: November 10, 2019, 12:14:44 PM by Weatheroger »

Offline yamiacaveman

  • Forecaster
  • *****
  • Posts: 325
    • Penn Lake Weather
Re: Weather Web page
« Reply #1 on: December 31, 2019, 05:02:03 PM »
Hi Weatheroger.

Here is my link to my Meteotemplate: https://www.pennlake.us/meteo/template/indexDesktop.php but my main site is https://www.pennlake.us/

So, there was a young man that developed this software and he use to be on this forum on a regular bases for a few years. I believe he moved up in the ranks at his place of work and his work on this software has slowed down. I really don't know how much he supports it, although he did recently sent me a download key to upgrade to the latest version.

Basically to me you pick and choose what you want to show and how you want to display it, and there it is.
It takes a little getting use to, but once you figure it out, it's fairly simple.

The developer use to be a big help in getting you set up and going -- I know I gave him quite a few head aches, but he was very patient.

My only concern is how much updating he has done and how much help you can expect???

All I can say is give it a try.


Offline kd7eir

  • Senior Member
  • **
  • Posts: 52
Re: Weather Web page
« Reply #2 on: January 01, 2020, 08:47:28 AM »
Meteotemplate is great. The latest version is 17.2.

Jachym still works on updates, he's working a new version, and just recently updated quite a few of the plugins and blocks.

Meteotemplate is absolutely the easiest website template to setup and manage, and you can feed your data from the GW1000 straight into it.

Offline yamiacaveman

  • Forecaster
  • *****
  • Posts: 325
    • Penn Lake Weather
Re: Weather Web page
« Reply #3 on: January 01, 2020, 11:02:24 AM »
Glad to hear Jacymn is still updating and working on his project. Great guy!

Offline spd2612

  • Member
  • *
  • Posts: 9
    • HurricanePub
Re: Weather Web page
« Reply #4 on: February 15, 2020, 10:09:53 AM »
Can you tell me how to configure the GW1000  to feed strait into Meteotemplate ? as I am currently putting weewx in the middle
My GW1000  sends to WEEWX and then Meteotemplate gets it thru the API.PHP I would love to cut out the WEEWX server



Meteotemplate is great. The latest version is 17.2.

Jachym still works on updates, he's working a new version, and just recently updated quite a few of the plugins and blocks.

Meteotemplate is absolutely the easiest website template to setup and manage, and you can feed your data from the GW1000 straight into it.

Offline kd7eir

  • Senior Member
  • **
  • Posts: 52
Re: Weather Web page
« Reply #5 on: February 15, 2020, 10:21:01 AM »
Go here https://github.com/iz0qwm/ecowitt_http_gateway to the section ecowitt Meteotemplate plugin

Offline spd2612

  • Member
  • *
  • Posts: 9
    • HurricanePub
Re: Weather Web page
« Reply #6 on: February 15, 2020, 12:02:29 PM »
Thanks for the reply

I am using a GW 1000 to capture the data from my sensors  on the WS-2902A
I built a Ubuntu server with weewx in my virtual farm that I am capturing the data with every 30 seconds, I am using the intercepter driver and
meteotemplate - weewx extension in a loop to get that data to to meteotemplate api.php file. I am still working on a couple things but all is working pretty well.
30 second update and no cron

I would like to take that Ubuntu server with WEEWX out of the equation but it looks like to do that all I would have is a block being updated by a plugin, is that correct ? and currently my whole site is being updated by WEEWX and at 30 second intervals

Offline kd7eir

  • Senior Member
  • **
  • Posts: 52
Re: Weather Web page
« Reply #7 on: February 15, 2020, 12:29:08 PM »
That plugin updates the entire meteotemplate site. It takes the data from the GW1000 and feeds it to the meteotemplate API.
« Last Edit: February 15, 2020, 12:38:13 PM by kd7eir »

Offline spd2612

  • Member
  • *
  • Posts: 9
    • HurricanePub
Re: Weather Web page
« Reply #8 on: February 15, 2020, 12:45:41 PM »
Ok that may be the way to go im sure I can keep my update time the way I have it currently 31 seconds

Im guessing I just install the plugin configure it and leave database setup pointed to api then reconfigure my GW1000 to point to the Meteotemplate.api

this will cut down on server maintenance I have 10 and one less would be a blessing   

Offline spd2612

  • Member
  • *
  • Posts: 9
    • HurricanePub
Re: Weather Web page
« Reply #9 on: February 15, 2020, 05:26:31 PM »
wow I wish I would have known about this before I did all the extra work of building a server and setting up WEEWX
This was done in minutes.
I am still receiving updates in my mysql data base are they coming from the ecowitt plugin ?

There are 2 plugin folders at https://github.com/iz0qwm/ecowitt_http_gateway  one is in Meteotemplate folder and the other is
meteotemplate-ecowitt-1.6.zip I installed the meteotemplate-ecowitt-1.6.zip one is that correct ?

Offline kd7eir

  • Senior Member
  • **
  • Posts: 52
Re: Weather Web page
« Reply #10 on: February 15, 2020, 05:47:45 PM »
The ecowitt plugin feeds the api, the api feeds the mysql database.

You installed the correct one.

Offline spd2612

  • Member
  • *
  • Posts: 9
    • HurricanePub
Re: Weather Web page
« Reply #11 on: February 15, 2020, 05:49:46 PM »
Thank you so much I shut down my Ubuntu server
I am still updating every 30 seconds with no issues
« Last Edit: February 21, 2020, 05:34:38 PM by spd2612 »

Offline spd2612

  • Member
  • *
  • Posts: 9
    • HurricanePub
Re: Weather Web page
« Reply #12 on: February 25, 2020, 08:36:13 AM »
I am using the GW1000 and the Ecowitt plugin to get the data to my Meteotemplate Template which works well, My issue is My sites run in https. I have port 80 and 443 bindings and as long as I don,t enable my URL Rewrite rule to force https it works fine.
I can not control what people type in there browser, but when I enable it updates from the GW1000 STOP.
I have added a exception for the Ecowitt plugin directory but that does not help
My Meteotemplate setup runs in https just fine I just cant get the Ecowitt to run in it
Any Ideas ?

https://hurricanepub.com

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1525
    • My PWS at Leuven Belgium Europe
Re: Weather Web page
« Reply #13 on: February 25, 2020, 09:01:15 AM »
I am using the GW1000 and the Ecowitt plugin to get the data to my Meteotemplate Template which works well, My issue is My sites run in https. I have port 80 and 443 bindings and as long as I don,t enable my URL Rewrite rule to force https it works fine.
I can not control what people type in there browser, but when I enable it updates from the GW1000 STOP.
I have added a exception for the Ecowitt plugin directory but that does not help
My Meteotemplate setup runs in https just fine I just cant get the Ecowitt to run in it
Any Ideas ?

https://hurricanepub.com
Code: [Select]
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteCond %{REQUEST_URI} !^/data/report/
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
This works for me fine

Wim
Support for Leuven-Template & Scripts  at this forum
Support for the PWS_Dashboard (HWS-template) for WD a.o.  https://pwsdashboard.com/
Script sponsors https://support.leuven-template.eu/userlistScripts.php
Template sponsors https://support.leuven-template.eu/userlist.php

Offline spd2612

  • Member
  • *
  • Posts: 9
    • HurricanePub
Re: Weather Web page
« Reply #14 on: February 25, 2020, 09:02:55 AM »
where are you putting that code

oh you are using a htaccess file
« Last Edit: February 25, 2020, 09:07:20 AM by spd2612 »

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1525
    • My PWS at Leuven Belgium Europe
Re: Weather Web page
« Reply #15 on: February 25, 2020, 09:07:55 AM »
where are you putting that code
In the root of my website in the file  .htaccess 
For my provider that  is /public_html/.htaccess 

The data is coming in nicely https://sluispark.be/data/test.txt

Wim
Support for Leuven-Template & Scripts  at this forum
Support for the PWS_Dashboard (HWS-template) for WD a.o.  https://pwsdashboard.com/
Script sponsors https://support.leuven-template.eu/userlistScripts.php
Template sponsors https://support.leuven-template.eu/userlist.php

Offline spd2612

  • Member
  • *
  • Posts: 9
    • HurricanePub
Re: Weather Web page
« Reply #16 on: February 25, 2020, 10:36:38 AM »
Im on a IIS server so htaccess wont work but I figured it out if any one else needs it for IIS
I put the below code in all the index pages that it accesses and it will redirect a user to https unless they are on your static wan address
will redirect all remote users but let the internal network run 80 and 443

Change xxx.xxx.xxx.xxx to your static address and then change the url to match yours

Code: [Select]
<?php
if ($_SERVER['HTTPS'] != "on" && $_SERVER['REMOTE_ADDR'] != "xxx.xxx.xxx.xxx") { 
     
?>
<script>location.href='https://url.com';</script><?php
}
?>