Skip to content

Commit

Permalink
install python-gpiozero
Browse files Browse the repository at this point in the history
  • Loading branch information
glynhudson authored Oct 15, 2018
1 parent 37a2e1c commit 050408b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion emonpiupdate
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ echo
# sudo pip install requests
sudo pip install paho-mqtt --upgrade

# Ensure rpi gpio is latest version and gpiozero is installed, required for V2.2.0 LCD script
sudo apt-get update
sudo apt-get install python-gpiozero python-rpi.gpio

sudo /etc/init.d/emonhub stop

echo "Start ATmega328 serial upload using avrdude with latest.hex"
Expand Down Expand Up @@ -54,4 +58,4 @@ fi
cd /home/pi/.node-red
npm install https://github.com/openenergymonitor/node-red-contrib-emonpixel
npm install node-red-node-emoncms
cd /home/pi
cd /home/pi

0 comments on commit 050408b

Please sign in to comment.