noahp / fbapp-TimeDateWeather

FitbitOS clock app
MIT License
4 stars 3 forks source link

Wrong weather #20

Open vrapp opened 4 years ago

vrapp commented 4 years ago

Hi,

I installed this face; the weather right now says "Lincolnwood, 9°C, Rain", But there's no rain. Openweather shows:

Lincolnwood, US

9°C Feels like 3°C. Scattered clouds. Gentle Breeze 4.6m/s WSW 1019hPa Humidity: 45% UV: 3 Dew point: -2°C Visibility: 10.0km

noahp commented 4 years ago

Hi @vrapp ! Thanks for the report. The text description for the weather is the forecast for the day, pulled from https://openweathermap.org/forecast5 . It's definitely possible there's some errors in the logic I used to convert the OWM condition codes, https://github.com/noahp/fbapp-TimeDateWeather/blob/master/common/weather/phone.js#L151-L165 .