项目作者: samuel-messing

项目描述 :
Automated Herb Garden
高级语言: Python
项目地址: git://github.com/samuel-messing/otto.git
创建时间: 2020-02-04T16:01:39Z
项目社区:https://github.com/samuel-messing/otto

开源协议:MIT License

下载


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:

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

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

  1. ./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

  • i2c Support

  • virtualenv:

    1. sudo apt-get install virtualenv
  • protoc:

    1. sudo apt install protobuf-compiler
  • i2c-tools:

    1. sudo apt install i2c-tools

TODO(sam): Description & images