{"id":1598,"date":"2016-06-24T15:21:51","date_gmt":"2016-06-24T14:21:51","guid":{"rendered":"http:\/\/slave27.local\/kb\/?p=1598"},"modified":"2016-06-24T15:21:51","modified_gmt":"2016-06-24T14:21:51","slug":"installing-motion-on-ubuntu","status":"publish","type":"post","link":"https:\/\/andy.teknostatik.co.uk\/kb\/2016\/06\/24\/installing-motion-on-ubuntu\/","title":{"rendered":"Installing Motion on Ubuntu"},"content":{"rendered":"<p>Install <code>motion<\/code>:<\/p>\n<pre><code>sudo apt-get install motion\n<\/code><\/pre>\n<p>Enable <code>motion<\/code> to start at boot:<\/p>\n<pre><code>sudo nano \/etc\/default\/motion\n<\/code><\/pre>\n<p>Find the line that says <code>start_motion_daemon=no<\/code> and change it to <code>start_motion_daemon=yes<\/code>.<\/p>\n<p>Enable the stream to be viewed from other computers on the local network, and also make the output a little bigger:<\/p>\n<pre><code>sudo nano \/etc\/motion\/motion.conf\n<\/code><\/pre>\n<p>Change the following values:<\/p>\n<pre><code>daemon on    \nwidth 640     \nheight 480     \nframerate 100     \nstream_localhost off    \n<\/code><\/pre>\n<p>Reboot, and then go to <a href=\"http:\/\/localhost:8081\">http:\/\/localhost:8081<\/a> (or the IP address of the PC).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Install motion: sudo apt-get install motion Enable motion to start at boot: sudo nano \/etc\/default\/motion Find the line that says start_motion_daemon=no and change it to start_motion_daemon=yes. Enable the stream to be viewed from other computers on the local network, and also make the output a little bigger: sudo nano \/etc\/motion\/motion.conf Change the following values: daemon &#8230; <a title=\"Installing Motion on Ubuntu\" class=\"read-more\" href=\"https:\/\/andy.teknostatik.co.uk\/kb\/2016\/06\/24\/installing-motion-on-ubuntu\/\" aria-label=\"Read more about Installing Motion on Ubuntu\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":"","_share_on_mastodon":"0"},"categories":[5,7,8],"tags":[],"class_list":["post-1598","post","type-post","status-publish","format-standard","hentry","category-linux","category-raspberry-pi","category-ubuntu"],"share_on_mastodon":{"url":"","error":""},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/posts\/1598","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/comments?post=1598"}],"version-history":[{"count":0,"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/posts\/1598\/revisions"}],"wp:attachment":[{"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/media?parent=1598"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/categories?post=1598"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/tags?post=1598"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}