{"id":1495,"date":"2018-07-21T21:49:40","date_gmt":"2018-07-22T01:49:40","guid":{"rendered":"https:\/\/www.webcommand.net\/?p=1495"},"modified":"2018-07-21T21:49:40","modified_gmt":"2018-07-22T01:49:40","slug":"cooling-your-motioneye-pi-zero-security-camera","status":"publish","type":"post","link":"https:\/\/www.webcommand.net\/index.php\/2018\/07\/21\/cooling-your-motioneye-pi-zero-security-camera\/","title":{"rendered":"Cooling your Motioneye Pi Zero Security Camera"},"content":{"rendered":"<p>Welcome to part two of my post. Previously I spoke about building a security system using a Raspberry Pi Zero and MotioneyeOS. (<a href=\"https:\/\/www.webcommand.net\/index.php\/2018\/07\/21\/motioneye-raspberry-pi-zero-security-system\/\">Read Here<\/a>) I built and installed the system in February and it was working great.\u00a0 I even caught some Ass-Hat driving over my lawn and trash (<a href=\"https:\/\/www.webcommand.net\/index.php\/2018\/02\/14\/motioneyeos-cam-working-designed-catches-ass-hat-driving-lawn-trash\/\">Read Here<\/a>). I ran into one issue with this system. Once Summer was here and the outside temperatures hit 90\u00b0 (32\u00b0c) The processor temperature of the Pi Zero was topping 161\u00b0 (72\u00b0C) and lack of cooling was causing my Pi Zeros to crash<\/p>\n<p>According to the Raspberry Pi foundation the boards are specked to approach 80\u00b0C but mine were failing in the mid 70&#8217;s. So now to work on a solution.<\/p>\n<h5>How to cool your outdoor Motioneye camera<\/h5>\n<p>My first attempt was an obvious one &#8211; Paint the camera white.<br \/>\nThe waterproof boxes I was using to house the camera had a clear cover. To reduce the amount of sunlight, I simply painted the box white<\/p>\n<p><a href=\"https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-01-29-09-49-24_1722-e1532208208718.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1488\" src=\"https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-01-29-09-49-24_1722-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" \/><\/a><a href=\"https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-07-21-11-22-18_2615.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1496\" src=\"https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-07-21-11-22-18_2615-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-07-21-11-22-18_2615-300x225.jpg 300w, https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-07-21-11-22-18_2615-150x113.jpg 150w, https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-07-21-11-22-18_2615-768x576.jpg 768w, https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-07-21-11-22-18_2615-1024x768.jpg 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Painting the box was helpful and kept the system cooler , but it still wasn&#8217;t enough.\u00a0 The next step was to vent the box simply by drilling a few small holes at the bottom. I know this compromises my &#8220;waterproof&#8221; concept, but I am hedging my bets if any rain water was to enter the box, it would remain at the bottom and not touch the electronics.<\/p>\n<p><a href=\"https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-07-21-11-22-18_2616.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1497\" src=\"https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-07-21-11-22-18_2616-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-07-21-11-22-18_2616-300x225.jpg 300w, https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-07-21-11-22-18_2616-150x113.jpg 150w, https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-07-21-11-22-18_2616-768x576.jpg 768w, https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-07-21-11-22-18_2616-1024x768.jpg 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Still not good enough! I want to add a fan, but I only want the fan to run when the CPU hits a specific temperature. There is no need to run the fan on cool nights or during the winter. So I decided to use the GPIO pins on the PI Zero to control the fan.<\/p>\n<h5>Controlling the cooling fan via GPIO pins<\/h5>\n<p>Parts List<\/p>\n<ul>\n<li>5 Volt cooling fan<\/li>\n<li>1 NPN Transistor<\/li>\n<li>1 1K\u03a9 Resistor (or equivalent)<\/li>\n<li>Small breadboard<\/li>\n<li>Soldering iron \/ solder<\/li>\n<\/ul>\n<h5>How to assemble<\/h5>\n<p>Its probably not a good idea to connect a fan directly to one of the GPIO pins, so I used a simple transistor and resistor to help limit the current being drawn via the pin<\/p>\n<p><a href=\"https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/fan.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1498 size-medium\" src=\"https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/fan-e1532220663691-300x242.png\" alt=\"\" width=\"300\" height=\"242\" srcset=\"https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/fan-e1532220663691-300x242.png 300w, https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/fan-e1532220663691-150x121.png 150w, https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/fan-e1532220663691.png 597w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><!--more--><\/p>\n<p>The Pi Zero has the same pin configuration as its big brother.<br \/>\nThe 5V pin connects directly to the fan, while the ground pin connects from the Pi through the emitter and collector of the transistor out to the fan. Finally the base of the transistor is connected via the resistor back to GPIO2 on the Pi.<\/p>\n<p>When you power up the Pi the fan should start to run<\/p>\n<h4>You will need to execute the following code to test the fan, th<strong>is will enable GPIO 2<\/strong><\/h4>\n<pre id=\"597c\" class=\"graf graf--pre graf-after--h4\">echo \u201d2\u201d&gt;\/sys\/class\/gpio\/export\r\necho \u201dout\u201d&gt;\/sys\/class\/gpio\/gpio2\/direction<\/pre>\n<h4>The following commands will turn the fan on and off<\/h4>\n<pre class=\"graf graf--pre graf-after--h4\">echo \u201d1\u201d&gt;\/sys\/class\/gpio\/gpio2\/value\r\necho \u201c0\u201d&gt;\/sys\/class\/gpio\/gpio2\/value<\/pre>\n<h5 class=\"graf graf--pre graf-after--h4\">How do we automate this?<\/h5>\n<p class=\"graf graf--pre graf-after--h4\">If you&#8217;re running a MotioneyeOS image the filesystem is mounted read only. We need to allow read\/write<\/p>\n<pre class=\"graf graf--pre graf-after--h4\">mount -o remount,rw \/<\/pre>\n<p class=\"graf graf--pre graf-after--h4\">We are going to need to edit a few files, make sure NANO is installed<br \/>\n(If you used the MotioneyeOS image you can SKIP this step)<\/p>\n<pre id=\"69ff\" class=\"graf graf--pre graf-after--p\">apt-get update &amp;&amp; apt-get upgrade\r\napt-get install nano<\/pre>\n<p class=\"graf graf--pre graf-after--h4\">Also, set up a folder to place our automated script<\/p>\n<pre id=\"4a16\" class=\"graf graf--pre graf-after--p\">mkdir \/home\/fan\r\ncd \/home\/fan<\/pre>\n<p>Lets make the script in the &#8220;fan&#8221; folder<\/p>\n<pre>nano \/home\/fan\/fan.sh<\/pre>\n<pre id=\"3b5d\" class=\"graf graf--pre graf-after--p\">#!\/bin\/sh\r\ntimestamp() {\r\ndate +\u201d%Y-%m-%d %T\u201d\r\n}\r\nLOGDIR=\u201d\/var\/log\/fan.log\u201d\r\n<strong><span style=\"color: #ff0000;\">VALUE=55<\/span><\/strong>\r\nTEMP=`vcgencmd measure_temp | cut -c6,7`\r\nSTATUS=`cat \/sys\/class\/gpio\/gpio2\/value`\r\necho `timestamp` \u201d Info: Temperature: $TEMP\u201d&gt;&gt;$LOGDIR\r\nif [ $TEMP -ge $VALUE ] &amp;&amp; [ $STATUS -eq 0 ]\r\nthen\r\necho `timestamp` \u201d Warning: Fan started.\u201d&gt;&gt;$LOGDIR\r\necho \u201d1\u201d&gt;\/sys\/class\/gpio\/gpio2\/value\r\nelif [ $TEMP -le $VALUE ] &amp;&amp; [ $STATUS -eq 1 ]\r\nthen\r\necho `timestamp` \u201d Warning: Fan stopped.\u201d&gt;&gt;$LOGDIR\r\necho \u201d0\u201d&gt;\/sys\/class\/gpio\/gpio2\/value\r\nfi<\/pre>\n<p>Set the value to what temp you would like the fan to run at.\u00a0 I set mine at 55\u00b0C and it appears to be working out OK. Save the script and now would be a good time to test.<\/p>\n<p>On the command line try this<\/p>\n<pre>sh \/home\/fan\/fan.sh<\/pre>\n<p>Depending on the current temp of the Pi the fan may start or stop. Play with this for a few moments by editing the script and setting different values.to make sure the script is working.<\/p>\n<p>You are also going to have to set your fan.sh script to execute.<\/p>\n<pre>chmod +x \/home\/fan\/fan.sh<\/pre>\n<p>Now we need to set a cron job to execute our script once per minute<\/p>\n<p>Run the command to edit the cron job<\/p>\n<pre id=\"805e\" class=\"graf graf--pre graf-after--p\">crontab -e<\/pre>\n<p>Then add this to the file<\/p>\n<pre id=\"0de5\" class=\"graf graf--pre graf-after--p\">* * * * * \/home\/fan\/sh<\/pre>\n<p>Save the file<\/p>\n<p>One last piece of house keeping at the very start you typed two echo commands to enable GPIO2. We need these commands to run at boot anytime the camera reboots.<\/p>\n<p>Edit this file<\/p>\n<pre>nano \/var\/init.d\/S99showinfo<\/pre>\n<p>Then paste this at the top of the file (just below #!\/bin\/bash)<\/p>\n<pre>echo \u201d2\u201d&gt;\/sys\/class\/gpio\/export \r\necho \u201dout\u201d&gt;\/sys\/class\/gpio\/gpio2\/direction<\/pre>\n<p>REBOOT and it should all be working! Thoroughly test and make sure the fan starts and stops at the preset temp.<\/p>\n<h5>What does my setup look like?<\/h5>\n<p>I salvaged a 5v fan from an old video card<\/p>\n<p><a href=\"https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-07-21-11-22-15_2609.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-thumbnail wp-image-1500\" src=\"https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-07-21-11-22-15_2609-150x123.jpg\" alt=\"\" width=\"150\" height=\"123\" srcset=\"https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-07-21-11-22-15_2609-150x123.jpg 150w, https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-07-21-11-22-15_2609-300x246.jpg 300w, https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-07-21-11-22-15_2609-768x630.jpg 768w, https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-07-21-11-22-15_2609-1024x840.jpg 1024w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/a><\/p>\n<p>soldered it to a scrap bread board<\/p>\n<p><a href=\"https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-07-17-08-27-33_2606-e1532222782920.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-thumbnail wp-image-1501\" src=\"https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-07-17-08-27-33_2606-e1532222782920-150x86.jpg\" alt=\"\" width=\"150\" height=\"86\" srcset=\"https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-07-17-08-27-33_2606-e1532222782920-150x86.jpg 150w, https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-07-17-08-27-33_2606-e1532222782920-300x172.jpg 300w, https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-07-17-08-27-33_2606-e1532222782920-768x441.jpg 768w, https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-07-17-08-27-33_2606-e1532222782920-1024x588.jpg 1024w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/a><\/p>\n<p>soldered the breadboard to the GPIO pins on my Pi<\/p>\n<p><a href=\"https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-07-21-11-22-16_2612.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-thumbnail wp-image-1502\" src=\"https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-07-21-11-22-16_2612-150x113.jpg\" alt=\"\" width=\"150\" height=\"113\" srcset=\"https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-07-21-11-22-16_2612-150x113.jpg 150w, https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-07-21-11-22-16_2612-300x225.jpg 300w, https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-07-21-11-22-16_2612-768x576.jpg 768w, https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-07-21-11-22-16_2612-1024x768.jpg 1024w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/a><\/p>\n<p>finally mounted the whole thing into the camera box<\/p>\n<p><a href=\"https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-07-21-11-22-17_2614.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1503\" src=\"https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-07-21-11-22-17_2614-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" \/><\/a><\/p>\n<p>Closed up the box and placed the unit back into service<\/p>\n<p><a href=\"https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-07-21-11-22-18_2615.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1496\" src=\"https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-07-21-11-22-18_2615-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-07-21-11-22-18_2615-300x225.jpg 300w, https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-07-21-11-22-18_2615-150x113.jpg 150w, https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-07-21-11-22-18_2615-768x576.jpg 768w, https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-07-21-11-22-18_2615-1024x768.jpg 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>DONE!<\/p>\n<p>The fan is able to keep my cameras below 70\u00baC on even the hottest of days and don&#8217;t have to run 24&#215;7 saving the longevity of the fan.<\/p>\n<h5>Final thoughts and notes:<\/h5>\n<ul>\n<li>I was thinking of adding an indicator to visually show if the fan was running, however if you SSH into the Pi Zero you can run this command to see if GPIO pin 2 is Hi\/On (1) or Low\/Off(0)<\/li>\n<\/ul>\n<pre><code>cat \/sys\/class\/gpio\/gpio2\/value<\/code><\/pre>\n<ul>\n<li>Some boards run hotter than others. I have one Pi Zero that is 10\u00b0 warmer at night than the other two.<\/li>\n<li>Can we use a 3 or 4 wire fan and connect to another GPIO pin to detect fan failure?<\/li>\n<li>IMPORTANT! If you used the MotioneyeOS image and run an update. it will overwrite your modifications. So keep this post handy or don&#8217;t update.<\/li>\n<\/ul>\n<p>Thank you for reading my blog<br \/>\nJoe<\/p>\n<p>Don&#8217;t forget to read <a href=\"https:\/\/www.webcommand.net\/index.php\/2018\/07\/21\/motioneye-raspberry-pi-zero-security-system\/\">PART 1<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Welcome to part two of my post. Previously I spoke about building a security system using a Raspberry Pi Zero and MotioneyeOS. (Read Here) I built and installed the system in February and it was working great.\u00a0 I even caught some Ass-Hat driving over my lawn and trash (Read Here). I ran into one issue &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.webcommand.net\/index.php\/2018\/07\/21\/cooling-your-motioneye-pi-zero-security-camera\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Cooling your Motioneye Pi Zero Security Camera&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":1503,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[6,12,161],"tags":[671,47,627],"class_list":["post-1495","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-computers-networking","category-diy-electronics","category-software","tag-motioneyeos","tag-raspberry-pi","tag-raspberry-pi-zero"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Cooling your Motioneye Pi Zero Security Camera - Webcommand.net<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.webcommand.net\/index.php\/2018\/07\/21\/cooling-your-motioneye-pi-zero-security-camera\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Cooling your Motioneye Pi Zero Security Camera - Webcommand.net\" \/>\n<meta property=\"og:description\" content=\"Welcome to part two of my post. Previously I spoke about building a security system using a Raspberry Pi Zero and MotioneyeOS. (Read Here) I built and installed the system in February and it was working great.\u00a0 I even caught some Ass-Hat driving over my lawn and trash (Read Here). I ran into one issue &hellip; Continue reading &quot;Cooling your Motioneye Pi Zero Security Camera&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.webcommand.net\/index.php\/2018\/07\/21\/cooling-your-motioneye-pi-zero-security-camera\/\" \/>\n<meta property=\"og:site_name\" content=\"Webcommand.net\" \/>\n<meta property=\"article:published_time\" content=\"2018-07-22T01:49:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-07-21-11-22-17_2614-e1532223645421.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"500\" \/>\n\t<meta property=\"og:image:height\" content=\"375\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Joe O\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Joe O\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.webcommand.net\\\/index.php\\\/2018\\\/07\\\/21\\\/cooling-your-motioneye-pi-zero-security-camera\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.webcommand.net\\\/index.php\\\/2018\\\/07\\\/21\\\/cooling-your-motioneye-pi-zero-security-camera\\\/\"},\"author\":{\"name\":\"Joe O\",\"@id\":\"https:\\\/\\\/www.webcommand.net\\\/#\\\/schema\\\/person\\\/7c3a2a2bf17461a5ab57773159af1894\"},\"headline\":\"Cooling your Motioneye Pi Zero Security Camera\",\"datePublished\":\"2018-07-22T01:49:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.webcommand.net\\\/index.php\\\/2018\\\/07\\\/21\\\/cooling-your-motioneye-pi-zero-security-camera\\\/\"},\"wordCount\":908,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.webcommand.net\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.webcommand.net\\\/index.php\\\/2018\\\/07\\\/21\\\/cooling-your-motioneye-pi-zero-security-camera\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.webcommand.net\\\/wp-content\\\/uploads\\\/2018\\\/07\\\/Photo-2018-07-21-11-22-17_2614-e1532223645421.jpg\",\"keywords\":[\"Motioneyeos\",\"Raspberry Pi\",\"raspberry pi zero\"],\"articleSection\":[\"Computers &amp; Networking\",\"DIY Electronics\",\"Software\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.webcommand.net\\\/index.php\\\/2018\\\/07\\\/21\\\/cooling-your-motioneye-pi-zero-security-camera\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.webcommand.net\\\/index.php\\\/2018\\\/07\\\/21\\\/cooling-your-motioneye-pi-zero-security-camera\\\/\",\"url\":\"https:\\\/\\\/www.webcommand.net\\\/index.php\\\/2018\\\/07\\\/21\\\/cooling-your-motioneye-pi-zero-security-camera\\\/\",\"name\":\"Cooling your Motioneye Pi Zero Security Camera - Webcommand.net\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.webcommand.net\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.webcommand.net\\\/index.php\\\/2018\\\/07\\\/21\\\/cooling-your-motioneye-pi-zero-security-camera\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.webcommand.net\\\/index.php\\\/2018\\\/07\\\/21\\\/cooling-your-motioneye-pi-zero-security-camera\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.webcommand.net\\\/wp-content\\\/uploads\\\/2018\\\/07\\\/Photo-2018-07-21-11-22-17_2614-e1532223645421.jpg\",\"datePublished\":\"2018-07-22T01:49:40+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.webcommand.net\\\/index.php\\\/2018\\\/07\\\/21\\\/cooling-your-motioneye-pi-zero-security-camera\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.webcommand.net\\\/index.php\\\/2018\\\/07\\\/21\\\/cooling-your-motioneye-pi-zero-security-camera\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.webcommand.net\\\/index.php\\\/2018\\\/07\\\/21\\\/cooling-your-motioneye-pi-zero-security-camera\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.webcommand.net\\\/wp-content\\\/uploads\\\/2018\\\/07\\\/Photo-2018-07-21-11-22-17_2614-e1532223645421.jpg\",\"contentUrl\":\"https:\\\/\\\/www.webcommand.net\\\/wp-content\\\/uploads\\\/2018\\\/07\\\/Photo-2018-07-21-11-22-17_2614-e1532223645421.jpg\",\"width\":500,\"height\":375},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.webcommand.net\\\/index.php\\\/2018\\\/07\\\/21\\\/cooling-your-motioneye-pi-zero-security-camera\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.webcommand.net\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Cooling your Motioneye Pi Zero Security Camera\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.webcommand.net\\\/#website\",\"url\":\"https:\\\/\\\/www.webcommand.net\\\/\",\"name\":\"Webcommand.net\",\"description\":\"Computers - Electronics - UpCycle &amp; More\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.webcommand.net\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.webcommand.net\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.webcommand.net\\\/#organization\",\"name\":\"Webcommand.net\",\"url\":\"https:\\\/\\\/www.webcommand.net\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.webcommand.net\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.webcommand.net\\\/wp-content\\\/uploads\\\/2017\\\/04\\\/cropped-19915403-media_httpfarm6static_DxnFG.jpg\",\"contentUrl\":\"https:\\\/\\\/www.webcommand.net\\\/wp-content\\\/uploads\\\/2017\\\/04\\\/cropped-19915403-media_httpfarm6static_DxnFG.jpg\",\"width\":250,\"height\":250,\"caption\":\"Webcommand.net\"},\"image\":{\"@id\":\"https:\\\/\\\/www.webcommand.net\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.linkedin.com\\\/in\\\/joe-oliveri-409b463\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.webcommand.net\\\/#\\\/schema\\\/person\\\/7c3a2a2bf17461a5ab57773159af1894\",\"name\":\"Joe O\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/00e475600f0a5fe652555836fcd9a4ee04512ba068175f7a8169639f5a7a87e1?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/00e475600f0a5fe652555836fcd9a4ee04512ba068175f7a8169639f5a7a87e1?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/00e475600f0a5fe652555836fcd9a4ee04512ba068175f7a8169639f5a7a87e1?s=96&d=mm&r=g\",\"caption\":\"Joe O\"},\"sameAs\":[\"http:\\\/\\\/www.webcommand.net\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Cooling your Motioneye Pi Zero Security Camera - Webcommand.net","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.webcommand.net\/index.php\/2018\/07\/21\/cooling-your-motioneye-pi-zero-security-camera\/","og_locale":"en_US","og_type":"article","og_title":"Cooling your Motioneye Pi Zero Security Camera - Webcommand.net","og_description":"Welcome to part two of my post. Previously I spoke about building a security system using a Raspberry Pi Zero and MotioneyeOS. (Read Here) I built and installed the system in February and it was working great.\u00a0 I even caught some Ass-Hat driving over my lawn and trash (Read Here). I ran into one issue &hellip; Continue reading \"Cooling your Motioneye Pi Zero Security Camera\"","og_url":"https:\/\/www.webcommand.net\/index.php\/2018\/07\/21\/cooling-your-motioneye-pi-zero-security-camera\/","og_site_name":"Webcommand.net","article_published_time":"2018-07-22T01:49:40+00:00","og_image":[{"width":500,"height":375,"url":"https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-07-21-11-22-17_2614-e1532223645421.jpg","type":"image\/jpeg"}],"author":"Joe O","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Joe O","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.webcommand.net\/index.php\/2018\/07\/21\/cooling-your-motioneye-pi-zero-security-camera\/#article","isPartOf":{"@id":"https:\/\/www.webcommand.net\/index.php\/2018\/07\/21\/cooling-your-motioneye-pi-zero-security-camera\/"},"author":{"name":"Joe O","@id":"https:\/\/www.webcommand.net\/#\/schema\/person\/7c3a2a2bf17461a5ab57773159af1894"},"headline":"Cooling your Motioneye Pi Zero Security Camera","datePublished":"2018-07-22T01:49:40+00:00","mainEntityOfPage":{"@id":"https:\/\/www.webcommand.net\/index.php\/2018\/07\/21\/cooling-your-motioneye-pi-zero-security-camera\/"},"wordCount":908,"commentCount":0,"publisher":{"@id":"https:\/\/www.webcommand.net\/#organization"},"image":{"@id":"https:\/\/www.webcommand.net\/index.php\/2018\/07\/21\/cooling-your-motioneye-pi-zero-security-camera\/#primaryimage"},"thumbnailUrl":"https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-07-21-11-22-17_2614-e1532223645421.jpg","keywords":["Motioneyeos","Raspberry Pi","raspberry pi zero"],"articleSection":["Computers &amp; Networking","DIY Electronics","Software"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.webcommand.net\/index.php\/2018\/07\/21\/cooling-your-motioneye-pi-zero-security-camera\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.webcommand.net\/index.php\/2018\/07\/21\/cooling-your-motioneye-pi-zero-security-camera\/","url":"https:\/\/www.webcommand.net\/index.php\/2018\/07\/21\/cooling-your-motioneye-pi-zero-security-camera\/","name":"Cooling your Motioneye Pi Zero Security Camera - Webcommand.net","isPartOf":{"@id":"https:\/\/www.webcommand.net\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.webcommand.net\/index.php\/2018\/07\/21\/cooling-your-motioneye-pi-zero-security-camera\/#primaryimage"},"image":{"@id":"https:\/\/www.webcommand.net\/index.php\/2018\/07\/21\/cooling-your-motioneye-pi-zero-security-camera\/#primaryimage"},"thumbnailUrl":"https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-07-21-11-22-17_2614-e1532223645421.jpg","datePublished":"2018-07-22T01:49:40+00:00","breadcrumb":{"@id":"https:\/\/www.webcommand.net\/index.php\/2018\/07\/21\/cooling-your-motioneye-pi-zero-security-camera\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.webcommand.net\/index.php\/2018\/07\/21\/cooling-your-motioneye-pi-zero-security-camera\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webcommand.net\/index.php\/2018\/07\/21\/cooling-your-motioneye-pi-zero-security-camera\/#primaryimage","url":"https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-07-21-11-22-17_2614-e1532223645421.jpg","contentUrl":"https:\/\/www.webcommand.net\/wp-content\/uploads\/2018\/07\/Photo-2018-07-21-11-22-17_2614-e1532223645421.jpg","width":500,"height":375},{"@type":"BreadcrumbList","@id":"https:\/\/www.webcommand.net\/index.php\/2018\/07\/21\/cooling-your-motioneye-pi-zero-security-camera\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.webcommand.net\/"},{"@type":"ListItem","position":2,"name":"Cooling your Motioneye Pi Zero Security Camera"}]},{"@type":"WebSite","@id":"https:\/\/www.webcommand.net\/#website","url":"https:\/\/www.webcommand.net\/","name":"Webcommand.net","description":"Computers - Electronics - UpCycle &amp; More","publisher":{"@id":"https:\/\/www.webcommand.net\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.webcommand.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.webcommand.net\/#organization","name":"Webcommand.net","url":"https:\/\/www.webcommand.net\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webcommand.net\/#\/schema\/logo\/image\/","url":"https:\/\/www.webcommand.net\/wp-content\/uploads\/2017\/04\/cropped-19915403-media_httpfarm6static_DxnFG.jpg","contentUrl":"https:\/\/www.webcommand.net\/wp-content\/uploads\/2017\/04\/cropped-19915403-media_httpfarm6static_DxnFG.jpg","width":250,"height":250,"caption":"Webcommand.net"},"image":{"@id":"https:\/\/www.webcommand.net\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.linkedin.com\/in\/joe-oliveri-409b463\/"]},{"@type":"Person","@id":"https:\/\/www.webcommand.net\/#\/schema\/person\/7c3a2a2bf17461a5ab57773159af1894","name":"Joe O","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/00e475600f0a5fe652555836fcd9a4ee04512ba068175f7a8169639f5a7a87e1?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/00e475600f0a5fe652555836fcd9a4ee04512ba068175f7a8169639f5a7a87e1?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/00e475600f0a5fe652555836fcd9a4ee04512ba068175f7a8169639f5a7a87e1?s=96&d=mm&r=g","caption":"Joe O"},"sameAs":["http:\/\/www.webcommand.net"]}]}},"_links":{"self":[{"href":"https:\/\/www.webcommand.net\/index.php\/wp-json\/wp\/v2\/posts\/1495","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webcommand.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webcommand.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webcommand.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webcommand.net\/index.php\/wp-json\/wp\/v2\/comments?post=1495"}],"version-history":[{"count":3,"href":"https:\/\/www.webcommand.net\/index.php\/wp-json\/wp\/v2\/posts\/1495\/revisions"}],"predecessor-version":[{"id":1505,"href":"https:\/\/www.webcommand.net\/index.php\/wp-json\/wp\/v2\/posts\/1495\/revisions\/1505"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.webcommand.net\/index.php\/wp-json\/wp\/v2\/media\/1503"}],"wp:attachment":[{"href":"https:\/\/www.webcommand.net\/index.php\/wp-json\/wp\/v2\/media?parent=1495"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webcommand.net\/index.php\/wp-json\/wp\/v2\/categories?post=1495"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webcommand.net\/index.php\/wp-json\/wp\/v2\/tags?post=1495"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}