Restarted HA vm on my proxmox, my go2rtc config is now empty ! help needed

What just happen? i felt HA was slow in response, specially the add-ons, like node-red and vscode so i did a restart, all came backup then first thing i notice is my camera streams missing, looking at go2rtc the config is empty,

Hello Balajeek,

What type of installation are you running?
What version of HA are you running?
Are you using default_config: command in your configuration.yaml?

2024.11.x now has go2rtc build in, it will be activated with the default_config: key in your configuration ,yaml. It should just work when it needs to for all the core integrations that use cameras AFAIK.

  • hass vm on proxmox 8
  • i always keep ha up to date,
  • Core 2024.11.2
  • Supervisor 2024.11.2
  • Operating System 13.2
  • Frontend 20241106.2

yes the default config i use for the add on go2rtc, (its in config folder go2rtc.yml)
It scared me when the config file shows empty. it was done over a year ago i spent much time organizing everything into go2rtc and feed that to my frigate instance.

But luckly i copied the config text into frigate config and commented out and comment as go2tc, so i was able to copy that and put it back to work for now.

So you are saying 2024.11 has built in go2trc !
I should delete the add-on then ? Where would i see the built-in go2trc page ?

I just stopped the addon go2tc and set to StartOnBoot=false,
added this two line in the configuration.yml
go2rtc
debug_ui: true
then restarted HA

Now i can access the go2trc on port 11984, under the config it says


# This file is managed by Home Assistant
# Do not edit it manually

api:
  listen: ":11984"

rtsp:
  listen: "127.0.0.1:18554"

webrtc:
  listen: ":18555/tcp"
  ice_servers: []

Then where am i suppose to add all my camera streams ?

anyone, any thoughts !

After struggling for hours, I finally get it working on my HA. In case you still have not get any solution yet, the camera streams should remain in go2rtc.yaml, but you need to update the go2rtc.yaml to include go2rtc:

go2rtc:
  streams:
    doorbell:
      - homekit:xxxxxx
      - ffmpeg:doorbell#audio=opus

unfortunately this did not work for me and got error in frigate
rtsp://127.0.0.1:8554/doorbell2: Invalid data found when processing input

my go2rtc config look like this: (just copied from HA go2rtc config which works there)

    doorbell2:
      - homekit://192.168.99.187:46281?client_id=<id here>&client_private=<id here>&device_id=<id here>&device_public=<id here>
      - ffmpeg:doorbell#audio=opus

is bunch if long IDs

All though, when i added the config to go2rtc and restart frigate, i did not see any errors on the log, but after adding the camera: i did get the error

cameras:
  doorbell2:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/doorbell2
          input_args: preset-rtsp-restream
          roles:
            - detect