Skip to content
This repository has been archived by the owner on Sep 17, 2021. It is now read-only.

weather widget not refreshing #44

Open
IshiMeresman opened this issue May 6, 2019 · 3 comments
Open

weather widget not refreshing #44

IshiMeresman opened this issue May 6, 2019 · 3 comments

Comments

@IshiMeresman
Copy link

Awesome energy bar!
small issue:
what's the refresh rate for the weather widget? for some reason I can't trigger a refresh and get only old weather result or none.

@billziss-gh
Copy link
Owner

The weather widget refreshes itself once an hour. But it will also refresh itself every time it reappears on your touchbar (e.g. if you are using it with the clock, every time you swap between the clock and widget "faces").

At the same time the Weather widget only displays what Apple's internal WeatherKit framework tells it. So if the WeatherKit does not update the weather (e.g. because the weather remains the same or because you do not have Internet connectivity) then the displayed weather will not change.

In general the weather you get on EnergyBar and the weather you get on Notification Center should match, because they query the same source (WeatherKit). I believe I have also made EnergyBar query WeatherKit more proactively than NotificationCenter so I have found that EnergyBar displays more current weather (according to WeatherKit) than NotificationCenter in some circumstances.

@ishaiMeresman
Copy link

Thanks! overall great work!
by the way, is there a way to "right click" on items in order to quit them from EnergyBar?
thanks again and keep on the great job!

@billziss-gh
Copy link
Owner

If you long press on the clock widget or restart the app, a dialog will appear which allows you to customize what you want to have in the EnergyBar.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants