-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Witty pi energy manager #47
base: main
Are you sure you want to change the base?
Conversation
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? |
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!! |
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! |
Hi @icarito! Great to hear! So excited!!!! |
Hi https://gitlab.com/publiclab/pi-builder/-/jobs/116295912 here's a build of this! |
1 similar comment
Hi https://gitlab.com/publiclab/pi-builder/-/jobs/116295912 here's a build of this! |
ooohhh!!! Thanks! Testing tomorrow at breakfast! ;D |
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 |
Hi, i'm sorry, i'm working on using the |
|
||
# install Witty pi energy manager software | ||
echo "Installing i2c-tools" | ||
apt-get install i2c-tools |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See apt has no package lists at line 231 because they were cleaned up on line 222.
Instead you should add i2c-tools to line 150 (with escaping the prior newline).
I'll try to debug why our PR building didn't work again now.
builder/chroot-script.sh
Outdated
echo "Installing Witty Pi 2 software" | ||
wget http://www.uugear.com/repo/WittyPi2/installWittyPi.sh | ||
sh installWittyPi.sh | ||
apt-get update |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This shouldn't be necessary (it will fetch package lists once again after cleanup). If apt is needed perhaps we should move apt cleanup further down :-)
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 From your own repository page, at https://github.com/imvectech/pi-builder -- |
Sorry for the delay. I've created a new one at #59 |
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.
Set up of the very first ANOIAcam prototype over the Anoia river:
First picture of the Anoia river:
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!