Code Monkey home page Code Monkey logo

magic-mirror-raspbian-lite's Introduction

Magic Mirror for Raspbian Lite

A quick and easy, single command to setup Magic Mirror on Raspbian Lite. This script will install all required dependencies and a minimal GUI to run MagicMirror on Raspbian Lite (non-desktop version).

Quick Setup

Simply run the command on your Raspberry Pi (this has been tested on Pi Zero W).

NOTE: This script can take a while as it updates Rasbian package manager and pulls in all dependencies.

bash -c "$(curl -sL https://raw.githubusercontent.com/pureartisan/magic-mirror-raspbian-lite/master/install.sh?$(date +%s))"

You will be asked a upto 3 questions, and then everything will happen autoamtically. Sit back and relax, or go have a coffee! :)

Minimum Requirements

It is expected that you have the following already setup:

  • Raspbian Lite installed
  • The Raspberry Pi has an active internet connection
  • You have something better to do while the script does it's magic!!! :)

What does this do?

This script sets up the following in your Raspbian Lite setup:

  • X11 (minimal GUI required to run a browser)
  • Chromium (using fullscreen chromium kiosk mode)
  • Node (required by MagicMirror)
  • MagicMirror
  • Plymouth (pretty splash screens used by MagicMirror)
  • Auto login to Raspberry Pi

magic-mirror-raspbian-lite's People

Contributors

kitlaan avatar prageeth avatar torstein-eide avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

magic-mirror-raspbian-lite's Issues

Node stuck on Version 12.2.3

The node installation somehow doesn't work. It produces Errors and the installed Version is 12.2.3.

MM2 needs higher Versions to work by now, because node reached eol up to version 16.

Updating node didn't work using n, nor using NVM.

So I'm kind of at a loss how to fix the issue.

X failed to start

FYI, with a brand new install of bookworm lite, Xorg failed to start (with tty and "virtual console" errors).

I had to add ~/.xserverrc with contents:

#!/bin/sh

exec /usr/bin/X -nolisten tcp "$@" vt${XDG_VTNR}

Script causing an error and exiting prematurely

"Latest release in the 12 family for armv7l is
using release tar file = 'node_release-.tar.gz' and extracting to '/usr/local'

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now"

Installing on Pi2B with latest Rasbian Lite

Rebooting

Hi - Not actually an issue but how can I reboot magic mirror, e.g. refresh after a config change without rebooting the Pi Zero? The standard installation is a npm restart or stop and start ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.