hkcam icon indicating copy to clipboard operation
hkcam copied to clipboard

Connecting... on Apple Watch

Open RaymondMouthaan opened this issue 5 years ago • 9 comments

Hi @brutella ,

Not sure whether HKCam should work on Apple Watch (4), but currently only Still Image seems to work, when Live video is requested, my Apple Watch remains "Connecting ..."

Same as reported here by @iMartzen

RaymondMouthaan avatar May 30 '19 13:05 RaymondMouthaan

what app are you using on the apple watch? With Home 3 it works fine here (Apple Watch 4) With Apple Home it doesn't work

benbeton avatar May 30 '19 19:05 benbeton

I am using both the Apple Home app and also Home 3 app.

Apple Home: shows a still image and tries Live video but remains "connecting ..."

Home 3: does pretty much the same as Apple Home app

btw. the displayed still image seems to be an older image

RaymondMouthaan avatar May 30 '19 19:05 RaymondMouthaan

I am only using the Apple Home App

iMartzen avatar May 30 '19 20:05 iMartzen

I see this working sporadically on my end with the 3a825f0 build. Seems to me like the Apple Home has better connectivity, but it often just pulls a still. I have yet to see HK Home actually stream, but it does show the still captured by Apple Home. Likely cached in HomeKit.

Apple Home IMG_1485 IMG_1486

HK Home IMG_1482 IMG_1483 IMG_1484

dfbills avatar Jun 01 '19 18:06 dfbills

@brutella, any idea's to get this working?

RaymondMouthaan avatar Jun 04 '19 08:06 RaymondMouthaan

We may have to analyse the log file to see what happens when connecting with the Apple Watch.

The main difference between a connection from the iPhone and the Apple Watch is that the Apple Watch requests a low-resolution camera stream with low frame rate. Maybe there lies the problem.

brutella avatar Jun 04 '19 08:06 brutella

@brutella should it matter whether to use Apple Home or Home3 ?

I'll create some logs and post them here.

RaymondMouthaan avatar Jun 04 '19 08:06 RaymondMouthaan

@brutella should it matter whether to use Apple Home or Home3 ?

No, I don't think so.

brutella avatar Jun 04 '19 08:06 brutella

@brutella

The step I took to test are:

  1. flashed sdcard with raspbian-stretch-lite-2019-04-08-hkcam-v0.0.8-armv6.img
  2. re-added the camera accessory in Apple Home on my iPhone X
  3. checked if still image and live stream worked, which worked 👍
  4. then I did several tests from Apple Home and Home3 from the Apple Watch 4 and iPhone. I've attached the current log where you find marks with a description of what I did. The first tests went well, and I thought I couldn't reproduce the error, however ...
  5. after shutting down the rpi zero to move it to a different location and rebooted it again
  6. Apple Watch wasn't able to stream Live video anymore ...

Please consider the current.zip and hopefully it helps to fix this issue.

Some additional steps after above steps:

  1. removed camera accessory from Home on iPhone and checked it also has been removed from Watch
  2. added the camera accessory again via Home
  3. Home worked fine with Live video
  4. Watch still failed

RaymondMouthaan avatar Jun 04 '19 10:06 RaymondMouthaan