Coder Social home page Coder Social logo

magicmirrorpi0installer's Introduction

MagicMirror 2.6.0 Installer for the Pi Zero

This installer allows users of the Raspberry Pi Zero to also access the popular MagicMirror personal assistant project which was voted number 1 Pi project by MagPi in 2016.

Installation

Raspberry Pi

Install the most recent available Raspbian Image (This is tested on Raspbian Jessie and Raspbian Stretch). You do not need the 'recommended software', but you do need the 'desktop'. Therefore do not use the 'Lite' version.

Set up your Internet connection. You may also want to set up SSH and VNC at this time.

Magic Mirror Installation

Clone this project into your home directory (It should come down into the folder ~/MagicMirrorPi0Installer)

git clone https://github.com/ac2799/MagicMirrorPi0Installer

Run the command

sudo chmod a+x ~/MagicMirrorPi0Installer/RaspberryPi0.sh && sh ~/MagicMirrorPi0Installer/RaspberryPi0.sh

This will make the shell script executable, and if that is successful, it will also run the script.

This can take up to an hour, depending on how many updates and upgrades need to be made to your Raspbian version. There is minimal interaction required, except to press enter a couple of times to agree to updates outside of the repository (e.g. updates to the raspbian operating system).

Further details

The main repository for the Magic Mirror is at https://github.com/MichMich/MagicMirror. All the work was done by them, this is just to hold the Pi Zero script until such time as it can be brought into the main project.

- Andrew Chu

magicmirrorpi0installer's People

Contributors

ac2799 avatar idoodler avatar

Stargazers

 avatar Sebastian Morton-Zeller avatar Iulander avatar  avatar Bluehelix avatar Alexander Campbell avatar Joe Shacar avatar Andrew Boyley avatar Mickaël avatar F. Javier Ortega avatar Chris J. Burris avatar Steffen avatar  avatar  avatar IoT learner 0 level avatar Arun Kumar avatar Niekert avatar  avatar  avatar Leonardo Monteiro avatar 軟實力精進聯盟 Soft Skills Union avatar Lukas avatar  avatar  avatar Ramez avatar

Watchers

 avatar

magicmirrorpi0installer's Issues

Wrong filename in script

After new instalation pm2 didn't start properly. after few hours i found why.
In pm2_MagicMirrorPi0.json
line:
"script" : "/MagicMirror/PiZero/startMagicMirror.sh",
should be :
"script" : "
/MagicMirror/PiZero/startMagicMirrorPi0.sh",

Many thanks Stretch lite?

With the zero trying to keep things as slim as possible.

sudo apt-get install xserver-xorg-video-all xserver-xorg-input-all xserver-xorg-core xinit x11-xserver-utils

edit the ~/.bash_profile

if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
startx
fi

With Raspbian, launch raspi-config utility, then choose Boot Options and Console Autologin
which doesn't seem to work so.

sudo nano /etc/systemd/system/[email protected]/autologin.conf

edit with

[Service]
ExecStart=
ExecStart=-/sbin/agetty --autologin pi --noclear %I 38400 linux

sudo systemctl enable [email protected]

sudo apt-get install chromium-browser
sudo apt-get install unclutter

create a file~/.xinitrc

#!/bin/sh
xset -dpms
xset s off
xset s noblank

unclutter &
chromium-browser http://localhost:8080 --window-size=1920,1080 --start-fullscreen --kiosk --incognito --noerrdialogs --disable-translate --no-first-run --fast --fast-start --disable-infobars --disable-features=TranslateUI --disk-cache-dir=/dev/null

But many thanks

Wasn't to sure about Plymouth theme with stretch lite but mweh :)
But sure someone could add

Black screen !

Hello ! Thanks to you for you work for the pi zero, but I have a problem ... When MagicMirror is launching, my page stay totally black. I try the defaut config json file and other, but impossible to have something on the screen.
I work on a Pi Zero W, all update are done. No problem during the installation, i just make a modification on the script to launch the correct file (see previous issue)
Do you have an idea ?

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.