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

    Posts

    Recent Best Controversial
    • RE: Don't know how to use MagicMirror 2 on Raspberry pi zero w

      @alessandroiacovella

      how to use serveronly on a Raspberry Pi Zero W

      prepare your raspberry

      sudo raspi-config
      

      Localisation Options -> Change Locale -> Change Timezone etc
      Boot Options -> B1 Desktop/CLI -> B2 Console Autologin
      Advanced Options -> Expand Filesystem

      Finish = reboot

      Update your raspberry

      sudo apt-get update ; sudo apt-get upgrade
      

      Install packages

      sudo apt-get install git
      sudo apt-get install xinit xserver-xorg
      sudo apt-get install unclutter
      

      Install Node

      wget https://raw.githubusercontent.com/grayda/node-pi-zero/master/install-node-v6.14.3.sh -O /tmp/install-node-v6.14.3.sh && source /tmp/install-node-v6.14.3.sh
      
      cd ~
      

      Install Cromium

      sudo apt-get install chromium-browser
      

      Install MagicMirror

      git clone https://github.com/MichMich/MagicMirror
      cd ~/MagicMirror
      npm install
      cp config/config.js.sample config/config.js
      
      cd ~
      

      Auto Starting MagicMirror

      sudo nano /home/pi/startMirror.sh
      

      enter the following

      #! /bin/bash
      cd /home/pi/MagicMirror
      node serveronly
      

      Control + X > Y > Return

      sudo chmod a+x /home/pi/startMirror.sh
      

      Auto Starting Chromium

      sudo nano ~/.config/autostart/autoChromium.desktop
      

      enter the following

      [Desktop Entry]
      Encoding=UTF-8
      Name=Connect
      Comment=Checks internet connectivity
      Exec=/usr/bin/chromium-browser --noerrdialogs --disable-session-crashed-bubble --disable-infobars --kiosk --incognito http://localhost:8080
      

      Control + X > Y > Return

      sudo nano /etc/rc.local
      

      Add the following lines before exit 0:
      /home/pi/startMirror.sh &

      Control + x > Y > Return

      sudo reboot
      
      posted in Tutorials
      N
      NoNameRo
    • RE: How I got my Magic Mirror working on a Raspberry Pi 0 (zero)

      @janth said in How I got my Magic Mirror working on a Raspberry Pi 0 (zero):

      have them under /home /pi/

      Auto Starting Chromium
      
      
      sudo nano /home/pi/startChromium.sh
      
      #!/bin/sh
      unclutter &
      xset -dpms # disable DPMS (Energy Star) features.
      xset s off # disable screen saver
      xset s noblank # don’t blank the video device
      chromium-browser --no-sandbox --disable-infobars --start-maximized --noerrdialogs --kiosk --incognito http://localhost:8080
      
      	Control + X > Y > Return
      
      sudo chmod a+x /home/pi/startChromium.sh
      	
      ------------------------------------------------------------------------------------------------	
      	
      Auto Starting Mirror
      
      
      sudo nano /home/pi/startMirror.sh
      
      #! /bin/bash
      cd /home/pi/MagicMirror
      node serveronly
      
      	Control + X > Y > Return
      
      sudo chmod a+x /home/pi/startMirror.sh
      
      sudo nano /etc/rc.local
      	Add the following lines before exit 0:
      /home/pi/startMirror.sh &
      (/bin/sleep 30 && sudo xinit /home/pi/startChromium.sh) &
      
      	Control + X > Y > Return
      	
      		sudo reboot
      
      posted in Tutorials
      N
      NoNameRo
    • RE: Installing USB Soundcard using seperate USB Mic

      @mrcoffee
      give it a try

      pcm.!default {
        type asym
        capture.pcm "mic"
        playback.pcm "speaker"
      }
      pcm.mic {
        type plug
        slave {
          pcm "hw:0,0"
        }
      }
      pcm.speaker {
        type plug
        slave {
          pcm "hw:0,0"
        }
      }
      

      or

      pcm.!default {
        type asym
        capture.pcm "mic"
        playback.pcm "speaker"
      }
      pcm.mic {
        type plug
        slave {
          pcm "hw:0,0"
        }
      }
      pcm.speaker {
        type plug
        slave {
          pcm "hw:1,0"
        }
      }
      

      then restart with sudo /etc/init.d/alsa-utils restart
      under alsamixer can still adjust the volume level

      posted in Troubleshooting
      N
      NoNameRo
    • RE: How I got my Magic Mirror working on a Raspberry Pi 0 (zero)

      @janth said in How I got my Magic Mirror working on a Raspberry Pi 0 (zero):
      Chromium only shows a line at the top of the screen saying it can’t be run as sudo.

      Any idea on how to fix this? Or how to get midori to work?

      Thanks in advance :)

      add --no-sandbox
      for example - chromium-browser --no-sandbox --disable-infobars --start-maximized --noerrdialogs --kiosk --incognito http://localhost:8080

      posted in Tutorials
      N
      NoNameRo
    • RE: Config.js not working

      @dandrea30
      there are two commas missing

      		{
                  module: 'MMM-Traffic',
                      position: 'bottom_right',
                      classes: 'dimmed medium', //optional, default is 'bright medium', only applies to commute info not route_name
                      config: {
                              api_key: 'your_apikey_here',
                              mode: 'driving',
                              origin: '4 Pennsylvania Plaza, New York, NY 10001',
                              destination: '1 MetLife Stadium Dr, East Rutherford, NJ 07073',
                              mon_destination: '116th St & Broadway, New York, NY 10027',
                              fri_destination: '1 E 161st St, Bronx, NY 10451',
                              arrival_time: '0800', //optional, but needs to be in 24 hour time if used.
                              route_name: 'Home to Work',
                              changeColor: true,
                              showGreen: false,
                              limitYellow: 5, //Greater than 5% of journey time due to traffic
                              limitRed: 20, //Greater than 20% of journey time due to traffic
                              traffic_model: 'pessimistic',
                              interval: 120000 //2 minutes
      				}
      		},
      
      posted in Troubleshooting
      N
      NoNameRo
    • RE: Config.js not working

      @dandrea30

      you’re missing a }

                  {
                          module: 'MMM-Traffic',
                          position: 'bottom_right',
                          classes: 'dimmed medium',
                          config: {
                                  api_key: 'your_apikey_here',
                                  mode: 'driving',
                                  origin: '4 Pennsylvania Plaza, New York, NY 10001',
                                  destination: '1 MetLife Stadium Dr, East Rutherford, NJ 07073',
                                  mon_destination: '116th St & Broadway, New York, NY 10027',
                                  fri_destination: '1 E 161st St, Bronx, NY 10451',
                                  arrival_time: '0800', //optional, but needs to be in 24 hour time if used.
                                  route_name: 'Home to Work',
                                  changeColor: true
                                  showGreen: false,
                                  limitYellow: 5, //Greater than 5% of journey time due to traffic
                                  limitRed: 20, //Greater than 20% of journey time due to traffic
                                  traffic_model: 'pessimistic'
                                  interval: 120000 //2 minutes
                          }
                 },
      
      posted in Troubleshooting
      N
      NoNameRo
    • RE: Problem updating to v2.3.1

      @Kristianson
      move or remove the files below

      dangerfile.js
      fonts/yarn.lock
      module-types.ts
      tests/configs/data/StripComments.json
      tests/configs/data/TranslationTest.json
      tests/configs/data/en.json
      tests/e2e/translations_spec.js
      tests/unit/classes/class_spec.js
      tests/unit/classes/deprecated_spec.js
      tests/unit/classes/translator_spec.js
      tests/unit/classes/utils_spec.js
      vendor/yarn.lock
      yarn.lock
      

      and then run

      git pull && npm install
      
      posted in Troubleshooting
      N
      NoNameRo
    • RE: MMM-MyWeather and coloricon option

      @johnny_swindle
      post your config.js

      posted in Troubleshooting
      N
      NoNameRo
    • RE: Problem updating to v2.3.1

      @Kristianson
      Did you solve the problem, have you run

      git reset --hard
      
      posted in Troubleshooting
      N
      NoNameRo
    • RE: Searching for a tutorial on using MM on a Pi Model B

      @csterling
      Here are 2 instructions that you can apply to your Pi1 Model B.

      instruction 1
      instruction 2

      both instructions are unfortunately outdated, can send you a current on the weekend

      posted in Hardware
      N
      NoNameRo
    • 1 / 1