Skip to content

MattN-HB/smartmirror

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 

Repository files navigation

smartmirror

image

Initial Setup

  1. Get Raspberry pi
  2. Follow installation instructions on Install for Magic Mirror
  3. cd MagicMirror/
  4. To Start the mirror npm run start

Configure so accessible from your network

  • Locate file nano config.js
  • Change "localhost" to "0.0.0.0" this exposes your local network
  • Change the ipwhitelist to ["127.0.0.1", "<YOURPRIVATERANGE>"]
  • Open up firewall on rasppi for that port to your local network sudo ufw allow from <YOURIPRANGE> to any port 8080 proto tcp
  • Test it by going to web browser from different device and http://:8080

Add World Clock

image

Configure weather

image

  • Create a free account and grab your api key at Openweathermap
  • config.js
  • Look your city id from weathmap
  • Replace <apikey> with your key and add in units: "imperial", in config.js Full list of Weather Fields

Calendar Config

Sport Team Widget

image

Commute Time Widget

image

  • Directions from Jeff Github
  • Tips for the Google API: create billing account, link billing account to project, ENABLE and restrict following APIs: image

Wifi QR Code

Custom Background

  • navigate to cd MagicMirror/css/main.css and add to the body background-image: url("name.jpeg");

Steps putting on mirror

  1. Tutorial in picture frame
  2. :8080 in Chromium Browser on raspberrypi and cast to Chromecast. This allows you to have multiple mirrors or displays

Resources

  1. Magic Mirrors
  2. Install for Magic Mirror
  3. Tutorial in picture frame
  4. Configurations
  5. Jeff Custom Moduels for Mirror
  6. Custom Weather
  7. Module Positions image
  8. Cast alternative: raspicast
  9. TRICK: F11 toggles the full screen on the pi
  10. Setup SSH to your by raspiconfig enable via interface. sudo ufw allow from <YOURLOCALIPRANGE>/24 to any port 22 proto tcp to open up firewall to your local network
  11. How to VNC from remmina into your pi:
  • sudo ufw allow from <yourlocaliprange>/24 to any port 5900 proto tcp and sudo raspi-config interfaces and enable VNC server.
  • Open the /root/.vnc/config.d/vncserver-x11 config file.
  • Replace Authentication=SystemAuth with Authentication=VncAuth and save the file.
  • In the command line, run sudo vncpasswd -service. This will prompt you to set a password, and will insert it for you in the right config file for VNC Server running in Service Mode.
  • Restart VNC Server.
  • ONLY first 8 characters of password work in REMMINA the ip field is: <yourpiip>:5900
  1. Profile Switcher repo

About

Smart two way mirror to display widgets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors