#Frigate MQTT

1 messages · Page 1 of 1 (latest)

sleek perch
#

Hello I have a problem I would like that when frigate detects an object (eg a person) it sends me a notification on my iphone on frigate when I pass in front of the camera it detects me well takes a photo and a video but on my iphone no notification that warns me that a person has been detected with the image that goes with it here is the configuration of frigate and the automation code (ps sorry for my English I am French)

**Config Frigate : **

mqtt:
` enabled: true
host: 192.168.1.42
user: root
password: trinidad
port: 1883

cameras:
Logitech:
ffmpeg:
inputs:
- path: /dev/video0
input_args: -f v4l2 -pix_fmt yuyv422
roles:
- record
- path: /dev/video0
input_args: -f v4l2 -pix_fmt yuyv422
roles:
- detect
detect:
enabled: true
width: 640 # largeur de l'image du flux secondaire (en pixels)
height: 480 # hauteur de l'image du flux secondaire (en pixels)

record:
enabled: true
retain:
days: 7
events:
retain:
default: 14
snapshots:
enabled: true

objects:
track:
- person
- cat
- dog
version: 0.14`

Config automatisation :

`alias: Notification avec prévisualisation caméra
description: Notifier avec aperçu vidéo
triggers:

  • topic: frigate/events
    trigger: mqtt
    actions:
  • data:
    message: "Détection : {{ trigger.payload_json['after']['label'] }}"
    data:
    image: >-
    https://192.168.1.42/api/frigate/notifications/{{
    trigger.payload_json['after']['id'] }}/thumbnail.jpg
    tag: "{{ trigger.payload_json['after']['id'] }}"
    when: "{{ trigger.payload_json['after']['start_time']|int }}"
    entity_id: camera.camera_logitech
    action: notify.mobile_app_iphone
    mode: single
    `
sleek perch
#

ps l'ip c'est ma local mais dans le vrais script c'est ma publique

sleek perch
#

Notification with camera preview uses an unknown action
Error ⸱ Reported by Automation
The automation "Notification with camera preview" (automation.notification_with_camera_preview) uses an unknown action: notify.mobile_app_iphone.

This error prevents the automation from working properly. This action may no longer be available, or it may be caused by a typo.

To fix this error, edit the automation and remove this action.

Select VALIDATE below to confirm that you have fixed this automation.