Site updated at 2015-11-28 04:11:01 UTC
This commit is contained in:
parent
f372cd0b12
commit
4d3fac69df
43 changed files with 650 additions and 35 deletions
2
atom.xml
2
atom.xml
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2015-11-22T12:47:40-08:00</updated>
|
||||
<updated>2015-11-27T20:10:47-08:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Paulus Schoutsen]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: architecture | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/architecture/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2015-11-22T12:47:40-08:00</updated>
|
||||
<updated>2015-11-27T20:10:47-08:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Paulus Schoutsen]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: branding | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/branding/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2015-11-22T12:47:40-08:00</updated>
|
||||
<updated>2015-11-27T20:10:47-08:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Paulus Schoutsen]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: component | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/component/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2015-11-22T12:47:40-08:00</updated>
|
||||
<updated>2015-11-27T20:10:47-08:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Paulus Schoutsen]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: core | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/core/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2015-11-22T12:47:40-08:00</updated>
|
||||
<updated>2015-11-27T20:10:47-08:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Paulus Schoutsen]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: esp8266 | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/esp8266/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2015-11-22T12:47:40-08:00</updated>
|
||||
<updated>2015-11-27T20:10:47-08:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Paulus Schoutsen]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: frontend | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/frontend/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2015-11-22T12:47:40-08:00</updated>
|
||||
<updated>2015-11-27T20:10:47-08:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Paulus Schoutsen]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: how-to | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/how-to/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2015-11-22T12:47:40-08:00</updated>
|
||||
<updated>2015-11-27T20:10:47-08:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Paulus Schoutsen]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: mqtt | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/mqtt/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2015-11-22T12:47:40-08:00</updated>
|
||||
<updated>2015-11-27T20:10:47-08:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Paulus Schoutsen]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: release-notes | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/release-notes/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2015-11-22T12:47:40-08:00</updated>
|
||||
<updated>2015-11-27T20:10:47-08:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Paulus Schoutsen]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: survey | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/survey/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2015-11-22T12:47:40-08:00</updated>
|
||||
<updated>2015-11-27T20:10:47-08:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Paulus Schoutsen]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: user-stories | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/user-stories/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2015-11-22T12:47:40-08:00</updated>
|
||||
<updated>2015-11-27T20:10:47-08:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Paulus Schoutsen]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: website | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/website/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2015-11-22T12:47:40-08:00</updated>
|
||||
<updated>2015-11-27T20:10:47-08:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Paulus Schoutsen]]></name>
|
||||
|
|
|
@ -608,6 +608,18 @@ Support for these components is provided by the Home Assistant community.
|
|||
|
||||
|
||||
|
||||
<a href='/components/thermostat.homematic/' class='thermostat'>
|
||||
<div class='img-container'>
|
||||
|
||||
<img src='/images/supported_brands/homematic.png'>
|
||||
|
||||
</div>
|
||||
<div class='title'>Homematic thermostat</div>
|
||||
<div class='category'>Thermostat</div>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
<a href='/components/thermostat.honeywell/' class='thermostat'>
|
||||
<div class='img-container'>
|
||||
|
||||
|
@ -1727,6 +1739,18 @@ Support for these components is provided by the Home Assistant community.
|
|||
</a>
|
||||
|
||||
|
||||
|
||||
<a href='/components/switch.mystrom/' class='switch'>
|
||||
<div class='img-container'>
|
||||
|
||||
<img src='/images/supported_brands/mystrom.png'>
|
||||
|
||||
</div>
|
||||
<div class='title'>myStrom switch</div>
|
||||
<div class='category'>Switch</div>
|
||||
</a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
|
|
@ -109,7 +109,7 @@
|
|||
<div class="highlighter-coderay"><div class="CodeRay">
|
||||
<div class="code"><pre><span class="comment"># Example configuration.yaml entry</span>
|
||||
<span class="key">media_player</span>:
|
||||
- <span class="string"><span class="content">platform: plex</span></span>
|
||||
<span class="key">platform</span>: <span class="string"><span class="content">plex</span></span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -117,15 +117,15 @@
|
|||
<p>You may also need to create the file <code>plex.conf</code>.</p>
|
||||
|
||||
<div class="highlighter-coderay"><div class="CodeRay">
|
||||
<div class="code"><pre>{<span class="key"><span class="delimiter">"</span><span class="content"><IP_ADDRESS>:<PORT></span><span class="delimiter">"</span></span>: {<span class="key"><span class="delimiter">"</span><span class="content">token</span><span class="delimiter">"</span></span>: <span class="string"><span class="delimiter">"</span><span class="content"><TOKEN></span><span class="delimiter">"</span></span>}}
|
||||
<div class="code"><pre>{<span class="key"><span class="delimiter">"</span><span class="content">IP_ADDRESS:PORT</span><span class="delimiter">"</span></span>: {<span class="key"><span class="delimiter">"</span><span class="content">token</span><span class="delimiter">"</span></span>: <span class="string"><span class="delimiter">"</span><span class="content">TOKEN</span><span class="delimiter">"</span></span>}}
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<ul>
|
||||
<li><code><IP_ADDRESS></code> <em>Required</em>: IP address of the Plex Media Server</li>
|
||||
<li><code><PORT></code> <em>required</em>: Default is 32400</li>
|
||||
<li><code><TOKEN></code> <em>Optional</em>: Only if authentication is required. Set to <code>None</code> (without quotes) otherwise.</li>
|
||||
<li><strong>IP_ADDRESS</strong> (<em>Required</em>): IP address of the Plex Media Server</li>
|
||||
<li><strong>PORT</strong> (<em>Required</em>): Port where Plex is listening. Default is 32400</li>
|
||||
<li><strong>TOKEN</strong> (<em>Optional</em>): Only if authentication is required. Set to <code>None</code> (without quotes) otherwise.</li>
|
||||
</ul>
|
||||
|
||||
<p>At this moment, the Plex platform only supports one Plex Media Server.</p>
|
||||
|
|
|
@ -102,7 +102,7 @@
|
|||
|
||||
<p>The <code>notify</code> component makes it possible to send notifications to a wide variety of platforms. Please check the sidebar for a full list of platforms that are supported.</p>
|
||||
|
||||
<h3>Configuration</h3>
|
||||
<h2><a class="title-link" name="configuration" href="#configuration"></a> Configuration</h2>
|
||||
|
||||
<div class="highlighter-coderay"><div class="CodeRay">
|
||||
<div class="code"><pre><span class="comment"># Example configuration.yaml entry</span>
|
||||
|
@ -118,7 +118,7 @@
|
|||
|
||||
<p>The <strong>name</strong> parameter is optional but needed if you want to use multiple platforms. The platform will be exposed as service <code>notify/<name></code>. The name will default to <code>notify</code> if not supplied.</p>
|
||||
|
||||
<h3>Service</h3>
|
||||
<h3><a class="title-link" name="service" href="#service"></a> Service</h3>
|
||||
|
||||
<p>Once loaded, the <code>notify</code> platform will expose a service that can be called to send notifications.</p>
|
||||
|
||||
|
@ -149,7 +149,7 @@
|
|||
</tbody>
|
||||
</table>
|
||||
|
||||
<h3>Test if it works</h3>
|
||||
<h3><a class="title-link" name="test-if-it-works" href="#test-if-it-works"></a> Test if it works</h3>
|
||||
|
||||
<p>A simple way to test if you have set up your notify platform correctly is to use <strong>Call Service</strong> from the <strong>Developer Tools</strong> to call your notify service. Choose your service (<em>notify/xyz</em>) from the list of <strong>Available services:</strong> and enter something like the sample below into the <strong>Service Data</strong> field and hit <strong>CALL SERVICE</strong>.</p>
|
||||
|
||||
|
|
|
@ -102,7 +102,7 @@
|
|||
|
||||
<p>The arest switch platform allows you to toggle pins of your devices (like Arduino boards with a ethernet/wifi connection, ESP8266 based devices, and the Raspberry Pi) running the <a href="http://arest.io/">aREST</a> RESTful framework.</p>
|
||||
|
||||
<p>To use your aREST enabled device in your installation, add the following to your <code>configuration.yaml</code> file:</p>
|
||||
<p>To use your aREST enabled device with pins in your installation, add the following to your <code>configuration.yaml</code> file:</p>
|
||||
|
||||
<div class="highlighter-coderay"><div class="CodeRay">
|
||||
<div class="code"><pre><span class="comment"># Example configuration.yaml entry</span>
|
||||
|
@ -119,19 +119,46 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<p>If you want to use custom functions, then add the following to your <code>configuration.yaml</code> file:</p>
|
||||
|
||||
<div class="highlighter-coderay"><div class="CodeRay">
|
||||
<div class="code"><pre><span class="comment"># Example configuration.yaml entry</span>
|
||||
<span class="key">switch</span>:
|
||||
<span class="key">platform</span>: <span class="string"><span class="content">arest</span></span>
|
||||
<span class="key">resource</span>: <span class="string"><span class="content">http://IP_ADDRESS</span></span>
|
||||
<span class="key">name</span>: <span class="string"><span class="content">Office</span></span>
|
||||
<span class="key">functions</span>:
|
||||
<span class="key">function1</span>:
|
||||
<span class="key">name</span>:
|
||||
<span class="key">function2</span>:
|
||||
<span class="key">name</span>: <span class="string"><span class="content">Light Desk</span></span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p>Configuration variables:</p>
|
||||
|
||||
<ul>
|
||||
<li><strong>resource</strong> (<em>Required</em>): IP address and schema of the device that is exposing an aREST API, eg. http://192.168.1.10.</li>
|
||||
<li><strong>resource</strong> (<em>Required</em>): IP address and schema of the device that is exposing an aREST API, eg. http://192.168.1.10 (no-trailing slash)</li>
|
||||
<li><strong>name</strong> (<em>Optional</em>): Let you overwrite the the name of the device. By default <em>name</em> from the device is used.</li>
|
||||
<li><strong>pins</strong> array (<em>Required</em>): An array with all used pins of your board.
|
||||
<li><strong>pins</strong> array (<em>Required</em>): An array with all used pins.
|
||||
<ul>
|
||||
<li><strong>name</strong> (<em>Required</em>): The name of the pin you wish to toggle.</li>
|
||||
<li><strong>name</strong> (<em>Required</em>): The name of the pin to use in the frontend.</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<p>You can still switch your pins with a web browser or a command line tool. Use the http://192.168.1.10/digital/8/1 to set pin 8 to high/on, the JSON response will give you some feedback.</p>
|
||||
<p>or</p>
|
||||
|
||||
<ul>
|
||||
<li><strong>functions</strong> array (<em>Required</em>): An array with all used functions.
|
||||
<ul>
|
||||
<li><strong>name</strong> (<em>Required</em>): The name to use in the frontend.</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<p>You can still switch your pins with a web browser or a command line tool. Use the URL http://192.168.1.10/digital/8/1 to set pin 8 to high/on, the JSON response will give you the feedback.</p>
|
||||
|
||||
<div class="highlighter-coderay"><div class="CodeRay">
|
||||
<div class="code"><pre>{<span class="key"><span class="delimiter">"</span><span class="content">message</span><span class="delimiter">"</span></span>: <span class="string"><span class="delimiter">"</span><span class="content">Pin D8 set to 1</span><span class="delimiter">"</span></span>, <span class="key"><span class="delimiter">"</span><span class="content">id</span><span class="delimiter">"</span></span>: <span class="string"><span class="delimiter">"</span><span class="content">sensor02</span><span class="delimiter">"</span></span>, <span class="key"><span class="delimiter">"</span><span class="content">name</span><span class="delimiter">"</span></span>: <span class="string"><span class="delimiter">"</span><span class="content">livingroom</span><span class="delimiter">"</span></span>, <span class="key"><span class="delimiter">"</span><span class="content">connected</span><span class="delimiter">"</span></span>: <span class="value">true</span>}
|
||||
|
@ -214,6 +241,9 @@
|
|||
<li>
|
||||
aREST switch
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/switch.mystrom/'>myStrom switch</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
|
|
@ -233,6 +233,9 @@ This switch will shudown your host immediately, there will be no confirmation.
|
|||
<li>
|
||||
<a href='/components/switch.arest/'>aREST switch</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/switch.mystrom/'>myStrom switch</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
|
|
@ -189,6 +189,9 @@
|
|||
<li>
|
||||
<a href='/components/switch.arest/'>aREST switch</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/switch.mystrom/'>myStrom switch</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
|
|
@ -230,6 +230,9 @@ Each named bit will create a switch.
|
|||
<li>
|
||||
<a href='/components/switch.arest/'>aREST switch</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/switch.mystrom/'>myStrom switch</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
|
|
@ -225,6 +225,9 @@
|
|||
<li>
|
||||
<a href='/components/switch.arest/'>aREST switch</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/switch.mystrom/'>myStrom switch</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
|
245
components/switch.mystrom/index.html
Normal file
245
components/switch.mystrom/index.html
Normal file
|
@ -0,0 +1,245 @@
|
|||
<!doctype html>
|
||||
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
|
||||
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
|
||||
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
|
||||
<!--[if gt IE 8]><!--> <html> <!--<![endif]-->
|
||||
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title>myStrom switch - Home Assistant</title>
|
||||
<meta name="author" content="Paulus Schoutsen">
|
||||
|
||||
<meta name="description" content="Instructions how to integrate myStrom switches into Home Assistant.">
|
||||
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="canonical" href="https://home-assistant.io/components/switch.mystrom/">
|
||||
|
||||
<meta property="fb:app_id" content="338291289691179">
|
||||
<meta property="og:title" content="myStrom switch">
|
||||
<meta property="og:site_name" content="Home Assistant">
|
||||
<meta property="og:url" content="https://home-assistant.io/components/switch.mystrom/">
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="og:description" content="Instructions how to integrate myStrom switches into Home Assistant.">
|
||||
<meta property="og:image" content="https://home-assistant.io/images/home-assistant-logo-2164x2164.png">
|
||||
|
||||
<link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet">
|
||||
<link href="/atom.xml" rel="alternate" title="Home Assistant" type="application/atom+xml">
|
||||
<link rel='shortcut icon' href='/images/favicon.ico' />
|
||||
<link rel='icon' type='image/png' href='/images/favicon-192x192.png' sizes='192x192' />
|
||||
</head>
|
||||
|
||||
<body >
|
||||
|
||||
<header>
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid">
|
||||
|
||||
<div class="grid__item three-tenths lap-two-sixths palm-one-whole ha-title">
|
||||
<a href="/" class="site-title">
|
||||
<img width='40' src='/images/favicon-192x192.png'> Home Assistant
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="grid__item seven-tenths lap-four-sixths palm-one-whole">
|
||||
<nav>
|
||||
<input type="checkbox" id="toggle">
|
||||
<label for="toggle" class="toggle" data-open="Main Menu" data-close="Close Menu"></label>
|
||||
<ul class="menu pull-right">
|
||||
<li>
|
||||
<a href="/getting-started/">Getting started</a>
|
||||
<ul>
|
||||
<li><a href='/getting-started/'>Installing Home Assistant</a></li>
|
||||
<li><a href='/getting-started/configuration/'>Configuration basics</a></li>
|
||||
<li><a href='/getting-started/devices/'>Adding devices</a></li>
|
||||
<li><a href='/getting-started/presence-detection/'>Presence detection</a></li>
|
||||
<li><a href='/getting-started/automation/'>Automation</a></li>
|
||||
<li><a href='/cookbook'>Configuration cookbook</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href='/components/'>Components</a></li>
|
||||
<li>
|
||||
<a href="/developers/">Developers</a>
|
||||
<ul>
|
||||
<li><a href="/developers/architecture/">Architecture</a></li>
|
||||
<li><a href="/developers/frontend/">Frontend development</a></li>
|
||||
<li><a href="/developers/creating_components/">
|
||||
Creating components
|
||||
</a></li>
|
||||
<li><a href="/developers/add_new_platform/">
|
||||
Adding platform support
|
||||
</a></li>
|
||||
<li><a href="/developers/api/">API</a></li>
|
||||
<li><a href="/developers/credits/">Credits</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="/blog/">Blog</a></li>
|
||||
<li><a href="/help/">Need help?</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid grid-center">
|
||||
|
||||
<div class="grid__item two-thirds lap-one-whole palm-one-whole">
|
||||
|
||||
|
||||
<article class="page">
|
||||
<header>
|
||||
<h1 class="title indent">
|
||||
myStrom switch
|
||||
</h1>
|
||||
</header>
|
||||
<hr class="divider">
|
||||
|
||||
<p>The <code>mystrom</code> switch platform allows you to control the state of your <a href="https://mystrom.ch/en/">myStrom</a> switches. The built-in sensor is measuring the power consumption while the switch is on.</p>
|
||||
|
||||
<p>To use your myStrom switch in your installation, add the following to your <code>configuration.yaml</code> file:</p>
|
||||
|
||||
<div class="highlighter-coderay"><div class="CodeRay">
|
||||
<div class="code"><pre><span class="comment"># Example configuration.yaml entry</span>
|
||||
<span class="key">switch</span>:
|
||||
<span class="key">platform</span>: <span class="string"><span class="content">mystrom</span></span>
|
||||
<span class="key">host</span>: <span class="string"><span class="content">IP_ADRRESS</span></span>
|
||||
<span class="key">name</span>: <span class="string"><span class="content">MyStrom Switch</span></span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p>Configuration variables:</p>
|
||||
|
||||
<ul>
|
||||
<li><strong>host</strong> (<em>Required</em>): The IP address of your myStrom switch, eg. http://192.168.1.32</li>
|
||||
<li><strong>name</strong> (<em>Optional</em>): The name to use when displaying this switch.</li>
|
||||
</ul>
|
||||
|
||||
<p>Check if you are able to access the device located at <code>http://IP_ADRRESS</code>. The details about your switch is provided as a JSON response.</p>
|
||||
|
||||
<div class="highlighter-coderay"><div class="CodeRay">
|
||||
<div class="code"><pre>$ curl -X GET http://IP_ADDRESS/report
|
||||
{
|
||||
"power": 0,
|
||||
"relay": false
|
||||
}
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p>or change its state:</p>
|
||||
|
||||
<div class="highlighter-coderay"><div class="CodeRay">
|
||||
<div class="code"><pre>$ curl -G -X GET http://IP_ADDRESS/relay -d 'state=1'
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<aside id="sidebar" class="grid__item one-third lap-one-whole palm-one-whole">
|
||||
<div class="grid">
|
||||
|
||||
|
||||
<section class="aside-module grid__item one-whole lap-one-half">
|
||||
<div class='brand-logo-container section'>
|
||||
<img src='/images/supported_brands/mystrom.png' />
|
||||
</div>
|
||||
<div class='section'>
|
||||
This is a platform for
|
||||
<a href='/components/switch/'>the Switches component</a>.
|
||||
</div>
|
||||
<div class='section'>
|
||||
<h1 class="title delta">Category Switch</h1>
|
||||
<ul class='divided'>
|
||||
<li>
|
||||
<a href='/components/switch.wemo/'>Belkin WeMo switch</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/switch.command_switch/'>Command line switch</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/switch.edimax/'>Edimax switch</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/switch.mqtt/'>MQTT switch</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/switch.modbus/'>Modbus switch</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/switch.orvibo/'>Orvibo switch</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/switch.rest/'>RESTful switch</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/switch.rfxtrx/'>RFXtrx switch</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/switch.tellstick/'>TellStick switch</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/switch.transmission/'>Transmission switch</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/switch.vera/'>Vera switch</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/switch.wink/'>Wink switch</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/switch.zwave/'>Z-Wave switch</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/switch.arest/'>aREST switch</a>
|
||||
</li>
|
||||
<li>
|
||||
myStrom switch
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid">
|
||||
<div class="grid__item">
|
||||
<p class="copyright">
|
||||
<span class="credit">Powered by <a href='http://jekyllrb.com/'>Jekyll</a> and the <a href='https://github.com/coogie/oscailte'>Oscalite theme</a>. Hosted by <a href='https://pages.github.com/'>GitHub</a> and served by <a href='https://cloudflare.com'>CloudFlare</a>.</span>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
|
||||
<![endif]-->
|
||||
|
||||
<script>
|
||||
var _gaq=[['_setAccount','UA-57927901-1'],['_trackPageview']];
|
||||
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
|
||||
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
|
||||
s.parentNode.insertBefore(g,s)}(document,'script'));
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -183,6 +183,9 @@
|
|||
<li>
|
||||
<a href='/components/switch.arest/'>aREST switch</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/switch.mystrom/'>myStrom switch</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
|
|
@ -200,6 +200,9 @@ Make sure that the URL matches exactly your endpoint or resource.
|
|||
<li>
|
||||
<a href='/components/switch.arest/'>aREST switch</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/switch.mystrom/'>myStrom switch</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
|
|
@ -201,6 +201,9 @@
|
|||
<li>
|
||||
<a href='/components/switch.arest/'>aREST switch</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/switch.mystrom/'>myStrom switch</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
|
|
@ -197,6 +197,9 @@
|
|||
<li>
|
||||
<a href='/components/switch.arest/'>aREST switch</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/switch.mystrom/'>myStrom switch</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
|
|
@ -199,6 +199,9 @@
|
|||
<li>
|
||||
<a href='/components/switch.arest/'>aREST switch</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/switch.mystrom/'>myStrom switch</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
|
|
@ -208,6 +208,9 @@
|
|||
<li>
|
||||
<a href='/components/switch.arest/'>aREST switch</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/switch.mystrom/'>myStrom switch</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
|
|
@ -175,6 +175,9 @@
|
|||
<li>
|
||||
<a href='/components/switch.arest/'>aREST switch</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/switch.mystrom/'>myStrom switch</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
|
|
@ -185,6 +185,9 @@
|
|||
<li>
|
||||
<a href='/components/switch.arest/'>aREST switch</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/switch.mystrom/'>myStrom switch</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
|
|
@ -179,6 +179,9 @@
|
|||
<li>
|
||||
<a href='/components/switch.arest/'>aREST switch</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/switch.mystrom/'>myStrom switch</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
|
|
@ -200,6 +200,9 @@
|
|||
<li><a href='/components/switch.arest/'>
|
||||
aREST switch
|
||||
</a></li>
|
||||
<li><a href='/components/switch.mystrom/'>
|
||||
myStrom switch
|
||||
</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
|
|
|
@ -144,6 +144,9 @@
|
|||
<li>
|
||||
Heat control
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/thermostat.homematic/'>Homematic thermostat</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/thermostat.honeywell/'>Honeywell thermostat</a>
|
||||
</li>
|
||||
|
|
206
components/thermostat.homematic/index.html
Normal file
206
components/thermostat.homematic/index.html
Normal file
|
@ -0,0 +1,206 @@
|
|||
<!doctype html>
|
||||
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
|
||||
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
|
||||
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
|
||||
<!--[if gt IE 8]><!--> <html> <!--<![endif]-->
|
||||
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title>Homematic thermostat - Home Assistant</title>
|
||||
<meta name="author" content="Paulus Schoutsen">
|
||||
|
||||
<meta name="description" content="Instructions how to integrate Homematic thermostats within Home Assistant.">
|
||||
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="canonical" href="https://home-assistant.io/components/thermostat.homematic/">
|
||||
|
||||
<meta property="fb:app_id" content="338291289691179">
|
||||
<meta property="og:title" content="Homematic thermostat">
|
||||
<meta property="og:site_name" content="Home Assistant">
|
||||
<meta property="og:url" content="https://home-assistant.io/components/thermostat.homematic/">
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="og:description" content="Instructions how to integrate Homematic thermostats within Home Assistant.">
|
||||
<meta property="og:image" content="https://home-assistant.io/images/home-assistant-logo-2164x2164.png">
|
||||
|
||||
<link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet">
|
||||
<link href="/atom.xml" rel="alternate" title="Home Assistant" type="application/atom+xml">
|
||||
<link rel='shortcut icon' href='/images/favicon.ico' />
|
||||
<link rel='icon' type='image/png' href='/images/favicon-192x192.png' sizes='192x192' />
|
||||
</head>
|
||||
|
||||
<body >
|
||||
|
||||
<header>
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid">
|
||||
|
||||
<div class="grid__item three-tenths lap-two-sixths palm-one-whole ha-title">
|
||||
<a href="/" class="site-title">
|
||||
<img width='40' src='/images/favicon-192x192.png'> Home Assistant
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="grid__item seven-tenths lap-four-sixths palm-one-whole">
|
||||
<nav>
|
||||
<input type="checkbox" id="toggle">
|
||||
<label for="toggle" class="toggle" data-open="Main Menu" data-close="Close Menu"></label>
|
||||
<ul class="menu pull-right">
|
||||
<li>
|
||||
<a href="/getting-started/">Getting started</a>
|
||||
<ul>
|
||||
<li><a href='/getting-started/'>Installing Home Assistant</a></li>
|
||||
<li><a href='/getting-started/configuration/'>Configuration basics</a></li>
|
||||
<li><a href='/getting-started/devices/'>Adding devices</a></li>
|
||||
<li><a href='/getting-started/presence-detection/'>Presence detection</a></li>
|
||||
<li><a href='/getting-started/automation/'>Automation</a></li>
|
||||
<li><a href='/cookbook'>Configuration cookbook</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href='/components/'>Components</a></li>
|
||||
<li>
|
||||
<a href="/developers/">Developers</a>
|
||||
<ul>
|
||||
<li><a href="/developers/architecture/">Architecture</a></li>
|
||||
<li><a href="/developers/frontend/">Frontend development</a></li>
|
||||
<li><a href="/developers/creating_components/">
|
||||
Creating components
|
||||
</a></li>
|
||||
<li><a href="/developers/add_new_platform/">
|
||||
Adding platform support
|
||||
</a></li>
|
||||
<li><a href="/developers/api/">API</a></li>
|
||||
<li><a href="/developers/credits/">Credits</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="/blog/">Blog</a></li>
|
||||
<li><a href="/help/">Need help?</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid grid-center">
|
||||
|
||||
<div class="grid__item two-thirds lap-one-whole palm-one-whole">
|
||||
|
||||
|
||||
<article class="page">
|
||||
<header>
|
||||
<h1 class="title indent">
|
||||
Homematic thermostat
|
||||
</h1>
|
||||
</header>
|
||||
<hr class="divider">
|
||||
|
||||
<p>The homematic thermostat platform let you control <a href="http://www.homematic.com/">Homematic</a> thermostat from Home Assistant. Currently there is support for Homematic (HM-TC-IT-WM-W-EU, HM-CC-RT-DN) thermostats using Homegear or Homematic central (CCU1/CCU2).</p>
|
||||
|
||||
<p>To set it up, add the following information to your <code>configuration.yaml</code> file:</p>
|
||||
|
||||
<div class="highlighter-coderay"><div class="CodeRay">
|
||||
<div class="code"><pre><span class="key">thermostat</span>:
|
||||
<span class="key">platform</span>: <span class="string"><span class="content">homematic</span></span>
|
||||
<span class="key">address</span>: <span class="string"><span class="content">HOMEGEAR/CCU_ADDRESS</span></span>
|
||||
<span class="key">devices</span>:
|
||||
<span class="key">Livingroom 1</span>:
|
||||
<span class="key">id</span>: <span class="string"><span class="content">DEVICE_SERIAL_NO </span></span>
|
||||
<span class="key">Livingroom 2</span>:
|
||||
<span class="key">id</span>: <span class="string"><span class="content">DEVICE_SERIAL_NO</span></span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p>Configuration variables:</p>
|
||||
|
||||
<ul>
|
||||
<li><strong>address</strong> (<em>Required</em>: Adress of your Homegear or Homeatic central, eg. http://localhost:2001</li>
|
||||
<li><strong>devices</strong> array (<em>Required</em>): List of all your Homeatic devices.
|
||||
<ul>
|
||||
<li><strong>name</strong> (<em>Required</em>): Name to identify the device.
|
||||
<ul>
|
||||
<li><strong>id</strong> (<em>Required</em>): The serial number of the device, eg. MEQ0791521</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<aside id="sidebar" class="grid__item one-third lap-one-whole palm-one-whole">
|
||||
<div class="grid">
|
||||
|
||||
|
||||
<section class="aside-module grid__item one-whole lap-one-half">
|
||||
<div class='brand-logo-container section'>
|
||||
<img src='/images/supported_brands/homematic.png' />
|
||||
</div>
|
||||
<div class='section'>
|
||||
This is a platform for
|
||||
<a href='/components/thermostat/'>the Thermostats component</a>.
|
||||
</div>
|
||||
<div class='section'>
|
||||
<h1 class="title delta">Category Thermostat</h1>
|
||||
<ul class='divided'>
|
||||
<li>
|
||||
<a href='/components/thermostat.heat_control/'>Heat control</a>
|
||||
</li>
|
||||
<li>
|
||||
Homematic thermostat
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/thermostat.honeywell/'>Honeywell thermostat</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/thermostat.nest/'>Nest thermostat</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/thermostat.radiotherm/'>Radiotherm thermostat</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid">
|
||||
<div class="grid__item">
|
||||
<p class="copyright">
|
||||
<span class="credit">Powered by <a href='http://jekyllrb.com/'>Jekyll</a> and the <a href='https://github.com/coogie/oscailte'>Oscalite theme</a>. Hosted by <a href='https://pages.github.com/'>GitHub</a> and served by <a href='https://cloudflare.com'>CloudFlare</a>.</span>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
|
||||
<![endif]-->
|
||||
|
||||
<script>
|
||||
var _gaq=[['_setAccount','UA-57927901-1'],['_trackPageview']];
|
||||
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
|
||||
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
|
||||
s.parentNode.insertBefore(g,s)}(document,'script'));
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -145,6 +145,9 @@
|
|||
<li>
|
||||
<a href='/components/thermostat.heat_control/'>Heat control</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/thermostat.homematic/'>Homematic thermostat</a>
|
||||
</li>
|
||||
<li>
|
||||
Honeywell thermostat
|
||||
</li>
|
||||
|
|
|
@ -148,6 +148,9 @@
|
|||
<li>
|
||||
<a href='/components/thermostat.heat_control/'>Heat control</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/thermostat.homematic/'>Homematic thermostat</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/thermostat.honeywell/'>Honeywell thermostat</a>
|
||||
</li>
|
||||
|
|
|
@ -155,6 +155,9 @@
|
|||
<li>
|
||||
<a href='/components/thermostat.heat_control/'>Heat control</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/thermostat.homematic/'>Homematic thermostat</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/thermostat.honeywell/'>Honeywell thermostat</a>
|
||||
</li>
|
||||
|
|
|
@ -124,6 +124,9 @@
|
|||
<li><a href='/components/thermostat.heat_control/'>
|
||||
Heat control
|
||||
</a></li>
|
||||
<li><a href='/components/thermostat.homematic/'>
|
||||
Homematic thermostat
|
||||
</a></li>
|
||||
<li><a href='/components/thermostat.honeywell/'>
|
||||
Honeywell thermostat
|
||||
</a></li>
|
||||
|
|
|
@ -110,10 +110,6 @@
|
|||
|
||||
<p>To get started with the Wink API, you will first need to get yourself an API access token. Because it is very difficult right now to get access to their API, John McLaughlin has created the form below to get you one.</p>
|
||||
|
||||
<p class="note warning">
|
||||
We’re having some issues handing out API access tokens to new users.
|
||||
</p>
|
||||
|
||||
<iframe src="https://winkbearertoken.appspot.com" style="width: 100%; height: 200px; border: 0; margin: 0 auto 15px; border-left: 2px solid #049cdb; padding-left: 15px;"></iframe>
|
||||
|
||||
<p>After you have gotten your access token, add the following to your <code>configuration.yaml</code>:</p>
|
||||
|
|
|
@ -105,14 +105,56 @@
|
|||
|
||||
<p>Home Assistant will be able to automatically discover and configure any Google Chromecasts, Netgear routers, Belkin WeMo switches, Philips Hue bridges and Sonos speakers in your network if you have <a href="/components/discovery/">the discovery component</a> enabled (which is by default).</p>
|
||||
|
||||
<p>See the <a href="/components/">components overview page</a> to find installation instructions for your devices and services. Many components use the <code>sensor</code> platform. Sensors need to be added into the <code>configuration.yaml</code> as <code>sensor:</code>, <code>sensor 2:</code>, <code>sensor 3:</code>, etc. There should not be gaps in the sequence or your sensors might not load correctly.</p>
|
||||
<p>See the <a href="/components/">components overview page</a> to find installation instructions for your devices and services. If you can’t find support for your favorite device or service, <a href="/developers/add_new_platform/">consider adding support</a>.</p>
|
||||
|
||||
<p class="note">
|
||||
Most components that support multiple entries within the <code>configuration.yaml</code> follow the <code>component:</code>, <code>component 2:</code> format.
|
||||
<p>Usually every entity needs its own entry in the <code>configuration.yaml</code> file. There are two kind of styles for multiple entries:</p>
|
||||
|
||||
<h4><a class="title-link" name="style-1" href="#style-1"></a> Style 1</h4>
|
||||
|
||||
<p>Collect every entity under the “parent”.</p>
|
||||
|
||||
<div class="highlighter-coderay"><div class="CodeRay">
|
||||
<div class="code"><pre><span class="key">sensor</span>:
|
||||
- <span class="string"><span class="content">platform: mqtt</span></span>
|
||||
<span class="key">state_topic</span>: <span class="string"><span class="delimiter">"</span><span class="content">home/bedroom/temperature</span><span class="delimiter">"</span></span>
|
||||
<span class="key">name</span>: <span class="string"><span class="delimiter">"</span><span class="content">MQTT Sensor 1</span><span class="delimiter">"</span></span>
|
||||
- <span class="string"><span class="content">platform: mqtt</span></span>
|
||||
<span class="key">state_topic</span>: <span class="string"><span class="delimiter">"</span><span class="content">home/kitchen/temperature</span><span class="delimiter">"</span></span>
|
||||
<span class="key">name</span>: <span class="string"><span class="delimiter">"</span><span class="content">MQTT Sensor 2</span><span class="delimiter">"</span></span>
|
||||
- <span class="string"><span class="content">platform: rest</span></span>
|
||||
<span class="key">resource</span>: <span class="string"><span class="content">http://IP_ADDRESS/ENDPOINT</span></span>
|
||||
|
||||
<span class="key">switch</span>:
|
||||
- <span class="string"><span class="content">platform: vera</span></span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h4><a class="title-link" name="style-2" href="#style-2"></a> Style 2</h4>
|
||||
|
||||
<p>If you prefer to place your entries somewhere in the <code>configuration.yaml</code> file then you just choose this style. You need to append numbers (see example below) or strings (like <code>media_player livingroom:</code> or <code>media_player kitchen:</code>) to differentiate the entries. The appended number or string must be unique.</p>
|
||||
|
||||
<div class="highlighter-coderay"><div class="CodeRay">
|
||||
<div class="code"><pre><span class="key">media_player 1</span>:
|
||||
<span class="key">platform</span>: <span class="string"><span class="content">mpd</span></span>
|
||||
<span class="key">server</span>: <span class="string"><span class="content">IP_ADDRESS</span></span>
|
||||
|
||||
<span class="key">media_player 2</span>:
|
||||
<span class="key">platform</span>: <span class="string"><span class="content">plex</span></span>
|
||||
|
||||
<span class="key">camera</span>:
|
||||
<span class="key">platform</span>: <span class="string"><span class="content">generic</span></span>
|
||||
|
||||
<span class="key">media_player 3</span>:
|
||||
<span class="key">platform</span>: <span class="string"><span class="content">sonos</span></span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p class="note note">
|
||||
If your devices are not showing up in the frontend then check the entries in your <code>configuration.yaml</code> file for duplicates.
|
||||
</p>
|
||||
|
||||
<p>If you can’t find support for your favorite device or service, <a href="/developers/add_new_platform/">consider adding support</a></p>
|
||||
|
||||
<h3><a class="title-link" name="grouping-devices" href="#grouping-devices"></a> Grouping devices</h3>
|
||||
|
||||
<p>Once you get a bunch of devices set up, it is time to organize them. This can be done using groups. Each group exists of a name and a list of entity IDs. Entity IDs can be retrieved from the web interface by using the Set State page in the Developer Tools (icon in the middle).</p>
|
||||
|
|
BIN
images/supported_brands/homematic.png
Normal file
BIN
images/supported_brands/homematic.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 182 KiB |
BIN
images/supported_brands/mystrom.png
Normal file
BIN
images/supported_brands/mystrom.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 30 KiB |
15
sitemap.xml
15
sitemap.xml
|
@ -237,6 +237,15 @@
|
|||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/blog/categories/survey/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/blog/posts/2/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/blog/posts/3/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/blog/posts/4/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/components/automation/</loc>
|
||||
|
@ -670,6 +679,12 @@
|
|||
<url>
|
||||
<loc>https://home-assistant.io/components/lock/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/components/thermostat.homematic/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/components/switch.mystrom/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/cookbook/automation_for_rainy_days/</loc>
|
||||
</url>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue