# Problem z połączeniem frigate do double take

**URL:** <https://forum.arturhome.pl/t/problem-z-polaczeniem-frigate-do-double-take/9581>\
**Category:** Home Assistant\
**Tags:** mqtt, frigate\
**Created:** [4 Lipiec 2023 10:27 UTC](https://forum.arturhome.pl/t/problem-z-polaczeniem-frigate-do-double-take/9581 "2023-07-04T10:27:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Autor:** ![SmartMakieta](https://forum.arturhome.pl/user_avatar/forum.arturhome.pl/smartmakieta/32/11843_2.png) [@SmartMakieta](https://forum.arturhome.pl/u/SmartMakieta)\
**Data wpisu:** [4 Lipiec 2023 10:27 UTC](https://forum.arturhome.pl/t/problem-z-polaczeniem-frigate-do-double-take/9581/1 "2023-07-04T10:27:12Z")

</div>

Cześć, mam problem z połączeniem frigate do double take. Chodzi o to, że frigate normalnie pokazuje kamerę, łączy się z mqtt, ale na double take’u jest przy nim czerwona kropka i nie wykrywa obiektów (to znaczy wykrywa, ale tylko jedno obiekt, zaraz po restarcie frigate).  
Config frigate:

```auto
mqtt:
  host: 192.168.8.111
  user: mqtt-user
  password: mqtt
  client_id: frigate

cameras:
  Camera1:
    ffmpeg:
      inputs:
        - path: rtsp:// ***:*** @192.168.8.108/cam/realmonitor?channel=1&subtype=00&authbasic=YWRtaW46QWRtaW4xMjM0
          roles:
            - rtmp
            - detect
        
detect:
  enabled: True

detectors:
  cpu1:
    type: cpu
    num_threads: 3
  
objects:
  track:
    - person
Double take config:
mqtt:
  host: 192.168.8.111
  username: mqtt-user
  password: mqtt
  client_id: double_take

frigate:
  url: 192.168.8.111
  labels:
    - person
    
detectors:
  deepstack:
    url: http://192.168.8.111

```

Logi frigate:

```auto
2023-07-04 10:24:36.174314392 [INFO] Starting Frigate...
2023-07-04 10:24:37.293974193 [2023-07-04 12:24:37] frigate.app INFO : Starting Frigate (0.12.1-367d724)
2023-07-04 10:24:37.306257520 [2023-07-04 12:24:37] frigate.app INFO : Creating directory: /tmp/cache
2023-07-04 10:24:37.308483195 [2023-07-04 12:24:37] peewee_migrate INFO : Starting migrations
2023-07-04 10:24:37.312440847 [2023-07-04 12:24:37] peewee_migrate INFO : There is nothing to migrate
2023-07-04 10:24:37.328585730 [2023-07-04 12:24:37] frigate.app INFO : Output process started: 300
2023-07-04 10:24:37.331545253 [2023-07-04 12:24:37] detector.cpu1 INFO : Starting detection process: 298
2023-07-04 10:24:37.331732448 [2023-07-04 12:24:37] frigate.detectors WARNING : CPU detectors are not recommended and should only be used for testing or for trial purposes.
2023-07-04 10:24:37.333065060 [2023-07-04 12:24:37] frigate.app INFO : Camera processor started for Camera1: 302
2023-07-04 10:24:37.337075187 [2023-07-04 12:24:37] frigate.app INFO : Capture process started for Camera1: 303

```

Logi double take:

```auto
3-07-04 12:24:41 error: Error: frigate status error: connect EADDRNOTAVAIL ::1:80 - Local (:::0)
    at Object.module.exports.checks (/double-take/api/src/util/frigate.util.js:79:11)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async module.exports.start (/double-take/api/src/controllers/recognize.controller.js:85:21)

```
