START ALEXA ON BOOT, RASPBERRY PI

Use this process to get Alexa on a Matrix Voice using a Raspberry PI3 to start on boot. Hopefully you are using Raspian Stretch Lite, however Raspian Stretch does have a similar procedure.

Firstly you must set the Raspberry PI3 to log into the terminal automatically on boot.

SSH into your Matrix - Alexa Device 
pi@ipadddress
Password raspberry

sudo raspi-config

select option 3 Boot Options
Select option 1 Desktop / CLI
select option 2 console auto login for user PI

Finish. 

Now your Raspberry will boot into the console every time without the need for you to login.

Next we must edit the profile to run the Alexa startup automatically when the Raspberry boots.

sudo nano /etc/profile

you will use the structure "./home/pi/myscript.sh" to run the scripts you wish to run.

In this case for the Alexa demo type this on the last line after the "fi" 

bash ./startsample.sh


press control X
press Y 
and enter
Sudo reboot 

On start up you will see that your Raspberry logs into the console and Alexa starts and becomes ready. If you watched this on your monitor you will see the whole process. 

Note when loging into the Raspberry via ssh you will also see this occur if logging in as user PI. 
You must click "control C" to get back the terminal and type commands, otherwise you will be in the Alexa Watch mode and see Alexa processes as they occur.
  • START SCRIPT ON BOOT, RASPBERRY START SCRIPT ON BOOT, RASPBERRY HEADLESS ALEXA START, START ALEXA ON BOOT RASPBERRY, START ALEXA ON BOOT SCRIPT, START ALEXA HEADLESS ON BOOT
  • 5 Uživatelům pomohlo
Byla tato odpověď nápomocná?

Related Articles

Matrix Voice Amazon Alexa Setup

follow instructions for installation here:-...

MATRIX VOICE SNIPS SETUP

USE THE SETUP INSTRUCTION HERE:-...

GETTIN STARTED WITH MATRIX VOICE

BEGIN WITH A CLEAN RASPBIAN STRECTH LITE IMAGE DO NOT RUN UPDATES OR UPGRADE!USE THIS GUIDE,IT...