{"id":179,"date":"2018-07-18T01:39:45","date_gmt":"2018-07-18T01:39:45","guid":{"rendered":"http:\/\/www.talus-and-heavner.com\/aproposnothing\/?p=179"},"modified":"2018-07-18T01:39:45","modified_gmt":"2018-07-18T01:39:45","slug":"solar-pi-zero-w-camera","status":"publish","type":"post","link":"https:\/\/www.talus-and-heavner.com\/aproposnothing\/?p=179","title":{"rendered":"solar pi zero w camera"},"content":{"rendered":"<p>I decided to try and make a homebridge camera from a solar powered raspberry pi zero w.\u00a0 First I tried building homebridge with <a href=\"https:\/\/brandonb.ca\/getting-started-with-homebridge-on-a-raspberry-pi-zero-w-with-homekit\">these directions<\/a> &#8211; I tried different versions and builds, but both ran out of memory on the raspberry.\u00a0 Then I decided to go the docker route from <a href=\"https:\/\/github.com\/oznu\/docker-homebridge\/wiki\/Homebridge-on-Raspberry-Pi\">these directions<\/a>.<\/p>\n<p>I got some errors in the build:<\/p>\n<pre class=\"p1\"><span class=\"s1\">Setting up aufs-dkms (4.9+20161219-1) ...<\/span>\r\n<span class=\"s1\">Loading new aufs-4.9+20161219 DKMS files...<\/span>\r\n<span class=\"s1\">It is likely that 4.14.50+ belongs to a chroot's host<\/span>\r\n<span class=\"s1\">Building for 3.6-trunk-rpi, 4.14.50+ and 4.14.50-v7+<\/span>\r\n<span class=\"s1\">Building initial module for 3.6-trunk-rpi<\/span>\r\n<span class=\"s1\">Error!<span class=\"Apple-converted-space\">\u00a0 <\/span>The dkms.conf for this module includes a BUILD_EXCLUSIVE directive which <\/span><span class=\"s1\">does not match this kernel\/arch.<span class=\"Apple-converted-space\">\u00a0 <\/span>This indicates that it should not be built.<\/span>\r\n<span class=\"s1\">Skipped.<\/span>\r\n<span class=\"s1\">Module build for kernel 4.14.50+ was skipped since the <\/span><span class=\"s1\">kernel headers for this kernel does not seem to be installed.<\/span>\r\n<span class=\"s1\">Module build for kernel 4.14.50-v7+ was skipped since the <\/span><span class=\"s1\">kernel headers for this kernel does not seem to be installed.<\/span>\r\n<span class=\"s1\">Setting up linux-headers-3.6-trunk-rpi (3.6.9-1~experimental.1+rpi7) ...<\/span>\r\n<span class=\"s1\">Examining \/etc\/kernel\/header_postinst.d.<\/span>\r\n<span class=\"s1\">run-parts: executing \/etc\/kernel\/header_postinst.d\/dkms 3.6-trunk-rpi<\/span>\r\n<span class=\"s1\">Error!<span class=\"Apple-converted-space\">\u00a0 <\/span>The dkms.conf for this module includes a BUILD_EXCLUSIVE directive which <\/span><span class=\"s1\">does not match this kernel\/arch.<span class=\"Apple-converted-space\">\u00a0 <\/span>This indicates that it should not be built.\r\n<\/span><\/pre>\n<p class=\"p1\"><span class=\"s1\">Homebridge is up and running- I can&#8217;t find it from the iphone, so I&#8217;ll have to work on it a bit more.\u00a0 Getting weather might be the first plug-in (I don&#8217;t have the camera installed yet, but that is on the list).<\/span><\/p>\n<p>Oh, for solar power, I ended up just going with solar charger \/ battery (the Ayyie 25 Amp-hour).\u00a0 I tested out my (several years old, much used and abused) 10 Amp-hour (no solar charging) and got about 36 hours of raspberry life.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I decided to try and make a homebridge camera from a solar powered raspberry pi zero w.\u00a0 First I tried building homebridge with these directions &#8211; I tried different versions and builds, but both ran out of memory on the raspberry.\u00a0 Then I decided to go the docker route from these directions. I got some &hellip; <a href=\"https:\/\/www.talus-and-heavner.com\/aproposnothing\/?p=179\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">solar pi zero w camera<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-179","post","type-post","status-publish","format-standard","hentry","category-raspberrypi"],"_links":{"self":[{"href":"https:\/\/www.talus-and-heavner.com\/aproposnothing\/index.php?rest_route=\/wp\/v2\/posts\/179","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.talus-and-heavner.com\/aproposnothing\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.talus-and-heavner.com\/aproposnothing\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.talus-and-heavner.com\/aproposnothing\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.talus-and-heavner.com\/aproposnothing\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=179"}],"version-history":[{"count":1,"href":"https:\/\/www.talus-and-heavner.com\/aproposnothing\/index.php?rest_route=\/wp\/v2\/posts\/179\/revisions"}],"predecessor-version":[{"id":180,"href":"https:\/\/www.talus-and-heavner.com\/aproposnothing\/index.php?rest_route=\/wp\/v2\/posts\/179\/revisions\/180"}],"wp:attachment":[{"href":"https:\/\/www.talus-and-heavner.com\/aproposnothing\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=179"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.talus-and-heavner.com\/aproposnothing\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=179"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.talus-and-heavner.com\/aproposnothing\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=179"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}