Open Newklngjames opened 1 month ago
I love how the dude quickly responds to Reddit comments but is completely absent here. He did the same to me. I also never got this working with FQDN (Cloudflare Tunnel). Seems abandoned, aside from the weird Reddit activity.
I posted this on Reddit and was asked to post my config file here. Please let me know if there is anything else you need from me.
Issues connecting to frigate
I am hoping someone here can help me out. I tried installing viewu and I am having some issues. Mqtt is showing connected. In my timeline I am seeing several notifications per minute, but there is nothing for me to view. It is showing that I am connected to in nvr settings to my domain via cloud flair. Don’t need a port to access home assistant. I have also tried to add an entry for frigate to its port. However, there are no cameras listed. Is there something that I am missing? I can’t select all of the logs at once, but here are a couple plus some screenshots. I can do more if needed. Thanks in advance for the help!
table "events" already exists (code: 1)
duplicate column name: subLabel (code: 1)
duplicate column name: currentZones (code: 1)
duplicate column name: enteredZones (code: 1)
duplicate column name: frigtePlus (code: 1)
dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "The given data was not valid JSON.", underlyingError: Optional(Error Domain=NSCocoaErrorDomain Code=3840 "Unexpected character '<' around line 1, column 1." UserInfo={NSDebugDescription=Unexpected character '<' around line 1, column 1., NSJSONSerializationErrorIndex=0})))
dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "The given data was not valid JSON.", underlyingError: Optional(Error Domain=NSCocoaErrorDomain Code=3840 "Unexpected character '<' around line 1, column 1." UserInfo={NSJSONSerializationErrorIndex=0, NSDebugDescription=Unexpected character '<' around line 1, column 1.})))
Error Domain=NSCocoaErrorDomain Code=3840 "Invalid value around line 1, column 0." UserInfo={NSDebugDescription=Invalid value around line 1, column 0., NSJSONSerializationErrorIndex=0}
dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "The given data was not valid JSON.", underlyingError: Optional(Error Domain=NSCocoaErrorDomain Code=3840 "Unexpected character '<' around line 1, column 1." UserInfo={NSDebugDescription=Unexpected character '<' around line 1, column 1., NSJSONSerializationErrorIndex=0})))
dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "The given data was not valid JSON.", underlyingError: Optional(Error Domain=NSCocoaErrorDomain Code=3840 "Unexpected character '<' around line 1, column 1." UserInfo={NSJSONSerializationErrorIndex=0, NSDebugDescription=Unexpected character '<' around line 1, column 1.})))
frigate config file: mqtt: host: core-mosquitto
port: 1883
topic_prefix: frigate client_id: frigate user: mqtt password: nZ7fTGuIT92q221
stats_interval: 60
test
database: path: /config/frigate.db
snapshots: enabled: true clean_copy: true bounding_box: true crop: true height: 500 retain: default: 5 objects: track:
cameras: driveway: # <------ Name the camera enabled: true ffmpeg: inputs:
path: rtsp://admin:W8xeKv5k8lN@192.168.1.196:554/cam/realmonitor?channel=2&subtype=0 # <----- The stream you want to use for detection roles:
record detect: enabled: true # <---- disable detection until you have a working camera feed width: 704 height: 480 fps: 5 record: enabled: true retain: days: 3
events: retain: default: 5 mode: active_objects motion: mask:
540,35,704,37,704,0,540,0 zones: walkway: coordinates: 313,480,704,480,617,298,392,298,376,239,320,231 objects:
front_yard: # <------ Name the camera enabled: true ffmpeg: inputs:
path: rtsp://admin:W8xeKv5k8lN@192.168.1.196:554/cam/realmonitor?channel=3&subtype=0 # <----- The stream you want to use for detection roles:
record detect: enabled: true # <---- disable detection until you have a working camera feed width: 704 height: 480 fps: 5 record: enabled: true retain: days: 3
events: retain: default: 5 mode: active_objects motion: mask:
path: rtsp://admin:W8xeKv5k8lN@192.168.1.196:554/cam/realmonitor?channel=4&subtype=0 # <----- The stream you want to use for detection roles:
record detect: enabled: true # <---- disable detection until you have a working camera feed width: 704 height: 480 fps: 5 record: enabled: true retain: days: 3
events: retain: default: 5 mode: active_objects motion: mask:
704,0,704,41,538,38,534,0 zones: main: coordinates: 704,480,704,35,563,23,0,480 objects:
livingroom: # <------ Name the camera enabled: true ffmpeg: inputs:
path: rtsp://admin:W8xeKv5k8lN@192.168.1.196:554/cam/realmonitor?channel=6&subtype=0 # <----- The stream you want to use for detection roles:
detect: enabled: true # <---- disable detection until you have a working camera feed width: 704 height: 480 fps: 5 record: enabled: true retain: days: 3 events: retain: default: 5 mode: active_objects
motion: mask:
doorbell: # <------ Name the camera
enabled: true
ffmpeg:
inputs:
- path: rtsp://192.168.1.199:34031/34679ef6fb2ed3e4 # <----- The stream you want to use for detection
roles:
- detect
- record
detect:
enabled: true # <---- disable detection until you have a working camera feed
fps: 5
record:
enabled: true
retain:
days: 3
events:
retain:
default: 30
mode: active_objects
zones:
walk:
coordinates: 1044,495,1227,511,1186,720,445,720,443,572
objects:
- person
- dog
- cat
- mouse
detectors: coral: type: edgetpu device: usb
version: 0.14 camera_groups: Front: order: 1 icon: LuCar cameras: