blakeblackshear / frigate

NVR with realtime local object detection for IP cameras
https://frigate.video
MIT License
19.22k stars 1.76k forks source link

[Support]: Painless upgrade from HA 3.0.0/.011 to 4.1/.012? #5119

Closed angrycatmeowmeow closed 1 year ago

angrycatmeowmeow commented 1 year ago

Describe the problem you are having

I currently have the HACS integration 3.0.0 and add-on Frigate Beta .011. If I understand correctly they both need to be updated to use .012. What is the most painless method to do this? Download both updates then reboot once, or update the integration then the add-on? I currently have one Reolink wifi doorbell and 5 Reolink E1 zoom cameras using HTTP streams with the args below. I'm not sure how these args will transfer to the new preset method. I followed the link on the FFMPEG docs to see the difference in the presets and my current args, but it took me to a broken page.

Version

0.11.1-2EADA21

Frigate config file

rtmp:
  enabled: false
cameras:
  # Name of your camera
  Doorbell:
    ffmpeg:
      input_args: -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -flags low_delay -strict experimental -analyzeduration 1000M -probesize 1000M -rw_timeout 5000000
      output_args:
        record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy
      inputs:
        - path: http://192.168.xxx.xxx/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=user&password=password
          roles:
            - detect
        - path: http://192.168.xxx.xxx/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=user&password=password
          roles:
            - record
    record:
      enabled: True
      events:
        retain:
          default: 2
    detect:
      width: 640
      height: 480
      fps: 7
    objects:
      track:
        - person
        - dog
        - cat
        - package
        - bird

Relevant log output

none, it's currently working well

FFprobe output from your camera

n/a

Frigate stats

No response

Operating system

HassOS

Install method

HassOS Addon

Coral version

USB

Network connection

Wired

Camera make and model

Reolink Doorbell/E1 Zoom

Any other information that may be helpful

No response

NickM-27 commented 1 year ago
  1. I would suggest waiting until beta4 to update the addon as there is a considerable rewrite of the restream config coming.
  2. You will want to update the addon first then the integration
  3. The presets should be self explanatory from the docs page https://deploy-preview-4055--frigate-docs.netlify.app/configuration/ffmpeg_presets/ and the new docs for restream in beta4 will make that clear how to handle your reolink cameras
NickM-27 commented 1 year ago

are there any other questions? otherwise I think this can be closed

angrycatmeowmeow commented 1 year ago

Unless you want me to put my problems in this thread once I begin upgrading, then it can be closed. Thanks.

On Tue, Jan 17, 2023, 16:33 Nicolas Mowen @.***> wrote:

are there any other questions? otherwise I think this can be closed

— Reply to this email directly, view it on GitHub https://github.com/blakeblackshear/frigate/issues/5119#issuecomment-1386080368, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQGR4ECOPJ6PAXSSCYISUTTWS4F4HANCNFSM6AAAAAAT47OOUE . You are receiving this because you authored the thread.Message ID: @.***>

NickM-27 commented 1 year ago

yeah best to create a new issue in that case 👍

angrycatmeowmeow commented 1 year ago

One quick one before I start, safe to use preset -rpi-64-h264 for my odroidn2+?

NickM-27 commented 1 year ago

One quick one before I start, safe to use preset -rpi-64-h264 for my odroidn2+?

if the previous -c:v h264_v4l2m2m was working then yes, and even if it wasn't working might be worth a try