mirror of
https://github.com/Manuel83/craftbeerpi3
synced 2026-08-09 18:52:40 +02:00
Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
25cf97da58 | ||
|
|
2b095c8c77 | ||
|
|
63f9f5468b |
@@ -35,14 +35,6 @@ show_menu () {
|
|||||||
apt-get -y update; apt-get -y upgrade;
|
apt-get -y update; apt-get -y upgrade;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
confirmAnswer "Would you like to install wiringPI? This is required to control the GPIO"
|
|
||||||
if [ $? = 0 ]; then
|
|
||||||
git clone git://git.drogon.net/wiringPi;
|
|
||||||
cd wiringPi;
|
|
||||||
./build; cd ..;
|
|
||||||
rm -rf wiringPi;
|
|
||||||
fi
|
|
||||||
|
|
||||||
apt-get -y install python-setuptools
|
apt-get -y install python-setuptools
|
||||||
easy_install pip
|
easy_install pip
|
||||||
apt-get -y install python-dev
|
apt-get -y install python-dev
|
||||||
|
|||||||
@@ -223,6 +223,8 @@ class FermenterView(BaseView):
|
|||||||
|
|
||||||
def run(instance):
|
def run(instance):
|
||||||
instance.run()
|
instance.run()
|
||||||
|
fermenter.state = not fermenter.state
|
||||||
|
cbpi.emit("UPDATE_FERMENTER", cbpi.cache.get(self.cache_key).get(id))
|
||||||
|
|
||||||
t = cbpi.socketio.start_background_task(target=run, instance=instance)
|
t = cbpi.socketio.start_background_task(target=run, instance=instance)
|
||||||
fermenter.state = not fermenter.state
|
fermenter.state = not fermenter.state
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user