Ios: Apple Watch triggered actions fails under iOS 14

Created on 15 Aug 2020  路  8Comments  路  Source: home-assistant/iOS

iPhone 11 with iOs 14 public beta (A2221)
Apple Watch Series 5 with watchOs 6.2.8 (A2093)

Model Name: iPhone 11 (A2221)
Software Version: ios 14, Public beta
App version: Companion 2020.5.2

Model Name: AppleWatch Series 5 (A2093)
Software Version: watchOs 6.2.8
App version: Companion 2020.5.2

Running Home Assitant 0.114.0

I cant trigger an action I the companion app on my apple watch when the app is in the background and phone is locked. Nothing happens. It works fine when I have the phone unlocked and the app opened. I can't find anything in any log when I try to trigger the action and nothing happens.

It works the first 30 seconds after I close the app, but then it stops.
If I try to trigger an action when I open the app on the watch nothing happens, then I wait 10 sec and try the same action again it often works.

So open the app in the watch and try to trigger a couple of times often works, and then I can trigger all action in the app until I close the phone again.

I don't relay know if I can find anything in other logs, please let me know if I can provide with more info and how I can find it then.

2020.5 bug iOS 14 watch

All 8 comments

Same issue here.

I do not, currently, see this with WatchOS 7/iOS 14 both at dev beta 4 and Home Assistant 0.114.1 and app 2020.6(1) or 2020.5. However, this is something I have seen a lot and Zac and I spent quite a while trying to debug. The underlying cause, we believed was iOS's throttling of background processes. A quick test for this is when an action doesn't work, if you open the app on your phone it should immediately fire the action. The more you use the phone app, this should train iOS into allowing the app to do more in the background. I have also seen that if the action fired from Watch doesn't work immediately, it often fires a minute or too later (clearly to long a delay to be useful). This has actually been a problem I have seen intermittently since 2019.1 so I do think it's an iOS thing.

I tested to open the app and it will not fire the action at all, nothing happens. I have also tried to wait a couple of minutes but it will not fire. It麓s very clear when it麓s not working because I do not get this "second" haptic feedback on the watch. I always get the first when I press the action but not the second that it have fired.

I didn't have this issue on ios13, but perhaps the app resets its learning when I updated it to io14. I have yet noticed any improvement, it still works as described but maybe it麓s too short of time for the app to learn and improve.

Are you able to put the WatchOS beta on your watch? I'm wondering if there is some issue with the combination of WatchOS 6 and the iOS 14 beta.

I don't really want to do that yet, I am relying on it for the hart thing and sends that to my doctor. However, I think that @isabellaalstrom which has the same issue is running the beta on her watch.

Ok I can reproduce this now and I'm pretty certain #822 is the root cause. Every time I get a pop up saying the app has crashed, my actions stop working until I re open the app. I k ow Realm are looking at that issue. Hopefully we'll have a fix soon 馃

I should just mention that the dependency causing the background crash (realm) has had a potential fix merged so hopefully that will be available to us soon. Also, using the TestFlight beta will allow you to opt in to a partial mitigation to the crash. This works for me 95 % of the time.

With #980 being fixed in 2020.6(11) this should be fixed now. I certainly don't see it anymore. If anyone still sees this in 2020.6(11) please post back here and reopen :)

Was this page helpful?
0 / 5 - 0 ratings