Sprinklers system controller written in Go.
- Configurable with JSON
- Communicates to an MQTT broker for remote operation
- Sections ran through RPi GPIO pins
- Programs support flexible run times for each section
- Flexible scheduling for programs
To run locally:
make run
To run tests:
make test
To get test coverage:
make cover
To deploy to a Raspberry PI (note: any files in ./rpi_deploy
will be
deployed, so beware of overriding configuration files):
DEPLOY_HOST=<user@host:port> DEPLOY_PATH=<path> make deploy
Environment variables will be loaded from a .env
file in the root
directory of the project.