I need some assistance integrating Frigate with Home Assistant.
Background:
- Server is a QNAP NAS (TVS-h674) on 192.168.1.x.
- Home Assistant is a VM (haos_ova-11.1.ova) setup through QNAP Virtualization Station 3.
- MQTT v5 is running on a docker container AND the integration is installed in HA.
- Frigate v4.0.0 is running in a docker container (followed https://docs.frigate.video/) and recording events.
- Camera is a ReoLink TrackMix PoE and is integrated into Home Assistant with the Reolink IP NVR/camera.
Everything is running well on their own and only locally. Frigate is displaying a live camera view on the Frigate Web UI (192.168.1.x). HA is on http://homeassistant.local:8123/ and 192.168.1.xx/24. The Frigate integration is downloaded from HACS (visible in custom_components) AND everything has been rebooted (HA, VM, Virtualization Station, Container Station, and the QNAP NAS) multiple times. When I try to add the Frigate Integration in Settings → Integrations with http://192.168.1.x:5000 (both with the “/” and without), it returns a “Failed to connect” message.
I have IPv6 turned off on the QNAP Virtual Switch and in HA Settings under System → Network. I think it is a network routing issue, but yet I can see a log entry in the Frigate Web UI logs for Nginx:
192.168.1.xx ... "GET /api/stats HTTP/1.1" 200 2495 "-" "HomeAssistant/2023.11.2 aiohttp/3.8.5 Python/3.11" "-"
I also tried to curl the Frigate docker with:
curl -X GET http://192.168.1.x:5000/api/version
and the response:
curl: (56) Recv failure: Connection reset by peer
It appears that it is a network issue, but I have run out of ideas to fix it or further pinpoint the issue.