diff --git a/aprsd/plugin_utils.py b/aprsd/plugin_utils.py index 56fe245..12171e5 100644 --- a/aprsd/plugin_utils.py +++ b/aprsd/plugin_utils.py @@ -76,6 +76,7 @@ def fetch_openweathermap(api_key, lat, lon, units="metric", exclude=None): exclude, ) ) + LOG.debug(f"Fetching OWM weather '{url}'") response = requests.get(url) except Exception as e: LOG.error(e) diff --git a/aprsd/plugins/weather.py b/aprsd/plugins/weather.py index 8f07f39..6d68b5c 100644 --- a/aprsd/plugins/weather.py +++ b/aprsd/plugins/weather.py @@ -211,7 +211,7 @@ class OWMWeatherPlugin(plugin.APRSDRegexCommandPluginBase): @trace.trace def process(self, packet): - fromcall = packet.get("from") + fromcall = packet.get("from_call") message = packet.get("message_text", None) # ack = packet.get("msgNo", "0") LOG.info(f"OWMWeather Plugin '{message}'")