I decided to try and make a homebridge camera from a solar powered raspberry pi zero w. First I tried building homebridge with these directions – I tried different versions and builds, but both ran out of memory on the raspberry. Then I decided to go the docker route from these directions.
I got some errors in the build:
Setting up aufs-dkms (4.9+20161219-1) ... Loading new aufs-4.9+20161219 DKMS files... It is likely that 4.14.50+ belongs to a chroot's host Building for 3.6-trunk-rpi, 4.14.50+ and 4.14.50-v7+ Building initial module for 3.6-trunk-rpi Error! The dkms.conf for this module includes a BUILD_EXCLUSIVE directive which does not match this kernel/arch. This indicates that it should not be built. Skipped. Module build for kernel 4.14.50+ was skipped since the kernel headers for this kernel does not seem to be installed. Module build for kernel 4.14.50-v7+ was skipped since the kernel headers for this kernel does not seem to be installed. Setting up linux-headers-3.6-trunk-rpi (3.6.9-1~experimental.1+rpi7) ... Examining /etc/kernel/header_postinst.d. run-parts: executing /etc/kernel/header_postinst.d/dkms 3.6-trunk-rpi Error! The dkms.conf for this module includes a BUILD_EXCLUSIVE directive which does not match this kernel/arch. This indicates that it should not be built.
Homebridge is up and running- I can’t find it from the iphone, so I’ll have to work on it a bit more. Getting weather might be the first plug-in (I don’t have the camera installed yet, but that is on the list).
Oh, for solar power, I ended up just going with solar charger / battery (the Ayyie 25 Amp-hour). 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.