You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cache weather data in weather_app to avoid reload on every open #533
Every time the weather app is opened it fires a fresh BLE HTTP request and shows a loading spinner until the response arrives. The app already stores last_weather in RAM and re-fetches periodically (every 30 min via weather_app_fetch_work), but this cached data is never used to populate the UI on open. There's an existing TODO on line 85 of weather_app.c. The fix should show the last successful weather data immediately on open and refresh in the background.
Hi, I'm a beginner learning C programming and I'd like to take on this issue (cache weather data). Could you please tell me which file/function I should focus on modifying?
Hi, I'm a beginner learning C programming and I'd like to take on this issue (cache weather data). Could you please tell me which file/function I should focus on modifying?
Hi! It's mentioned in the issue already, weather_app.c you should be able to figure it out from there.
Activity
zpassion commentedon Mar 3, 2026
Hi, I'm a beginner learning C programming and I'd like to take on this issue (cache weather data). Could you please tell me which file/function I should focus on modifying?
jakkra commentedon Mar 3, 2026
Hi! It's mentioned in the issue already, weather_app.c you should be able to figure it out from there.
feat(weather): add cache for last weather data ZSWatch#533
zpassion commentedon Mar 8, 2026
Hi !All reported issues (indentation, regex double-escaping, pre-commit errors) have been fixed. The PR is now ready for final review and approval.
Thanks!
HongNguyen635 commentedon Oct 25, 2026
Hi @jakkra @zpassion, Is this still being worked on? If not, I’d be happy to pick it up and give it a try.
jakkra commentedon Oct 26, 2026
Hi, funny you write just now, I actually without thinking I implemented this yesterday, will close this. Will merge today.