Smart Mirror Documentation
  • Introduction
  • Hardware
  • Installation
    • Install Raspberry PI OS
    • Install dependencies
  • Configuration
    • Configure the Pi
    • Configuring Sound
    • Cloud Speech Recognition
    • First Time Running Smart Mirror
    • Configure the smart-mirror
  • Running
    • Setting up Smart-Mirror to Run on Boot
    • Commands Used to Run Smart-Mirror
  • Troubleshooting & FAQs
    • Issues installing electron-prebuilt
    • Microphone and Speech Recognition issues
    • Issues with Remote and ConfigUI
  • Development and Contributing
  • Updating
  • Index
  • How Tos
    • How To Obtain Chromium Speech Keys
    • How To Install Raspberry Pi OS(full)
    • Enabling Motion Detection
Powered by GitBook
On this page

Was this helpful?

  1. Installation

Install dependencies

You'll need to install the following in order to run the keyword spotter and have the mirror listen to you:

sudo apt-get install sox libatlas-base-dev

Before we can run the thing we've got to install the projects dependencies. From the root of the smart-mirror directory run:

cd ~/smart-mirror
npm install

This will take a few minutes, it has to download electron-prebuilt. Once it is complete please continue to configuring the smart-mirror.

Next Step: Configure the Pi

PreviousInstall Raspberry PI OSNextConfiguration

Last updated 3 years ago

Was this helpful?