Templates – How to connect your weather station to weatherstations-online.net

In order for your current weather data to be displayed on weatherstations-online.net, you must connect your weather station to our service. There are different possibilities for this. One possibility is that you provide the data via FTP in form of a template. We will now describe this possibility here.

In order to be able to use this option, you need a freely accessible web space (your own website), which can be accessed without restriction (example of automatically uploaded weather data: https://weatherstations-online.net/station/karlsruhe/ ). Here you can automatically upload your weather data in a certain form. Our service retrieves this data regularly and updates your weather data on our site.

Creating a template using MeteoBridge as an example

Unfortunately, weatherstations-online.net has not yet been included as a weather network. But with a template you can upload your weather data as well.

Settings at MeteoBridge

First, make sure that you have a working FTP access (write access) to your web space. If necessary, create a folder in which you can store the template and later the current weather data. This is not absolutely necessary, but increases the overview. Create a simple text file in which you enter the template data. You save this file as .txt or .tpl and upload it into the folder you created before. As an example, you can use the following file: https://wetter.test-wetterstation.de/meteobridge/wetterstationen-online.tpl
Determine the URL that can be used to call up the template with a browser. This is important because MeteoBridge does not save the template data itself, but retrieves it itself. So this file serves as template, will be changed after completion and not anymore.

Settings in MeteoBridge
Settings in MeteoBridge

Then create an FTP user under the tab “Services”. Check your settings with the button “Test FTP”. This must work properly. Then you can define the upload under “Definition of events”. Now Meteobridge should transfer the data regularly to your webspace. The uploaded file is located in the path as shown in column “Path (File)”. In our example under: https://wetter.test-wetterstation.de/meteobridge/wetterstationen-online.html (TemplateURL).
Please note the file extension. With the first URL the template (ending “.tpl”) is called, with the second URL the transferred weather data (ending “.html”).

Settings in your account at weatherstations-online.net

If your weather station transmits the current data and you can retrieve it by means of a URL (TemplateURL), go to your account at weatherstations-online, click on the gear wheel and select “Edit Profile”. In the tab “More Data” click on “Edit Profile”. Now you can update more data here. Important is the field “TemplateURL”. Enter the URL where your current weather data can be accessed. After finishing, save the data by clicking on the check mark directly under your cover photo.

Edit Profile
Step 1: Click on the gear, then select “Edit Profile”
Click Edit Profile in the tab
Step 2: Select the “More Data” tab. To change data there, click on “Edit Profile”
Insert the TemplateURL
Step 3: Insert the TemplateURL. Don’t forget! After you have finished, save the information by clicking on the check mark directly under your cover photo.

Template data in the overview

In this way, you can generate a template for each weather station that can transfer weather data via FTP and provide the data. It is important that the target file (TemplateURL) has the following structure:

Line 1: Current temperature in Celsius
Line 2: Current humidity in percent
Line 3: Current pressure in hPa
Line 4: Wind speed in km/h
Line 5: Wind direction in degrees
Line 6: Current time (HH.MM)
Line 7: Current date (DD.MM.YYYY)
Line 8: Precipitation in mm

If a value is not available at your weather station, enter a “0” or an empty line in this line. It is important that the corresponding data are in the correct lines.

Template for MeteoBridge



Template for Meteohub


Template for Weather Display


Template for Cumulus


Have you noticed a mistake? Write to us!

Leave a Comment