Run sudo smbpasswd -a pi and follow instructions. You must create a new SMB user to access samba shares.When asked Modify smb.conf to use WINS settings from DHCP? select (If you don’t have any special reason to say ). Install by running sudo apt install samba.This way you can use your preferred text editor to change your MagicMirror configuration files instead of Vim, Nano, or other unsuitable editor. Install and configure SambaĪnother tool you don’t realy need, but might find useful to manage files on the Pi from a network share. You can now access the Linux desktop with a VNC client. You don’t need VNC to use or configure MagicMirror, but it is useful for viewing the MagicMirror screen while you testing changes in the MagicMirror configuration files later.Ĭreated symlink /etc/systemd/system//rvice → /usr/lib/systemd/system/vncserver- rvice. The first thing you should do after login is to change this password using the passwd command and follow instructions. You can Now connect to the Pi with a SSH client. After a short time open your routers DHCP lease table to find the Raspberry Pi’s IP-address. Now insert the SD-card in your Raspberry Pi.Ĭonnect the Raspberry Pi to your mirror-monitor, and your router with an Ethernet cable. Verify that file is created and eject SD-Card. In Windows this is done by running type NUL > G:\ssh in CMD (Replace G with partition letter.). To enable SSH by default make a new, empty file with no extension named ssh in the root of the boot partition. Then click Select drive and then your SD-Card.Īfter flashing, if the boot partition is not showing on your computer, eject and re-insert the card in the computer. Press Select image and select the Raspbian Buster with desktop zip-file. To flash the image to your SD-card, download and install/run EtcherĪfter installation insert the SD-card in your computer and start Etcher. Go to and download the last Raspbian Buster with desktop image zip-file, which is -raspbian-buster.zip at the time of writing this guide. Download, flash and prepare SD-card image It is mostly used to make interfaces for smart mirrors (Monitors behind transparent mirrors), but it is also used to make good looking information displays without mirrors. MagicMirror² is a open source and 100% free modular smart mirror platform that run on a raspberry pi. Module installations and general configuration of MagicMirror² is not a part of this tutorial. The current version of MagicMirror² supports Raspberry Pi 2 and Raspberry Pi 3, so you will need one of these. No connection of keyboard or mouse to the Raspberry Pi required The guide will also show how to install/enable extra tools like SSH, Samba and VNC to make MagicMirror² completely ready for configuration and use. I’m using a Raspberry Pi 3 and a “HDMI 4 Pi - 10.1 Display 1280x800 IPS - HDMI/VGA/NTSC/PAL” from adafruit ( link).Īs the mirror is pulling some interesting data that I want in my quantified-self dashboard project, I wrote some quick nodejs request code to POST commands to my generic REST metrics endpoint for visualizing data from my Magic Mirror in kibana (hosted in Elastic Cloud of course.In this guide I will explain in detail how you install MagicMirror² on a Raspberry Pi. Here’s a cleaned-up diagram of what’s going on behind all that electrical tape. I’m a software engineer, not an electrical engineer, so I’m excused. My mirror is held together by electrical tape, which isn’t ideal. (Especially if you are like me and don’t have access to the space or woodworking tools necessary to build your own frame). I recommend picking a picture frame you like first and then ordering a plastic mirror that fits it rather than the other way around. The hardware build out only took a few minutes once I had a plastic one-way mirror that fit my frame. I live near a bus line, which I find I’m using more often, so I’ll probably try to figure out how to get bus ETAs from the WMATA apis as a later project. I moved to a new home recently, so the I swapped out the capital bikeshare feed with an incidents feed for the DC metro system. The mirror pulls data and pushes metrics logs to Elastic Cloud for later visualization This post I’ll show the final hardware build out.īasic software architecture. Magic Mirror blog post I showed the software setup of custom modules for the excellent MagicMirror project. The completed project along with a screenshot of the software display behind my Magic Mirror
0 Comments
Leave a Reply. |