FinWX Foorumi

Sääasemaohjelmat => Python software for USB Wireless WeatherStations (PyWWS) => Aiheen aloitti: angle - tiistai, 10.05.2011, 12:36

Otsikko: PyWWS AWEKAS tuki
Kirjoitti: angle - tiistai, 10.05.2011, 12:36
Ajattelinpa laittaa tämän tänne. Siis template jolla olen liittynyt AWEKAS (http://www.awekas.at/en/index.php) verkostoon.

AWEKAS foorumilta (http://www.awekas.at/for2/index.php?page=Thread&threadID=229) löytyi malleja, joilla voi liittyä ko. verkostoon. Minä valitsin niistä seuraavan
LainaaVariation 3 (Weather Display) Text file (OLD - pleas use Direct link)

1st Line) Outside temperature
2nd Line) Humidity
3rd Line) Air pressure
4th Line) Daily precipitation quantity
5th Line) Wind speed (in km/h)
6th Line) Wind direction (in degrees)
7th Line) Time of creation (HH:MM)
8th Line) Date of creation (if possible in the format DD.MM.YYYY)
9th Line) Change in air pressure in the last 6 hours

Tuota siis jäjitellään tällä templatella

#timezone local##temp_out "%.1f °C" "-"#
#hum_out "%d"#
#rel_pressure "%.1f hPa "#
#daily##rain "%.1f mm"##hourly#
#wind_ave "%.0f km/h" "" "x * 3.6 / 1"#
#wind_dir "%.0f" "0" "x * 22.5"#
#idx "%H:%M"#
#idx "%d.%m.%Y"#
#pressure_trend "%s hPa/hr" "" #


Tuo talletetaan txt tiedostona template kansioon kuten muutkin. Siinä se. Sitten vaan liittymään :)