File to be used forr | Meteobridge name | where to get that file | template name | upload frequency |
---|---|---|---|---|
Weather-data values for all pages of the template | tags.mb.txt | scriptsMB/ | tagsMB.txt | 5 minutes |
"Realtime" weather-data values | realtimeGet.txt | scriptsMB/ | realtime.txt | 30 secondes |
Meteobridge has no built-in facility for generating graphs.
Meteobridge has an extensive WiKi which you should open now .
The WiKi: http://meteobridge.com/wiki/index.php/Main_Page
There is also a forum at: http://forum.meteohub.de/viewforum.php?f=54
First we set the FTP upload credentials at the bottom and test if they work OK. What you have to enter here can be found in the information you got from your provider.
Stop for now entering values into the other fields because:
If the test file arrived, we can now enter the name of the template files your Meteobridge should process and upload.
Now we have to define every upload so that we can fill in the names etc. in the top part of the screen. In the middle of the Meteobridge screen you see the two selection boxes and the define (= Add Service Event ) button.
The tags.mb.txt file is uploaded using the FTP upload in the first selection and Periodical in the second. The realtime data is uploaded using HTTP request and Periodical.
The tags.mb.txt file is uploaded using the settings in the top part of above screenshot.
The realtime data is uploaded as defined in the bottom part of the picture
frequency | location and name of the template file | path = were to upload to |
---|---|---|
every 5 minutes | www.yourWebsite.com/weather28/scriptsMB/tags.mb.txt | ????/weather28/uploadMB/tagMB.txt |
Replace www.yourWebsite.com with the correct name of your website. Also, replace ???? with the extra ftp information to your weather28/ folder. In the screenshot that is /httpdocs/
From the Meteobridge WiKi:
Files to be uploaded have to be accessable in the Internet via HTTP. Meteobridge downloads the files pointed to, replaces Meteobridge variables inside the downloaded file by current weather data and uploads resulting file to the specified directory.
To minimize traffic, Meteobridge does not download the referenced template files each time it does prepare a FTP upload. Templates are downloaded once during startup of Meteobridge and stay untouched until you press "Reload Templates" button.
When you are working on the design of new templates, don't forget to press the reload button to make template changes effective to Meteobridge.
So the two things to do now is to press "Save" button and try not to forget to press the "Reload templates" if we change anything in a template file.
From the Meteobridge WiKi:
Data will be sent as HTTP GET requests with URL parmeters you can define to your liking. Parameters of a URL consist of name-value pairs seperated by '&'. You can define names yourself and can use a certain set of variables provided by Meteobridge to be used as values. Variable names will be automatically replaced by their current values, each time a HTTP request is sent.
We re going to use this facility for "uploading" the realtime information for the Steelseries gauges.
In the folder weather28/scriptsMB/ at your web-site (or in your download at your PC ) there is a file realtimeGet.txt.
http://www.wiri.be/weather27/scriptsMB/realtimeGet.php?d=[hh]:[mm], , . . . all the way to the end ! . .
Now you change the name of my test-server (**www.wiri.be** and my weather folder weather27) into the name of your server and folder.
Example your server is named www.myweather.fi and you installed in weather28/, you change the first line into
http://www.myweather.fi/weather28/scriptsMB/realtimeGet.php?d=[hh]:[mm], . . . all the way to the end ! . .
DO NOT change anything else.
Just to be save and not sorry later: Save the file on your web-site were you found it.
Then, you are still in your progam editor,
Now you press the "Save" button on the bottom of the screen.
Did you really copied the whole line?
So all the way to the end |[forecast-text:–]|ver2015-04-24 ? Really?
Time to check if everything works OK. The uploadMB/ folder on your website should contain recent copies of:
In Meteobridge you can check the status of your FTP/ HTTP uploads at the top of the "Live Data tab"