Iāam at a lost here.
I had this running a long time ago but i cannot manage to get it up and running again.
Frigate is running ok, same is for mqtt.
Running the latest versions of all the apps.
The automation doesnāt seem te be triggered.
Frigate config
mqtt:
host: 192.168.50.65
user: mqtt_user
password: '123456'
stats_interval: 60
topic_prefix: frigate
client_id: frigate
####################################################################################################################################################################
database:
path: /config/frigate.db
####################################################################################################################################################################
detectors:
coral_edge1:
type: edgetpu
device: pci:0
#coral_edge2:
# type: edgetpu
# device: pci:1
####################################################################################################################################################################
go2rtc:
streams:
deurbel:
# - rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=2
- ffmpeg:http://192.168.50.211/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=159753456Ed!#video=copy#audio=copy#audio=opus
# - rtsp://192.168.50.211/Preview_01
deurbel_sub:
- "ffmpeg:http://192.168.50.211/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password=159753456Ed!"
# - ffmpeg:http://192.168.50.211/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password=159753456Ed!#video=copy#audio=copy#audio=opus
###################################################################################################################################################################
cameras:
deurbel:
ffmpeg:
output_args:
record: preset-record-generic-audio-copy
inputs:
- path: rtsp://192.168.50.65:8554/deurbel
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://192.168.50.65:8554/deurbel_sub
input_args: preset-rtsp-restream
roles:
- detect
###################################################################################################################################################################
####### Algemene instellingen ##########
###################################################################################################################################################################
objects:
track:
- person
# filters:
# person:
# min_area: 5000
# max_area: 100000
# treshold: 0.7
# # # - bird
# # #- dog
# # #- cat
detect:
width: 1280
height: 720
fps: 5
snapshots:
enabled: true
timestamp: true
bounding_box: true
retain:
default: 10
record:
enabled: true
retain:
days: 10
mode: all
events:
retain:
default: 10
mode: all
motion:
# Optional: The threshold passed to cv2.threshold to determine if a pixel is different enough to be counted as motion. (default: shown below)
# Increasing this value will make motion detection less sensitive and decreasing it will make motion detection more sensitive.
# The value should be between 1 and 255.
threshold: 130
mask:
- 0,720,183,720,113,619,0,623
- 0,720,183,720,113,619,0,623
ui:
live_mode: webrtc
################################################################################################################################################################
mqtt sees the published topic frigate/events
{
"before": {
"id": "1714310308.015522-c13r07",
"camera": "deurbel",
"frame_time": 1714310312.80957,
"snapshot": {
"frame_time": 1714310312.415423,
"box": [
0,
0,
547,
708
],
"area": 387276,
"region": [
0,
0,
792,
792
],
"score": 0.68359375,
"attributes": []
},
"label": "person",
"sub_label": null,
"top_score": 0.82421875,
"false_positive": false,
"start_time": 1714310308.015522,
"end_time": null,
"score": 0.71484375,
"box": [
2,
0,
430,
719
],
"area": 307732,
"ratio": 0.5952712100139083,
"region": [
0,
0,
856,
856
],
"stationary": false,
"motionless_count": 3,
"position_changes": 1,
"current_zones": [],
"entered_zones": [],
"has_clip": true,
"has_snapshot": true,
"attributes": {},
"current_attributes": []
},
"after": {
"id": "1714310308.015522-c13r07",
"camera": "deurbel",
"frame_time": 1714310312.80957,
"snapshot": {
"frame_time": 1714310312.415423,
"box": [
0,
0,
547,
708
],
"area": 387276,
"region": [
0,
0,
792,
792
],
"score": 0.68359375,
"attributes": []
},
"label": "person",
"sub_label": null,
"top_score": 0.82421875,
"false_positive": false,
"start_time": 1714310308.015522,
"end_time": 1714310318.014752,
"score": 0.71484375,
"box": [
2,
0,
430,
719
],
"area": 307732,
"ratio": 0.5952712100139083,
"region": [
0,
0,
856,
856
],
"stationary": false,
"motionless_count": 3,
"position_changes": 1,
"current_zones": [],
"entered_zones": [],
"has_clip": true,
"has_snapshot": true,
"attributes": {},
"current_attributes": []
},
"type": "end"
}
QoS: 0 - Retain: false