This page explains the alternate setup steps required to install the pilot manually on a stock raspbian image.
These steps are normally not needed anymore and are just left here for reference.
Please use the Pilotetcher to get started
Install Pilot Config
Install Tools on the Raspberry Pi and interact with the Hardware
You need an SD card with a Raspbian or Ubuntu Mate Image. Look here if you need help setting up the Operating System.
Pilot-Config is a tool that sets up your Rapberry Pi as a Node and installs the Pilot Drivers that communicate to the Pilot Mainboard and configures your firmware for the modules used.
Create a user on amescon.com You will need username and password for the pilot-config tool. Check your email to verify your email address.
- Install Pip3
sudo apt-get install -y python3-pip
- Install Pilot-Config:
sudo -H pip3 install pilot-config
sudo pilot setup
If you are running the tool for the first time, drivers are installed and a reboot is required.
After reboot, re-run sudo pilot Log in with your user credentials. Inserted boards should be automatically detected and you can build and install the firmware for it.
Install Pilot Node
Remote access your Raspberry Pi and Pilot-connected Hardware
To harness the full power of the Pilot Automation Platform, you need to install Pilot Node on your Raspberry Pi. PilotNode is a service that connects the Raspberry Pi to the Pilot Cloud, making it accessible from wherever you are, from the Pilot Cockpit Web and Mobile App and the Pilot API. It also enables powerful data logging and analysis.
1. Install NodeJS
Note: If you have NodeJS installed already on your Raspberry Pi remove it first!
sudo -i apt-get remove nodered -y apt-get remove nodejs nodejs-legacy -y exit
First get Node and install it:
sudo sh -c 'curl -sL https://deb.nodesource.com/setup_10.x | bash -' sudo apt-get install -y nodejs
You can verify if that worked by getting the version numbers:
$ node --version v10.7.0 $ npm --version 6.1.0
2. Install Pilotnode
$ sudo npm install -g pilotnode
3. Register Pilotnode as a Service
$ pilotnode install
run at boot:
sudo systemctl enable pilotnode
sudo systemctl status pilotnode