diff --git a/atom.xml b/atom.xml index 70744334da..0b538974de 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Home Assistant]]> - 2017-10-02T05:57:34+00:00 + 2017-10-02T12:18:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/announcements/atom.xml b/blog/categories/announcements/atom.xml index 7ae7592e80..331ea6f17b 100644 --- a/blog/categories/announcements/atom.xml +++ b/blog/categories/announcements/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Announcements | Home Assistant]]> - 2017-10-02T05:57:34+00:00 + 2017-10-02T12:18:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/community/atom.xml b/blog/categories/community/atom.xml index 7225b64491..bfac7aaf7d 100644 --- a/blog/categories/community/atom.xml +++ b/blog/categories/community/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Community | Home Assistant]]> - 2017-10-02T05:57:34+00:00 + 2017-10-02T12:18:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/device-tracking/atom.xml b/blog/categories/device-tracking/atom.xml index fd91a964ec..e9471c8ae6 100644 --- a/blog/categories/device-tracking/atom.xml +++ b/blog/categories/device-tracking/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Device-Tracking | Home Assistant]]> - 2017-10-02T05:57:34+00:00 + 2017-10-02T12:18:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/esp8266/atom.xml b/blog/categories/esp8266/atom.xml index be2bb7241b..6a34bc3fbe 100644 --- a/blog/categories/esp8266/atom.xml +++ b/blog/categories/esp8266/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: ESP8266 | Home Assistant]]> - 2017-10-02T05:57:34+00:00 + 2017-10-02T12:18:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/how-to/atom.xml b/blog/categories/how-to/atom.xml index 7afb3bedb7..efe7b0844f 100644 --- a/blog/categories/how-to/atom.xml +++ b/blog/categories/how-to/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: How-To | Home Assistant]]> - 2017-10-02T05:57:34+00:00 + 2017-10-02T12:18:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/ibeacons/atom.xml b/blog/categories/ibeacons/atom.xml index f429fcb0ee..f5714e588d 100644 --- a/blog/categories/ibeacons/atom.xml +++ b/blog/categories/ibeacons/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: iBeacons | Home Assistant]]> - 2017-10-02T05:57:34+00:00 + 2017-10-02T12:18:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/internet-of-things/atom.xml b/blog/categories/internet-of-things/atom.xml index e606981372..393ddea34c 100644 --- a/blog/categories/internet-of-things/atom.xml +++ b/blog/categories/internet-of-things/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Internet-of-Things | Home Assistant]]> - 2017-10-02T05:57:34+00:00 + 2017-10-02T12:18:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/iot-data/atom.xml b/blog/categories/iot-data/atom.xml index 15b336de79..f364e465ec 100644 --- a/blog/categories/iot-data/atom.xml +++ b/blog/categories/iot-data/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: IoT-Data | Home Assistant]]> - 2017-10-02T05:57:34+00:00 + 2017-10-02T12:18:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/media/atom.xml b/blog/categories/media/atom.xml index b502251de5..40746252f0 100644 --- a/blog/categories/media/atom.xml +++ b/blog/categories/media/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Media | Home Assistant]]> - 2017-10-02T05:57:34+00:00 + 2017-10-02T12:18:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/merchandise/atom.xml b/blog/categories/merchandise/atom.xml index 3de5d373a4..212d73e6d0 100644 --- a/blog/categories/merchandise/atom.xml +++ b/blog/categories/merchandise/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Merchandise | Home Assistant]]> - 2017-10-02T05:57:34+00:00 + 2017-10-02T12:18:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/micropython/atom.xml b/blog/categories/micropython/atom.xml index da25ee5d5e..8f401fba57 100644 --- a/blog/categories/micropython/atom.xml +++ b/blog/categories/micropython/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Micropython | Home Assistant]]> - 2017-10-02T05:57:34+00:00 + 2017-10-02T12:18:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/mqtt/atom.xml b/blog/categories/mqtt/atom.xml index 898cb8074a..e64dadee3c 100644 --- a/blog/categories/mqtt/atom.xml +++ b/blog/categories/mqtt/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: MQTT | Home Assistant]]> - 2017-10-02T05:57:34+00:00 + 2017-10-02T12:18:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/organisation/atom.xml b/blog/categories/organisation/atom.xml index 5ee27e7bf0..e1cbc9c982 100644 --- a/blog/categories/organisation/atom.xml +++ b/blog/categories/organisation/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Organisation | Home Assistant]]> - 2017-10-02T05:57:34+00:00 + 2017-10-02T12:18:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/owntracks/atom.xml b/blog/categories/owntracks/atom.xml index f74c0070f4..c976fa83b2 100644 --- a/blog/categories/owntracks/atom.xml +++ b/blog/categories/owntracks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: OwnTracks | Home Assistant]]> - 2017-10-02T05:57:34+00:00 + 2017-10-02T12:18:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/presence-detection/atom.xml b/blog/categories/presence-detection/atom.xml index 0da0775a40..a7ac125a6c 100644 --- a/blog/categories/presence-detection/atom.xml +++ b/blog/categories/presence-detection/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Presence-Detection | Home Assistant]]> - 2017-10-02T05:57:34+00:00 + 2017-10-02T12:18:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/public-service-announcement/atom.xml b/blog/categories/public-service-announcement/atom.xml index 4fd62703f2..62e18d387b 100644 --- a/blog/categories/public-service-announcement/atom.xml +++ b/blog/categories/public-service-announcement/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Public-Service-Announcement | Home Assistant]]> - 2017-10-02T05:57:34+00:00 + 2017-10-02T12:18:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/release-notes/atom.xml b/blog/categories/release-notes/atom.xml index ca3da4d5ce..9605ed780d 100644 --- a/blog/categories/release-notes/atom.xml +++ b/blog/categories/release-notes/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Release-Notes | Home Assistant]]> - 2017-10-02T05:57:34+00:00 + 2017-10-02T12:18:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/survey/atom.xml b/blog/categories/survey/atom.xml index 7864532c23..cfddf4d702 100644 --- a/blog/categories/survey/atom.xml +++ b/blog/categories/survey/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Survey | Home Assistant]]> - 2017-10-02T05:57:34+00:00 + 2017-10-02T12:18:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/talks/atom.xml b/blog/categories/talks/atom.xml index 7d1981a94c..eb45fe410b 100644 --- a/blog/categories/talks/atom.xml +++ b/blog/categories/talks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Talks | Home Assistant]]> - 2017-10-02T05:57:34+00:00 + 2017-10-02T12:18:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/technology/atom.xml b/blog/categories/technology/atom.xml index 9d9fcff19f..db63c671fe 100644 --- a/blog/categories/technology/atom.xml +++ b/blog/categories/technology/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Technology | Home Assistant]]> - 2017-10-02T05:57:34+00:00 + 2017-10-02T12:18:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/user-stories/atom.xml b/blog/categories/user-stories/atom.xml index 19480f2aba..5f27d75c8d 100644 --- a/blog/categories/user-stories/atom.xml +++ b/blog/categories/user-stories/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: User-Stories | Home Assistant]]> - 2017-10-02T05:57:34+00:00 + 2017-10-02T12:18:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/video/atom.xml b/blog/categories/video/atom.xml index f907202e67..304f258130 100644 --- a/blog/categories/video/atom.xml +++ b/blog/categories/video/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Video | Home Assistant]]> - 2017-10-02T05:57:34+00:00 + 2017-10-02T12:18:50+00:00 https://home-assistant.io/ diff --git a/blog/categories/website/atom.xml b/blog/categories/website/atom.xml index c4aa7b9c51..7d5f7b3312 100644 --- a/blog/categories/website/atom.xml +++ b/blog/categories/website/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Website | Home Assistant]]> - 2017-10-02T05:57:34+00:00 + 2017-10-02T12:18:50+00:00 https://home-assistant.io/ diff --git a/components/ffmpeg/index.html b/components/ffmpeg/index.html index b98f8e173a..b9bd50beeb 100644 --- a/components/ffmpeg/index.html +++ b/components/ffmpeg/index.html @@ -8,7 +8,7 @@ FFmpeg - Home Assistant - + @@ -16,12 +16,12 @@ - + - + @@ -74,7 +74,7 @@
-

The ffmpeg 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.

+

The ffmpeg 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.

You need the ffmpeg binary in your system path. On Debian 8 or Raspbian (Jessie) you can install it from debian-backports. If you want hardware acceleration support on a Raspberry Pi, you will need to build from source by yourself. Windows binaries are available on the FFmpeg website.

@@ -104,23 +104,23 @@ If you are using Hass.io then just move forward to the co

Troubleshooting

In most cases, ffmpeg 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 ffmpeg out.

-

First check that your stream is playable by ffmpeg outside of Home Assistant with (use option -an or -vn to disable video or audio stream):

+

First, check that your stream is playable by ffmpeg outside of Home Assistant with (use option -an or -vn to disable video or audio stream):

$ ffmpeg -i INPUT -an -f null -
 

Now you should be able to see what is going wrong. The following list contains some common problems and solutions:

  • [rtsp @ ...] UDP timeout, retrying with TCP: You need to set an RTSP transport in the configuration with: input: -rtsp_transport tcp -i INPUT
  • -
  • [rtsp @ ...] Could not find codec parameters for stream 0 (Video: ..., none): unspecified size: FFmpeg needs more data or time for autodetection (the default is 5 seconds). You can set the analyzeduration and/or probesize options to experiment with giving FFmpeg more leeway. If you find the needed value, you can set it with: input: -analyzeduration xy -probesize xy -i INPUT. More information about this can be found here.
  • +
  • [rtsp @ ...] Could not find codec parameters for stream 0 (Video: ..., none): unspecified size: FFmpeg needs more data or time for autodetection (the default is 5 seconds). You can set the analyzeduration and/or probesize options to experiment with giving FFmpeg more leeway. If you find the needed value, you can set it with: input: -analyzeduration xy -probesize xy -i INPUT. More information about this can be found here.

USB cameras

-

For INPUT 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.

+

For INPUT 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.

$ v4l2-ctl --list-devices
 UVC Camera (046d:0825) (usb-0000:00:14.0-1):
-	/dev/video1
+  /dev/video1
 
 Integrated Camera (usb-0000:00:14.0-10):
-	/dev/video0
+  /dev/video0
 

Record a test video with your USB device /dev/video1:

diff --git a/components/recorder/index.html b/components/recorder/index.html index 418487c431..cbc51d241a 100644 --- a/components/recorder/index.html +++ b/components/recorder/index.html @@ -153,6 +153,14 @@ SQLite sqlite:///PATH/TO/DB_NAME + + MariaDB + mysql://SERVER_IP/DB_NAME + + + MariaDB         + mysql://user:password@SERVER_IP/DB_NAME       + MySQL mysql://SERVER_IP/DB_NAME @@ -185,18 +193,21 @@

Installation notes

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.

-

MySQL

+

MariDB and MySQL

+

For MariaDB you may have to install a few dependencies. On the Python side we use the mysqlclient:

+
$ sudo apt-get install libmariadbclient-dev
+$ pip3 install mysqlclient
+
+

For MySQL you may have to install a few dependencies. You can choose between pymysql and mysqlclient:

$ sudo apt-get install libmysqlclient-dev
 $ pip3 install mysqlclient
 
-

If you are in a virtual environment, don’t forget to activate it before installing the pymysql package.

-
pi@homeassistant:~ $ sudo -i
-root@homeassistant:~# su homeassistant
-homeassistant@homeassistant:/root$ cd /srv/homeassistant/homeassistant_venv/
-homeassistant@homeassistant:/srv/homeassistant/homeassistant_venv$ source bin/activate
-(homeassistant_venv) homeassistant@homeassistant:/srv/homeassistant/homeassistant_venv$ pip3 install mysqlclient
+

If you are in a virtual environment, don’t forget to activate it before installing the mysqlclient Python package.

+
pi@homeassistant:~ $ sudo su homeassistant -s /bin/bash  
+homeassistant@homeassistant:~$ source /srv/homeassistant/bin/activate
+(homeassistant) homeassistant@homeassistant:~$ pip3 install mysqlclient
 

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 db_url. If the database doesn’t exist, it will not automatically create it for you.

diff --git a/sitemap.xml b/sitemap.xml index 42701fece8..dd7a84b3a9 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -3374,7 +3374,7 @@ https://home-assistant.io/components/switch.hook/ -2017-10-02T05:57:34+00:00 +2017-10-02T12:18:50+00:00 https://home-assistant.io/cookbook/automation_for_rainy_days/ @@ -4006,99 +4006,99 @@ https://home-assistant.io/docs/autostart/init.d/ -2017-10-02T05:57:34+00:00 +2017-10-02T12:18:50+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/ -2017-10-02T05:57:34+00:00 +2017-10-02T12:18:50+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/api/ -2017-10-02T05:57:34+00:00 +2017-10-02T12:18:50+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/configuration/ -2017-10-02T05:57:34+00:00 +2017-10-02T12:18:50+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/example_apps/ -2017-10-02T05:57:34+00:00 +2017-10-02T12:18:50+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/installation/ -2017-10-02T05:57:34+00:00 +2017-10-02T12:18:50+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/operation/ -2017-10-02T05:57:34+00:00 +2017-10-02T12:18:50+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/reboot/ -2017-10-02T05:57:34+00:00 +2017-10-02T12:18:50+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/running/ -2017-10-02T05:57:34+00:00 +2017-10-02T12:18:50+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/tutorial/ -2017-10-02T05:57:34+00:00 +2017-10-02T12:18:50+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/updating/ -2017-10-02T05:57:34+00:00 +2017-10-02T12:18:50+00:00 https://home-assistant.io/docs/ecosystem/appdaemon/windows/ -2017-10-02T05:57:34+00:00 +2017-10-02T12:18:50+00:00 https://home-assistant.io/docs/ecosystem/certificates/ -2017-10-02T05:57:34+00:00 +2017-10-02T12:18:50+00:00 https://home-assistant.io/docs/ecosystem/hadashboard/ -2017-10-02T05:57:34+00:00 +2017-10-02T12:18:50+00:00 https://home-assistant.io/docs/ecosystem/hass-configurator/ -2017-10-02T05:57:34+00:00 +2017-10-02T12:18:50+00:00 https://home-assistant.io/docs/ecosystem/ios/ -2017-10-02T05:57:34+00:00 +2017-10-02T12:18:50+00:00 https://home-assistant.io/docs/ecosystem/nginx/ -2017-10-02T05:57:34+00:00 +2017-10-02T12:18:50+00:00 https://home-assistant.io/docs/ecosystem/notebooks/ -2017-10-02T05:57:34+00:00 +2017-10-02T12:18:50+00:00 https://home-assistant.io/docs/ecosystem/scenegen/ -2017-10-02T05:57:34+00:00 +2017-10-02T12:18:50+00:00 https://home-assistant.io/docs/ecosystem/synology/ -2017-10-02T05:57:34+00:00 +2017-10-02T12:18:50+00:00 https://home-assistant.io/docs/tools/ -2017-10-02T05:57:34+00:00 +2017-10-02T12:18:50+00:00 https://home-assistant.io/docs/tools/dev-tools/ -2017-10-02T05:57:34+00:00 +2017-10-02T12:18:50+00:00 https://home-assistant.io/docs/tools/hass/ -2017-10-02T05:57:34+00:00 +2017-10-02T12:18:50+00:00 https://home-assistant.io/docs/tools/scripts/ -2017-10-02T05:57:34+00:00 +2017-10-02T12:18:50+00:00 https://home-assistant.io/faq/after-upgrading/ @@ -5122,62 +5122,62 @@ https://home-assistant.io/demo/frontend.html -2017-10-02T05:57:03+00:00 +2017-10-02T12:18:11+00:00 https://home-assistant.io/demo/index.html -2017-10-02T05:57:03+00:00 +2017-10-02T12:18:11+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-event.html -2017-10-02T05:57:03+00:00 +2017-10-02T12:18:11+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-info.html -2017-10-02T05:57:03+00:00 +2017-10-02T12:18:11+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-service.html -2017-10-02T05:57:03+00:00 +2017-10-02T12:18:11+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-state.html -2017-10-02T05:57:03+00:00 +2017-10-02T12:18:11+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-template.html -2017-10-02T05:57:03+00:00 +2017-10-02T12:18:11+00:00 https://home-assistant.io/demo/panels/ha-panel-history.html -2017-10-02T05:57:03+00:00 +2017-10-02T12:18:11+00:00 https://home-assistant.io/demo/panels/ha-panel-iframe.html -2017-10-02T05:57:03+00:00 +2017-10-02T12:18:11+00:00 https://home-assistant.io/demo/panels/ha-panel-logbook.html -2017-10-02T05:57:03+00:00 +2017-10-02T12:18:11+00:00 https://home-assistant.io/demo/panels/ha-panel-map.html -2017-10-02T05:57:03+00:00 +2017-10-02T12:18:11+00:00 https://home-assistant.io/googlef4f3693c209fe788.html -2017-10-02T05:57:03+00:00 +2017-10-02T12:18:11+00:00 https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html -2017-10-02T05:57:03+00:00 +2017-10-02T12:18:11+00:00 https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html -2017-10-02T05:57:03+00:00 +2017-10-02T12:18:11+00:00 https://home-assistant.io/static/mdi-demo.html -2017-10-02T05:57:03+00:00 +2017-10-02T12:18:11+00:00