Mercurial > hg > egg-tcls
changeset 576:84e2f0dab633
weather: Update configuration example.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 30 Dec 2020 09:13:16 +0200 |
parents | 3530d38071c4 |
children | e5e4b068d56b |
files | config.weather.example |
diffstat | 1 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/config.weather.example Fri Dec 18 14:36:09 2020 +0200 +++ b/config.weather.example Wed Dec 30 09:13:16 2020 +0200 @@ -89,6 +89,9 @@ lappend weather_msg_cloudiness "melkein pilvistä" lappend weather_msg_cloudiness "pilvistä" +# 10 = fully cloudy +lappend weather_msg_cloudiness "täysin pilvistä" + # Array/list of Tiehallinto precipitation value descriptions set weather_msg_precipitation [list] @@ -106,14 +109,17 @@ # are optional and will only be appended to result string IF the # named @token@ value is "set" e.g. not empty or in some cases invalid. set weather_msg_result [list] -lappend weather_msg_result "\002@station@\002, @ctime@: \002@temp@°C\002" -lappend weather_msg_result ", tien pinta @road_surface_temp@°C" +lappend weather_msg_result "\002@station@\002, @ctime@: " +lappend weather_msg_result "\002@temp@°C\002" +lappend weather_msg_result ", tie @road_surface_temp@°C" lappend weather_msg_result ", kosteus \002@humidity@\002%" lappend weather_msg_result ", tuuli \002@wind_speed@\002 m/s" #lappend weather_msg_result " (suunta @wind_direction@ - @wind_direction_deg@°)" lappend weather_msg_result " - @wind_direction@" lappend weather_msg_result ", \002@cloudiness@\002 (@cloudiness_val@)" lappend weather_msg_result ", näkyvyys @visibility@ km" +#lappend weather_msg_result ", @precipitation@ (@precipitation2@ = @precipitation_val@)" +lappend weather_msg_result ", @precipitation2@" lappend weather_msg_result "."