Page 1 of 4

Tutorial for uploading to AWEKAS

Posted: Tue 19 May 2009 11:42 pm
by LynnT
Hopefully this will be clear enough for everyone..

The following is a tutorial (requested by Othmar) on how to upload Cumulus information to AWEKAS....
First you can read the info here from the AWEKAS forum: http://www.awekas.at/forum/viewtopic.php?t=229

The info here from the AWEKAS forum: http://www.awekas.at/forum/viewtopic.php?t=229 explains each line and you can also change the unit of measurement i.e. centigrade or Fahrenheit see below

1st Line) Following text: AWEKAS_Template_start
2nd Line) Outside temperature (float) (unit at line 23 )
3rd Line) Humidity (int) (unit at line 24)
4th Line) Air pressure (float) (unit at line 26)
5th Line) Precipitation amount in the day (float)
6th Line) Wind speed (float) (unit at line 25)
7th Line) Wind direction (in degrees)
8th Line) Time of measurement (HH:MM)
9th Line) Date of measurement (if possible in the format DD.MM.YYYY)
10th Line) Change in air pressure in the last 6 hours – text version according to Weather Link specification
11th Line) Minus sign (-) is a dummy
12th Line) Minus sign (-) is a dummy
13th Line) Minus sign (-) is a dummy
14th Line) Minus sign (-) is a dummy
15th Line) Minus sign (-) is a dummy
16th Line) Minus sign (-) is a dummy
17th Line) Minus sign (-) is a dummy
18th Line) Gust (float)
19th Line) Solar radiation (W/m²) (unit at line 28 )
20th Line) UV Index (float) (unit at line 30)
21th Line) Rain rate (float) (unit at line 29)
22th Line) Soil temperature (unit at line 23 ) (float)
23th Line) Measurement unit temperature ( (degree sign)C or F ) (string)
24th Line) Measurement unit humidity (%) (string)
25th Line) Measurement unit wind speed (km/hr , m/s, mph ) (string)
26th Line) Measurement unit air pressure (hPa , in) (string)
27th Line) Measurement unit precipitation (mm, in) (string)
28th Line) Measurement unit solar (W/m² ) (string)
29th Line) Measurement unit rain rate (mm/hr, in/hr) (string)

30th Line) Measurement unit UV (index) (string)
31th Line) Template version: current Text: Template_V1.5

All values have to have a separate line and may not have any description. And a line return a <br> tag has to be included.

I am using the LaCrosse WS2310 so I am using the last file format. I used the template suggested and placed the values in it that my weather station reports, see here:
This is the template (you make a txt file in notepad or wordpad or comparable program) start on line #1 no space at top!

AWEKAS_Template_start<br>
<#temp><br>
<#hum><br>
<#press><br>
<#rfall><br>
<#wspeed><br>
<#bearing><br>
<#hour>:<#minute><br>
<#day>/<#month>/<#year><br>
<#presstrend><br>
-<br>
-<br>
-<br>
-<br>
-<br>
-<br>
-<br>
<#wgust><br>
<#SolarRad><br>
<#UV><br>
<#rrate><br>
---<br>
°F<br>
% <br>
mph<br>
in<br>
in<br>
W/m²<br>
in/hr<br>
index<br>
Template_V1.5<br>

Once you have this template made then save it to your hard drive as awekas_wl.htm

Now upload this file to your website and note the location. Then in the Cumulas program on your computer go to > Configuration > Internet > Files .... browse your hard drive for your awekas_wl.htm file and put that location in the box ( see my example below )

Image

* Read Cumulus instructions:
Local Filenames This column allows you to specify the names of up to 10 files on your system which will be uploaded to your web site at each web update. Clicking the 'Browse...' button opens a standard file selection dialogue to allow you to browse for a particular file.
Binary? This column allows you to specify whether each file is Binary (e.g. images) or not (e.g. HTML files).
Remote Filenames This column allows you to specify the corresponding name on your web site of each file. You should specify the full path for the file, starting from the point you are at when you log in to your site's FTP server.
Process? This column allows you to specify whether each file should be passed through the 'tag processor' in Cumulus, in the same way that the standard Cumulus web pages are. This allows to you to create your own web pages into which Cumulus will insert the various weather parameters. See the "Web tags" section of the help file for a list of the tags which you can use. Cumulus will create a temporary file to hold the processed version of your file and then upload that.


Now you will need to make sure that on the Awekas site that your user data points to the path of the datafile
**There has to be an upload file if the data is to be transferred automatically. Enter the link including the file name here - e.g. (http://www.mysite.com/awekas_wl.htm).

OK! This should do it and now your Cumulus information should be sending to AWEKAS - I know it is probably clear as mud but go ahead and e-mail me and I will be glad to try and help.

Re: Tutorial for uploading to AWEKAS

Posted: Wed 20 May 2009 7:39 am
by steve
Thank you for doing that. I'll sticky the topic.

Re: Tutorial for uploading to AWEKAS

Posted: Wed 20 May 2009 8:35 am
by 6719jason
Great Instructions Lynn!

I am having a bit of trouble but not a lot.

You will see in my screen shot below that some data is not displaying properly.

I have a Watson W8681 Weather Station & Latest Version of Cumulus.

How can I sort out this minor glitch?

Thanks in advance.

Re: Tutorial for uploading to AWEKAS

Posted: Wed 20 May 2009 4:24 pm
by LynnT
well looks like most of your info is there but try making your template look like this (its been awhile so maybe I forgot it needed the <br>) and you also need as your very first line "AWEKAS_Template_start" no quotes tho... see below

AWEKAS_Template_start<br>
<#temp><br>
<#hum><br>
<#press><br>
<#rfall><br>
<#wspeed><br>
<#bearing><br>
<#hour>:<#minute><br>
<#day>/<#month>/<#year><br>
<#presstrend><br>
-<br>
-<br>
-<br>
-<br>
-<br>
-<br>
-<br>
<#wgust><br>
<#SolarRad><br>
<#UV><br>
<#rrate><br>
---<br>
°F<br>
% <br>
mph<br>
in<br>
in<br>
W/m²<br>
in/hr<br>
index<br>
Template_V1.5<br>


see if that helps. :)

Re: Tutorial for uploading to AWEKAS

Posted: Wed 20 May 2009 4:34 pm
by 6719jason
Thanks Lynn It has worked a treat!

http://www.awekas.at/en/instrument.php?id=5348

Thanks

Jason

Re: Tutorial for uploading to AWEKAS

Posted: Wed 20 May 2009 4:40 pm
by LynnT
Jason,

Yahoo - looks good! Glad I could help. Sorry bout the glitch- I will fix my tutorial for others.

Re: Tutorial for uploading to AWEKAS

Posted: Wed 20 May 2009 5:01 pm
by LynnT
The info here from the AWEKAS forum: http://www.awekas.at/forum/viewtopic.php?t=229 explains each line and you can also change the unit of measurement i.e. centigrade or Fahrenheit see below

1st Line) Following text: AWEKAS_Template_start
2nd Line) Outside temperature (float) (unit at line 23 )
3rd Line) Humidity (int) (unit at line 24)
4th Line) Air pressure (float) (unit at line 26)
5th Line) Precipitation amount in the day (float)
6th Line) Wind speed (float) (unit at line 25)
7th Line) Wind direction (in degrees)
8th Line) Time of measurement (HH:MM)
9th Line) Date of measurement (if possible in the format DD.MM.YYYY)
10th Line) Change in air pressure in the last 6 hours – text version according to Weather Link specification
11th Line) Minus sign (-) is a dummy
12th Line) Minus sign (-) is a dummy
13th Line) Minus sign (-) is a dummy
14th Line) Minus sign (-) is a dummy
15th Line) Minus sign (-) is a dummy
16th Line) Minus sign (-) is a dummy
17th Line) Minus sign (-) is a dummy
18th Line) Gust (float)
19th Line) Solar radiation (W/m²) (unit at line 28 )
20th Line) UV Index (float) (unit at line 30)
21th Line) Rain rate (float) (unit at line 29)
22th Line) Soil temperature (unit at line 23 ) (float)
23th Line) Measurement unit temperature ( (degree sign)C or F ) (string)
24th Line) Measurement unit humidity (%) (string)
25th Line) Measurement unit wind speed (km/hr , m/s, mph ) (string)
26th Line) Measurement unit air pressure (hPa , in) (string)
27th Line) Measurement unit precipitation (mm, in) (string)
28th Line) Measurement unit solar (W/m² ) (string)
29th Line) Measurement unit rain rate (mm/hr, in/hr) (string)
30th Line) Measurement unit UV (index) (string)
31th Line) Template version: current Text: Template_V1.5

All values have to have a separate line and may not have any description. And a line return a <br> tag has to be included.

Re: Tutorial for uploading to AWEKAS

Posted: Wed 20 May 2009 5:03 pm
by LynnT
steve wrote:Thank you for doing that. I'll sticky the topic.
Your welcome - needed a little refining but I think it is all here now. ;)

Re: Tutorial for uploading to AWEKAS

Posted: Thu 21 May 2009 2:40 pm
by beteljuice
Been off-line for several days :cry:

I did notice their 'format' and your make-over of it, but what doesn't make sense is calling the txt file html when there are no 'header' or 'body' or doc type declarations !

If it IS a txt file then <br> serves no purpose.

Perhaps someone from AWEKAS could explain :?

Re: Tutorial for uploading to AWEKAS

Posted: Thu 21 May 2009 4:56 pm
by LynnT
Beteljuice,

Well guess that would be a good question for Othmar at AWEKAS. All I know is it works and that the .htm is what AWEKAS wanted for a file type.

It seems to me the the <br> does keep everything on separate lines instead of running across the top of the page.

Maybe he will come along and answer the question for you/us.

Re: Tutorial for uploading to AWEKAS

Posted: Sat 22 May 2010 4:16 am
by Areco747

Re: Tutorial for uploading to AWEKAS

Posted: Wed 09 Jun 2010 10:52 am
by tjaliwalpa
I've just set up an AWEKAS presence and set up Cumulus to send data to my website. It has been successfully transfering data to my website, and according to the AWEKAS Test Data utility, my data is arriving at AWEKAS.

However, my issue is that none of the guages and displays are being populated. Is there any reason for this occuring?

Bob

Re: Tutorial for uploading to AWEKAS

Posted: Wed 09 Jun 2010 12:45 pm
by steve
You still have: Number of reported weather conditions: 2, which is what you had when I looked after you posted. I'd have expected it to have increased by now? It seems it isn't actually reading your data?

I think I'll sign up myself and give it a try...

Re: Tutorial for uploading to AWEKAS

Posted: Wed 09 Jun 2010 1:02 pm
by tjaliwalpa
steve wrote:You still have: Number of reported weather conditions: 2, which is what you had when I looked after you posted.
Steve,

The weather conditions are manual inputs by the members from a menu on the site. They have nothing to with data being read from a website. I've since cleared the weather conditions.

I have read many of the discussions on the website and can't seem to pinpoint anything in there either. While most of the registration process and the setting up of the map and displays was automated, perhaps the downloading of data needs to be activated by admin at AWEKAS. I shall wait until tomorrow some time and see what happens.

Thanks again for your interest,

Bob

Re: Tutorial for uploading to AWEKAS

Posted: Wed 09 Jun 2010 1:08 pm
by steve
tjaliwalpa wrote:The weather conditions are manual inputs by the members from a menu on the site. They have nothing to with data being read from a website. I've since cleared the weather conditions.
Ah, right, I understand.

Having registered and entered my details, I have the same as you. I've noticed a problem in your template, you have 'mm' for your pressure units. But as I'm not getting any data displayed either, that can't be the main problem.