Skip to content
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

Installing Witty Pi energy manager software #44

Open
imvectech opened this issue Nov 1, 2018 · 10 comments
Open

Installing Witty Pi energy manager software #44

imvectech opened this issue Nov 1, 2018 · 10 comments

Comments

@imvectech
Copy link

Hi all. We've been trying to install Witty pi software and we don't exaclty know how to make a pull request. We are unable to connect to internet using the combined image turning off the ap0 default acces point.
This script installs the Witty Pi energy manager software (done on a raspbian) plus two tricks we arrived to after fighting a lot with it (one realted to the gpio4 and the other the lack of a scheadule.wpi file) . First time we write a script so maybe is quiet a bit rough ;D (we don't even know if sudo su is necessary) ;)

echo "Installing Witty pi mini packages"
sudo su
mkdir /home/wittypi
git clone https://github.com/uugear/Witty-Pi-2.git /home/wittypi
chmod +1 /home/wittypi/installWittyPi.sh
./home/wittypi/installWittyPi.sh
wget https://gitlab.com/imvec/anoiacam/blob/8dc8b9c798d2d6c79ec4267b90b8175fd84c7682/schedule.wpi /home/wittypi/wittyPi
rm -rf /home/wittypi/wittyPi/daemon.sh
wget https://gitlab.com/imvec/anoiacam/blob/11d387a98e0283f91e9ae7118a6456a4360caa7c/daemon.sh /home/wittypi/wittyPi

wittypi.txt

@jywarren
Copy link
Member

jywarren commented Nov 1, 2018

Super! So you can click the ✏️ next to the top right on this file, and begin adding your content -- probably near the bottom:

https://github.com/publiclab/pi-builder/blob/master/builder/chroot-script.sh

We can debug as it builds and make necessary adjustments gradually! Awesome! 🎈 📷 ⚡️

@jywarren
Copy link
Member

jywarren commented Nov 1, 2018

Excited so I started us off here: #45

@jywarren
Copy link
Member

jywarren commented Nov 1, 2018

...it's building!!!!

@imvectech
Copy link
Author

imvectech commented Nov 1, 2018

O_o great!! So no need of adding it t the bootom of chroot?

@jywarren
Copy link
Member

jywarren commented Nov 1, 2018

I'm not sure, i think i did that here? https://github.com/publiclab/pi-builder/pull/45/files

@jywarren
Copy link
Member

jywarren commented Nov 1, 2018

and if you want you can open your own PR with this so you can keep modifying it. I usually do the modifications in the online editor, actually!

@imvectech
Copy link
Author

Yeah there it is! So in a while a new image would be ready?¿

@imvectech
Copy link
Author

"pipeline failed with gitlab" I did something wrong ;D It says I need "push" acces to edit the file.

@jywarren
Copy link
Member

jywarren commented Nov 1, 2018 via email

@imvectech
Copy link
Author

Just created my first pull request at #46 ;D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants