greenerthumb
is a garden automation package.
make
in the 'doc' directory generates PDF documentation.
make
andmake greenerthumb
build all targets.make air
builds programs for the air sensor that run on PIs.make soil
builds programs for the soil sensor that run on PIs.make test
builds the subcomponents' tests.
All the sub-components' tests can be run with:
./test
activate.sh
must be run in the project root before running any of the
utilities to set up aliases. deactivate.sh
removes the aliases.
greenerthumb-run-air
: Runssense/air
intobullhorn/publish
.greenerthumb-run-soil
: Runssense/soil
intobullhorn/publish
.greenerthumb-run-logger
: Runsbullhorn/subscribe
intolog
.greenerthumb-run-plotter
: Runsbullhorn/subscribe
intolog
andplot
.
Deployment is facilitated by 3 scripts.
copy-keys
: Copies SSH keys to a passed remote user and host.deploy
: Builds a passed target, copies all files for the target to a passed remote user and host, and restarts the target.cat-error-log
: Cats the error-log for a deployedgreenerthumb
program on a passed remote user and host.