-
Notifications
You must be signed in to change notification settings - Fork 15
Description
@sibowler Here are directions that I think will greatly help all of your new RaspPi / new users going in the right direction quickly...
So I had my BrewPi all set up, added in the extra "security" features (to allow for Public/Private viewing) as well as hosting 2 web servers on my RaspPi. Below should be the steps to get you back up and brewing with the Tilt Hydrometer working.
-
cd /home/brewpi -
sudo git clone https://github.com/sibowler/brewpi-brewometer.git -
sudo apt-get install bluez python-bluez python-scipy python-numpy libcap2-bin -
sudo setcap cap_net_raw+eip $(eval readlink -f ``which python)` -
python /brewpi-brewometer/tiltHydrometer-test/TiltHydrometerTest.py -
cd brewpi-brewometer/brewpi-web/
<------- only do these steps if you have already completed the "PublicBeerPanel" setup----->
-
cp index.php admin.php(this copy/pastes the index pages as the new admin page, due to Public/Admin setup; the goal is to replace the admin.php page [current] with this new page) -
rm -r index.php(this deletes the index.php page from the Tilt additional code, so it won't overwrite the current index.php page)
<-------end of PublicBeerPanel specific directions------------------------------------------>
-
sudo cp -r * /var/www/html/BrewPi/(This is because I am running 2 web servers and this is where BrewPi is at) -
sudo chown -R www-data:www-data /var/www/html/BrewPi/ -
cd /home/brewpi/brewpi-brewometer/brewpi-script/ -
sudo cp -r * /home/brewpi/ -
sudo chown -R brewpi:brewpi /home/brewpi -
sudo shutdown -r
I hope this helps. If you need to take a look at how I was setting up the PublicBeerPanel to see I missed anything I have it posted here as well... http://backpackbees.com/home-brewing/brew-controller-brew-servers/
I wasn't able to fully test because I don't have my Tilt Hydrometer yet.