go2rtc icon indicating copy to clipboard operation
go2rtc copied to clipboard

HA managed version not running properly or updating

Open bmorgan99 opened this issue 1 year ago • 3 comments

go2rtc has a pid but is not responding on port 11984 (or 1984) and what I think is it's config file only shows 1 camera. How can I restart it, and will it then get the cameras from config/go2rtc.yaml? Rebooting didn't help.

ps -ef | grep go2 178 root 0:00 /bin/go2rtc -c /tmp/go2rtc_mvp3jup8.yaml

tmp/go2rtc_mvp3jup8.yaml

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

api:
  listen: "127.0.0.1:11984"

rtsp:
  listen: "127.0.0.1:18554"

webrtc:
  listen: ":18555/tcp"
  ice_servers: []
streams:
  camera.garden_orginal:
    - rtsp://admin:[email protected]/h264Preview_01_main
  camera.garden:
    - rtsp://127.0.0.1:18554/camera.garden_orginal
    - ffmpeg:camera.garden_orginal#audio=opus

bmorgan99 avatar Nov 11 '24 16:11 bmorgan99

The HA embedded version of go2rtc is not designed for use outside of HA. But you can run your own go2rtc version (addon/custom integration/etc) and config HA to use this version: https://www.home-assistant.io/integrations/go2rtc/

AlexxIT avatar Nov 11 '24 17:11 AlexxIT

I thought I was trying to use it within HA. Does that mean I would only use the generic cameras and not webrtc? I don't have the add-on loaded. Shouldn't I see something on port 11984?

bmorgan99 avatar Nov 11 '24 17:11 bmorgan99

It's localhost port. You can open it only from the inside of your server.

AlexxIT avatar Nov 11 '24 18:11 AlexxIT