Site updated at 2015-09-01 08:42:54 UTC
This commit is contained in:
parent
2e727a5332
commit
5a20d28e54
77 changed files with 4485 additions and 1421 deletions
180
components/device_tracker.actiontec.html
Normal file
180
components/device_tracker.actiontec.html
Normal file
|
@ -0,0 +1,180 @@
|
|||
<!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>Actiontec support - Home Assistant</title>
|
||||
<meta name="author" content="Paulus Schoutsen">
|
||||
|
||||
<meta name="description" content="Instructions how to integrate Actiontec routers into Home Assistant.">
|
||||
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="canonical" href="https://home-assistant.io">
|
||||
|
||||
<meta property="fb:app_id" content="338291289691179">
|
||||
<meta property="og:title" content="Actiontec support">
|
||||
<meta property="og:site_name" content="Home Assistant">
|
||||
<meta property="og:url" content="https://home-assistant.io/components/device_tracker.actiontec.html/">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:description" content="Instructions how to integrate Actiontec routers 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.html'>Initial configuration</a></li>
|
||||
<li><a href='/components/'>Component overview</a></li>
|
||||
<li><a href='/getting-started/android.html'>Setting up Android</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/developers/">Developers</a>
|
||||
<ul>
|
||||
<li><a href="/developers/architecture.html">Architecture</a></li>
|
||||
<li><a href="/developers/frontend.html">Frontend development</a></li>
|
||||
<li><a href="/developers/creating_components.html">
|
||||
Creating components
|
||||
</a></li>
|
||||
<li><a href="/developers/add_new_platform.html">
|
||||
Adding platform support
|
||||
</a></li>
|
||||
<li><a href="/developers/api.html">API</a></li>
|
||||
<li><a href="/developers/credits.html">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">
|
||||
Actiontec Support
|
||||
</h1>
|
||||
</header>
|
||||
<hr class="divider">
|
||||
|
||||
|
||||
<p><img src='/images/supported_brands/actiontec.png' class='brand pull-right' />
|
||||
This platform allows you to detect presence by looking at connected devices to an <a href="http://www.actiontec.com/">Actiontec</a> device.</p>
|
||||
|
||||
<p>Supported devices:
|
||||
- MI424WR (Verizon FIOS)</p>
|
||||
|
||||
<p class='note warning'>
|
||||
This device tracker needs telnet to be enabled on the router.
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
|
||||
<figure class='code'><figcaption><span></span></figcaption><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
|
||||
<span class='line-number'>2</span>
|
||||
<span class='line-number'>3</span>
|
||||
<span class='line-number'>4</span>
|
||||
<span class='line-number'>5</span>
|
||||
<span class='line-number'>6</span>
|
||||
</pre></td><td class='code'><pre><code class='yaml'><span class='line'><span class="c1"># Example configuration.yaml entry</span>
|
||||
</span><span class='line'><span class="l-Scalar-Plain">device_tracker</span><span class="p-Indicator">:</span>
|
||||
</span><span class='line'> <span class="l-Scalar-Plain">platform</span><span class="p-Indicator">:</span> <span class="l-Scalar-Plain">actiontec</span>
|
||||
</span><span class='line'> <span class="l-Scalar-Plain">host</span><span class="p-Indicator">:</span> <span class="l-Scalar-Plain">YOUR_ROUTER_IP</span>
|
||||
</span><span class='line'> <span class="l-Scalar-Plain">username</span><span class="p-Indicator">:</span> <span class="l-Scalar-Plain">YOUR_ADMIN_USERNAME</span>
|
||||
</span><span class='line'> <span class="l-Scalar-Plain">password</span><span class="p-Indicator">:</span> <span class="l-Scalar-Plain">YOUR_ADMIN_PASSWORD</span>
|
||||
</span></code></pre></td></tr></table></div></figure>
|
||||
|
||||
|
||||
<p>See the <a href="/components/device_tracker.html">device tracker component page</a> for instructions how to configure the people to be tracked.</p>
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</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://octopress.org">Octopress</a>, <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>
|
176
components/device_tracker.aruba.html
Normal file
176
components/device_tracker.aruba.html
Normal file
|
@ -0,0 +1,176 @@
|
|||
<!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>Aruba support - Home Assistant</title>
|
||||
<meta name="author" content="Paulus Schoutsen">
|
||||
|
||||
<meta name="description" content="Instructions how to integrate Aruba routers into Home Assistant.">
|
||||
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="canonical" href="https://home-assistant.io">
|
||||
|
||||
<meta property="fb:app_id" content="338291289691179">
|
||||
<meta property="og:title" content="Aruba support">
|
||||
<meta property="og:site_name" content="Home Assistant">
|
||||
<meta property="og:url" content="https://home-assistant.io/components/device_tracker.aruba.html/">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:description" content="Instructions how to integrate Aruba routers 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.html'>Initial configuration</a></li>
|
||||
<li><a href='/components/'>Component overview</a></li>
|
||||
<li><a href='/getting-started/android.html'>Setting up Android</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/developers/">Developers</a>
|
||||
<ul>
|
||||
<li><a href="/developers/architecture.html">Architecture</a></li>
|
||||
<li><a href="/developers/frontend.html">Frontend development</a></li>
|
||||
<li><a href="/developers/creating_components.html">
|
||||
Creating components
|
||||
</a></li>
|
||||
<li><a href="/developers/add_new_platform.html">
|
||||
Adding platform support
|
||||
</a></li>
|
||||
<li><a href="/developers/api.html">API</a></li>
|
||||
<li><a href="/developers/credits.html">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">
|
||||
Aruba Support
|
||||
</h1>
|
||||
</header>
|
||||
<hr class="divider">
|
||||
|
||||
|
||||
<p>This platform allows you to detect presence by looking at connected devices to an <a href="http://www.arubanetworks.com/products/networking/aruba-instant/">Aruba Instant</a> device. This has been tested on an ARUBA AP-105.</p>
|
||||
|
||||
<p class='note warning'>
|
||||
This device tracker needs telnet to be enabled on the router.
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
|
||||
<figure class='code'><figcaption><span></span></figcaption><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
|
||||
<span class='line-number'>2</span>
|
||||
<span class='line-number'>3</span>
|
||||
<span class='line-number'>4</span>
|
||||
<span class='line-number'>5</span>
|
||||
<span class='line-number'>6</span>
|
||||
</pre></td><td class='code'><pre><code class='yaml'><span class='line'><span class="c1"># Example configuration.yaml entry</span>
|
||||
</span><span class='line'><span class="l-Scalar-Plain">device_tracker</span><span class="p-Indicator">:</span>
|
||||
</span><span class='line'> <span class="l-Scalar-Plain">platform</span><span class="p-Indicator">:</span> <span class="l-Scalar-Plain">aruba</span>
|
||||
</span><span class='line'> <span class="l-Scalar-Plain">host</span><span class="p-Indicator">:</span> <span class="l-Scalar-Plain">YOUR_ROUTER_IP</span>
|
||||
</span><span class='line'> <span class="l-Scalar-Plain">username</span><span class="p-Indicator">:</span> <span class="l-Scalar-Plain">YOUR_ADMIN_USERNAME</span>
|
||||
</span><span class='line'> <span class="l-Scalar-Plain">password</span><span class="p-Indicator">:</span> <span class="l-Scalar-Plain">YOUR_ADMIN_PASSWORD</span>
|
||||
</span></code></pre></td></tr></table></div></figure>
|
||||
|
||||
|
||||
<p>See the <a href="/components/device_tracker.html">device tracker component page</a> for instructions how to configure the people to be tracked.</p>
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</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://octopress.org">Octopress</a>, <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>
|
|
@ -107,6 +107,8 @@
|
|||
<p><img src='/images/supported_brands/network-workgroup.png' class='brand pull-right' />
|
||||
As an alternative to the router-based device tracking, it is possible to directly scan the network for devices by using Nmap. The IP addresses to scan can be specified in any format that Nmap understands, including the network-prefix notation (<code>192.168.1.1/24</code>) and the range notation (<code>192.168.1.1-255</code>).</p>
|
||||
|
||||
<p>If you’re on Debian or Ubuntu, you might have to install the packages for arp and nmap. Do so by running <code>apt-get install net-tools nmap</code>.</p>
|
||||
|
||||
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
|
||||
<span class='line-number'>2</span>
|
||||
<span class='line-number'>3</span>
|
||||
|
|
172
components/device_tracker.thomson.html
Normal file
172
components/device_tracker.thomson.html
Normal file
|
@ -0,0 +1,172 @@
|
|||
<!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>Thomson support - Home Assistant</title>
|
||||
<meta name="author" content="Paulus Schoutsen">
|
||||
|
||||
<meta name="description" content="Instructions how to integrate Thomson routers into Home Assistant.">
|
||||
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="canonical" href="https://home-assistant.io">
|
||||
|
||||
<meta property="fb:app_id" content="338291289691179">
|
||||
<meta property="og:title" content="Thomson support">
|
||||
<meta property="og:site_name" content="Home Assistant">
|
||||
<meta property="og:url" content="https://home-assistant.io/components/device_tracker.thomson.html/">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:description" content="Instructions how to integrate Thomson routers 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.html'>Initial configuration</a></li>
|
||||
<li><a href='/components/'>Component overview</a></li>
|
||||
<li><a href='/getting-started/android.html'>Setting up Android</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/developers/">Developers</a>
|
||||
<ul>
|
||||
<li><a href="/developers/architecture.html">Architecture</a></li>
|
||||
<li><a href="/developers/frontend.html">Frontend development</a></li>
|
||||
<li><a href="/developers/creating_components.html">
|
||||
Creating components
|
||||
</a></li>
|
||||
<li><a href="/developers/add_new_platform.html">
|
||||
Adding platform support
|
||||
</a></li>
|
||||
<li><a href="/developers/api.html">API</a></li>
|
||||
<li><a href="/developers/credits.html">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">
|
||||
Thomson Support
|
||||
</h1>
|
||||
</header>
|
||||
<hr class="divider">
|
||||
|
||||
|
||||
<p><img src='/images/supported_brands/technicolor.png' class='brand pull-right' />
|
||||
Thomson produced networking equipment (under the brand name SpeedTouch) till 2010 and was then renamed to Technicolor.</p>
|
||||
|
||||
<p>This platform allows you to detect presence by looking at connected devices to a <a href="http://www.technicolor.com">Thomson</a> device.</p>
|
||||
|
||||
<figure class='code'><figcaption><span></span></figcaption><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
|
||||
<span class='line-number'>2</span>
|
||||
<span class='line-number'>3</span>
|
||||
<span class='line-number'>4</span>
|
||||
<span class='line-number'>5</span>
|
||||
<span class='line-number'>6</span>
|
||||
</pre></td><td class='code'><pre><code class='yaml'><span class='line'><span class="c1"># Example configuration.yaml entry</span>
|
||||
</span><span class='line'><span class="l-Scalar-Plain">device_tracker</span><span class="p-Indicator">:</span>
|
||||
</span><span class='line'> <span class="l-Scalar-Plain">platform</span><span class="p-Indicator">:</span> <span class="l-Scalar-Plain">thomson</span>
|
||||
</span><span class='line'> <span class="l-Scalar-Plain">host</span><span class="p-Indicator">:</span> <span class="l-Scalar-Plain">YOUR_ROUTER_IP</span>
|
||||
</span><span class='line'> <span class="l-Scalar-Plain">username</span><span class="p-Indicator">:</span> <span class="l-Scalar-Plain">YOUR_ADMIN_USERNAME</span>
|
||||
</span><span class='line'> <span class="l-Scalar-Plain">password</span><span class="p-Indicator">:</span> <span class="l-Scalar-Plain">YOUR_ADMIN_PASSWORD</span>
|
||||
</span></code></pre></td></tr></table></div></figure>
|
||||
|
||||
|
||||
<p>See the <a href="/components/device_tracker.html">device tracker component page</a> for instructions how to configure the people to be tracked.</p>
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</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://octopress.org">Octopress</a>, <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>
|
|
@ -111,6 +111,7 @@ Home Assistant can discover and automatically configure zeroconf/mDNS and uPnP d
|
|||
<li>Google Chromecast</li>
|
||||
<li>Belkin WeMo switches</li>
|
||||
<li>Philips Hue</li>
|
||||
<li>Netgear routers</li>
|
||||
</ul>
|
||||
|
||||
|
||||
|
|
|
@ -104,209 +104,280 @@
|
|||
<hr class="divider">
|
||||
|
||||
|
||||
<p>Components add support for devices, automation and much much more to Home Assistant. The following things are supported out-of-the-box.</p>
|
||||
<p>Components add support for devices, automation, and much much more to Home Assistant. The following things are supported out-of-the-box.</p>
|
||||
|
||||
<h2><a class='title-link' name='entities' href='#entities'></a> Entities</h2>
|
||||
|
||||
<p>Entities are things that you want to observe within Home Assistant. Support for these things are provided by the entity components <a href="/components/light.html">Light</a>, <a href="/components/switch.html">Switch</a>, <a href="/components/thermostat.html">Thermostat</a>, <a href="/components/media_player.html">Media player</a>, <a href="/components/device_tracker.html">Device tracker</a>, <a href="/components/sun.html">Sun</a>.</p>
|
||||
<p>Entities are things that you want to observe within Home Assistant. Support for these things are provided by the entity components <a href="/components/light.html">Light</a>, <a href="/components/switch.html">Switch</a>, <a href="/components/thermostat.html">Thermostat</a>, <a href="/components/media_player.html">Media player</a>, <a href="/components/device_tracker.html">Device tracker</a>, and <a href="/components/sun.html">Sun</a>.</p>
|
||||
|
||||
<!-- 1. column LIGHT AND ENVIRONMENT -->
|
||||
|
||||
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid">
|
||||
<div class="grid__item one-half lap-one-whole palm-one-whole usp">
|
||||
<div class="grid">
|
||||
|
||||
<div class="grid__item one-whole lap-two-half">
|
||||
<h2 class="title">Light and environment</h2>
|
||||
<p></p>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<th colspan='2'>Type</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/light.hue.html'><img src='/images/supported_brands/philips_hue.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/light.hue.html'>Philips Hue</a></td>
|
||||
<td>Turn lights on, control brightness and color.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/sensor.sabnzbd.html'><img src='/images/supported_brands/sabnzbd.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/sensor.sabnzbd.html'>SABnzbd clients</a></td>
|
||||
<td>Monitor queue and download speeds.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/sensor.systemmonitor.html'><img src='/images/supported_brands/utilities-system-monitor.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/sensor.systemmonitor.html'>System Monitor</a></td>
|
||||
<td>Track CPU, memory and disk usage on the host machine.</td>
|
||||
<td><a href='/components/light.hue.html'>Philips Hue</a> turns lights on, controls brightness, and color.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/thermostat.nest.html'><img src='/images/supported_brands/nest_thermostat.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/thermostat.nest.html'>Nest thermostats</a></td>
|
||||
<td>See current temperature and control target temperature and away mode.</td>
|
||||
<td><a href='/components/thermostat.nest.html'>Nest thermostats</a> displays current temperature and control target temperature/away mode.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><a href='/components/thermostat.heat_control.html'>Heat Control</a></td>
|
||||
<td>Turn home Assistant into your own thermostat by reading a temperature sensor and controlling a switch connected to a heater.</td>
|
||||
<td><a href='/components/thermostat.heat_control.html'>Heat Control</a> reads a temperature sensor and control a heater switch.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/switch.wemo.html'><img src='/images/supported_brands/belkin_wemo.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/switch.wemo.html'>WeMo switches</a></td>
|
||||
<td>Control WeMo switches and read the usage statistics from Insight switches.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/sensor.mysensors.html'><img src='/images/supported_brands/mysensors.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/sensor.mysensors.html'>MySensors</a></td>
|
||||
<td>Integrate MySensors sensors.</td>
|
||||
<td><a href='/components/switch.wemo.html'>WeMo switches</a> controls and reads the usage statistics from Insight switches.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><a href='/components/sensor.temper.html'>TEMPer sensors</a></td>
|
||||
<td>Integrate TEMPer sensors to get the current temperature.</td>
|
||||
<td><a href='/components/sensor.temper.html'>TEMPer sensors</a> reads the current temperature.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/light.limitlessled.html'><img src='/images/supported_brands/dialog-information.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/light.limitlessled.html'>LimitlessLED</a> controls your LimitlessLED lights.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/switch.edimax.html'><img src='/images/supported_brands/edimax.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/switch.edimax.html'>Edimax switches</a> controls the state.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/sensor.efergy.html'><img src='/images/supported_brands/efergy.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/sensor.efergy.html'>Efergy Engage hubs</a> monitors home energy use.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><a href='/components/sensor.dht.html'>DHTxx</a> reads the temperature and humidity.</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 2. column DEVICES AND PROTOCOLS -->
|
||||
<div class="grid__item one-half lap-one-whole palm-one-whole usp">
|
||||
<div class="grid">
|
||||
|
||||
<div class="grid__item one-whole lap-two-hald">
|
||||
<h2 class="title">Devices and protocols</h2>
|
||||
<p></p>
|
||||
<table>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/sensor.mysensors.html'><img src='/images/supported_brands/mysensors.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/sensor.mysensors.html'>MySensors</a> integrates MySensors sensors.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/switch.rpi_gpio.html'><img src='/images/supported_brands/raspberry-pi.png' class='brand overview' /></a></td>
|
||||
<td>Raspberry PI <a href='/components/switch.rpi_gpio.html'>switch</a> controls and <a href='/components/sensor.rpi_gpio.html'>sensor</a> reads the values of GPIOs.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/isy994.html'><img src='/images/supported_brands/insteon.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/isy994.html'>Insteon</a> controls devices connected with the ISY994 controller.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/isy994.html'><img src='/images/supported_brands/x10.gif' class='brand overview' /></a></td>
|
||||
<td><a href='/components/isy994.html'>X10</a> controls devices connected with the ISY994 controller.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/arduino.html'><img src='/images/supported_brands/arduino.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/arduino.html'>Arduino</a> controls digital pins and read from analog pins.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><a href='/components/sensor.rfxtrx.html'>RFXtrx</a> sensors monitors values from RFXtrx sensors.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/mqtt.html'><img src='/images/supported_brands/mqtt.png' class='brand overview'/></a></td>
|
||||
<td><a href='/components/mqtt.html'>MQTT</a> allows sending and recieving MQTT messages.</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- 1. column PRESENCE DETECTION -->
|
||||
|
||||
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid">
|
||||
<div class="grid__item one-third lap-one-whole palm-one-whole usp">
|
||||
<div class="grid">
|
||||
|
||||
<div class="grid__item one-whole lap-two-thirds">
|
||||
<h2 class="title">Presence detection</h2>
|
||||
<p>Offers presence detection by looking at connected devices or by scanning the network.</p>
|
||||
<table>
|
||||
<tr>
|
||||
<td><a href='/components/device_tracker.actiontec.html'><img src='/images/supported_brands/actiontec.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/device_tracker.actiontec.html'>Actiontec routers</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><a href='/components/device_tracker.aruba.html'>Aruba routers</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/device_tracker.asuswrt.html'><img src='/images/supported_brands/asus.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/device_tracker.asuswrt.html'>ASUSWRT routers</a></td>
|
||||
<td>Offers presence detection by looking at connected devices.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/device_tracker.ddwrt.html'><img src='/images/supported_brands/ddwrt.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/device_tracker.ddwrt.html'>DD-WRT routers</a></td>
|
||||
<td>Offers presence detection by looking at connected devices.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/device_tracker.luci.html'><img src='/images/supported_brands/openwrt.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/device_tracker.luci.html'>OpenWRT routers</a></td>
|
||||
<td>Offers presence detection by looking at connected devices.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/device_tracker.netgear.html'><img src='/images/supported_brands/netgear.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/device_tracker.netgear.html'>Netgear routers</a></td>
|
||||
<td>Offers presence detection by looking at connected devices.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/device_tracker.tomato.html'><img src='/images/supported_brands/network-wired-disconnected.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/device_tracker.tomato.html'>Tomato routers</a></td>
|
||||
<td>Offers presence detection by looking at connected devices.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/device_tracker.tplink.html'><img src='/images/supported_brands/tp-link.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/device_tracker.tplink.html'>TP-Link routers</a></td>
|
||||
<td>Offers presence detection by looking at connected devices.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/device_tracker.thomson.html'><img src='/images/supported_brands/technicolor.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/device_tracker.thomson.html'>Thomson routers</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/device_tracker.nmap_scanner.html'><img src='/images/supported_brands/network-workgroup.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/device_tracker.nmap_scanner.html'>NMap network scanning</a></td>
|
||||
<td>Offers presence detection by scanning the network for connected devices.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/sensor.transmission.html'><img src='/images/supported_brands/transmission.png' class='brand overview' /></a></td>
|
||||
<td>
|
||||
<a href='/components/sensor.transmission.html'>Transmission sensor</a></br>
|
||||
<a href='/components/switch.transmission.html'>Transmission switch</a>
|
||||
</td>
|
||||
<td>Monitor status and download speeds. Change the speed limits.</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 2. column MEDIA PLAYERS -->
|
||||
<div class="grid__item one-third lap-one-whole palm-one-whole usp">
|
||||
<div class="grid">
|
||||
|
||||
<div class="grid__item one-whole lap-two-thirds">
|
||||
<h2 class="title">Media player</h2>
|
||||
<p>Controls your media player (Playback and Volume) and get details about the played track.</p>
|
||||
|
||||
<table>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/media_player.cast.html'><img src='/images/supported_brands/google_cast.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/media_player.cast.html'>Google Cast devices</a></td>
|
||||
<td>Track what is being played and control playback (temporarely disabled awaiting protobuf 3 release).</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/media_player.kodi.html'><img src='/images/supported_brands/kodi.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/media_player.kodi.html'>Kodi</a></td>
|
||||
<td>Track what is being played and control playback.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/media_player.mpd.html'><img src='/images/supported_brands/mpd.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/media_player.mpd.html'>Music Player Daemon (MPD)</a></td>
|
||||
<td>Track what is being played and control playback.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/media_player.squeezebox.html'><img src='/images/supported_brands/logitech.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/media_player.squeezebox.html'>Squeezebox</a></td>
|
||||
<td>Track what is being played and control playback.</td>
|
||||
<td><a href='/components/media_player.squeezebox.html'>Logitech Squeezebox</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/switch.command_switch.html'><img src='/images/supported_brands/utilities-terminal.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/switch.command_switch.html'>Command line Switch</a></td>
|
||||
<td>Switch that issues command line commands when turned on and off.</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/light.limitlessled.html'><img src='/images/supported_brands/dialog-information.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/light.limitlessled.html'>LimitlessLED</a></td>
|
||||
<td>Control your LimitlessLED lights.</td>
|
||||
</tr>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 3. column CAMERAS AND VARIOUS -->
|
||||
<div class="grid__item one-third lap-one-whole palm-one-whole usp">
|
||||
<div class="grid">
|
||||
<div class="grid__item one-whole lap-two-thirds">
|
||||
<h2 class="title">Cameras and various other entities</h2>
|
||||
<p>Camera allows you to see what going in real-time. Other entities report the current state and/or let you control it.</p>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td><a href='/components/switch.hikvision.html'><img src='/images/supported_brands/hikvision.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/switch.hikvision.html'>Hikvision</a></td>
|
||||
<td>Control the motion detection setting on your Hikvision camera.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/switch.edimax.html'><img src='/images/supported_brands/edimax.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/switch.edimax.html'>Edimax switches</a></td>
|
||||
<td>Control the state of your Edimax switches.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/switch.rpi_gpio.html'><img src='/images/supported_brands/raspberry-pi.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/switch.rpi_gpio.html'>Raspberry PI GPIO</a></td>
|
||||
<td>Control the GPIO of a Raspberry Pi.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/isy994.html'><img src='/images/supported_brands/insteon.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/isy994.html'>Insteon Devices</a></td>
|
||||
<td>Insteon devices can be controlled with the ISY994 controller.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/isy994.html'><img src='/images/supported_brands/x10.gif' class='brand overview' /></a></td>
|
||||
<td><a href='/components/isy994.html'>X10 Devices</a></td>
|
||||
<td>X10 devices can be controlled with the ISY994 controller.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/arduino.html'><img src='/images/supported_brands/arduino.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/arduino.html'>Arduino boards</a></td>
|
||||
<td>Controls your Arduino’s digital pins and read from the analog pins.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/sensor.efergy.html'><img src='/images/supported_brands/efergy.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/sensor.efergy.html'>Efergy Engage hubs</a></td>
|
||||
<td>Monitors home energy use as measured by an Efergy engage hub.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><a href='/components/sensor.rfxtrx.html'>RFXtrx sensors</a></td>
|
||||
<td>Monitors values from RFXtrx sensors.</td>
|
||||
<td><a href='/components/switch.hikvision.html'>Hikvision</a> controls the motion detection setting.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/camera.generic.html'><img src='/images/supported_brands/camera-web.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/camera.generic.html'>Generic IP cameras</a></td>
|
||||
<td>Integrate any IP camera or image url into a camera feed.</td>
|
||||
<td><a href='/components/camera.generic.html'>IP camera</a> integrates a generic IP camera or image url.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/sensor.sabnzbd.html'><img src='/images/supported_brands/sabnzbd.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/sensor.sabnzbd.html'>SABnzbd clients</a> monitors queue and download speeds.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/sensor.systemmonitor.html'><img src='/images/supported_brands/utilities-system-monitor.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/sensor.systemmonitor.html'>System Monitor</a> tracks CPU, memory, and disk usage on the host machine.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/sensor.transmission.html'><img src='/images/supported_brands/transmission.png' class='brand overview' /></a></td>
|
||||
<td>
|
||||
<a href='/components/sensor.transmission.html'>Transmission</a> monitors status/speeds and <a href='/components/switch.transmission.html'>changes</a> the speed limits.
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/switch.command_switch.html'><img src='/images/supported_brands/utilities-terminal.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/switch.command_switch.html'>Command line</a> issues command line commands.</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -346,11 +417,9 @@ the manufacturers of these devices.
|
|||
<a href="/components/tellstick.html"><img src='/images/supported_brands/telldus_tellstick.png' class='brand' alt="Tellstick" /></a>
|
||||
<a href="/components/vera.html"><img src='/images/supported_brands/vera.png' class='brand' alt="Vera" /></a>
|
||||
<a href="/components/wink.html"><img src='/images/supported_brands/wink.png' class='brand' alt="Wink" /></a>
|
||||
<a href="/components/isy994.html"><img src='/images/supported_brands/universal_devices.png' class='brand' alt="ISY994" /></a></p>
|
||||
|
||||
<p><a href="/components/modbus.html"><img src='/images/supported_brands/modbus.png' class='brand' alt="Modbus" /></a>
|
||||
<a href="/components/arduino.html"><img src='/images/supported_brands/arduino.png' class='brand' alt="Arduino" /></a>
|
||||
<a href="/components/verisure.html"><img src='/images/supported_brands/verisure.png' class='brand' alt="Verisure" /></a></p>
|
||||
<a href="/components/isy994.html"><img src='/images/supported_brands/universal_devices.png' class='brand' alt="ISY994" /></a>
|
||||
<a href="/components/modbus.html"><img src='/images/supported_brands/modbus.png' class='brand' alt="Modbus" /></a>
|
||||
<a href="/components/arduino.html"><img src='/images/supported_brands/arduino.png' class='brand' alt="Arduino" /></a></p>
|
||||
|
||||
<p class='note'>
|
||||
Support for these devices is provided by the Home Assistant community and not
|
||||
|
@ -360,140 +429,161 @@ the manufacturers of these devices.
|
|||
|
||||
<h2><a class='title-link' name='services' href='#services'></a> Services</h2>
|
||||
|
||||
<!-- 1. column INTERNALS -->
|
||||
|
||||
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid">
|
||||
<div class="grid__item one-third lap-one-whole palm-one-whole usp">
|
||||
<div class="grid">
|
||||
|
||||
<div class="grid__item one-whole lap-two-thirds">
|
||||
<h2 class="title">Internals</h2>
|
||||
<p>Those services offers you a wide range of possibilities out-of-box.</p>
|
||||
<table>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/history.html'><img src='/images/supported_brands/x-office-presentation.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/history.html'>History</a></td>
|
||||
<td>Track the state of entities and allow users to browse through history.</td>
|
||||
<td><a href='/components/history.html'>History</a> track the state of entities and allow users to browse through.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/conversation.html'><img src='/images/supported_brands/system-users.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/conversation.html'>Conversation</a></td>
|
||||
<td>Process textual commands like ones received by speech-to-text engines.</td>
|
||||
<td><a href='/components/conversation.html'>Conversation</a> process textual commands like ones received by speech-to-text engines.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/discovery.html'><img src='/images/supported_brands/system-search.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/discovery.html'>Discovery</a></td>
|
||||
<td>Scans the network for supported devices.</td>
|
||||
<td><a href='/components/discovery.html'>Discovery</a> scans the network for supported devices.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/logbook.html'><img src='/images/supported_brands/accessories-text-editor.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/logbook.html'>Logbook</a></td>
|
||||
<td>Provides a logbook-style view on the Entity history.</td>
|
||||
<td><a href='/components/logbook.html'>Logbook</a> provides a logbook-style view on the Entity history.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/browser.html'><img src='/images/supported_brands/web-browser.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/browser.html'>Browser</a> opens URLs on the host machine.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/downloader.html'><img src='/images/supported_brands/emblem-downloads.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/downloader.html'>Downloader</a> allows downloading URLs to the host machine.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/keyboard.html'><img src='/images/supported_brands/input-keyboard.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/keyboard.html'>Keyboard</a> simulate key presses on the host machine.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/sensor.time_date.html'><img src='/images/supported_brands/clock.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/sensor.time_date.html'>Time & Date</a> displays the time and the date.</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 2. column NOITIFICATIONS -->
|
||||
<div class="grid__item one-third lap-one-whole palm-one-whole usp">
|
||||
<div class="grid">
|
||||
|
||||
<div class="grid__item one-whole lap-two-thirds">
|
||||
<h2 class="title">Notifications</h2>
|
||||
<p>Allows you to send customized messages to the given service.</p>
|
||||
|
||||
<table>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/notify.file.html'><img src='/images/supported_brands/text-x-generic.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/notify.file.html'>File</a></td>
|
||||
<td>Allow sending messages to a file.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/notify.nma.html'><img src='/images/supported_brands/nma.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/notify.nma.html'>Notify My Android (NMA)</a></td>
|
||||
<td>Allow sending messages using Notify My Android (NMA).</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/notify.instapush.html'><img src='/images/supported_brands/instapush.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/notify.instapush.html'>Instapush</a></td>
|
||||
<td>Allow sending messages using Instapush.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/notify.pushbullet.html'><img src='/images/supported_brands/pushbullet.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/notify.pushbullet.html'>PushBullet</a></td>
|
||||
<td>Allow sending messages using PushBullet.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/notify.pushover.html'><img src='/images/supported_brands/pushover.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/notify.pushover.html'>PushOver</a></td>
|
||||
<td>Allow sending messages using PushOver.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/notify.slack.html'><img src='/images/supported_brands/slack.png' class='brand' /></a></td>
|
||||
<td><a href='/components/notify.slack.html'>Slack</a></td>
|
||||
<td>Allow sending messages over Slack.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/notify.smtp.html'><img src='/images/supported_brands/smtp.png' class='brand' /></a></td>
|
||||
<td><a href='/components/notify.smtp.html'>E-Mail</a></td>
|
||||
<td>Allow sending e-mail messages.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/notify.syslog.html'><img src='/images/supported_brands/applications-system.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/notify.syslog.html'>Syslog</a></td>
|
||||
<td>Allow sending messages to a local syslog.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/notify.xmpp.html'><img src='/images/supported_brands/xmpp.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/notify.xmpp.html'>Jabber (XMPP)</a></td>
|
||||
<td>Allow sending messages using Jabber (XMPP).</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/browser.html'><img src='/images/supported_brands/web-browser.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/browser.html'>Browser</a></td>
|
||||
<td>Open URLs on the host machine.</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/downloader.html'><img src='/images/supported_brands/emblem-downloads.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/downloader.html'>Downloader</a></td>
|
||||
<td>Allows downloading URLs to the host machine.</td>
|
||||
</tr>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 3. column WEB SERVICES -->
|
||||
<div class="grid__item one-third lap-one-whole palm-one-whole usp">
|
||||
<div class="grid">
|
||||
<div class="grid__item one-whole lap-two-thirds">
|
||||
<h2 class="title">Web services</h2>
|
||||
<p>The web services displays data grabbed from an external source.</p>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/keyboard.html'><img src='/images/supported_brands/input-keyboard.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/keyboard.html'>Keyboard</a></td>
|
||||
<td>Simulate key presses on the host machine.</td>
|
||||
</tr>
|
||||
<table>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/sensor.openweathermap.html'><img src='/images/supported_brands/openweathermap.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/sensor.openweathermap.html'>OpenWeatherMap</a></td>
|
||||
<td>Display current meteorological data from your location.</td>
|
||||
<td><a href='/components/sensor.openweathermap.html'>OpenWeatherMap</a> displays current meteorological data or weather forecast.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/sensor.forecast.html'><img src='/images/supported_brands/weather-few-clouds.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/sensor.forecast.html'>Forecast.io</a></td>
|
||||
<td>Display current meteorological data from your location.</td>
|
||||
<td><a href='/components/sensor.forecast.html'>Forecast.io</a> displays current meteorological data.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/sensor.bitcoin.html'><img src='/images/supported_brands/bitcoin.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/sensor.bitcoin.html'>Bitcoin</a></td>
|
||||
<td>Display details about the Bitcoin Network and your Blockchain.info online wallet.</td>
|
||||
<td><a href='/components/sensor.bitcoin.html'>Bitcoin</a> displays details about the Bitcoin Network.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/sensor.swiss_public_transport.html'><img src='/images/supported_brands/appointment-new.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/sensor.swiss_public_transport.html'>Swiss Public Transport</a></td>
|
||||
<td>Display timetable data for traveling in Switzerland.</td>
|
||||
<td><a href='/components/sensor.swiss_public_transport.html'>Swiss Public Transport</a> displays Swiss timetable data for traveling.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/sensor.time_date.html'><img src='/images/supported_brands/clock.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/sensor.time_date.html'>Time & Date</a></td>
|
||||
<td>Displays the time and the date.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/mqtt.html'><img src='/images/supported_brands/mqtt.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/mqtt.html'>MQTT</a></td>
|
||||
<td>Allow sending and recieving MQTT messages.</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -141,7 +141,13 @@ The MQTT component has no TLS support at the moment. This means that only plain-
|
|||
|
||||
<h2>Building on top of MQTT</h2>
|
||||
|
||||
<p>There are two ways to integrate MQTT into your process. One is by using the <a href="/components/automation.html#mqtt-based-automation">MQTT-automation rule</a>. The other one is by integrating it into a component. See the <a href="https://github.com/balloob/home-assistant/blob/dev/config/custom_components/mqtt_example.py">MQTT example component</a> how to do this.</p>
|
||||
<ul>
|
||||
<li><a href="/components/sensor.mqtt.html">MQTT Sensor</a></li>
|
||||
<li><a href="/components/switch.mqtt.html">MQTT Switch</a></li>
|
||||
<li><a href="/components/automation.html#mqtt-based-automation">MQTT-automation rule</a>.</li>
|
||||
<li>Integrating it into a component. See the <a href="https://github.com/balloob/home-assistant/blob/dev/config/custom_components/mqtt_example.py">MQTT example component</a> how to do this.</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h2>Testing</h2>
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<title>Bitcoin support - Home Assistant</title>
|
||||
<meta name="author" content="Paulus Schoutsen">
|
||||
|
||||
<meta name="description" content="Instructions how to integrate the time and the date within Home Assistant.">
|
||||
<meta name="description" content="Instructions how to integrate Bitcoin data within Home Assistant.">
|
||||
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="canonical" href="https://home-assistant.io">
|
||||
|
@ -22,7 +22,7 @@
|
|||
<meta property="og:site_name" content="Home Assistant">
|
||||
<meta property="og:url" content="https://home-assistant.io/components/sensor.bitcoin.html/">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:description" content="Instructions how to integrate the time and the date within Home Assistant.">
|
||||
<meta property="og:description" content="Instructions how to integrate Bitcoin data 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">
|
||||
|
|
182
components/sensor.dht.html
Normal file
182
components/sensor.dht.html
Normal file
|
@ -0,0 +1,182 @@
|
|||
<!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>DHT support - Home Assistant</title>
|
||||
<meta name="author" content="Paulus Schoutsen">
|
||||
|
||||
<meta name="description" content="Instructions how to integrate DHTxx sensors within Home Assistant.">
|
||||
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="canonical" href="https://home-assistant.io">
|
||||
|
||||
<meta property="fb:app_id" content="338291289691179">
|
||||
<meta property="og:title" content="DHT support">
|
||||
<meta property="og:site_name" content="Home Assistant">
|
||||
<meta property="og:url" content="https://home-assistant.io/components/sensor.dht.html/">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:description" content="Instructions how to integrate DHTxx sensors 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.html'>Initial configuration</a></li>
|
||||
<li><a href='/components/'>Component overview</a></li>
|
||||
<li><a href='/getting-started/android.html'>Setting up Android</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/developers/">Developers</a>
|
||||
<ul>
|
||||
<li><a href="/developers/architecture.html">Architecture</a></li>
|
||||
<li><a href="/developers/frontend.html">Frontend development</a></li>
|
||||
<li><a href="/developers/creating_components.html">
|
||||
Creating components
|
||||
</a></li>
|
||||
<li><a href="/developers/add_new_platform.html">
|
||||
Adding platform support
|
||||
</a></li>
|
||||
<li><a href="/developers/api.html">API</a></li>
|
||||
<li><a href="/developers/credits.html">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">
|
||||
DHT Support
|
||||
</h1>
|
||||
</header>
|
||||
<hr class="divider">
|
||||
|
||||
|
||||
<p>The dht sensor platform allows you to get the current temperature and humidity from a DHT11, DHT22, or AM2302 device.</p>
|
||||
|
||||
<p>To use your DHTxx sensor in your installation, add the following to your <code>configuration.yaml</code> file:</p>
|
||||
|
||||
<figure class='code'><figcaption><span></span></figcaption><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
|
||||
<span class='line-number'>2</span>
|
||||
<span class='line-number'>3</span>
|
||||
<span class='line-number'>4</span>
|
||||
<span class='line-number'>5</span>
|
||||
<span class='line-number'>6</span>
|
||||
<span class='line-number'>7</span>
|
||||
<span class='line-number'>8</span>
|
||||
</pre></td><td class='code'><pre><code class='yaml'><span class='line'><span class="c1"># Example configuration.yaml entry</span>
|
||||
</span><span class='line'><span class="l-Scalar-Plain">sensor</span><span class="p-Indicator">:</span>
|
||||
</span><span class='line'> <span class="l-Scalar-Plain">platform</span><span class="p-Indicator">:</span> <span class="l-Scalar-Plain">dht</span>
|
||||
</span><span class='line'> <span class="l-Scalar-Plain">sensor</span><span class="p-Indicator">:</span> <span class="l-Scalar-Plain">DHT22</span>
|
||||
</span><span class='line'> <span class="l-Scalar-Plain">pin</span><span class="p-Indicator">:</span> <span class="l-Scalar-Plain">23</span>
|
||||
</span><span class='line'> <span class="l-Scalar-Plain">monitored_conditions</span><span class="p-Indicator">:</span>
|
||||
</span><span class='line'> <span class="p-Indicator">-</span> <span class="l-Scalar-Plain">temperature</span>
|
||||
</span><span class='line'> <span class="p-Indicator">-</span> <span class="l-Scalar-Plain">humidity</span>
|
||||
</span></code></pre></td></tr></table></div></figure>
|
||||
|
||||
|
||||
<p>The name of the pin to which the sensor is connected has different names on different platforms. ‘P8_11’ for Beaglebone, ‘23’ for Raspberry Pi.</p>
|
||||
|
||||
<p class='note warning'>
|
||||
As this requires access to the GPIO, you will need to run Home Assistant as root.
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</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://octopress.org">Octopress</a>, <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>
|
177
components/sensor.mqtt.html
Normal file
177
components/sensor.mqtt.html
Normal file
|
@ -0,0 +1,177 @@
|
|||
<!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>MQTT Sensor support - Home Assistant</title>
|
||||
<meta name="author" content="Paulus Schoutsen">
|
||||
|
||||
<meta name="description" content="Instructions how to integrate MQTT sensors within Home Assistant.">
|
||||
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="canonical" href="https://home-assistant.io">
|
||||
|
||||
<meta property="fb:app_id" content="338291289691179">
|
||||
<meta property="og:title" content="MQTT Sensor support">
|
||||
<meta property="og:site_name" content="Home Assistant">
|
||||
<meta property="og:url" content="https://home-assistant.io/components/sensor.mqtt.html/">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:description" content="Instructions how to integrate MQTT sensors 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.html'>Initial configuration</a></li>
|
||||
<li><a href='/components/'>Component overview</a></li>
|
||||
<li><a href='/getting-started/android.html'>Setting up Android</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/developers/">Developers</a>
|
||||
<ul>
|
||||
<li><a href="/developers/architecture.html">Architecture</a></li>
|
||||
<li><a href="/developers/frontend.html">Frontend development</a></li>
|
||||
<li><a href="/developers/creating_components.html">
|
||||
Creating components
|
||||
</a></li>
|
||||
<li><a href="/developers/add_new_platform.html">
|
||||
Adding platform support
|
||||
</a></li>
|
||||
<li><a href="/developers/api.html">API</a></li>
|
||||
<li><a href="/developers/credits.html">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">
|
||||
MQTT Sensor Support
|
||||
</h1>
|
||||
</header>
|
||||
<hr class="divider">
|
||||
|
||||
|
||||
<p><img src='/images/supported_brands/mqtt.png' class='brand pull-right' />
|
||||
This generic sensor implementation uses the MQTT message payload
|
||||
as the sensor value. If messages in this state_topic are published
|
||||
with RETAIN flag, the sensor will receive an instant update with
|
||||
last known value. Otherwise, the initial state will be undefined.</p>
|
||||
|
||||
<figure class='code'><figcaption><span></span></figcaption><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
|
||||
<span class='line-number'>2</span>
|
||||
<span class='line-number'>3</span>
|
||||
<span class='line-number'>4</span>
|
||||
<span class='line-number'>5</span>
|
||||
<span class='line-number'>6</span>
|
||||
</pre></td><td class='code'><pre><code class='yaml'><span class='line'><span class="c1"># Example configuration.yml entry</span>
|
||||
</span><span class='line'><span class="l-Scalar-Plain">sensor</span><span class="p-Indicator">:</span>
|
||||
</span><span class='line'> <span class="l-Scalar-Plain">platform</span><span class="p-Indicator">:</span> <span class="l-Scalar-Plain">mqtt</span>
|
||||
</span><span class='line'> <span class="l-Scalar-Plain">name</span><span class="p-Indicator">:</span> <span class="s">"MQTT</span><span class="nv"> </span><span class="s">Sensor"</span>
|
||||
</span><span class='line'> <span class="l-Scalar-Plain">state_topic</span><span class="p-Indicator">:</span> <span class="s">"home/bedroom/temperature"</span>
|
||||
</span><span class='line'> <span class="l-Scalar-Plain">unit_of_measurement</span><span class="p-Indicator">:</span> <span class="s">"ºC"</span>
|
||||
</span></code></pre></td></tr></table></div></figure>
|
||||
|
||||
|
||||
<p>state_topic: The MQTT topic subscribed to receive sensor values. <em>Required</em></p>
|
||||
|
||||
<p>name: The name of the sensor. Default is ‘MQTT Sensor’. <em>Optional</em></p>
|
||||
|
||||
<p>unit_of_measurement: Defines the units of measurement of the sensor, if any. <em>Optional</em></p>
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</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://octopress.org">Octopress</a>, <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>
|
184
components/sensor.rpi_gpio.html
Normal file
184
components/sensor.rpi_gpio.html
Normal file
|
@ -0,0 +1,184 @@
|
|||
<!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>Raspberry PI GPIO sensor support - Home Assistant</title>
|
||||
<meta name="author" content="Paulus Schoutsen">
|
||||
|
||||
<meta name="description" content="Instructions how to integrate the GPIO sensor capability of a Raspberry PI into Home Assistant.">
|
||||
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="canonical" href="https://home-assistant.io">
|
||||
|
||||
<meta property="fb:app_id" content="338291289691179">
|
||||
<meta property="og:title" content="Raspberry PI GPIO sensor support">
|
||||
<meta property="og:site_name" content="Home Assistant">
|
||||
<meta property="og:url" content="https://home-assistant.io/components/sensor.rpi_gpio.html/">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:description" content="Instructions how to integrate the GPIO sensor capability of a Raspberry PI 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.html'>Initial configuration</a></li>
|
||||
<li><a href='/components/'>Component overview</a></li>
|
||||
<li><a href='/getting-started/android.html'>Setting up Android</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/developers/">Developers</a>
|
||||
<ul>
|
||||
<li><a href="/developers/architecture.html">Architecture</a></li>
|
||||
<li><a href="/developers/frontend.html">Frontend development</a></li>
|
||||
<li><a href="/developers/creating_components.html">
|
||||
Creating components
|
||||
</a></li>
|
||||
<li><a href="/developers/add_new_platform.html">
|
||||
Adding platform support
|
||||
</a></li>
|
||||
<li><a href="/developers/api.html">API</a></li>
|
||||
<li><a href="/developers/credits.html">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">
|
||||
Raspberry PI GPIO Sensor Support
|
||||
</h1>
|
||||
</header>
|
||||
<hr class="divider">
|
||||
|
||||
|
||||
<p><img src='/images/supported_brands/raspberry-pi.png' class='brand pull-right' />
|
||||
The rpi_gpio sensor platform allows you to read sensor values of the GPIOs of your <a href="https://www.raspberrypi.org/">Raspberry Pi</a>.</p>
|
||||
|
||||
<p>To use your Raspberry Pi’s GPIO in your installation, add the following to your <code>configuration.yaml</code> file:</p>
|
||||
|
||||
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
|
||||
<span class='line-number'>2</span>
|
||||
<span class='line-number'>3</span>
|
||||
<span class='line-number'>4</span>
|
||||
<span class='line-number'>5</span>
|
||||
<span class='line-number'>6</span>
|
||||
<span class='line-number'>7</span>
|
||||
<span class='line-number'>8</span>
|
||||
<span class='line-number'>9</span>
|
||||
</pre></td><td class='code'><pre><code class=''><span class='line'># Example configuration.yaml entry
|
||||
</span><span class='line'>sensor:
|
||||
</span><span class='line'> platform: rpi_gpio
|
||||
</span><span class='line'> pull_mode: "UP"
|
||||
</span><span class='line'> value_high: "Active"
|
||||
</span><span class='line'> value_low: "Inactive"
|
||||
</span><span class='line'> ports:
|
||||
</span><span class='line'> 11: PIR Office
|
||||
</span><span class='line'> 12: PIR Bedroom</span></code></pre></td></tr></table></div></figure>
|
||||
|
||||
|
||||
<p>For more details about the GPIO layout, visit the Wikipedia <a href="https://en.wikipedia.org/wiki/Raspberry_Pi#GPIO_connector">article</a> about the Raspberry Pi.</p>
|
||||
|
||||
<p class='note warning'>
|
||||
As this requires access to the GPIO, you will need to run Home Assistant as root.
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</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://octopress.org">Octopress</a>, <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>
|
198
components/switch.mqtt.html
Normal file
198
components/switch.mqtt.html
Normal file
|
@ -0,0 +1,198 @@
|
|||
<!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>MQTT switch support - Home Assistant</title>
|
||||
<meta name="author" content="Paulus Schoutsen">
|
||||
|
||||
<meta name="description" content="Instructions how to integrate MQTT switches into Home Assistant.">
|
||||
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="canonical" href="https://home-assistant.io">
|
||||
|
||||
<meta property="fb:app_id" content="338291289691179">
|
||||
<meta property="og:title" content="MQTT switch support">
|
||||
<meta property="og:site_name" content="Home Assistant">
|
||||
<meta property="og:url" content="https://home-assistant.io/components/switch.mqtt.html/">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:description" content="Instructions how to integrate MQTT 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.html'>Initial configuration</a></li>
|
||||
<li><a href='/components/'>Component overview</a></li>
|
||||
<li><a href='/getting-started/android.html'>Setting up Android</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/developers/">Developers</a>
|
||||
<ul>
|
||||
<li><a href="/developers/architecture.html">Architecture</a></li>
|
||||
<li><a href="/developers/frontend.html">Frontend development</a></li>
|
||||
<li><a href="/developers/creating_components.html">
|
||||
Creating components
|
||||
</a></li>
|
||||
<li><a href="/developers/add_new_platform.html">
|
||||
Adding platform support
|
||||
</a></li>
|
||||
<li><a href="/developers/api.html">API</a></li>
|
||||
<li><a href="/developers/credits.html">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">
|
||||
MQTT Switch Support
|
||||
</h1>
|
||||
</header>
|
||||
<hr class="divider">
|
||||
|
||||
|
||||
<p><img src='/images/supported_brands/mqtt.png' class='brand pull-right' />
|
||||
In an ideal scenario, the MQTT device will have a state topic to publish
|
||||
state changes. If these messages are published with RETAIN flag, the MQTT
|
||||
switch will receive an instant state update after subscription and will
|
||||
start with correct state. Otherwise, the initial state of the switch will
|
||||
be false/off.</p>
|
||||
|
||||
<p>When a state topic is not available, the switch will work in optimistic mode.
|
||||
In this mode, the switch will immediately change state after every command.
|
||||
Otherwise, the switch will wait for state confirmation from device
|
||||
(message from state_topic).</p>
|
||||
|
||||
<p>Optimistic mode can be forced, even if state topic is available.
|
||||
Try to enable it, if experiencing incorrect switch operation.</p>
|
||||
|
||||
<figure class='code'><figcaption><span></span></figcaption><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
|
||||
<span class='line-number'>2</span>
|
||||
<span class='line-number'>3</span>
|
||||
<span class='line-number'>4</span>
|
||||
<span class='line-number'>5</span>
|
||||
<span class='line-number'>6</span>
|
||||
<span class='line-number'>7</span>
|
||||
<span class='line-number'>8</span>
|
||||
<span class='line-number'>9</span>
|
||||
</pre></td><td class='code'><pre><code class='yaml'><span class='line'><span class="c1"># Example configuration.yml entr</span>
|
||||
</span><span class='line'><span class="l-Scalar-Plain">switch</span><span class="p-Indicator">:</span>
|
||||
</span><span class='line'> <span class="l-Scalar-Plain">platform</span><span class="p-Indicator">:</span> <span class="l-Scalar-Plain">mqtt</span>
|
||||
</span><span class='line'> <span class="l-Scalar-Plain">name</span><span class="p-Indicator">:</span> <span class="s">"Bedroom</span><span class="nv"> </span><span class="s">Switch"</span>
|
||||
</span><span class='line'> <span class="l-Scalar-Plain">state_topic</span><span class="p-Indicator">:</span> <span class="s">"home/bedroom/switch1"</span>
|
||||
</span><span class='line'> <span class="l-Scalar-Plain">command_topic</span><span class="p-Indicator">:</span> <span class="s">"home/bedroom/switch1/set"</span>
|
||||
</span><span class='line'> <span class="l-Scalar-Plain">payload_on</span><span class="p-Indicator">:</span> <span class="s">"ON"</span>
|
||||
</span><span class='line'> <span class="l-Scalar-Plain">payload_off</span><span class="p-Indicator">:</span> <span class="s">"OFF"</span>
|
||||
</span><span class='line'> <span class="l-Scalar-Plain">optimistic</span><span class="p-Indicator">:</span> <span class="l-Scalar-Plain">false</span>
|
||||
</span></code></pre></td></tr></table></div></figure>
|
||||
|
||||
|
||||
<p>command_topic: The MQTT topic to publish commands to change the switch state. <em>Required</em></p>
|
||||
|
||||
<p>name: The name of the switch. Default is ‘MQTT Switch’. <em>Optional</em></p>
|
||||
|
||||
<p>state_topic: The MQTT topic subscribed to receive state updates. <em>Optional</em></p>
|
||||
|
||||
<p>payload_on: The payload that represents enabled state. Default is “ON”. <em>Optional</em></p>
|
||||
|
||||
<p>payload_off: The payload that represents disabled state. Default is “OFF”. <em>Optional</em></p>
|
||||
|
||||
<p>optimistic: Flag that defines if switch works in optimistic mode. Default is true if no state topic defined, else false. <em>Optional</em></p>
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</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://octopress.org">Octopress</a>, <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>
|
|
@ -9,7 +9,7 @@
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title>Raspberry PI GPIO support - Home Assistant</title>
|
||||
<title>Raspberry PI GPIO switch support - Home Assistant</title>
|
||||
<meta name="author" content="Paulus Schoutsen">
|
||||
|
||||
<meta name="description" content="Instructions how to integrate the GPIO of a Raspberry PI into Home Assistant.">
|
||||
|
@ -18,7 +18,7 @@
|
|||
<link rel="canonical" href="https://home-assistant.io">
|
||||
|
||||
<meta property="fb:app_id" content="338291289691179">
|
||||
<meta property="og:title" content="Raspberry PI GPIO support">
|
||||
<meta property="og:title" content="Raspberry PI GPIO switch support">
|
||||
<meta property="og:site_name" content="Home Assistant">
|
||||
<meta property="og:url" content="https://home-assistant.io/components/switch.rpi_gpio.html/">
|
||||
<meta property="og:type" content="website">
|
||||
|
@ -98,7 +98,7 @@
|
|||
|
||||
<header>
|
||||
<h1 class="title indent">
|
||||
Raspberry PI GPIO Support
|
||||
Raspberry PI GPIO Switch Support
|
||||
</h1>
|
||||
</header>
|
||||
<hr class="divider">
|
||||
|
@ -125,6 +125,13 @@ The rpi_gpio switch platform allows you to control the GPIOs of your <a href="ht
|
|||
|
||||
<p>For more details about the GPIO layout, visit the Wikipedia <a href="https://en.wikipedia.org/wiki/Raspberry_Pi#GPIO_connector">article</a> about the Raspberry Pi.</p>
|
||||
|
||||
<p class='note warning'>
|
||||
As this requires access to the GPIO, you will need to run Home Assistant as root.
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
|
|
@ -104,10 +104,10 @@
|
|||
<hr class="divider">
|
||||
|
||||
|
||||
<p><img src='/images/supported_brands/belkin_wemo.png' class='brand' />
|
||||
<p><img src='/images/supported_brands/belkin_wemo.png' class='brand pull-right' />
|
||||
The wemo platform allows you to control your <a href="http://www.belkin.com/us/p/P-F7C027/">Belkin WeMo</a> switches from within Home Assistant.</p>
|
||||
|
||||
<p>To add Wemo switches to your installation, add the following to your <code>configuration.yaml</code> file:</p>
|
||||
<p>They will be automatically discovered if the discovery component is enabled.</p>
|
||||
|
||||
<figure class='code'><figcaption><span></span></figcaption><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
|
||||
<span class='line-number'>2</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue