A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • 2 Votes
    1 Posts
    3k Views
    Hi Guys, I had a very specific use case where I wanted to use Debian (LXDE) with an old laptop to run Magic Mirror. I am by no means a linux expert! But I did some tinkering and couldnt get the install script working. The following steps might help you getting MM running on a Debian 10 machine. I used the debian-live-10.0.0-amd64-lxde.iso to install Debian. Once installed, log in to the system with the user you created during setup. Open a terminal window, and run the following: su Enter the root password when prompted and then run the following: apt-get update apt-get upgrade apt-get install openssh-server Once complete I found it easier to go back to my main machine and use putty. Open a Putty connection to your machine, login with the user you created during setup Once at the terminal, type the following: su Enter the root password when prompted and then run the following: apt-get --assume-yes install curl wget git build-essential unzip gcc g++ make curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - apt-get update apt-get install -y nodejs apt-get install -y npm curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list apt-get update apt-get install yarn exit This should return you to the mm user you have setup, at the command line type the following: git clone --depth=1 https://github.com/MichMich/MagicMirror.git cd MagicMirror/ cp config/config.js.sample config/config.js npm install npm audit fix Close out the session and then go back to the machine and run a terminal prompt and type the following to start mm! cd MagicMirror npm start YMMV but hope this helps others out there trying to get this to work too.
  • 0 Votes
    1 Posts
    2k Views
    https://howchoo.com/g/zgmzytq1mmy/raspberry-pi-in-official-pi-keyboard
  • 5 Votes
    3 Posts
    4k Views
    Great and very useful! Can you do also make a tutorial for the modul HC-SR04 including all phyton scripts?That would be really great.
  • 0 Votes
    1 Posts
    2k Views
    Hi Everyone! Kind of a noob here but wanted to get advice on the best way to set up a Magic Mirror with Alexa integration using bluetooth sonos speakers. I have built the Magic Mirror in the past but not with these two integrations. I was just planning on using a usb microphone for the input and set up a bluetooth connection between my raspberry pi and sonos speakers to hear the output from alexa and use for all other general audio (Spotify, youtube, etc…). What would be the best way to go about setting up these integrations? Any tutorial links to videos would be amazing!
  • 0 Votes
    11 Posts
    7k Views
    @alessandroiacovella you need a Location ID from OpenWeatherMap, as described here
  • Help to install MagicMirror

    Solved Aug 3, 2017, 9:29 AM
    0 Votes
    6 Posts
    9k Views
    Hi! I get the same error when using same version of Rasbian. Any news how to fix it?
  • 0 Votes
    2 Posts
    4k Views
    You need to get the modules for that.
  • Help for my fisrt MagicMirror

    Jul 27, 2017, 10:09 AM
    0 Votes
    5 Posts
    8k Views
    @Mykle1 Well deserved!
  • 0 Votes
    5 Posts
    6k Views
    i got a new sd card and i installed it manually and everything was working it seemed for a while but when i went to work to work on this it showed wrong time but not date
  • Typo in tutorial

    Jul 5, 2016, 8:04 PM
    0 Votes
    6 Posts
    5k Views
    Yeah well, my cat doesn’t much care for reading my screen. He’s the only other living being in the house, unless you want to name the insects …
  • Complete Setup Tutorial

    Locked Jun 14, 2016, 6:26 PM
    11 Votes
    6 Posts
    273k Views
    Installing MagicMirror² Thanks to @MichMich and his outstanding installation script, installing MagicMirror² is pretty straight forward. Step 1 After you’ve configured and updated your Raspberry Pi and rebooted, launch a Terminal window again and type in bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)" This will start the installation process for you: [image: 1466018552300-044-mm-install.sm.png] Step 2 A few configurations still need to be done on the Raspberry Pi, specific for MagicMirror². Let’s start with rotating the display vertically. For this, you’ll need to edit one of the boot configurations. (Please note: If you plan on running MagicMirror² as a landscape (or wide) display, you do not need to do this.) Type in sudo nano /boot/config.txt and add the following to the file. Where you add it doesn’t really matter: # Rotate display vertically display_rotate=1 Press CTRL-X when you’re done, and say Y(es) to saving the changes. [image: 1466023069138-047-configure-rpi.sm.png] Step 3 Let’s disable the screen saver and screen blanking as well. This needs to be done in two places. First in the autostart configuration: sudo nano /etc/xdg/lxsession/LXDE-pi/autostart And add the following to the bottom of the file: @xset s noblank @xset s off @xset -dpms [image: 1466023076168-049-configure-rpi-sm.png] Next in the X-windows manager configuration: sudo nano /etc/lightdm/lightdm.conf Scroll down to the [SeatDefaults] section and look for the xserver-command line below that. Change the line to look like this: xserver-command=X -s 0 -dpms (so you’re removing the # on the front, and adding the missing bits at the end.) Again, hit CTRL-X and say Y(es) to saving the file. [image: 1466023468773-050-configure-rpi.sm.png] Step 4 A Raspberry Pi is configured to automatically shutdown parts of the hardware that aren’t actively in use. This includes the WiFi driver. This will cause MagicMiror² to occasionally fail to fetch updates for things like the newsfeed, weather, and others. You can disable the power saving feature for the WiFi from the interfaces configuration file: sudo nano /etc/network/interfaces Find the wlan0 section and add wireless-power off below it: [image: 1466023738076-051-configure-rpi.sm.png] Once you’re done with that, reboot the rpi one more time with sudo reboot and when it comes back up again, open a Terminal window and type in iwconfig and you should see that the Power Management is now off: [image: 1466025039764-052-iwconfig.sm.png] At this point you have completed the basic install for MagicMirror². The next step is to create a valid configuration file for it so you can test it out. You can do that by going into the MagicMirror’s config folder: pi@magicpi:~ $ cd MagicMirror/config pi@magicpi:~/MagicMirror/config $ cp config.js.sample config.js You can now try to start MagicMirror². pi@magicpi:~/MagicMirror/config $ cd $HOME/MagicMirror pi@magicpi:~/MagicMirror $ npm start If everything went well, your screen should load up the MagicMirror² interface. The weather module will tell you that you don’t have a valid APPID, but once set, your screen should look like this: [image: 1466024116824-mm-capture.png] Congratulations!