[Config Support]: Config to make go2rtc streams available in HomeKit #13605
-
Describe the problem you are havingMy config looks OK but, in Apple Home App, I do not see the go2rtc "cameras" and therefore cannot add them. I did the recommended install of Frigate via docker compose on a 8GB Raspberry Pi 5, and it works fine with 6 1080p cameras (Coral ordered but not yet arrived). I added the homekit config in the go2rtc section for 1 camera. Yet the Home app on my iPhone finds no new device when I try to add one. In the go2rtc Web UI, in the Add tab, HomeKit section, I can see the camera, but it has a strange IP address: 172.18.0.2, URL homekit://172.18.0.2:1984?device_id=4B:46:B5:FC:94:CA&feature=0&status=1. I am pretty new to Frigate, docker, these forums, so sorry if I am doing things in a bad way. Any idea what I am doing wrong? Version0.14.1-f4f3cfa Frigate config filego2rtc:
streams:
Escalier_Hameau:
- rtsp://user:password@myIPcamera/axis-media/media.amp?resolution=1920x1080
Escalier_Hameau_small: # <- for RTSP streams
- rtsp://user:password@myIPcamera/axis-media/media.amp?resolution=640x360&fps=5
homekit:
Escalier_Hameau: # same stream ID from streams list
name: Escalier # custom camera name, default: generated from stream ID
pin: 12345678 # custom PIN, default: 19550224 Relevant Frigate log outputNothing special in Frigate logs.
Everything works fine except this particular issue. Relevant go2rtc log output07/09/2024 14:44:49 error [homekit] unknown host: 172.18.0.2:1984
07/09/2024 14:44:49 error undefined error=tlv8: unmarshal zero data caller=github.com/AlexxIT/go2rtc/internal/homekit/api.go:52 Frigate statsNo response Operating systemDebian Install methodDocker Compose Object DetectorCPU (no coral) Screenshots of the Frigate UI's System metrics pagesNo response Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
You have to run Frigate with host networking mode |
Beta Was this translation helpful? Give feedback.
-
Thank you. Just added "network_mode: host" under frigate in docker-compose.yml and my camera appeared in the Home app. Great!!! |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
You have to run Frigate with host networking mode