Robert Resch 86a3d3b8f4
Document go2rtc config changes for username and password (#41904)
Co-authored-by: Claude <noreply@anthropic.com>
2025-11-26 13:01:04 +01:00

2.4 KiB

title, description, ha_category, ha_release, ha_iot_class, ha_codeowners, ha_domain, ha_integration_type, related, ha_quality_scale
title description ha_category ha_release ha_iot_class ha_codeowners ha_domain ha_integration_type related ha_quality_scale
go2rtc Instructions on how to setup go2rtc in Home Assistant.
Camera
2024.11 Local Polling
@home-assistant/core
go2rtc system
docs
/installation/
internal

go2rtc is an open source project providing a camera streaming application that supports formats such as RTSP, WebRTC, HomeKit, FFmpeg, RTMP. The go2rtc {% term integration %} connects to a go2rtc instance and provides a WebRTC proxy for all your cameras. To learn more about go2rtc, refer to the project's GitHub page.

If you are using the default_config and run Home Assistant using one of the following installation types, the go2rtc integration will be set up automatically and you don't need to do anything:

  • {% term "Home Assistant Operating System" %}
  • {% term "Home Assistant Container" %}

Configuration

This integration is part of the default_config.

The following YAML options are available:

{% configuration %} debug_ui: required: false description: Enables the UI of the go2rtc, which helps debugging WebRTC issues. The debug_ui should only be enabled during debugging as it will expose port 11984. default: false type: boolean username: required: false description: The username for authentication when accessing the debug UI. Required when debug_ui is enabled. type: string password: required: false description: The password for authentication when accessing the debug UI. Required when debug_ui is enabled. type: string url: required: false description: The URL to the self-hosted go2rtc server type: string {% endconfiguration %}

If you using the go2rtc server managed by Home Assistant, please be aware that all ports are prefixed by 1 compared to the default port settings to avoid port conflicts:

  • Api port 1984 becomes 11984
  • WebRTC port 8555 becomes 18555

{% warning %}

The debug_ui should only be enabled during debugging as it will expose port 11984. Please disable the debug_ui immediately after debugging.

{% endwarning %}

Examples

Use a self-hosted instance:

go2rtc:
  url: http://my-go2rtc-instance:1984

Enable debug UI with authentication:

go2rtc:
  debug_ui: true
  username: your_username
  password: your_password