# HG changeset patch # User Matti Hamalainen # Date 1609312396 -7200 # Node ID 84e2f0dab633596d6f9c13347a0a6c600b9a01ff # Parent 3530d38071c432aa1b6e69af175dff303bc7b4f1 weather: Update configuration example. diff -r 3530d38071c4 -r 84e2f0dab633 config.weather.example --- 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 "."