MENU

WEATHER34
HOME WEATHER STATION DASHBOARD TEMPLATE
quick setup METEOBRIDGE page

Below is a very quick reference guide on how to get the WEATHER34 weather station METEOBRIDGE MYSQL dashboard template up and running.

Cumulus FORUM WXFORUM Meteobridge FORUM Weather-Watch FORUM

Revised 21st October 2017 .

Support emails for MYSQL METEOBRIDGE are monitored and requests answered whenever posiible .

PLEASE READ THE SETUP GUIDE PROVIDED mbx5-mysql-setup.pdf IN THE DOWNLOAD TO CONNECT TO YOUR DATABASE

EASYWEATHERSETUP screen.(http://yourdomain/easyweathersetup.php)

weather34 setup screen


*note the database host can be found at the top of your phpmyadmin panel
example
Server: weather34station:3306 ┬╗Database: weather34station ┬╗Table: weatherstation

Two ways of doing this once you have setup the database weatherstation and added the correct username and password to database with privileges to write and create database.
*NOTE SOME HOSTS VIA CPANEL automatically insert username into the database name i.e myusername_weatherstation so in this case try adding myusername_weatherstation in the database name in the easyweathersetup shown above.

weather34 setup screen


option 1.You need to access the phpmyadmin screen via your cpanel or whichever means you use to access the phpmyadmin screen.you can simply import the file in the download called weatherstation.mysql from your phpmyadmin screen option to import ,and upload/import from your desktop and this will create the tables and structure .choose sql.. *note it will import the sample data so after successfully importing data you can run the TRUNCATE option in phpmyadmin.see above screenshot

option 2. having set your username and password as shown above you can simply run the file called createdb.php provided in the download http://yourdomain/createdb.php ,it will create the tables and structure .

USE WHICHEVER OPTION IS BEST FOR YOU !!


METEOBRIDGE SETUP screen.



weather34 setup screen


LETS MOVE ON TO THE NEXT PART USING THE METEOBRIDGE SETUP PANEL

1.if you have your meteobridge all set up and logging data you can now connect to the weather34 template installed on your server.

2.goto the weather network tab

3.click add more Weather Networks

4.select Home Weather Station

5.choose upload interval

6.select retry amounts

7.enter the url of where the mb.php is on your server , it is very critical/important you get this right or everything will fail i.e. blank page

example 1 : http://yourdomain/mbridge/mb.php
example 2 : http://yourdomain/pws/mbridge/mb.php
example 3 : http://yourdomain/mbridge/mbridge/mb.php


8.then click save

weather34 setup screen


*note if you see a red cross next to the API URL ignore it, it seems to be a bug in the meteobridge itself , you can switch to the livedata tab to see the response if its a red cross there then you need to check the path url you inserted.
weather34 setup screen


Part 2 . Setting up the services .

stationcron.php file exports mysql data to csv file every 15 minutes for daily running charts,also updates forecast,a-index,earthquake data every 15 minutes

1.select services tab

2.goto new and select service from the drop down and choose HTTP REQUEST

3.goto select event type and choose PERIODICALLY

4.set the stationcron.php url to run every 15 minutes

examples of the url path to the stationcron.php

example 1 : http://yourdomain/mbdbfiles/stationcron.php
example 2 : http://yourdomain/pws/mbdbfiles/stationcron.php
example 3 : http://yourdomain/mbridge/mbdbfiles/stationcron.php




addtoyear.php file at 23:45 appends current daily Max and Min to monthly csv file

1.select services tab

2.goto new and select service from the drop down and choose HTTP REQUEST

3.goto select event type and choose SPECIFIC TIME

4.set the addtoyear.php url to run at 23:45

examples of the url path to the addtoyear.php

example 1 : http://yourdomain/mbdbfiles/addtoyear.php
example 2 : http://yourdomain/pws/mbdbfiles/addtoyear.php
example 3 : http://yourdomain/mbridge/mbdbfiles/addtoyear.php


empty.php file empties the current day data and starts a new one (database never gets excessive and will never grind your server to a halt)

1.select services tab

2.goto new and select service from the drop down and choose HTTP REQUEST

3.goto select event type and choose SPECIFIC TIME

4.set the empty.php url to run at 00:00 (midnight)

examples of the url path to the empty.php

example 1 : http://yourdomain/mbdbfiles/empty.php
example 2 : http://yourdomain/pws/mbdbfiles/empty.php
example 3 : http://yourdomain/mbridge/mbdbfiles/empty.php


weather34 setup screen

REMEMBER PLEASE READ THE SETUP GUIDE PROVIDED mbx5-mysql-setup.pdf IN THE DOWNLOAD TO CONNECT TO YOUR DATABASE

Support emails for MYSQL METEOBRIDGE are monitored and requests answered whenever posiible .

©2015-2017 Brian Underdown designed under Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)
weather34.com