Facial recognition & room presence using Double Take & Frigate

Hi All,

I have a question about the files listed below, I noticed that backups were quite a bit larger and found that a couple of files located in /image/blobs/sha256 were quite large. They may have been created when I was setting up the system however my current configuration appears not to be creating any more. My question is whether these files can be safely removed?

Thanks,
Paul

Hi!

I have this set up on a camera in my hallway, pointed at the door. The use-case is to recognize people as they arrive so that my smart home knows who’s visiting.

The challenge is to get a decent snapshot to run the recognition on. Frigate sends Doubletake one or two snapshots from the video clip for each event (person arriving). In these snapshots odds are that the person is looking away, and not at the camera. One way to mitigate this would be to take multiple snapshots on demand in stead of relying on only the snapshots from the video. Is there any way of accomplishing this?

I know I can take snapshots with the camera via the “camera.snapshot” service, but how can this snapshot be used by Doubletake and forwarded to Compreface?

Could someone help me setting up frigate, deepstack and doubletake?? I have an esp32 cam that is working well with frigate but in doubletake I can’t see anything in my matches.

Here is my dockercompose.yaml:

  deepstack:
    container_name: deepstack
    restart: unless-stopped
    image: deepquestai/deepstack
    ports:
      - "4000:5000"
    environment:
      - VISION-DETECTION=True
      - VISION-FACE=True
      - API-KEY=********
    volumes:
      - ./deepstack/pytorch-models:/modelstore/detection

  frigate:
    container_name: frigate
    privileged: true
    restart: unless-stopped
    image: ghcr.io/blakeblackshear/frigate:stable
    shm_size: "64mb"
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /home/matteo/dockercompose/frigate/config/config.yaml:/config/config.yaml
      - /home/matteo/dockercompose/frigate/storage:/media/frigate
      - type: tmpfs # 1GB of memory
        target: /tmp/cache
        tmpfs:
          size: 1000000000
    ports:
      - "5000:5000" # Port used by the Web UI

  double-take:
    container_name: double-take
    image: jakowenko/double-take
    restart: unless-stopped
    volumes:
      - ./double-take:/.storage
    ports:
      - 3000:3000

This is my frigate config:

mqtt:
  enabled: false

cameras:
  esp32_camera:
    ffmpeg:
      inputs:
        - path: *mypath*
          roles:
            - detect
            - record
      input_args: -avoid_negative_ts make_zero -fflags nobuffer -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -use_wallclock_as_timestamps 1 -c:v mjpeg
      output_args:
        record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v libx264 -an
        rtmp: -c:v libx264 -f flv
    rtmp:
      enabled: false 
    objects:
      track:
        - person
    detect:
      width: 800
      height: 600
      fps: 3
    record:
      enabled: True
      retain:
        days: 3
        mode: motion
      events:
        retain:
          default: 30
          mode: motion

I also tried with mqtt enabled, but nothing appeared in doubletake UI.

Here my doubletake config:

The UI shows that everything is well connected but I’m not able to use doubletake.

1 Like

Hi all I use double take with compreface on a doorbird video intercom. the use I make of it is to recognize the faces of my family and in the case of a match greater than 98% I open the wicket and send an internal alert and on my smartphone. the problem is that I always have two events on homeassistant. The first after a few seconds and the second after about 10 minutes which relaunches the automation. I tried to figure out what it could be but I didn’t find a solution. Can anyone help me?

This Is my last double take log

24-07-16 11:08:00 info: purged 1 file(s)
24-07-16 11:11:08 info: processing Campanello: 1721128268.004785-29rmsu
24-07-16 11:11:08 info: processing campanello: a7250e69-11f8-47f3-8847-9f96d0f010a2
24-07-16 11:11:08 info: done processing campanello: a7250e69-11f8-47f3-8847-9f96d0f010a2 in 0.48 sec
24-07-16 11:11:08 info: {
  id: 'a7250e69-11f8-47f3-8847-9f96d0f010a2',
  duration: 0.48,
  timestamp: '2024-07-16T11:11:08.936Z',
  attempts: 1,
  camera: 'campanello',
  zones: [],
  counts: { person: 1, match: 0, miss: 1, unknown: 0 },
  matches: [],
  misses: [
    {
      name: 'cesare',
      confidence: 99.75,
      match: false,
      box: [Object],
      checks: [Array],
      type: 'mqtt',
      duration: 0.37,
      detector: 'compreface',
      filename: '125e4c6f-81c5-48b1-a76f-470a8ff377c7.jpg'
    }
  ],
  unknowns: []
}
24-07-16 11:11:29 info: done processing Campanello: 1721128268.004785-29rmsu in 21.32 sec
24-07-16 11:11:29 info: {
  id: '1721128268.004785-29rmsu',
  duration: 21.32,
  timestamp: '2024-07-16T11:11:29.771Z',
  attempts: 4,
  camera: 'Campanello',
  zones: [],
  counts: { person: 1, match: 1, miss: 1, unknown: -1 },
  matches: [
    {
      name: 'cesare',
      confidence: 99.86,
      match: true,
      box: [Object],
      type: 'snapshot',
      duration: 0.14,
      detector: 'compreface',
      filename: 'e2be432b-3634-465a-a77f-3538816ab3bf.jpg'
    }
  ],
  misses: [
    {
      name: 'cesare',
      confidence: 99.74,
      match: false,
      box: [Object],
      checks: [Array],
      type: 'latest',
      duration: 0.84,
      detector: 'compreface',
      filename: 'a246e8e8-30cb-40de-aeed-6df2e4cac7a2.jpg'
    }
  ],
  unknowns: []
}
}
24-07-16 11:11:43 info: processing campanello: 07bc2c49-4239-48c1-b566-05e0de485b93
24-07-16 11:11:43 info: done processing campanello: 07bc2c49-4239-48c1-b566-05e0de485b93 in 0.23 sec
24-07-16 11:11:43 info: {
  id: '07bc2c49-4239-48c1-b566-05e0de485b93',
  duration: 0.23,
  timestamp: '2024-07-16T11:11:43.615Z',
  attempts: 1,
  camera: 'campanello',
  zones: [],
  counts: { person: 1, match: 0, miss: 1, unknown: 0 },
  matches: [],
  misses: [
    {
      name: 'cesare',
      confidence: 99.31,
      match: false,
      box: [Object],
      checks: [Array],
      type: 'mqtt',
      duration: 0.22,
      detector: 'compreface',
      filename: '3fc5c8c1-9644-4cbe-bbfa-45f1911d13af.jpg'
    }
  ],
  unknowns: []
}
24-07-16 11:30:42 info: processing Campanello: 1721129438.751905-camnz3
24-07-16 11:30:42 info: processing campanello: 0e4d4b38-a0b7-4cd7-b5c0-66a6cca48c32
24-07-16 11:30:43 info: done processing campanello: 0e4d4b38-a0b7-4cd7-b5c0-66a6cca48c32 in 0.21 sec
24-07-16 11:30:43 info: {
  id: '0e4d4b38-a0b7-4cd7-b5c0-66a6cca48c32',
  duration: 0.21,
  timestamp: '2024-07-16T11:30:43.016Z',
  attempts: 1,
  camera: 'campanello',
  zones: [],
  counts: { person: 0, match: 0, miss: 0, unknown: 0 },
  matches: [],
  misses: [],
  unknowns: []
}
24-07-16 11:30:53 error: stream error: Request failed with status code 404
AxiosError: Request failed with status code 404
    at settle (/double-take/api/node_modules/axios/dist/node/axios.cjs:1966:12)
    at IncomingMessage.handleStreamEnd (/double-take/api/node_modules/axios/dist/node/axios.cjs:3065:11)
    at IncomingMessage.emit (node:events:529:35)
    at endReadableNT (node:internal/streams/readable:1400:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
    at Axios.request (/double-take/api/node_modules/axios/dist/node/axios.cjs:3876:41)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async module.exports.stream (/double-take/api/src/util/process.util.js:233:22)
    at async module.exports.polling (/double-take/api/src/util/process.util.js:34:22)
    at async Promise.all (index 1)
    at async module.exports.start (/double-take/api/src/controllers/recognize.controller.js:152:7)
24-07-16 11:31:03 error: stream error: Request failed with status code 404
AxiosError: Request failed with status code 404
    at settle (/double-take/api/node_modules/axios/dist/node/axios.cjs:1966:12)
    at IncomingMessage.handleStreamEnd (/double-take/api/node_modules/axios/dist/node/axios.cjs:3065:11)
    at IncomingMessage.emit (node:events:529:35)
    at endReadableNT (node:internal/streams/readable:1400:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
    at Axios.request (/double-take/api/node_modules/axios/dist/node/axios.cjs:3876:41)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async module.exports.stream (/double-take/api/src/util/process.util.js:233:22)
    at async module.exports.polling (/double-take/api/src/util/process.util.js:34:22)
    at async Promise.all (index 1)
    at async module.exports.start (/double-take/api/src/controllers/recognize.controller.js:152:7)
24-07-16 11:31:13 error: stream error: Request failed with status code 404
AxiosError: Request failed with status code 404
    at settle (/double-take/api/node_modules/axios/dist/node/axios.cjs:1966:12)
    at 

In this log i see one only match

my doubletake config:

mqtt:
  host: xxx.xxx.xxx.xxx
  username: mqtt
  password: xxxxxxx
  client_id: doubletake

  topics:
    # mqtt topic for frigate message subscription
    frigate: frigate/events
    #  mqtt topic for home assistant discovery subscription
    homeassistant: homeassistant
    # mqtt topic where matches are published by name
    matches: double-take/matches
    # mqtt topic where matches are published by camera name
    cameras: double-take/cameras
# Learn more at https://github.com/skrashevich/double-take/#configuration

detect:
  match:
    # save match images
    save: true
    # include base64 encoded string in api results and mqtt messages
    # options: true, false, box
    base64: false
    # minimum confidence needed to consider a result a match
    confidence: 98
    # hours to keep match images until they are deleted
    purge: 168
    # minimum area in pixels to consider a result a match
    min_area: 10000

  unknown:
    # save unknown images
    save: true
    # include base64 encoded string in api results and mqtt messages
    # options: true, false, box
    base64: false
    # minimum confidence needed before classifying a name as unknown
    confidence: 95
    # hours to keep unknown images until they are deleted
    purge: 8
    # minimum area in pixels to keep an unknown result
    min_area: 6000
    
frigate:
  url: http://xxx.xxx.xxx.xxx:5000/
  cameras:
    - Campanello
  attempts:
    # number of times double take will request a frigate latest.jpg for facial recognition
    latest: 5
    # number of times double take will request a frigate snapshot.jpg for facial recognition
    snapshot: 5
    # process frigate images from frigate/+/person/snapshot topics
    # add a delay expressed in seconds between each detection loop
    delay: 10
  labels:
    - person
  image:
    # height of frigate image passed for facial recognition
    height: 500
  stop_on_match: true
    
detectors:
  compreface:
    url: http://xxx.xxx.xxx.xxx:8080/
    key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    timeout: 15
    opencv_face_required: false
    det_prob_threshold: 0.9

opencv:
scale_factor: 1.05
min_neighbors: 4.5
min_size_width: 30
min_size_height: 30

this log of automations (homeassistant)

this:
  entity_id: automation.doubletake
  state: 'on'
  attributes:
    id: '1720357688434'
    last_triggered: '2024-07-15T19:01:40.447822+00:00'
    mode: single
    current: 0
    friendly_name: DoubleTake
  last_changed: '2024-07-14T15:25:45.934456+00:00'
  last_reported: '2024-07-15T19:01:40.454756+00:00'
  last_updated: '2024-07-15T19:01:40.454756+00:00'
  context:
    id: 01J2VWB7YZ2QS20JR10MMR88KS
    parent_id: 01J2VWB7YZ61M8EHN7QGT0YDNP
    user_id: null
trigger:
  id: Cesare
  idx: '0'
  alias: Rilevato Cesare
  platform: state
  entity_id: sensor.double_take_cesare
  from_state:
    entity_id: sensor.double_take_cesare
    state: unavailable
    attributes:
      icon: mdi:account
      friendly_name: cesare
    last_changed: '2024-07-15T16:21:29.113441+00:00'
    last_reported: '2024-07-15T16:21:29.113441+00:00'
    last_updated: '2024-07-15T16:21:29.113441+00:00'
    context:
      id: 01J2VK5XWSJPQE5H5MVTFM7YKR
      parent_id: null
      user_id: null
  to_state:
    entity_id: sensor.double_take_cesare
    state: campanello
    attributes:
      id: 1721128268.004785-29rmsu
      duration: 21.32
      timestamp: '2024-07-16T11:11:29.771Z'
      attempts: 4
      camera: campanello
      zones: []
      match:
        name: cesare
        confidence: 99.86
        match: true
        box:
          top: 128
          left: 288
          width: 105
          height: 126
        type: snapshot
        duration: 0.14
        detector: compreface
        filename: e2be432b-3634-465a-a77f-3538816ab3bf.jpg
        base64: null
      icon: mdi:account
      friendly_name: cesare
    last_changed: '2024-07-16T11:11:29.775722+00:00'
    last_reported: '2024-07-16T11:11:29.775722+00:00'
    last_updated: '2024-07-16T11:11:29.775722+00:00'
    context:
      id: 01J2XKV1FFZ3PY4K5CPAGRZQXP
      parent_id: null
      user_id: null
  for: null
  attribute: null
  description: state of sensor.double_take_cesare

and last

trigger:
  id: Cesare
  idx: '0'
  alias: Rilevato Cesare
  platform: state
  entity_id: sensor.double_take_cesare
  from_state:
    entity_id: sensor.double_take_cesare
    state: campanello
    attributes:
      id: 1721128268.004785-29rmsu
      duration: 21.32
      timestamp: '2024-07-16T11:11:29.771Z'
      attempts: 4
      camera: campanello
      zones: []
      match:
        name: cesare
        confidence: 99.86
        match: true
        box:
          top: 128
          left: 288
          width: 105
          height: 126
        type: snapshot
        duration: 0.14
        detector: compreface
        filename: e2be432b-3634-465a-a77f-3538816ab3bf.jpg
        base64: null
      icon: mdi:account
      friendly_name: cesare
    last_changed: '2024-07-16T11:11:29.775722+00:00'
    last_reported: '2024-07-16T11:11:29.775722+00:00'
    last_updated: '2024-07-16T11:11:29.775722+00:00'
    context:
      id: 01J2XKV1FFZ3PY4K5CPAGRZQXP
      parent_id: null
      user_id: null
  to_state:
    entity_id: sensor.double_take_cesare
    state: unavailable
    attributes:
      icon: mdi:account
      friendly_name: cesare
    last_changed: '2024-07-16T11:21:29.776231+00:00'
    last_reported: '2024-07-16T11:21:29.776231+00:00'
    last_updated: '2024-07-16T11:21:29.776231+00:00'
    context:
      id: 01J2XMDBDG7M5MG3EE5R7B57JY
      parent_id: null
      user_id: null
  for: null
  attribute: null
  description: state of sensor.double_take_cesare
1 Like

Hi all,
I am in the process of setting up Double Take with Frigate and Deep Stack,.

I am running Deep Stack in a docker container on my Synology NAS and I can access the service through a web browser…so it is running and also accessible through the used port.

Frigate is running within my Home Assistant OS setup and is doing a great job so this one also does not create any issues on its own.

However, Double Take does not seem to like my configuration:

grafik

Any idea why Frigate and Double Take are not recognized?

This is the log:

    at async module.exports.start (/double-take/api/src/controllers/recognize.controller.js:85:21)
24-09-01 12:04:10 info: Double Take v1.13.1-8e2728d
24-09-01 12:04:11 info: MQTT: connected
24-09-01 12:04:11 info: MQTT: subscribed to frigate/events, frigate/+/person/snapshot
24-09-01 12:04:14 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:04:26 info: Double Take v1.13.1-8e2728d
24-09-01 12:04:27 info: MQTT: connected
24-09-01 12:04:27 info: MQTT: subscribed to frigate/events, frigate/+/person/snapshot
24-09-01 12:04:28 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:04:37 info: Double Take v1.13.1-8e2728d
24-09-01 12:04:37 info: MQTT: connected
24-09-01 12:04:37 info: MQTT: subscribed to frigate/events, frigate/+/person/snapshot
24-09-01 12:04:38 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:04:45 info: Double Take v1.13.1-8e2728d
24-09-01 12:04:46 info: MQTT: connected
24-09-01 12:04:46 info: MQTT: subscribed to frigate/events, frigate/+/person/snapshot
24-09-01 12:04:46 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    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)
24-09-01 12:04:50 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:04:56 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    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)
24-09-01 12:05:20 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:05:46 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    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)
24-09-01 12:05:50 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:05:57 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    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)
24-09-01 12:06:21 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:06:47 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    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)
24-09-01 12:06:51 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:06:57 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    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)
24-09-01 12:07:09 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:07:17 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:07:47 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    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)
24-09-01 12:07:47 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:07:57 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    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)
24-09-01 12:08:19 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:08:21 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    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)
24-09-01 12:08:21 info: processing diningroom: 6d9911cf-e645-4c68-9029-d3a044329f92
24-09-01 12:08:21 error: AxiosError: deepstack process error: Unsupported protocol 192.168.1.48:
24-09-01 12:08:21 info: done processing diningroom: 6d9911cf-e645-4c68-9029-d3a044329f92 in 0.01 sec
24-09-01 12:08:21 info: {
  id: '6d9911cf-e645-4c68-9029-d3a044329f92',
  duration: 0.01,
  timestamp: '2024-09-01T10:08:21.106Z',
  attempts: 1,
  camera: 'diningroom',
  zones: [],
  counts: { person: 0, match: 0, miss: 0, unknown: 0 },
  matches: [],
  misses: [],
  unknowns: []
}
24-09-01 12:08:26 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    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)
24-09-01 12:08:28 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:08:31 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    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)
24-09-01 12:08:31 info: processing diningroom: f505f3cf-342f-4e85-bd87-ff09fa6dc947
24-09-01 12:08:31 error: AxiosError: deepstack process error: Unsupported protocol 192.168.1.48:
24-09-01 12:08:31 info: done processing diningroom: f505f3cf-342f-4e85-bd87-ff09fa6dc947 in 0.01 sec
24-09-01 12:08:31 info: {
  id: 'f505f3cf-342f-4e85-bd87-ff09fa6dc947',
  duration: 0.01,
  timestamp: '2024-09-01T10:08:31.525Z',
  attempts: 1,
  camera: 'diningroom',
  zones: [],
  counts: { person: 0, match: 0, miss: 0, unknown: 0 },
  matches: [],
  misses: [],
  unknowns: []
}
24-09-01 12:08:48 info: Double Take v1.13.1-8e2728d
24-09-01 12:08:48 info: MQTT: connected
24-09-01 12:08:48 info: MQTT: subscribed to frigate/events, frigate/+/person/snapshot
24-09-01 12:08:51 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:08:58 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    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)
24-09-01 12:09:02 info: Double Take v1.13.1-8e2728d
24-09-01 12:09:03 info: MQTT: connected
24-09-01 12:09:03 info: MQTT: subscribed to frigate/events, frigate/+/person/snapshot
24-09-01 12:09:06 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:09:38 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:09:48 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    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)
24-09-01 12:09:58 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    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)
24-09-01 12:10:08 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:10:40 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:10:48 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    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)
24-09-01 12:10:58 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    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)
24-09-01 12:11:09 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:11:39 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:11:48 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    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)
24-09-01 12:11:58 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    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)
24-09-01 12:12:10 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:12:40 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:12:49 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    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)
24-09-01 12:12:58 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    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)
24-09-01 12:13:10 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:13:40 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:13:49 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    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)
24-09-01 12:13:59 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    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)
24-09-01 12:14:12 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:14:41 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:14:49 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    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)
24-09-01 12:14:59 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    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)
24-09-01 12:15:12 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:15:43 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:15:50 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    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)
24-09-01 12:15:59 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    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)
24-09-01 12:16:13 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:16:44 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:16:50 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    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)
24-09-01 12:17:00 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    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)
24-09-01 12:17:13 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:17:44 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:17:50 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    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)
24-09-01 12:18:00 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    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)
24-09-01 12:18:15 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:18:45 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:18:51 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    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)
24-09-01 12:19:00 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    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)
24-09-01 12:19:14 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:19:45 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:19:51 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    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)
24-09-01 12:20:00 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    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)
24-09-01 12:20:15 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:20:46 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:20:51 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    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)
24-09-01 12:21:01 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    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)
24-09-01 12:21:16 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:21:47 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:21:51 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    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)
24-09-01 12:22:01 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    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)
24-09-01 12:22:16 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:22:48 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:22:52 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    at Object.module.exports.checks (/double-take/api/src/util/frigate.util.js:79:11)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async module.exports.start (/double-take/api/src/controllers/recognize.controller.js:85:21)
24-09-01 12:23:01 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    at Object.module.exports.checks (/double-take/api/src/util/frigate.util.js:79:11)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async module.exports.start (/double-take/api/src/controllers/recognize.controller.js:85:21)
24-09-01 12:23:17 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:23:49 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:23:52 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    at Object.module.exports.checks (/double-take/api/src/util/frigate.util.js:79:11)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async module.exports.start (/double-take/api/src/controllers/recognize.controller.js:85:21)
24-09-01 12:24:02 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    at Object.module.exports.checks (/double-take/api/src/util/frigate.util.js:79:11)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async module.exports.start (/double-take/api/src/controllers/recognize.controller.js:85:21)
24-09-01 12:24:18 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:24:48 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:24:52 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    at Object.module.exports.checks (/double-take/api/src/util/frigate.util.js:79:11)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async module.exports.start (/double-take/api/src/controllers/recognize.controller.js:85:21)
24-09-01 12:25:02 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    at Object.module.exports.checks (/double-take/api/src/util/frigate.util.js:79:11)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async module.exports.start (/double-take/api/src/controllers/recognize.controller.js:85:21)
24-09-01 12:25:18 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:25:50 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:25:52 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    at Object.module.exports.checks (/double-take/api/src/util/frigate.util.js:79:11)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async module.exports.start (/double-take/api/src/controllers/recognize.controller.js:85:21)
24-09-01 12:26:02 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    at Object.module.exports.checks (/double-take/api/src/util/frigate.util.js:79:11)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async module.exports.start (/double-take/api/src/controllers/recognize.controller.js:85:21)
24-09-01 12:26:19 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:26:51 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:26:53 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    at Object.module.exports.checks (/double-take/api/src/util/frigate.util.js:79:11)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async module.exports.start (/double-take/api/src/controllers/recognize.controller.js:85:21)
24-09-01 12:27:03 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    at Object.module.exports.checks (/double-take/api/src/util/frigate.util.js:79:11)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async module.exports.start (/double-take/api/src/controllers/recognize.controller.js:85:21)
24-09-01 12:27:20 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:27:52 error: AxiosError: Unsupported protocol 192.168.1.212:
24-09-01 12:27:53 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    at Object.module.exports.checks (/double-take/api/src/util/frigate.util.js:79:11)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async module.exports.start (/double-take/api/src/controllers/recognize.controller.js:85:21)
24-09-01 12:28:03 error: Error: frigate status error: Unsupported protocol 192.168.1.212:
    at Object.module.exports.checks (/double-take/api/src/util/frigate.util.js:79:11)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async module.exports.start (/double-take/api/src/controllers/recognize.controller.js:85:21)

I have tried to figure it out with googling, forum search and youtube videos but did not find a solution yet. Hoping that someone can give me some guidance.

Thanks,

Merc

1 Like

I just jumped onto the DoubleTake, Frigate and Compreface train. When I first set up DoubleTake, I had to include ‘http://’ before my IP address of Frigate and CompreFace, which may have been a recent change.

1 Like

Hi @dagoko ,
I tried that as well but it does not change anything.
It won’t connect and I don’t really understand what else I could do differently.

Thanks,
Merc

Should it be possible to directly connect to Frigate with the port 5000 through a Web browser? If so, that does not work either. Is this port 5000 blocked somewhere in HA?

Thanks

Merc

Nope, port 5000 is not blocked. How are you connect to HA? Frigate to HA

OK, I have no clue what is going on but now it works.
What I did:

  1. I found that there is a DeepStack Addon in HA as well…and instead of running it on my NAS I just installed it to see what it does

  2. I changed the entry for Frigate again (see below) and then restarted the addon…suddenly it worked. I think it was the restart…maybe I should have done that before.

Still not sure why it did not work with the Synology…

Cheers,

Merc

1 Like

Good day.
I use a translator, the description may be distorted.
The situation is as follows:
I wrote a configuration and use 2 detectors. In the configuration I used 4 cameras. As a result, photos with identification come from all the cameras that are in the Frigate.
How to fix it so that detection is from the cameras that I wrote.
Double Take (beta)
Current version: 1.13.1
Here is the Double Take configuration:

mqtt:
  host: 192.168.0.2
  username: mqtt
  password: mqtt

frigate:
  url: http://ccab4aaf-frigate-fa:5000
  attempts:
    latest: 10
    Snapshot: 10
    mqtt: false
    delay: 0
  image:
    высота: 400
detectors:    
  compreface:
    url: http://192.168.0.2:8000
    key: c46a6197-e294-4c23-9a0e-6f8a9d22bd19
    timeout: 15
    det_prob_threshold: 0.6
    opencv_face_required: false

  deepstack:
    url: http://192.168.0.2:5001
    key:
    timeout: 15
    opencv_face_required: false

cameras:
  domofon:
    detect:
      match:
        save: true
        base64: false
        confidence: 85
        min_area: 20000

      unknown:

        save: true
        base64: false
        confidence: 40
        min_area: 0
 
  ulica2:
    detect:
      match:
        save: true
        base64: false
        confidence: 85
        min_area: 200

      unknown:
        save: true
        base64: false
        confidence: 20
        min_area: 0
 
  ulica:
    detect:
      match:
        save: true
        base64: false
        confidence: 85
        min_area: 200

      unknown:
        save: true
        base64: false
        confidence: 20
        min_area: 0
  
  oranzhereya:
    detect:
      match:
        save: true
        base64: false
        confidence: 85
        min_area: 200

      unknown:
        save: true
        base64: false
        confidence: 20
        min_area: 0
1 Like

You seem to be missing the following

# topics for mqtt
  topics:
    frigate: frigate/events
    homeassistant: homeassistant
    matches: double-take/matches
    cameras: double-take/cameras

Thanks for the answer.
I did as you wrote, cameras that are not in the configuration give pictures.

mqtt:
  host: 192.168.0.2
  username: mqtt
  password: mqtt
  topics:
    frigate: frigate/events
    homeassistant: homeassistant
    matches: double-take/matches
    cameras: double-take/cameras

1 Like

Good afternoon. Can someone help me with this issue?

hello,
try add them under frigate
frigate:
url: http://xxx.xxx.xxx.xxx:5000
cameras:
- CameraName //name in frigate
- CameraName //name in frigate

Thank you

Sorry for the late response. If you are wanting only certain cameras to be used by double take, you specifically name which cameras.

  cameras:
    - front_door
    - storage_room
    - backyard
    - bedroom
    - back_room
  

The ones in the list are the ones dt can use