Site updated at 2017-10-02 12:26:10 UTC
This commit is contained in:
parent
c0f6082634
commit
c4dfa10e02
27 changed files with 91 additions and 80 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>2017-10-02T05:57:34+00:00</updated>
|
||||
<updated>2017-10-02T12:18:50+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: Announcements | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/announcements/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2017-10-02T05:57:34+00:00</updated>
|
||||
<updated>2017-10-02T12:18:50+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: Community | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/community/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2017-10-02T05:57:34+00:00</updated>
|
||||
<updated>2017-10-02T12:18:50+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: Device-Tracking | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/device-tracking/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2017-10-02T05:57:34+00:00</updated>
|
||||
<updated>2017-10-02T12:18:50+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></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>2017-10-02T05:57:34+00:00</updated>
|
||||
<updated>2017-10-02T12:18:50+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></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>2017-10-02T05:57:34+00:00</updated>
|
||||
<updated>2017-10-02T12:18:50+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: iBeacons | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/ibeacons/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2017-10-02T05:57:34+00:00</updated>
|
||||
<updated>2017-10-02T12:18:50+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: Internet-of-Things | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/internet-of-things/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2017-10-02T05:57:34+00:00</updated>
|
||||
<updated>2017-10-02T12:18:50+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: IoT-Data | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/iot-data/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2017-10-02T05:57:34+00:00</updated>
|
||||
<updated>2017-10-02T12:18:50+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: Media | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/media/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2017-10-02T05:57:34+00:00</updated>
|
||||
<updated>2017-10-02T12:18:50+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: Merchandise | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/merchandise/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2017-10-02T05:57:34+00:00</updated>
|
||||
<updated>2017-10-02T12:18:50+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: Micropython | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/micropython/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2017-10-02T05:57:34+00:00</updated>
|
||||
<updated>2017-10-02T12:18:50+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></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>2017-10-02T05:57:34+00:00</updated>
|
||||
<updated>2017-10-02T12:18:50+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: Organisation | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/organisation/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2017-10-02T05:57:34+00:00</updated>
|
||||
<updated>2017-10-02T12:18:50+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: OwnTracks | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/owntracks/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2017-10-02T05:57:34+00:00</updated>
|
||||
<updated>2017-10-02T12:18:50+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: Presence-Detection | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/presence-detection/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2017-10-02T05:57:34+00:00</updated>
|
||||
<updated>2017-10-02T12:18:50+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: Public-Service-Announcement | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/public-service-announcement/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2017-10-02T05:57:34+00:00</updated>
|
||||
<updated>2017-10-02T12:18:50+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></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>2017-10-02T05:57:34+00:00</updated>
|
||||
<updated>2017-10-02T12:18:50+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></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>2017-10-02T05:57:34+00:00</updated>
|
||||
<updated>2017-10-02T12:18:50+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: Talks | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/talks/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2017-10-02T05:57:34+00:00</updated>
|
||||
<updated>2017-10-02T12:18:50+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: Technology | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/technology/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2017-10-02T05:57:34+00:00</updated>
|
||||
<updated>2017-10-02T12:18:50+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></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>2017-10-02T05:57:34+00:00</updated>
|
||||
<updated>2017-10-02T12:18:50+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></name>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<title><![CDATA[Category: Video | Home Assistant]]></title>
|
||||
<link href="https://home-assistant.io/blog/categories/video/atom.xml" rel="self"/>
|
||||
<link href="https://home-assistant.io/"/>
|
||||
<updated>2017-10-02T05:57:34+00:00</updated>
|
||||
<updated>2017-10-02T12:18:50+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></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>2017-10-02T05:57:34+00:00</updated>
|
||||
<updated>2017-10-02T12:18:50+00:00</updated>
|
||||
<id>https://home-assistant.io/</id>
|
||||
<author>
|
||||
<name><![CDATA[Home Assistant]]></name>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title>FFmpeg - Home Assistant</title>
|
||||
<meta name="author" content="Home Assistant">
|
||||
<meta name="description" content="Instructions for how to integrate FFmpeg within Home Assistant.">
|
||||
<meta name="description" content="Instructions on how to integrate FFmpeg within Home Assistant.">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="canonical" href="https://home-assistant.io/components/ffmpeg/">
|
||||
<meta property="fb:app_id" content="338291289691179">
|
||||
|
@ -16,12 +16,12 @@
|
|||
<meta property="og:site_name" content="Home Assistant">
|
||||
<meta property="og:url" content="https://home-assistant.io/components/ffmpeg/">
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="og:description" content="Instructions for how to integrate FFmpeg within Home Assistant.">
|
||||
<meta property="og:description" content="Instructions on how to integrate FFmpeg within Home Assistant.">
|
||||
<meta property="og:image" content="https://home-assistant.io/images/default-social.png">
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta name="twitter:site" content="@home_assistant">
|
||||
<meta name="twitter:title" content="FFmpeg">
|
||||
<meta name="twitter:description" content="Instructions for how to integrate FFmpeg within Home Assistant.">
|
||||
<meta name="twitter:description" content="Instructions on how to integrate FFmpeg within Home Assistant.">
|
||||
<meta name="twitter:image" content="https://home-assistant.io/images/default-social.png">
|
||||
<link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet">
|
||||
<link href="/atom.xml" rel="alternate" title="Home Assistant" type="application/atom+xml">
|
||||
|
@ -74,7 +74,7 @@
|
|||
</h1>
|
||||
</header>
|
||||
<hr class="divider">
|
||||
<p>The <code class="highlighter-rouge">ffmpeg</code> component allows other Home Assistant components to process video and audio streams. This component supports all FFmpeg versions since 3.0.0; if you have a older version, please update.</p>
|
||||
<p>The <code class="highlighter-rouge">ffmpeg</code> component allows other Home Assistant components to process video and audio streams. This component supports all FFmpeg versions since 3.0.0; if you have an older version, please update.</p>
|
||||
<p class="note">
|
||||
You need the <code class="highlighter-rouge">ffmpeg</code> binary in your system path. On Debian 8 or Raspbian (Jessie) you can install it from <a href="https://backports.debian.org/Instructions/">debian-backports</a>. If you want <a href="https://trac.ffmpeg.org/wiki/HWAccelIntro">hardware acceleration</a> support on a Raspberry Pi, you will need to build from source by yourself. Windows binaries are available on the <a href="http://www.ffmpeg.org/">FFmpeg</a> website.
|
||||
</p>
|
||||
|
@ -104,23 +104,23 @@ If you are using <a href="/hassio/">Hass.io</a> then just move forward to the co
|
|||
</div>
|
||||
<h3><a class="title-link" name="troubleshooting" href="#troubleshooting"></a> Troubleshooting</h3>
|
||||
<p>In most cases, <code class="highlighter-rouge">ffmpeg</code> automatically detects all needed options to read a video or audio stream or file. But it is possible in rare cases that you will need to set options to help <code class="highlighter-rouge">ffmpeg</code> out.</p>
|
||||
<p>First check that your stream is playable by <code class="highlighter-rouge">ffmpeg</code> outside of Home Assistant with (use option <code class="highlighter-rouge">-an</code> or <code class="highlighter-rouge">-vn</code> to disable video or audio stream):</p>
|
||||
<p>First, check that your stream is playable by <code class="highlighter-rouge">ffmpeg</code> outside of Home Assistant with (use option <code class="highlighter-rouge">-an</code> or <code class="highlighter-rouge">-vn</code> to disable video or audio stream):</p>
|
||||
<div class="highlighter-rouge"><pre class="highlight"><code>$ ffmpeg -i INPUT -an -f null -
|
||||
</code></pre>
|
||||
</div>
|
||||
<p>Now you should be able to see what is going wrong. The following list contains some common problems and solutions:</p>
|
||||
<ul>
|
||||
<li><code class="highlighter-rouge">[rtsp @ ...] UDP timeout, retrying with TCP</code>: You need to set an RTSP transport in the configuration with: <code class="highlighter-rouge">input: -rtsp_transport tcp -i INPUT</code></li>
|
||||
<li><code class="highlighter-rouge">[rtsp @ ...] Could not find codec parameters for stream 0 (Video: ..., none): unspecified size</code>: FFmpeg needs more data or time for autodetection (the default is 5 seconds). You can set the <code class="highlighter-rouge">analyzeduration</code> and/or <code class="highlighter-rouge">probesize</code> options to experiment with giving FFmpeg more leeway. If you find the needed value, you can set it with: <code class="highlighter-rouge">input: -analyzeduration xy -probesize xy -i INPUT</code>. More information about this can be found <a href="https://www.ffmpeg.org/ffmpeg-formats.html#Description">here</a>.</li>
|
||||
<li><code class="highlighter-rouge">[rtsp @ ...] Could not find codec parameters for stream 0 (Video: ..., none): unspecified size</code>: FFmpeg needs more data or time for autodetection (the default is 5 seconds). You can set the <code class="highlighter-rouge">analyzeduration</code> and/or <code class="highlighter-rouge">probesize</code> options to experiment with giving FFmpeg more leeway. If you find the needed value, you can set it with: <code class="highlighter-rouge">input: -analyzeduration xy -probesize xy -i INPUT</code>. More information about this can be found <a href="https://www.ffmpeg.org/ffmpeg-formats.html#Description">here</a>.</li>
|
||||
</ul>
|
||||
<h4><a class="title-link" name="usb-cameras" href="#usb-cameras"></a> USB cameras</h4>
|
||||
<p>For <code class="highlighter-rouge">INPUT</code> a valid source is needed. USB camera are an easy way to test your video setup. To get all available USB cameras connected to the system, eg. use the v4l2 tools on a Linux machine.</p>
|
||||
<p>For <code class="highlighter-rouge">INPUT</code> a valid source is needed. A USB camera is an easy way to test your video setup. To get all available USB cameras connected to the system, e.g., use the v4l2 tools on a Linux machine.</p>
|
||||
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>v4l2-ctl --list-devices
|
||||
UVC Camera <span class="o">(</span>046d:0825<span class="o">)</span> <span class="o">(</span>usb-0000:00:14.0-1<span class="o">)</span>:
|
||||
/dev/video1
|
||||
/dev/video1
|
||||
|
||||
Integrated Camera <span class="o">(</span>usb-0000:00:14.0-10<span class="o">)</span>:
|
||||
/dev/video0
|
||||
/dev/video0
|
||||
</code></pre>
|
||||
</div>
|
||||
<p>Record a test video with your USB device <code class="highlighter-rouge">/dev/video1</code>:</p>
|
||||
|
|
|
@ -153,6 +153,14 @@
|
|||
<td style="text-align: left">SQLite</td>
|
||||
<td style="text-align: left"><code class="highlighter-rouge">sqlite:///PATH/TO/DB_NAME</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left">MariaDB</td>
|
||||
<td style="text-align: left"><code class="highlighter-rouge">mysql://SERVER_IP/DB_NAME</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left">MariaDB </td>
|
||||
<td style="text-align: left"><code class="highlighter-rouge">mysql://user:password@SERVER_IP/DB_NAME</code> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left">MySQL</td>
|
||||
<td style="text-align: left"><code class="highlighter-rouge">mysql://SERVER_IP/DB_NAME</code></td>
|
||||
|
@ -185,18 +193,21 @@
|
|||
</table>
|
||||
<h2><a class="title-link" name="installation-notes" href="#installation-notes"></a> Installation notes</h2>
|
||||
<p>Not all Python bindings for the chosen database engine can be installed directly. This section contains additional details which should help you to get it working.</p>
|
||||
<h3><a class="title-link" name="mysql" href="#mysql"></a> MySQL</h3>
|
||||
<h3><a class="title-link" name="maridb-and-mysql" href="#maridb-and-mysql"></a> MariDB and MySQL</h3>
|
||||
<p>For MariaDB you may have to install a few dependencies. On the Python side we use the <code class="highlighter-rouge">mysqlclient</code>:</p>
|
||||
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>sudo apt-get install libmariadbclient-dev
|
||||
<span class="gp">$ </span>pip3 install mysqlclient
|
||||
</code></pre>
|
||||
</div>
|
||||
<p>For MySQL you may have to install a few dependencies. You can choose between <code class="highlighter-rouge">pymysql</code> and <code class="highlighter-rouge">mysqlclient</code>:</p>
|
||||
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>sudo apt-get install libmysqlclient-dev
|
||||
<span class="gp">$ </span>pip3 install mysqlclient
|
||||
</code></pre>
|
||||
</div>
|
||||
<p>If you are in a virtual environment, don’t forget to activate it before installing the pymysql package.</p>
|
||||
<div class="language-bash highlighter-rouge"><pre class="highlight"><code>pi@homeassistant:~ <span class="nv">$ </span>sudo -i
|
||||
<span class="gp">root@homeassistant:~# </span>su homeassistant
|
||||
<span class="gp">homeassistant@homeassistant:/root$ </span><span class="nb">cd</span> /srv/homeassistant/homeassistant_venv/
|
||||
<span class="gp">homeassistant@homeassistant:/srv/homeassistant/homeassistant_venv$ </span><span class="nb">source </span>bin/activate
|
||||
<span class="o">(</span>homeassistant_venv<span class="o">)</span> homeassistant@homeassistant:/srv/homeassistant/homeassistant_venv<span class="nv">$ </span>pip3 install mysqlclient
|
||||
<p>If you are in a virtual environment, don’t forget to activate it before installing the <code class="highlighter-rouge">mysqlclient</code> Python package.</p>
|
||||
<div class="language-bash highlighter-rouge"><pre class="highlight"><code>pi@homeassistant:~ <span class="nv">$ </span>sudo su homeassistant -s /bin/bash
|
||||
<span class="gp">homeassistant@homeassistant:~$ </span><span class="nb">source</span> /srv/homeassistant/bin/activate
|
||||
<span class="o">(</span>homeassistant<span class="o">)</span> homeassistant@homeassistant:~<span class="nv">$ </span>pip3 install mysqlclient
|
||||
</code></pre>
|
||||
</div>
|
||||
<p>After installing the dependencies, it is required to create the database manually. During the startup, Home Assistant will look for the database specified in the <code class="highlighter-rouge">db_url</code>. If the database doesn’t exist, it will not automatically create it for you.</p>
|
||||
|
|
80
sitemap.xml
80
sitemap.xml
|
@ -3374,7 +3374,7 @@
|
|||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/components/switch.hook/</loc>
|
||||
<lastmod>2017-10-02T05:57:34+00:00</lastmod>
|
||||
<lastmod>2017-10-02T12:18:50+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/cookbook/automation_for_rainy_days/</loc>
|
||||
|
@ -4006,99 +4006,99 @@
|
|||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/docs/autostart/init.d/</loc>
|
||||
<lastmod>2017-10-02T05:57:34+00:00</lastmod>
|
||||
<lastmod>2017-10-02T12:18:50+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/docs/ecosystem/appdaemon/</loc>
|
||||
<lastmod>2017-10-02T05:57:34+00:00</lastmod>
|
||||
<lastmod>2017-10-02T12:18:50+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/docs/ecosystem/appdaemon/api/</loc>
|
||||
<lastmod>2017-10-02T05:57:34+00:00</lastmod>
|
||||
<lastmod>2017-10-02T12:18:50+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/docs/ecosystem/appdaemon/configuration/</loc>
|
||||
<lastmod>2017-10-02T05:57:34+00:00</lastmod>
|
||||
<lastmod>2017-10-02T12:18:50+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/docs/ecosystem/appdaemon/example_apps/</loc>
|
||||
<lastmod>2017-10-02T05:57:34+00:00</lastmod>
|
||||
<lastmod>2017-10-02T12:18:50+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/docs/ecosystem/appdaemon/installation/</loc>
|
||||
<lastmod>2017-10-02T05:57:34+00:00</lastmod>
|
||||
<lastmod>2017-10-02T12:18:50+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/docs/ecosystem/appdaemon/operation/</loc>
|
||||
<lastmod>2017-10-02T05:57:34+00:00</lastmod>
|
||||
<lastmod>2017-10-02T12:18:50+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/docs/ecosystem/appdaemon/reboot/</loc>
|
||||
<lastmod>2017-10-02T05:57:34+00:00</lastmod>
|
||||
<lastmod>2017-10-02T12:18:50+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/docs/ecosystem/appdaemon/running/</loc>
|
||||
<lastmod>2017-10-02T05:57:34+00:00</lastmod>
|
||||
<lastmod>2017-10-02T12:18:50+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/docs/ecosystem/appdaemon/tutorial/</loc>
|
||||
<lastmod>2017-10-02T05:57:34+00:00</lastmod>
|
||||
<lastmod>2017-10-02T12:18:50+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/docs/ecosystem/appdaemon/updating/</loc>
|
||||
<lastmod>2017-10-02T05:57:34+00:00</lastmod>
|
||||
<lastmod>2017-10-02T12:18:50+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/docs/ecosystem/appdaemon/windows/</loc>
|
||||
<lastmod>2017-10-02T05:57:34+00:00</lastmod>
|
||||
<lastmod>2017-10-02T12:18:50+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/docs/ecosystem/certificates/</loc>
|
||||
<lastmod>2017-10-02T05:57:34+00:00</lastmod>
|
||||
<lastmod>2017-10-02T12:18:50+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/docs/ecosystem/hadashboard/</loc>
|
||||
<lastmod>2017-10-02T05:57:34+00:00</lastmod>
|
||||
<lastmod>2017-10-02T12:18:50+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/docs/ecosystem/hass-configurator/</loc>
|
||||
<lastmod>2017-10-02T05:57:34+00:00</lastmod>
|
||||
<lastmod>2017-10-02T12:18:50+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/docs/ecosystem/ios/</loc>
|
||||
<lastmod>2017-10-02T05:57:34+00:00</lastmod>
|
||||
<lastmod>2017-10-02T12:18:50+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/docs/ecosystem/nginx/</loc>
|
||||
<lastmod>2017-10-02T05:57:34+00:00</lastmod>
|
||||
<lastmod>2017-10-02T12:18:50+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/docs/ecosystem/notebooks/</loc>
|
||||
<lastmod>2017-10-02T05:57:34+00:00</lastmod>
|
||||
<lastmod>2017-10-02T12:18:50+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/docs/ecosystem/scenegen/</loc>
|
||||
<lastmod>2017-10-02T05:57:34+00:00</lastmod>
|
||||
<lastmod>2017-10-02T12:18:50+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/docs/ecosystem/synology/</loc>
|
||||
<lastmod>2017-10-02T05:57:34+00:00</lastmod>
|
||||
<lastmod>2017-10-02T12:18:50+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/docs/tools/</loc>
|
||||
<lastmod>2017-10-02T05:57:34+00:00</lastmod>
|
||||
<lastmod>2017-10-02T12:18:50+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/docs/tools/dev-tools/</loc>
|
||||
<lastmod>2017-10-02T05:57:34+00:00</lastmod>
|
||||
<lastmod>2017-10-02T12:18:50+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/docs/tools/hass/</loc>
|
||||
<lastmod>2017-10-02T05:57:34+00:00</lastmod>
|
||||
<lastmod>2017-10-02T12:18:50+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/docs/tools/scripts/</loc>
|
||||
<lastmod>2017-10-02T05:57:34+00:00</lastmod>
|
||||
<lastmod>2017-10-02T12:18:50+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/faq/after-upgrading/</loc>
|
||||
|
@ -5122,62 +5122,62 @@
|
|||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/demo/frontend.html</loc>
|
||||
<lastmod>2017-10-02T05:57:03+00:00</lastmod>
|
||||
<lastmod>2017-10-02T12:18:11+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/demo/index.html</loc>
|
||||
<lastmod>2017-10-02T05:57:03+00:00</lastmod>
|
||||
<lastmod>2017-10-02T12:18:11+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-event.html</loc>
|
||||
<lastmod>2017-10-02T05:57:03+00:00</lastmod>
|
||||
<lastmod>2017-10-02T12:18:11+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-info.html</loc>
|
||||
<lastmod>2017-10-02T05:57:03+00:00</lastmod>
|
||||
<lastmod>2017-10-02T12:18:11+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-service.html</loc>
|
||||
<lastmod>2017-10-02T05:57:03+00:00</lastmod>
|
||||
<lastmod>2017-10-02T12:18:11+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-state.html</loc>
|
||||
<lastmod>2017-10-02T05:57:03+00:00</lastmod>
|
||||
<lastmod>2017-10-02T12:18:11+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/demo/panels/ha-panel-dev-template.html</loc>
|
||||
<lastmod>2017-10-02T05:57:03+00:00</lastmod>
|
||||
<lastmod>2017-10-02T12:18:11+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/demo/panels/ha-panel-history.html</loc>
|
||||
<lastmod>2017-10-02T05:57:03+00:00</lastmod>
|
||||
<lastmod>2017-10-02T12:18:11+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/demo/panels/ha-panel-iframe.html</loc>
|
||||
<lastmod>2017-10-02T05:57:03+00:00</lastmod>
|
||||
<lastmod>2017-10-02T12:18:11+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/demo/panels/ha-panel-logbook.html</loc>
|
||||
<lastmod>2017-10-02T05:57:03+00:00</lastmod>
|
||||
<lastmod>2017-10-02T12:18:11+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/demo/panels/ha-panel-map.html</loc>
|
||||
<lastmod>2017-10-02T05:57:03+00:00</lastmod>
|
||||
<lastmod>2017-10-02T12:18:11+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/googlef4f3693c209fe788.html</loc>
|
||||
<lastmod>2017-10-02T05:57:03+00:00</lastmod>
|
||||
<lastmod>2017-10-02T12:18:11+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html</loc>
|
||||
<lastmod>2017-10-02T05:57:03+00:00</lastmod>
|
||||
<lastmod>2017-10-02T12:18:11+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html</loc>
|
||||
<lastmod>2017-10-02T05:57:03+00:00</lastmod>
|
||||
<lastmod>2017-10-02T12:18:11+00:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://home-assistant.io/static/mdi-demo.html</loc>
|
||||
<lastmod>2017-10-02T05:57:03+00:00</lastmod>
|
||||
<lastmod>2017-10-02T12:18:11+00:00</lastmod>
|
||||
</url>
|
||||
</urlset>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue