{"id":111,"date":"2016-12-12T23:58:21","date_gmt":"2016-12-12T23:58:21","guid":{"rendered":"http:\/\/blog.warbel.net\/?p=111"},"modified":"2016-12-12T23:58:21","modified_gmt":"2016-12-12T23:58:21","slug":"motioneye-cameras-failing","status":"publish","type":"post","link":"https:\/\/blog.warbel.net\/index.php\/2016\/12\/12\/motioneye-cameras-failing\/","title":{"rendered":"MotionEye Cameras Failing"},"content":{"rendered":"<p>It seems that after a period of time the webcams attached to my raspberry pi fail after about 2 days of usage. While I haven&#8217;t had the time to delve into the reasons why, a fix or workaround is to have the device restart every day at 5am.<\/p>\n<p>Log into the raspberry pi as the administrator and edit the crontab file with: <strong>crontab -e<\/p>\n<p><\/strong>Then add the following line:<br \/>\n<strong>0 5 * * * shutdown -hr now &gt;\/dev\/null 2&gt;&amp;1<\/strong><\/p>\n<p>This will restart the device every day at 5am. It should keep working until I have the time to look through the system logs and find what the problem is. I suspect it may be power related, or just bad coding somewhere?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It seems that after a period of time the webcams attached to my raspberry pi fail after about 2 days of usage. While I haven&#8217;t had the time to delve into the reasons why, a fix or workaround is to &hellip; <a href=\"https:\/\/blog.warbel.net\/index.php\/2016\/12\/12\/motioneye-cameras-failing\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[3,4],"tags":[],"class_list":["post-111","post","type-post","status-publish","format-standard","hentry","category-motioneye","category-security"],"_links":{"self":[{"href":"https:\/\/blog.warbel.net\/index.php\/wp-json\/wp\/v2\/posts\/111","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.warbel.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.warbel.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.warbel.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.warbel.net\/index.php\/wp-json\/wp\/v2\/comments?post=111"}],"version-history":[{"count":1,"href":"https:\/\/blog.warbel.net\/index.php\/wp-json\/wp\/v2\/posts\/111\/revisions"}],"predecessor-version":[{"id":112,"href":"https:\/\/blog.warbel.net\/index.php\/wp-json\/wp\/v2\/posts\/111\/revisions\/112"}],"wp:attachment":[{"href":"https:\/\/blog.warbel.net\/index.php\/wp-json\/wp\/v2\/media?parent=111"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.warbel.net\/index.php\/wp-json\/wp\/v2\/categories?post=111"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.warbel.net\/index.php\/wp-json\/wp\/v2\/tags?post=111"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}