diff --git a/atom.xml b/atom.xml index c92ac4ca64..33d318f745 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@
For your setup we need to modify the file /etc/motion/motion.conf
. For now the most important parameters are videodevice
, snapshot_interval
, and target_dir
. We are going to use the device /dev/video1
, use a 30 seconds interval, and set the path to /tmp
. Edit /etc/motion/motion.conf
or use sed
.
For our setup we need to modify the file /etc/motion/motion.conf
. For now the most important parameters are videodevice
, snapshot_interval
, and target_dir
. The other settings can be left to their defaults. We are going to use the device /dev/video1
, use a 30 seconds interval, and set the path to /tmp
.
$ sudo sed -i 's|videodevice /dev/video0|videodevice /dev/video1|g' /etc/motion/motion.conf -$ sudo sed -i 's|target_dir /var/motion|target_dir /tmp|g' /etc/motion/motion.conf -$ sudo sed -i 's|snapshot_interval 0|snapshot_interval 30|g' /etc/motion/motion.conf +[...] +########################################################### +# Capture device options +############################################################ + +# Videodevice to be used for capturing (default /dev/video0) +# for FreeBSD default is /dev/bktr0 +videodevice /dev/video1 + +[..] +############################################################ +# Snapshots (Traditional Periodic Webcam File Output) +############################################################ + +# Make automated snapshot every N seconds (default: 0 = disabled) +snapshot_interval 30 + +[...] +############################################################ +# Target Directories and filenames For Images And Films +# For the options snapshot_, picture_, movie_ and timelapse_filename +# you can use conversion specifiers +# %Y = year, %m = month, %d = date, +# %H = hour, %M = minute, %S = second, +# %v = event, %q = frame number, %t = thread (camera) number, +# %D = changed pixels, %N = noise level, +# %i and %J = width and height of motion area, +# %K and %L = X and Y coordinates of motion center +# %C = value defined by text_event +# Quotation marks round string are allowed. +############################################################ + +# Target base directory for pictures and films +# Recommended to use absolute path. (Default: current working directory) +target_dir /tmp + +[...]
It’s suggested that you adjust at least width
and height
to get a bigger image from your camera. Now fire up motion
.
It’s suggested that you adjust at least width
and height
to get a bigger image from your camera. If you are done, fire up motion
.
$ sudo motion diff --git a/blog/2016/06/23/usb-webcams-and-home-assistant/index.html b/blog/2016/06/23/usb-webcams-and-home-assistant/index.html index 34d67212ef..7d8dacd7d8 100644 --- a/blog/2016/06/23/usb-webcams-and-home-assistant/index.html +++ b/blog/2016/06/23/usb-webcams-and-home-assistant/index.html @@ -87,7 +87,7 @@
For your setup we need to modify the file /etc/motion/motion.conf
. For now the most important parameters are videodevice
, snapshot_interval
, and target_dir
. We are going to use the device /dev/video1
, use a 30 seconds interval, and set the path to /tmp
. Edit /etc/motion/motion.conf
or use sed
.
For our setup we need to modify the file /etc/motion/motion.conf
. For now the most important parameters are videodevice
, snapshot_interval
, and target_dir
. The other settings can be left to their defaults. We are going to use the device /dev/video1
, use a 30 seconds interval, and set the path to /tmp
.
$ sudo sed -i 's|videodevice /dev/video0|videodevice /dev/video1|g' /etc/motion/motion.conf -$ sudo sed -i 's|target_dir /var/motion|target_dir /tmp|g' /etc/motion/motion.conf -$ sudo sed -i 's|snapshot_interval 0|snapshot_interval 30|g' /etc/motion/motion.conf +[...] +########################################################### +# Capture device options +############################################################ + +# Videodevice to be used for capturing (default /dev/video0) +# for FreeBSD default is /dev/bktr0 +videodevice /dev/video1 + +[..] +############################################################ +# Snapshots (Traditional Periodic Webcam File Output) +############################################################ + +# Make automated snapshot every N seconds (default: 0 = disabled) +snapshot_interval 30 + +[...] +############################################################ +# Target Directories and filenames For Images And Films +# For the options snapshot_, picture_, movie_ and timelapse_filename +# you can use conversion specifiers +# %Y = year, %m = month, %d = date, +# %H = hour, %M = minute, %S = second, +# %v = event, %q = frame number, %t = thread (camera) number, +# %D = changed pixels, %N = noise level, +# %i and %J = width and height of motion area, +# %K and %L = X and Y coordinates of motion center +# %C = value defined by text_event +# Quotation marks round string are allowed. +############################################################ + +# Target base directory for pictures and films +# Recommended to use absolute path. (Default: current working directory) +target_dir /tmp + +[...]
It’s suggested that you adjust at least width
and height
to get a bigger image from your camera. Now fire up motion
.
It’s suggested that you adjust at least width
and height
to get a bigger image from your camera. If you are done, fire up motion
.
$ sudo motion diff --git a/blog/categories/community/atom.xml b/blog/categories/community/atom.xml index 175da9912f..1a63c4d768 100644 --- a/blog/categories/community/atom.xml +++ b/blog/categories/community/atom.xml @@ -4,7 +4,7 @@- 2016-06-23T15:59:16+00:00 +2016-06-23T16:06:15+00:00 https://home-assistant.io/ diff --git a/blog/categories/device-tracking/atom.xml b/blog/categories/device-tracking/atom.xml index 599c1d136f..102720f61e 100644 --- a/blog/categories/device-tracking/atom.xml +++ b/blog/categories/device-tracking/atom.xml @@ -4,7 +4,7 @@ - 2016-06-23T15:59:16+00:00 +2016-06-23T16:06:15+00:00 https://home-assistant.io/ diff --git a/blog/categories/esp8266/atom.xml b/blog/categories/esp8266/atom.xml index b3d05bf9cf..8c92f17980 100644 --- a/blog/categories/esp8266/atom.xml +++ b/blog/categories/esp8266/atom.xml @@ -4,7 +4,7 @@ - 2016-06-23T15:59:16+00:00 +2016-06-23T16:06:15+00:00 https://home-assistant.io/ diff --git a/blog/categories/how-to/atom.xml b/blog/categories/how-to/atom.xml index eb8abd7e64..5e6a7e7ce6 100644 --- a/blog/categories/how-to/atom.xml +++ b/blog/categories/how-to/atom.xml @@ -4,7 +4,7 @@ - 2016-06-23T15:59:16+00:00 +2016-06-23T16:06:15+00:00 https://home-assistant.io/ @@ -54,17 +54,51 @@ crw-rw----+ 1 root video 81, 1 Jun 23 08:36 /dev/video1
For your setup we need to modify the file /etc/motion/motion.conf
. For now the most important parameters are videodevice
, snapshot_interval
, and target_dir
. We are going to use the device /dev/video1
, use a 30 seconds interval, and set the path to /tmp
. Edit /etc/motion/motion.conf
or use sed
.
For our setup we need to modify the file /etc/motion/motion.conf
. For now the most important parameters are videodevice
, snapshot_interval
, and target_dir
. The other settings can be left to their defaults. We are going to use the device /dev/video1
, use a 30 seconds interval, and set the path to /tmp
.
$ sudo sed -i 's|videodevice /dev/video0|videodevice /dev/video1|g' /etc/motion/motion.conf -$ sudo sed -i 's|target_dir /var/motion|target_dir /tmp|g' /etc/motion/motion.conf -$ sudo sed -i 's|snapshot_interval 0|snapshot_interval 30|g' /etc/motion/motion.conf +[...] +########################################################### +# Capture device options +############################################################ + +# Videodevice to be used for capturing (default /dev/video0) +# for FreeBSD default is /dev/bktr0 +videodevice /dev/video1 + +[..] +############################################################ +# Snapshots (Traditional Periodic Webcam File Output) +############################################################ + +# Make automated snapshot every N seconds (default: 0 = disabled) +snapshot_interval 30 + +[...] +############################################################ +# Target Directories and filenames For Images And Films +# For the options snapshot_, picture_, movie_ and timelapse_filename +# you can use conversion specifiers +# %Y = year, %m = month, %d = date, +# %H = hour, %M = minute, %S = second, +# %v = event, %q = frame number, %t = thread (camera) number, +# %D = changed pixels, %N = noise level, +# %i and %J = width and height of motion area, +# %K and %L = X and Y coordinates of motion center +# %C = value defined by text_event +# Quotation marks round string are allowed. +############################################################ + +# Target base directory for pictures and films +# Recommended to use absolute path. (Default: current working directory) +target_dir /tmp + +[...]
It’s suggested that you adjust at least width
and height
to get a bigger image from your camera. Now fire up motion
.
It’s suggested that you adjust at least width
and height
to get a bigger image from your camera. If you are done, fire up motion
.
$ sudo motion diff --git a/blog/categories/ibeacons/atom.xml b/blog/categories/ibeacons/atom.xml index e84a7d48ec..cabf1c6678 100644 --- a/blog/categories/ibeacons/atom.xml +++ b/blog/categories/ibeacons/atom.xml @@ -4,7 +4,7 @@- 2016-06-23T15:59:16+00:00 +2016-06-23T16:06:15+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 73f02d9102..d3bc528be4 100644 --- a/blog/categories/internet-of-things/atom.xml +++ b/blog/categories/internet-of-things/atom.xml @@ -4,7 +4,7 @@ - 2016-06-23T15:59:16+00:00 +2016-06-23T16:06:15+00:00 https://home-assistant.io/ diff --git a/blog/categories/mqtt/atom.xml b/blog/categories/mqtt/atom.xml index 20a13e8184..260a536014 100644 --- a/blog/categories/mqtt/atom.xml +++ b/blog/categories/mqtt/atom.xml @@ -4,7 +4,7 @@ - 2016-06-23T15:59:16+00:00 +2016-06-23T16:06:15+00:00 https://home-assistant.io/ diff --git a/blog/categories/organisation/atom.xml b/blog/categories/organisation/atom.xml index 5db84210df..37d9d740dd 100644 --- a/blog/categories/organisation/atom.xml +++ b/blog/categories/organisation/atom.xml @@ -4,7 +4,7 @@ - 2016-06-23T15:59:16+00:00 +2016-06-23T16:06:15+00:00 https://home-assistant.io/ diff --git a/blog/categories/owntracks/atom.xml b/blog/categories/owntracks/atom.xml index e736b85f12..262e0f0b3a 100644 --- a/blog/categories/owntracks/atom.xml +++ b/blog/categories/owntracks/atom.xml @@ -4,7 +4,7 @@ - 2016-06-23T15:59:16+00:00 +2016-06-23T16:06:15+00:00 https://home-assistant.io/ diff --git a/blog/categories/presence-detection/atom.xml b/blog/categories/presence-detection/atom.xml index 7679dfb664..3b27203243 100644 --- a/blog/categories/presence-detection/atom.xml +++ b/blog/categories/presence-detection/atom.xml @@ -4,7 +4,7 @@ - 2016-06-23T15:59:16+00:00 +2016-06-23T16:06:15+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 615c6639bc..e2f9691cca 100644 --- a/blog/categories/public-service-announcement/atom.xml +++ b/blog/categories/public-service-announcement/atom.xml @@ -4,7 +4,7 @@ - 2016-06-23T15:59:16+00:00 +2016-06-23T16:06:15+00:00 https://home-assistant.io/ diff --git a/blog/categories/release-notes/atom.xml b/blog/categories/release-notes/atom.xml index 399a34256e..91873d34e2 100644 --- a/blog/categories/release-notes/atom.xml +++ b/blog/categories/release-notes/atom.xml @@ -4,7 +4,7 @@ - 2016-06-23T15:59:16+00:00 +2016-06-23T16:06:15+00:00 https://home-assistant.io/ diff --git a/blog/categories/survey/atom.xml b/blog/categories/survey/atom.xml index 8e80597feb..2ddf80f6f2 100644 --- a/blog/categories/survey/atom.xml +++ b/blog/categories/survey/atom.xml @@ -4,7 +4,7 @@ - 2016-06-23T15:59:16+00:00 +2016-06-23T16:06:15+00:00 https://home-assistant.io/ diff --git a/blog/categories/talks/atom.xml b/blog/categories/talks/atom.xml index 273f4807b4..e324130b8a 100644 --- a/blog/categories/talks/atom.xml +++ b/blog/categories/talks/atom.xml @@ -4,7 +4,7 @@ - 2016-06-23T15:59:16+00:00 +2016-06-23T16:06:15+00:00 https://home-assistant.io/ diff --git a/blog/categories/technology/atom.xml b/blog/categories/technology/atom.xml index 5b789ec9eb..21052752a0 100644 --- a/blog/categories/technology/atom.xml +++ b/blog/categories/technology/atom.xml @@ -4,7 +4,7 @@ - 2016-06-23T15:59:16+00:00 +2016-06-23T16:06:15+00:00 https://home-assistant.io/ diff --git a/blog/categories/user-stories/atom.xml b/blog/categories/user-stories/atom.xml index 9aa0b66565..c5a161da1a 100644 --- a/blog/categories/user-stories/atom.xml +++ b/blog/categories/user-stories/atom.xml @@ -4,7 +4,7 @@ - 2016-06-23T15:59:16+00:00 +2016-06-23T16:06:15+00:00 https://home-assistant.io/ diff --git a/blog/categories/video/atom.xml b/blog/categories/video/atom.xml index 618a875500..edad1a2132 100644 --- a/blog/categories/video/atom.xml +++ b/blog/categories/video/atom.xml @@ -4,7 +4,7 @@ - 2016-06-23T15:59:16+00:00 +2016-06-23T16:06:15+00:00 https://home-assistant.io/ diff --git a/blog/categories/website/atom.xml b/blog/categories/website/atom.xml index 6c7f8a2054..7262800cff 100644 --- a/blog/categories/website/atom.xml +++ b/blog/categories/website/atom.xml @@ -4,7 +4,7 @@ - 2016-06-23T15:59:16+00:00 +2016-06-23T16:06:15+00:00 https://home-assistant.io/ diff --git a/blog/index.html b/blog/index.html index 57b9df6c85..0773afd2c0 100644 --- a/blog/index.html +++ b/blog/index.html @@ -90,7 +90,7 @@