Skip to content

samuel-messing/otto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

otto

Automated Herb Garden

Designed and tested solely on a Raspberry Pi 3B+. Probably easily portable to similar devices.

TODOs

  • Gracefully detect when there's no i2c controller

Running

From the top-level directory:

ln -s /etc/systemd/system/otto.service /home/pi/otto/otto.service
sudo systemctl daemon-reload
sudo systemctl enable otto.service
sudo systemctl start otto.service

If it's the first time running the binary on the machine, better to do:

./src/build_and_run.sh

This takes care of installing dependencies and running everything. Note: it will fail if the computer is not connected to an i2c controller.

Dependencies

sudo apt-get install virtualenv
  • protoc:
sudo apt install protobuf-compiler
  • i2c-tools:
sudo apt install i2c-tools

TODO(sam): Description & images