publiclab / pi-builder

Developing a reproducible build script system for making Raspberry Pi .img files
MIT License
22 stars 15 forks source link

Witty pi energy manager #47

Open imvectech opened 6 years ago

imvectech commented 6 years ago

What's this recipe about?

Witty pi mini is a Uugear RPi shield capable of managing energy of the RPi together with keeping time using an embedded RTC.

https://github.com/uugear/Witty-Pi-2

Together with the Calafou community we are working on a timelapse camera for river monitoring. First test are being carried out at the Anoia river close to Barcelona.

The intention is to turn on the rpi 5 minutes every hour and take a picture. Simple as that. The Witty pi controls the On/OFF of the RPi sending zero voltage to the Pi to fully turn it off. After 55 minutes the Witty sends a electrical signal and the Pi boots up.

011

Set up of the very first ANOIAcam prototype over the Anoia river: anoiacam_setup_anoia

First picture of the Anoia river: 21-38-20

Download instructions Generating the image will take a few minutes. Once the image is prepared, and if it succeeded, you'll see a green checkmark at the bottom of the pull request. To download the image go to https://gitlab.com/publiclab/image-builder-rpi/pipelines/#47/builds and click the green checkmark. On this page, click the Jobs tab, next to Pipeline Click the green Passed button Click Download in the right-hand sidebar Unzip the artifacts.zip file, and also the hypriotos-rpi-camera_web.img.zip within it Use a program like https://etcher.io/ to flash it to an SD card You'll also be able to read the output of the image generation in this window.

We hope to create a bot to report back the completed image URL in each pull request. If you can help create such a bot, please contact us at:

16

Thanks!

jywarren commented 6 years ago

Hmm, @icarito no rush as this is a weekend, but it didn't seem to start here either... I wonder if it's limited to only some users?

imvectech commented 6 years ago

Absolutely no rush friends. Have just discovered some of the power of git so playing around. Also downloading the infragram recipe and trying Witty pi software manual install ;D Sooooo excited!!

icarito commented 6 years ago

Hi! Exciting to see this development and eager to help. For now I've gone thru https://docs.gitlab.com/ee/ci/ci_cd_for_external_repos/github_integration.html once again and still unable to fix. Possibly due to repo rename. I'll try again asap, meanwhile will push to Gitlab branch and share build output here!

imvectech commented 6 years ago

Hi @icarito! Great to hear! So excited!!!!

icarito commented 6 years ago

Hi https://gitlab.com/publiclab/pi-builder/-/jobs/116295912 here's a build of this! https://gitlab.com/publiclab/pi-builder/-/jobs/116295912

icarito commented 6 years ago

Hi https://gitlab.com/publiclab/pi-builder/-/jobs/116295912 here's a build of this! https://gitlab.com/publiclab/pi-builder/-/jobs/116295912

imvectech commented 6 years ago

ooohhh!!! Thanks! Testing tomorrow at breakfast! ;D

imvectech commented 6 years ago

The build passed but software didn't installed. I2C-tools was not found using the witty pi script so I've put it before. Let's see ;D

jywarren commented 6 years ago

Hi, i'm sorry, i'm working on using the autorebase bot to try to help keep all PRs rebased on top of the latest master branch. We should be able to run it on this branch, but i'm currently testing it in #50 and for now, perhaps best to do rebasing manually if required here. But you seem to be OK for now!

jywarren commented 6 years ago

We have done some testing and tweaking and think that if you open a new PR, this will start building properly. Still not 100% sure but it worked in #54 -- would you mind giving it a try?

you could actually make a new branch named witty if you wanted, in case you want to have other versions too - instead of the master branch:

From your own repository page, at https://github.com/imvectech/pi-builder --

image

imvectech commented 6 years ago

Sorry for the delay. I've created a new one at #59