The project is guaranteed to run with the following hardware:
- a Raspberry Pi 3 with Raspbian Jessie-lite
- a MPU-6050 accelerometer (look how to connect on your Pi)
- Jabra conference speaker
It should work also OK with some differences: Raspberry Pi 2 with a WiFi dongle, other accelerometers or other microphones/speakers.
To setup an Abigail device for the first time, on the device clone the
abigail-device
,
wifi-setup
repositories and execute the setup scripts.
Use the following commands:
sudo apt-get install -y git
git clone https://github.com/project-abigail/abigail-device
git clone https://github.com/project-abigail/wifi-setup
sudo ./abigail-device/bootstrap-scripts/raspberry-pi-setup.sh
sudo ./wifi-setup/setup-scripts/raspberry-pi-setup.sh
(cd abigail-device && npm install)
(cd wifi-setup && npm install)
Note: these scripts take approximately 1.5 hours to execute.
When the scripts are finished executing, run the following command:
sudo raspi-config
and choose 'Advanced Options' and then 'I2C' and then 'Yes' to enable the ARM I2C interface.
Then, reboot the device.
While it reboots, clone the
user-setup
repository on your laptop:
git clone https://github.com/project-abigail/user-setup/
After rebooting:
- From the laptop, monitor available networks and connect to
Abigail wifi setup
when it appears in the list - Run the user-setup script to create users and the family group
node user-setup/index.js
- Copy the file containing the device web token to the device:
scp user-setup/secret.json [email protected]:~/abigail-device
- Visit http://10.0.0.1 in the browser to connect the device to wifi
- Reboot the device
When the device starts up, you should hear the "hello" greeting.