diff --git a/weather/contrib/ecowitt/server.py b/weather/contrib/ecowitt/server.py index 4cf2156e..804d2cb4 100644 --- a/weather/contrib/ecowitt/server.py +++ b/weather/contrib/ecowitt/server.py @@ -380,7 +380,7 @@ def do_GET(self): message = json.dumps(result) elif self.path == '/wind': result["wind_speed"] = weather['wind_speed'] - result["wind_direction"] = weather['wind_direction'] + result["wind_deg"] = weather['wind_deg'] result["wind_gust"] = weather['wind_gust'] message = json.dumps(result) elif self.path == '/solar':