diff --git a/atom.xml b/atom.xml index a62003797c..0af96d67fa 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Home Assistant]]> - 2017-11-18T14:43:51+00:00 + 2017-11-18T19:57:33+00:00 https://home-assistant.io/ diff --git a/blog/categories/announcements/atom.xml b/blog/categories/announcements/atom.xml index f14085617c..b848a7dd94 100644 --- a/blog/categories/announcements/atom.xml +++ b/blog/categories/announcements/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Announcements | Home Assistant]]> - 2017-11-18T14:43:51+00:00 + 2017-11-18T19:57:33+00:00 https://home-assistant.io/ diff --git a/blog/categories/community/atom.xml b/blog/categories/community/atom.xml index 5773fa751c..6775c48dcc 100644 --- a/blog/categories/community/atom.xml +++ b/blog/categories/community/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Community | Home Assistant]]> - 2017-11-18T14:43:51+00:00 + 2017-11-18T19:57:33+00:00 https://home-assistant.io/ diff --git a/blog/categories/device-tracking/atom.xml b/blog/categories/device-tracking/atom.xml index 9d7a88a0ce..645a394d28 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-11-18T14:43:51+00:00 + 2017-11-18T19:57:33+00:00 https://home-assistant.io/ diff --git a/blog/categories/esp8266/atom.xml b/blog/categories/esp8266/atom.xml index 2aaffdd0c1..aacc06774f 100644 --- a/blog/categories/esp8266/atom.xml +++ b/blog/categories/esp8266/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: ESP8266 | Home Assistant]]> - 2017-11-18T14:43:51+00:00 + 2017-11-18T19:57:33+00:00 https://home-assistant.io/ diff --git a/blog/categories/how-to/atom.xml b/blog/categories/how-to/atom.xml index 75319ced16..c92ea71ec5 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-11-18T14:43:51+00:00 + 2017-11-18T19:57:33+00:00 https://home-assistant.io/ diff --git a/blog/categories/ibeacons/atom.xml b/blog/categories/ibeacons/atom.xml index 4ea533fc84..e32b831144 100644 --- a/blog/categories/ibeacons/atom.xml +++ b/blog/categories/ibeacons/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: iBeacons | Home Assistant]]> - 2017-11-18T14:43:51+00:00 + 2017-11-18T19:57:33+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 069fc0bd0e..960130e052 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-11-18T14:43:51+00:00 + 2017-11-18T19:57:33+00:00 https://home-assistant.io/ diff --git a/blog/categories/iot-data/atom.xml b/blog/categories/iot-data/atom.xml index 0a62697a91..194b835865 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-11-18T14:43:51+00:00 + 2017-11-18T19:57:33+00:00 https://home-assistant.io/ diff --git a/blog/categories/media/atom.xml b/blog/categories/media/atom.xml index 4939bc5ed5..179e7fa536 100644 --- a/blog/categories/media/atom.xml +++ b/blog/categories/media/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Media | Home Assistant]]> - 2017-11-18T14:43:51+00:00 + 2017-11-18T19:57:33+00:00 https://home-assistant.io/ diff --git a/blog/categories/merchandise/atom.xml b/blog/categories/merchandise/atom.xml index b5103a145b..475c59d592 100644 --- a/blog/categories/merchandise/atom.xml +++ b/blog/categories/merchandise/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Merchandise | Home Assistant]]> - 2017-11-18T14:43:51+00:00 + 2017-11-18T19:57:33+00:00 https://home-assistant.io/ diff --git a/blog/categories/micropython/atom.xml b/blog/categories/micropython/atom.xml index a341551b22..1132a7da1d 100644 --- a/blog/categories/micropython/atom.xml +++ b/blog/categories/micropython/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Micropython | Home Assistant]]> - 2017-11-18T14:43:51+00:00 + 2017-11-18T19:57:33+00:00 https://home-assistant.io/ diff --git a/blog/categories/mqtt/atom.xml b/blog/categories/mqtt/atom.xml index 7a0cb4e223..ce22fe08fb 100644 --- a/blog/categories/mqtt/atom.xml +++ b/blog/categories/mqtt/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: MQTT | Home Assistant]]> - 2017-11-18T14:43:51+00:00 + 2017-11-18T19:57:33+00:00 https://home-assistant.io/ diff --git a/blog/categories/organisation/atom.xml b/blog/categories/organisation/atom.xml index bff823271a..c504076b79 100644 --- a/blog/categories/organisation/atom.xml +++ b/blog/categories/organisation/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Organisation | Home Assistant]]> - 2017-11-18T14:43:51+00:00 + 2017-11-18T19:57:33+00:00 https://home-assistant.io/ diff --git a/blog/categories/owntracks/atom.xml b/blog/categories/owntracks/atom.xml index b465aec947..ceb923fe37 100644 --- a/blog/categories/owntracks/atom.xml +++ b/blog/categories/owntracks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: OwnTracks | Home Assistant]]> - 2017-11-18T14:43:51+00:00 + 2017-11-18T19:57:33+00:00 https://home-assistant.io/ diff --git a/blog/categories/presence-detection/atom.xml b/blog/categories/presence-detection/atom.xml index 9b2eb5d809..3b27994c5f 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-11-18T14:43:51+00:00 + 2017-11-18T19:57:33+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 37453619aa..ec36695215 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-11-18T14:43:51+00:00 + 2017-11-18T19:57:33+00:00 https://home-assistant.io/ diff --git a/blog/categories/release-notes/atom.xml b/blog/categories/release-notes/atom.xml index 4de46f73d1..64b122232b 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-11-18T14:43:51+00:00 + 2017-11-18T19:57:33+00:00 https://home-assistant.io/ diff --git a/blog/categories/survey/atom.xml b/blog/categories/survey/atom.xml index 532442cc14..402488a8f4 100644 --- a/blog/categories/survey/atom.xml +++ b/blog/categories/survey/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Survey | Home Assistant]]> - 2017-11-18T14:43:51+00:00 + 2017-11-18T19:57:33+00:00 https://home-assistant.io/ diff --git a/blog/categories/talks/atom.xml b/blog/categories/talks/atom.xml index 76ef2e50a3..b1848f0eb6 100644 --- a/blog/categories/talks/atom.xml +++ b/blog/categories/talks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Talks | Home Assistant]]> - 2017-11-18T14:43:51+00:00 + 2017-11-18T19:57:33+00:00 https://home-assistant.io/ diff --git a/blog/categories/technology/atom.xml b/blog/categories/technology/atom.xml index 4c88152e65..d408eee375 100644 --- a/blog/categories/technology/atom.xml +++ b/blog/categories/technology/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Technology | Home Assistant]]> - 2017-11-18T14:43:51+00:00 + 2017-11-18T19:57:33+00:00 https://home-assistant.io/ diff --git a/blog/categories/user-stories/atom.xml b/blog/categories/user-stories/atom.xml index 0fa868ef69..e3974f4123 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-11-18T14:43:51+00:00 + 2017-11-18T19:57:33+00:00 https://home-assistant.io/ diff --git a/blog/categories/video/atom.xml b/blog/categories/video/atom.xml index 1bd43a7171..c86c390f1f 100644 --- a/blog/categories/video/atom.xml +++ b/blog/categories/video/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Video | Home Assistant]]> - 2017-11-18T14:43:51+00:00 + 2017-11-18T19:57:33+00:00 https://home-assistant.io/ diff --git a/blog/categories/website/atom.xml b/blog/categories/website/atom.xml index 59ed353ef7..199f9a9562 100644 --- a/blog/categories/website/atom.xml +++ b/blog/categories/website/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Website | Home Assistant]]> - 2017-11-18T14:43:51+00:00 + 2017-11-18T19:57:33+00:00 https://home-assistant.io/ diff --git a/components/camera.ring/index.html b/components/camera.ring/index.html index 518dc992ed..ce026f1259 100644 --- a/components/camera.ring/index.html +++ b/components/camera.ring/index.html @@ -88,19 +88,26 @@

Note: To be able to playback the last capture, it is required to install the ffmpeg component. Make sure to follow the steps mentioned at FFMPEG documentation.

Currently it supports doorbell and stickup cameras.

-

Saving locally the videos captured by your Ring Door Bell

-

You can save locally the latest video captured by your Ring Door Bell by enabling the downloader and the python_scripts components.

-
    -
  • Add to the configuration.yaml the downloader and python_scripts. Visit the component page for further details.
  • -
-
python_script:
-downloader:
-  download_dir: downloads
-
+

Saving the videos captured by your Ring Door Bell

+

You can save locally the latest video captured by your Ring Door Bell using the downloader along with either an automation or python_script. First, enable the downloader component in your configuration by adding the following to your configuration.yaml.

+
downloader:
+  download_dir: downloads
+
-
    -
  • Create a file ring_downloader.py in the folder <config>/python_scripts and give it this content:
  • -
+

Then you can use the following action in your automation (this will save the video file under <config>/downloads/ring_<camera_name>/):

+
action:
+  - service: downloader.download_file
+    data_template:
+      url: ""
+      subdir: ""
+      filename: ""
+
+
+

If you want to use python_script, enable it your configuration.yaml file first:

+
python_script:
+
+
+

You can then use the following python_script to save the video file:

# obtain ring doorbell camera object
 # replace the camera.front_door by your camera entity
 ring_cam = hass.states.get('camera.front_door')
@@ -111,18 +118,13 @@
 data = {
     'url': ring_cam.attributes.get('video_url'),
     'subdir': subdir_name,
+    'filename': ring_cam.attributes.get('friendly_name')
 }
 
 # call downloader component to save the video
 hass.services.call('downloader', 'download_file', data)
 
-
    -
  • Start Home Assistant
  • -
  • Call the server python_script/ring_downloader
  • -
-

You should be able to see a video file saved under <config>/<downloader_dir>/ring_<camera_name>/.

-

You can also automate the process by integrating it with the (automation)[/components/automation) component.