frigate-hass-integration
frigate-hass-integration copied to clipboard
Can't delete integration
I have used Frigate integration for a long time. But it's motion detection function loads CPU too much (my CPU is old and doesn't support AVX).
I decided to install "Frigate (For old x86_64 CPUs)" integration. But I can't remove Frigate integration from "Settings --> Devices & Services". I press "Delete" but nothing happens:
Version of Frigate integration: 0.13.2
Version of HA: 2024.5.2 (I am using HA Supervised)
Configuration
mqtt:
host: 192.168.1.100
user: homeassistant
password: ***
cameras:
camera_2: # camera name
ffmpeg:
inputs:
- path: rtsp://admin:***@192.168.1.131:8554/profile0
roles:
- detect
- rtmp
- record
record:
enabled: True
retain:
days: 1
mode: motion
snapshots:
enabled: true
timestamp: true
bounding_box: false
retain:
default: 3
rtmp:
enabled: False # <-- RTMP should be disabled if your stream is not H264 (my camera is H265)
detect:
width: 2560
height: 1440
detectors:
cpu1:
type: cpu
Logs of Frigate integration
2024-05-08 05:09:31.199893446 [INFO] Preparing Frigate...
2024-05-08 05:09:31.228870165 [INFO] Starting Frigate...
2024-05-08 05:09:33.793195869 [2024-05-08 08:09:33] frigate.app INFO : Starting Frigate (0.13.2-6476f8a)
2024-05-08 05:09:33.793316992 [2024-05-08 08:09:33] frigate.app INFO : Creating directory: /tmp/cache
2024-05-08 05:09:33.845308135 [2024-05-08 08:09:33] peewee_migrate.logs INFO : Starting migrations
2024-05-08 05:09:33.852870751 [2024-05-08 08:09:33] peewee_migrate.logs INFO : There is nothing to migrate
2024-05-08 05:09:33.860374230 [2024-05-08 08:09:33] frigate.app INFO : Recording process started: 306
2024-05-08 05:09:33.864858168 [2024-05-08 08:09:33] frigate.app INFO : go2rtc process pid: 97
2024-05-08 05:09:33.897559046 [2024-05-08 08:09:33] frigate.app INFO : Output process started: 318
2024-05-08 05:09:33.914348251 INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
2024-05-08 05:09:33.915572585 [2024-05-08 08:09:33] detector.cpu1 INFO : Starting detection process: 316
2024-05-08 05:09:33.915584613 [2024-05-08 08:09:33] frigate.detectors WARNING : CPU detectors are not recommended and should only be used for testing or for trial purposes.
2024-05-08 05:09:33.922245557 [2024-05-08 08:09:33] frigate.app INFO : Camera processor started for camera_2: 322
2024-05-08 05:09:33.930587260 [2024-05-08 08:09:33] frigate.app INFO : Capture process started for camera_2: 324
2024-05-08 05:09:34.075526803 [2024-05-08 08:09:34] frigate.comms.dispatcher INFO : Turning off recordings for camera_2
2024-05-08 05:09:34.077470283 [2024-05-08 08:09:34] frigate.comms.dispatcher INFO : Turning off snapshots for camera_2
2024-05-08 05:12:51.193417242 [2024-05-08 08:12:51] frigate.comms.dispatcher INFO : Turning off detection for camera_2
2024-05-08 05:13:42.370949194 [2024-05-08 08:13:42] frigate.comms.dispatcher INFO : Turning on detection for camera_2
2024-05-08 05:24:51.967264906 [2024-05-08 08:24:51] frigate.comms.dispatcher INFO : Turning on recordings for camera_2
2024-05-08 05:25:06.291302761 [2024-05-08 08:25:06] frigate.comms.dispatcher INFO : Turning off recordings for camera_2
2024-05-08 06:54:12.663299122 [2024-05-08 09:54:12] frigate.video ERROR : camera_2: Unable to read frames from ffmpeg process.
2024-05-08 06:54:12.663306754 [2024-05-08 09:54:12] frigate.video ERROR : camera_2: ffmpeg process is not running. exiting capture thread...
2024-05-08 06:54:14.420002917 [2024-05-08 09:54:14] watchdog.camera_2 ERROR : Ffmpeg process crashed unexpectedly for camera_2.
2024-05-08 06:54:14.420012788 [2024-05-08 09:54:14] watchdog.camera_2 ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-05-08 06:54:14.420875529 [2024-05-08 09:54:14] ffmpeg.camera_2.detect ERROR : [segment @ 0x55cbe48449c0] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
2024-05-08 06:54:14.421154600 [2024-05-08 09:54:14] ffmpeg.camera_2.detect ERROR : [swscaler @ 0x55cbe4d2a600] [swscaler @ 0x55cbe4d375c0] deprecated pixel format used, make sure you did set range correctly
2024-05-08 06:54:14.421383953 [2024-05-08 09:54:14] ffmpeg.camera_2.detect ERROR : [swscaler @ 0x55cbe4d2a600] [swscaler @ 0x55cbe4d8ac40] deprecated pixel format used, make sure you did set range correctly
2024-05-08 06:54:14.421390855 [2024-05-08 09:54:14] ffmpeg.camera_2.detect ERROR : [segment @ 0x55cbe48449c0] Non-monotonous DTS in output stream 0:0; previous: 0, current: 0; changing to 1. This may result in incorrect timestamps in the output file.
2024-05-08 06:54:14.421804102 [2024-05-08 09:54:14] ffmpeg.camera_2.detect ERROR : [swscaler @ 0x55cbe4d2a600] [swscaler @ 0x55cbe4d375c0] deprecated pixel format used, make sure you did set range correctly
2024-05-08 06:54:14.421810580 [2024-05-08 09:54:14] ffmpeg.camera_2.detect ERROR : [swscaler @ 0x55cbe4d2a600] [swscaler @ 0x55cbe4d89a00] deprecated pixel format used, make sure you did set range correctly
2024-05-08 06:54:14.422189169 [2024-05-08 09:54:14] ffmpeg.camera_2.detect ERROR : [swscaler @ 0x55cbe4d55e00] [swscaler @ 0x55cbe4d2a600] deprecated pixel format used, make sure you did set range correctly
2024-05-08 06:54:14.422196594 [2024-05-08 09:54:14] ffmpeg.camera_2.detect ERROR : [swscaler @ 0x55cbe4d55e00] [swscaler @ 0x55cbe4d89a00] deprecated pixel format used, make sure you did set range correctly
2024-05-08 06:54:14.422711125 [2024-05-08 09:54:14] ffmpeg.camera_2.detect ERROR : [swscaler @ 0x55cbe4d55e00] [swscaler @ 0x55cbe4d2a600] deprecated pixel format used, make sure you did set range correctly
2024-05-08 06:54:14.422720036 [2024-05-08 09:54:14] ffmpeg.camera_2.detect ERROR : [swscaler @ 0x55cbe4d55e00] [swscaler @ 0x55cbe4d89a00] deprecated pixel format used, make sure you did set range correctly
I enabled frigate debug logs in configuration.yaml, tried to delete integration but see nothing in the HA system logs.
your best bet would probably be to uninstall using HACS or manually from custom_components folder
Thanks. Sorry for wrong repo.
no I was wrong just misunderstood teh screenshot at first
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.