• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
  1. Home
  2. makepluscode
  3. Posts
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Offline
  • Profile
  • Following 0
  • Followers 3
  • Topics 2
  • Posts 4
  • Groups 0

Posts

Recent Best Controversial
  • The latest Install Guide (MM w/ Google Assistant)

    This guide is about how to install google assistant and magic mirror on latest raspbian.
    I had some errors, so I made a video to share it, https://youtu.be/UBgH5hejYtM

    And Here is github for this, https://github.com/makepluscode/rpi-tutorial-advanced/blob/master/006-raspbian-magicmirror-google-assistant-latest/

    Dependency Versions

    1. OS : 2018-11-13-raspbian-stretch-full.img
    2. MagicMirror2 : 2.5.0
    3. MMM-Hotword : 1.1.0
    4. MMM-AssistantMk2 : 2.1.2

    Install

    STEP1. Rasbian installation

    1. Download the latest image from the RazBian website. (2018-11-13-raspbian)
    2. Download Rufus to write images to SD card.
    3. Run Rufus and select the downloaded image to burn the SD card.

    STEP2. Insert SD card + LCD + Power connection

    1. Insert SD card and keyboardㆍmouse dongle into raspberry pi.
    2. Connect LCD to raspberry pi on HDMI.

    STEP3. First Boot

    1. Connect the USB power cable to the raspberry pi
    2. After boot is done, connect to the Internet with WIFI
    3. Update packages
    sudo apt-get update
    

    STEP4. Installing a Magic Mirror

    1. Install the Magic Mirror using a script on the Internet
    sudo apt-get install npm
    sudo npm install -g npm@latest
    bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)"
    

    STEP5. Installing Magic Mirror Modules

    1. Go to modules directory and install the MMM-Hotword
    cd ~/MagicMirror/modules/
    sudo apt-get install libmagic-dev libatlas-base-dev sox libsox-fmt-all
    git clone https://github.com/eouia/MMM-Hotword.git
    cd MMM-Hotword
    npm install
    
    cd ~/MagicMirror/modules/MMM-Hotword/node_modules/snowboy
    npm install --save-dev electron-rebuild
    npm install nan
    ./node_modules/.bin/electron-rebuild
    
    1. Install MMM-AssistantMk2
    cd ~/MagicMirror/modules/
    sudo apt-get install mpg321 libasound2-dev
    git clone https://github.com/eouia/MMM-AssistantMk2
    cd MMM-AssistantMk2
    npm install
    cd scripts
    chmod +x *.sh
    cd ~/MagicMirror/modules/MMM-AssistantMk2
    npm install --save-dev electron-rebuild
    ./node_modules/.bin/electron-rebuild
    

    STEP6. Configure Google Assistant Module

    1. Open the Google Action Console and create a new project
    https://console.actions.google.com
    
    1. Open the Google Cloud Platform Console and select the generated project
    https://console.cloud.google.com
    
    1. Search for the Google Assistant API and click Enable.
    2. Click CONFIGURE … of Credentials and put the name and e-mail.
    3. Generate Other credentials with the OAuth Client ID in Create Credentials
    4. Download generated OAuth client ID in json format
    5. Move the downloaded OAuth client ID to modules/MMM-AssistantMk2/credentials.json
    mv ~/Download/cre.... credentials.json
    
    1. Run auth_and_test.js to verify the generated client ID
    node auth_and_test.js
    
    1. Accept the client verification process and copy and enter your Google account key
    2. Move the generated token.json
    mv token.json ./profiles/default.json
    

    STEP7. Edit Google assistant module config

    1. Open the Magic Mirror configuration file with TextEditor and modify it with the contents of github

    Install USB Mic. and Speaker

    https://github.com/makepluscode/rpi-tips/tree/master/001-bringup-audio-and-mic

    vi ~/.asoundrc
    
    pcm.!default{
      type asym
      playback.pcm{
        type hw
        card 0
      }
      capture.pcm{
        type plug
        slave.pcm "hw:1, 0"
      }
    }
    
    ctl.!default{
      type hw
      card 0
    }
    

    And, change audio output from hdmi to analog.

    Test

    Go to the location where the Magic Mirror is and start the application

    cd ~/MagicMirror
    npm start
    

    Video Tutorial

    https://youtu.be/UBgH5hejYtM

    posted in Troubleshooting
    M
    makepluscode
    Dec 30, 2018, 3:16 PM
  • RE: Library error after full reinstallation (full version Raspbian and MagicMirror version 2.5.0)

    @jevanha said in Library error after full reinstallation (full version Raspbian and MagicMirror version 2.5.0):

    it was really required that I completly reinstall the Raspbian pi 3B+ sd card. Format, first install the full Rasbian latest version. After that I run update & upgrade and also the firmware update. Then I searched and found the MagicMirror installer I used before:

    Re: Unable to install dependencies - npm not found

    With Rasbian of 2018-11-13, I had the same issue. So I install only npm,

    sudo apt-get install npm
    sudo npm install -g npm@latest
    

    Also I used the pre-built node which is 8.x in the latest version of Rasbian.
    While I install, I made a video and please check https://youtu.be/UBgH5hejYtM.

    Thanks,

    Dependency Versions

    1. OS : 2018-11-13-raspbian-stretch-full.img
    2. MagicMirror2 : 2.5.0
    3. MMM-Hotword : 1.1.0
    4. MMM-AssistantMk2 : 2.1.2
    posted in Troubleshooting
    M
    makepluscode
    Dec 30, 2018, 3:03 PM
  • RE: Unable to install dependencies - npm not found

    Re: Unable to install dependencies - npm not found

    With Rasbian of 2018-11-13, I had the same issue. So I installed only npm,

    sudo apt-get install npm
    sudo npm install -g npm@latest
    

    Also I used the pre-built node which is 8.x in the latest version of Rasbian.
    While I install, I made a video and please check https://youtu.be/UBgH5hejYtM.

    Thanks,

    Dependency Versions

    1. OS : 2018-11-13-raspbian-stretch-full.img
    2. MagicMirror2 : 2.5.0
    3. MMM-Hotword : 1.1.0
    4. MMM-AssistantMk2 : 2.1.2
    posted in Troubleshooting
    M
    makepluscode
    Dec 30, 2018, 2:58 PM
  • Simple Conversation Example (Johnny Johnny Yes PaPa)

    Hello,

    I am a creator who starts learning Magic Mirror. I always appreciate and respect open source developers. I hope someday I will be able to contribute.

    My 3 year old daughter likes to see a comic called Johnny Johnny Yes Papa on YouTube. So I made a simple application to have a conversation with Johnny Johnny.

    Here is full video for this, https://youtu.be/ittQUTBhCGM

    0_1546180919743_RA-TUTORIAL-004-MagicMirror-GA-JJYP.00_00_52_07.스틸001.png

    0_1546181284794_RA-TUTORIAL-004-MagicMirror-GA-JJYP.00_13_15_06.스틸002.png

    posted in Show your Mirror
    M
    makepluscode
    Dec 30, 2018, 2:40 PM
  • 1 / 1
Enjoying MagicMirror? Please consider a donation!
MagicMirror created by Michael Teeuw.
Forum managed by Sam, technical setup by Karsten.
This forum is using NodeBB as its core | Contributors
Contact | Privacy Policy