nightscout / nightguard

iOS and WatchOS Client for the Nightscout CGM System
GNU Affero General Public License v3.0
243 stars 159 forks source link

Complication not Updating in Modular Ultra #257

Closed nectario closed 11 months ago

nectario commented 1 year ago

It seems the complication never updates. Even one hour later, and it never updated. The Apple face I'm using is the Modular Ultra. I have an Apple Watch Ultra 2.

dhermanns commented 1 year ago

Hi! You would have to configure Background Updates:

https://h3rmanns.medium.com/enabling-background-updates-for-you-iphone-and-watch-4b8167a70b24

If that is configured correctly, what complication are you using?

The gauge complication should work fine. The rectangular one seems to need a fix on watchos 10.

nectario commented 1 year ago

I have already done this. Nothing works. Complication will not update. Sometimes an entire hour will pass without updating. I am using the Modular Ultra face...

nectario commented 1 year ago

Is this an issue with the complication or Apple Watch? It seems other complications are not updating either...

dhermanns commented 1 year ago

The circular nightguard complications are updating fine for me. The rectangular seems to have a problem, but just on the watch. And only after updating to watchos10.

nectario commented 1 year ago

How often is this supposed to update? I now see it updates every 20 minutes...

dhermanns commented 1 year ago

That is already very good. You can try to improve it e.g. by placing multiple Complications on your watch and ios widgets.

Each widget is getting an own update budget from Apple.

nectario commented 1 year ago

Thanks. Nothing seems to work. I tested again and tried to measure how long it will update. So, more than an hour later, it never updated...

nectario commented 1 year ago

2023-10-31 19 12 54 Here is a screenshot

dhermanns commented 1 year ago

Try the latest TestFlight and the rectangular complication. It should update much better.

grahamjenson commented 1 year ago

I have the same issues with the updates not coming through on Apple Watch Ultra 2, complications in Modular ultra. It updates immediately if I click through to the app though.

dhermanns commented 1 year ago

Next Build 842 will be available soon. All complications should update mich more frequently.

Till now, I was using background updates to update the complications. These are very infrequent. Now the TimelineProvider, used for widgets, updates it on its own. That seems to work MUCH better.

You should see this new behavior in the rectangular complication in build 841 already.

nectario commented 1 year ago

Wow, thanks for addressing this issue! Looking forward to trying it! It seems this issue to be impacting A LOT of other complications as well. We are talking about no update even after an hour (all of them) except the weather one and compass....

grahamjenson commented 1 year ago

Awesome, thank you. Looking forward to the update.

keesvanlierop commented 1 year ago

Any idea when this will become generally available? Looking forward!

dhermanns commented 1 year ago

I'm currently rewriting background updates and therefore I'm planning to release everything as a bigger release.

But you can use the TestFlight till then...