Skip to content

weather_forecast

Daily multi-day forecast for a fixed (latitude, longitude) via Open-Meteo. TextBlock / Entries / Text summarise highs / lows / precipitation per day; Ratio reports the worst precipitation probability in the window; NumberSeries carries per-day rainfall totals (tenths of mm or inch) for sparkline / histogram consumers; Bars carries per-day precipitation probability (%) so the bar chart stays informative even in dry forecasts; PointSeries carries high+low temperature curves across days; Badge flags the worst weather code; Timeline lays the days out chronologically. days defaults to 3 (range 1..=7), metric units by default, no API key required.

KindSafetyShapes
cachedSafetext_block, text, entries, ratio, number_series, point_series, bars, badge, timeline
OptionTypeRequiredDefaultDescription
latitudefloat (degrees)yesLatitude of the location to query (e.g., 35.68 for Tokyo).
longitudefloat (degrees)yesLongitude of the location to query (e.g., 139.76 for Tokyo).
units"metric" | "imperial"no"metric"Temperature unit system. Metric renders °C; imperial renders °F and reports precipitation in inches.
daysint (1..=7)no3How many days of forecast to fetch. Clamped to 1..=7 — Open-Meteo serves longer windows, but accuracy drops past a week.
ShapeRenderers
text_blockanimated_boot, animated_postfx, animated_scanlines, animated_splitflap, animated_wave, list_plain
textanimated_boot, animated_figlet_morph, animated_postfx, animated_scanlines, animated_splitflap, animated_typewriter, animated_wave, text_ascii, text_plain
entriesanimated_boot, animated_postfx, animated_scanlines, animated_splitflap, animated_wave, grid_table
ratioanimated_boot, animated_postfx, animated_scanlines, animated_splitflap, animated_wave, gauge_battery, gauge_circle, gauge_line, gauge_segment, gauge_thermometer
number_seriesanimated_boot, animated_postfx, animated_scanlines, animated_splitflap, animated_wave, chart_histogram, chart_sparkline
point_seriesanimated_boot, animated_postfx, animated_scanlines, animated_splitflap, animated_wave, chart_line, chart_scatter
barsanimated_boot, animated_postfx, animated_scanlines, animated_splitflap, animated_wave, chart_bar, chart_pie, list_ranking
badgeanimated_boot, animated_postfx, animated_scanlines, animated_splitflap, animated_wave, status_badge
timelineanimated_boot, animated_postfx, animated_scanlines, animated_splitflap, animated_wave, list_timeline
Mon    22°/15°C  💧 10%                 
Tue  🌧 18°/13°C  💧 80% 8.4mm            
Wed  🌤 20°/15°C  💧 30%                  
                                        
[[widget]]
id = "weather_forecast"
fetcher = "weather_forecast"
render = "list_plain"
                                                      
                                                              
                                                           
                                                       
                                                                                
[[widget]]
id = "weather_forecast"
fetcher = "weather_forecast"
render = "text_ascii"
  22°/15°C  🌧 18°/13°C  🌤 20°/15°C   
                                        
[[widget]]
id = "weather_forecast"
fetcher = "weather_forecast"
render = "text_plain"
Mon                      22°/15°C  💧 10%
Tue 🌧              18°/13°C  💧 80% 8.4mm
Wed 🌤                    20°/15°C  💧 30%
                                        
                                        
[[widget]]
id = "weather_forecast"
fetcher = "weather_forecast"
render = "grid_table"
                                        
                   
Tue rain risk  80%
                   
                                        
[[widget]]
id = "weather_forecast"
fetcher = "weather_forecast"
render = "gauge_battery"
        
Tue rain risk         
        
[[widget]]
id = "weather_forecast"
fetcher = "weather_forecast"
render = "gauge_circle"
Tue rain risk:  80% 
[[widget]]
id = "weather_forecast"
fetcher = "weather_forecast"
render = "gauge_line"
                                        
                                        
Tue rain risk  80%                 
                                        
                                        
[[widget]]
id = "weather_forecast"
fetcher = "weather_forecast"
render = "gauge_segment"








[[widget]]
id = "weather_forecast"
fetcher = "weather_forecast"
render = "gauge_thermometer"
                                
                                
                                
                        
                        
                        
[[widget]]
id = "weather_forecast"
fetcher = "weather_forecast"
render = "chart_histogram"
                                       
                                       
··                                     
[[widget]]
id = "weather_forecast"
fetcher = "weather_forecast"
render = "chart_sparkline"
                                            
                                           
                                  
                                 
                                           
                                                  
                                                  
                                           
                          
                             
[[widget]]
id = "weather_forecast"
fetcher = "weather_forecast"
render = "chart_line"
                                                 
                                                  
                                                 
                                                  
                                                 
                                                  
                                                  
                                                
                                                  
                                                 
[[widget]]
id = "weather_forecast"
fetcher = "weather_forecast"
render = "chart_scatter"
                                     
                                     
                                     
                                     
                                  
                                  
10 80 30                             
Mon Tue Wed                             
[[widget]]
id = "weather_forecast"
fetcher = "weather_forecast"
render = "chart_bar"
                                        
                    Mon 8.3%          
                             
        Tue 66.7%         
                         
    Wed 25.0%         
                         
                           
                             
                                       
[[widget]]
id = "weather_forecast"
fetcher = "weather_forecast"
render = "chart_pie"
1. Mon                                10
2. Tue                                80
3. Wed                                30
                                        
                                        
[[widget]]
id = "weather_forecast"
fetcher = "weather_forecast"
render = "list_ranking"
 precip                                
[[widget]]
id = "weather_forecast"
fetcher = "weather_forecast"
render = "status_badge"
May 11    partly cloudy                         
        22°/15°C  💧 10%                          
May 12  🌧 rain                                   
        18°/13°C  💧 80% 8.4mm                    
May 13  🌤 mostly clear                           
        20°/15°C  💧 30%                          
                                                  
                                                  
[[widget]]
id = "weather_forecast"
fetcher = "weather_forecast"
render = "list_timeline"