Add initial docs for iframe panels

This commit is contained in:
Fabian Affolter 2016-07-17 17:35:37 +02:00
parent 7fa5fcc4ac
commit 4e6be2e2e9
No known key found for this signature in database
GPG Key ID: DDF3D6F44AAB1336

View File

@ -0,0 +1,39 @@
---
layout: page
title: "Panel iFrame"
description: "Instructions 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: Other
ha_release: 0.25
---
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.
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'
icon: 'mdi:router-wireless'
url: 'http://192.168.1.1'
fridge:
title: 'Fridge'
icon: 'mdi:fridge'
url: 'http://192.168.1.5'
```
Configuration variables:
- **[panael_name]** (*Required*): Name of the panel.
- **title** (*Required*): Friendly title for the panel. Will be used in the sidebar.
- **icon** (*Optional*): The API token of your bot.
- **url** (*Required*): The chat ID of your user.