Select Smart Home for the category and enable hands-free and far-field options. On the next screen, give your product a name and a product ID: we suggest «Magic_Mirror_Alexa» for the name and «YourFirstName_MM_Alexa» for product identification. You are creating a device, so click on "Products" and "Create product". Once you are logged in, click on the "Start" button. Since you are setting up a custom echo, you will have to open a browser and go to the Alexa developer site. You will see a message asking for a Customer ID. This Alexa module has a configuration wizard We want to execute it. In the terminal type the following command and then press Enter:Ĭd ~ / MagicMirror / modules / MMM-awesomee-alexa The first step is to change the directories to the root of the module. Now that the mmm-awesomee-alexa module is installed, we need to configure it. Now the module is completely downloaded and installed. It is important that you stay inside the snowboy folder for these steps Do not change directory. Now we need to delete the node_modules folder and install some additional dependencies. Next, we will download the latest version of snowboy with the following command:īefore continuing, change directory to the new nowboy scarpeta. Remove the snowboy folder to which the previous commands were added. Now, change the directories to the newly created node_modules folder: The Alexa module requires some additional dependencies to function properly. When finished, change the directories to the module with the following command: The next step is to download the Github software with this command: Every time you download a new module, you will want to be here to keep everything organized. This command takes you to the working directory of the module folder for the Magic Mirror software. Once you have an open terminal, type the following: If you have access to the shell, you can do all this remotely. Then you will use a download command to extract the Github code. To do this, you must log in to the Raspberry Pi, open the terminal and change the directory in which the modules are stored. The first step in adding any module to the Magic Mirror is to download the Github module code. Simply run a command, wait for the download and installation to finish, and then run the following command. Sudo apt-get install libasound-dev portaudio19-dev libportaudio2Įach command installs a dependency, and all are necessary to execute. Sudo apt-get install swig3.0 python-pyaudio python3-pyaudio sox Once your Raspberry Pi is updated, run the following commands one by one: On your Raspberry Pi, start by executing this command: It is always a good idea to update your Raspberry Pi before attempting to install anything else. Installation of module dependenciesīefore you can download and configure mmm-awesome-alexa, you need to install some dependencies on which the module is based. If you use the Google AIY kit, just follow its assembly guide to connect the microphone and speaker components. You do not need to use the included cardboard box It may be more effective to leave components out and operate the microphone and speaker out of the mirror.Ī second version of the Google AIY Voice Kit is available, but it is more expensive and includes a Raspberry Pi Zero, which is not powerful enough to execute wake words or Magic Mirror software, so you should skip it.Ĭonnect the speaker and microphone and you will be ready to install the Alexa module. At $ 16, it will cost you to find a cheaper combination of microphone and speaker. If you have not already done so, start there, but consider the additional materials listed here in your costs and space considerations.įor the microphone and speaker, we recommend the original Google AIY voice kit. This guide assumes that you have already created a Smart Mirror. In addition, this particular Alexa module requires the installation of additional software (dependencies) before downloading the module. Alexa settings require more settings than the addition of snowflakes, for example. To install most modules, you must follow some basic steps:Īdd the module to the replication configurationĭepending on the module, steps two and three may be more or less involved. If you want a simpler configuration, we recommend that you add the Google AIY kit and use your specific tutorial. If you prefer to install the Google Assistant, Google offers a complete tutorial to install the Assistant on a Raspberry Pi, which includes steps, images and download links.Īlthough there are some Magic Mirror modules for Google Assistant, our research revealed that the modules were problematic, often crashing or covering the replica information.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |