Skip to content

project-abigail/device-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 

Repository files navigation

device-setup

Hardware setup

The project is guaranteed to run with the following hardware:

It should work also OK with some differences: Raspberry Pi 2 with a WiFi dongle, other accelerometers or other microphones/speakers.

Software setup

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:
  • 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.

About

Abigail device setup instructions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published