home-assistant.io/source/_components/panel_iframe.markdown
Joakim Sørensen a5dea11af0 Adds warning about lovelace in 'panel_iframe' documentation. (#6694)
* Add warning about lovelace

* Move the second warning
2018-10-11 21:11:32 +02:00

64 lines
1.8 KiB
Markdown

---
layout: page
title: "Panel iFrame"
description: "Instructions on how to add iFrames in the frontend of Home Assistant."
date: 2015-07-17 18:00
sidebar: true
comments: false
sharing: true
footer: true
logo: home-assistant.png
ha_category: Front end
ha_release: 0.25
ha_qa_scale: internal
---
The `panel_iframe` support allows you to add additional panels to your Home Assistant frontend. The panels are listed in the sidebar and can contain external resources like the web frontend of your router, your monitoring system, or your media server.
<p class='note warning'>If you are accessing Home Assistant over HTTPS using SSL, you cannot access HTTP sites through an iframe panel.</p>
To enable Panel iFrames in your installation, add the following to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
panel_iframe:
router:
title: 'Router'
url: 'http://192.168.1.1'
fridge:
title: 'Fridge'
url: 'http://192.168.1.5'
otherapp:
title: 'Other App'
url: '/otherapp'
```
{% configuration %}
panel_iframe:
description: Enables the panel_iframe component. Only allowed once.
required: true
type: map
keys:
panel_name:
description: Name of the panel. Only allowed once.
required: true
type: map
keys:
title:
description: Friendly title for the panel. Will be used in the sidebar.
required: true
type: string
url:
description: The absolute URL or relative URL with an absolute path to open.
required: true
type: string
icon:
description: Icon for entry.
required: false
type: icon
{% endconfiguration %}
<p class='note warning'>Do **not** create one that are named `lovelace` it will overwrite lovelace causing it to never load.</p>