PaperPi icon indicating copy to clipboard operation
PaperPi copied to clipboard

Need to add altitude to weather plugin for reliable forecasts

Open AaronCiuffo245484 opened this issue 4 months ago • 0 comments

Describe the bug In some cases the met.no weather API supplies the incorrect altitude for a given Lat/Lon. It appears to default to 4949 meters for some locations. See Atlanta Georgia. This leads the temperature forecasts to be very wrong.

Valid forecast with supplied altitude (320m)

To Reproduce Set up the weather plugin with the following values

Plugin: Weather Atlanta]
layout = layout
plugin = met_no
refresh_rate = 300
min_display_time = 50
max_priority = 2
location_name = Atlanta, Georgia
lat = 34.6
lon = 84.31

Expected behavior

The plugin should get the appropriate temperature forecast.

Additional context This can be fixed by adding an altitude key to the plugin configuration and then updating the plugin to use an altitude value in the requested URL

AaronCiuffo245484 avatar Sep 02 '25 18:09 AaronCiuffo245484