--- title: Generic description: Instructions on how to integrate IP cameras within Home Assistant. ha_category: - Camera logo: home-assistant.png ha_release: pre 0.7 ha_iot_class: Configurable ha_domain: generic ha_platforms: - camera --- The `generic` camera platform allows you to integrate any IP camera or other URL into Home Assistant. Templates can be used to generate the URLs on the fly. Home Assistant will serve the images via its server, making it possible to view your IP cameras while outside of your network. The endpoint is `/api/camera_proxy/camera.[name]`. ## Configuration To enable this camera in your installation, add the following to your `configuration.yaml` file: ```yaml # Example configuration.yaml entry camera: - platform: generic still_image_url: http://194.218.96.92/jpg/image.jpg ``` {% configuration %} still_image_url: description: "The URL your camera serves the image on, e.g., `http://192.168.1.21:2112/`. Can be a [template](/topics/templating/)." required: true type: string stream_source: description: "The URL your camera serves the live stream on, e.g., `rtsp://192.168.1.21:554/`. Can be a [template](/topics/templating/)." required: false type: string name: description: This parameter allows you to override the name of your camera. required: false type: string username: description: The username for accessing your camera. required: false type: string password: description: The password for accessing your camera. required: false type: string authentication: description: "Type for authenticating the requests `basic` or `digest`." required: false default: basic type: string limit_refetch_to_url_change: description: Limits re-fetching of the remote image to when the URL changes. Only relevant if using a template to fetch the remote image. required: false default: false type: boolean content_type: description: Set the content type for the IP camera if it is not a jpg file. Use `image/svg+xml` to add a dynamic SVG file. required: false default: image/jpeg type: string framerate: description: The number of frames-per-second (FPS) of the stream. Can cause heavy traffic on the network and/or heavy load on the camera. required: false type: integer verify_ssl: description: Enable or disable SSL certificate verification. Set to false to use an http-only camera, or you have a self-signed SSL certificate and haven't installed the CA certificate to enable verification. required: false default: true type: boolean rtsp_transport: description: "Set the RTSP transport protocol to `tcp`, `udp`, `udp_multicast` or `http`." required: false type: string {% endconfiguration %}
Example showing the Generic camera platform pointing at a dynamic Google Map image.