Another Homekit no response thread

Hi all,

I’ve got my Hassio running nicely on a raspberry pi, doing all the things it does. For ages it was running quite nicely with HomeKit and remotely accessible vi my AppleTV4k, but some time ago - I think after an update around v0.100 (bad memory) it’s only been intermittently available outside my own network.

When I’m at home, everything works flawlessly from my phone’s native Home app, but when I’m away, I get “No Response” when I try to operate any devices.

Weirdly, all the camera images are available remotely and update as usual - slower than I’d like, but good enough. All the devices seem to show the correct state too, but if I turn on a light, it says “No Response” and does nothing.

I’m not completely convinced it’s a HA issue, because after a router reboot, it seems to be fine for a few hours and then falls over - but I could be wrong on this too. Intermittent behaviour is hard.

Other threads related to this talk about turning off IGMP snooping, but I think I have this turned off.

After a router reboot it usually works for a few minutes.

anyone got any clues?

Do you have your cameras bridged or paired in accessory mode?

The cameras are all cheap IP cameras interfaced to motioneye and hooked in to HA. All homekit related stuff goes through HA.

All the cameras shown below are the mjpeg streams exported by motioneye.

EDIT: extract from configuration.yaml

camera:
  - platform: mjpeg
    name: ShedCam
    mjpeg_url: http://192.168.0.29:8081
    verify_ssl: false
  - platform: mjpeg
    name: DrivewayCam
    mjpeg_url: http://192.168.0.29:8082
    verify_ssl: false
  - platform: mjpeg
    name: BinsCam
    mjpeg_url: http://192.168.0.29:8083
    verify_ssl: false
  - platform: mjpeg
    name: PorchCam
    mjpeg_url: http://192.168.0.29:8084
    verify_ssl: false
  - platform: mjpeg
    name: InsideCam
    mjpeg_url: http://192.168.0.29:8085
    verify_ssl: false
  - platform: mjpeg
    name: BackyardCam
    mjpeg_url: http://192.168.0.29:8087
    verify_ssl: false

@bdraco’s question was about your Homekit setup in HA. Check the doc at « accessory mode »:

Yes, I see. Except the cameras aren’t the problem. Everything works, except actually switching lights etc on and off.

When I’m home, everything works properly - always.

When I’m away, the status of everything updates and the cameras show a (nearly) live image, but when I try to switch a light on, it takes a while and comes back with “no response”. I dont see how that’s related to the camera configuration bridged or accessory mode. (I have single homekit: line - evrything is default)

If everything is default, why not removing homekit from your config and use the integration UI?
Then you will be able to setup your camera(s) as accessory and the rest as a bridge. And trust @bdraco that it is related, he is the homekit’s integration maintainer…
Also, you should disconnect homekit from your Apple TV and reconnect when done.

Thanks, I’ll try that.

Followup to say thanks. That appears to have fixed it. Is it sensible to ask what causes this behaviour?

1 Like

All I could find was:

The homekit spec does not allow TVs/cameras to be bridged, which results in
unexpected behavior

Could you set my previous answer as solution so that it will help others?
Thank you