This is the repository for Farmpod controller command line interface
Enable I2C communication first:
~$ sudo raspi-config
A good article about I2C on Raspberry can be found here.
If you use Ubuntu you need to install raspi-config
first:
~$ sudo apt update
~$ sudo apt install raspi-config
Make sure you have all tools you need:
~$ sudo apt update
~$ sudo apt-get install git
~$ sudo apt-get install build-essential
Install the command:
~$ git clone https://github.com/SequentMicrosystems/farmpod-rpi.git
~$ cd farmpod-rpi/
~/farmpod-rpi$ sudo make install
Now you can access all the functions of the controller through the command "fpc". Use -h option for help:
~$ fpc -h
If you clone the repository any update can be made with the following commands:
~$ cd farmpod-rpi/
~/farmpod-rpi$ git pull
~/farmpod-rpi$ sudo make install