All log files for MMPM in /var/log/nginx will be prefixed with either mmpm-access or mmpm-error. This guide is about how to install google assistant and magic mirror on latest raspbian. If for some reason you cannot access mmpm log -zip, you can find the files in ~/.config/mmpm/log and /var/log/nginx. You can create a ZIP archive of the MMPM logįiles files through the Control Center of the GUI, or by running mmpm log -zip through the CLI. Provide what steps can be take to reproduce the bug. Needed, use one of the issue templates, and please attach the log files, your config.js, and Creating IssuesĬonsult the Wiki before posting any issues, and use one of the provided templates (if possible) when filing an issue.įor any bugs encountered, examine the log files by running mmpm log. Note: the Environment Variables setup is extremely important. Make sure you've followed all the instructions for installation, configuring environment variables, and the hide/show modules feature setup. Python3 -m pip install -upgrade -no-cache-dir mmpmĮcho 'export PATH="$PATH:$HOME/.local/bin"' > ~/.bashrc Quick Installation Guide sudo apt install libffi-dev nginx-full -y Start/Stop/Restart MagicMirror (works with npm, pm2, and docker-compose).Quick MagicMirror config editing access.Adding external packages (think of it like PPAs for Ubuntu).Installation, removal, updating, and upgrading of packages.The MagicMirror Package Manager is featured as an alternative installation method on the MagicMirror Documentation. If we recieve enough donations we might even be able to free up some working hours and spend some extra time improving the MagicMirror core. Please consider a donation to help us cover the ongoing costs like webservers and email services. That doesn't mean we don't need any money. It is formatted in a JavaScript file. This is a very well-structured language but unforgiving.MMPM, the MagicMirror Package Manager is a self updating command line and graphical interface designed to simplify the installation, removal, and maintenance of MagicMirror packages. The Raspberry Pi is a small, credit card-sized computer that powers the whole thing, displaying the Magic Mirror interface and running Jasper, the voice-control system. Consider a donation MagicMirror is opensource and free. Your config file controls some of the fundamental features of your mirror, as well as the various modules. To do this at any time: pm2 restart MagicMirror Meet the config file If anything goes wrong, just copy the config backup back and try again: cp config.js.backup config.jsĮach time you edit config.js, you’ll need to restart MagicMirror2 for changes to take effect. Here’s how it works from a Terminal: cd ~/MagicMirror/config You can set up your Raspberry Pi as a smart mirror in a number of different ways. If MagicMirror2 refuses to start, just copy the file back. Don’t worry: as long as you make copies of your files, it’s going to be hard to break anything. For now, you will need to do some text editing of config.js. Sadly, MagicMirror2 doesn’t (yet) come with an easy configuration utility. Now add this line to the end of the file: -output HDMI-1 -rotate right To rotate your display 90º so it fits your mirror, open a Terminal and enter the following: /etc/xdg/lxsession/LXDE-pi/autostart Normally we could make some changes to /boot/config.txt to easily rotate the screen, but with Raspberry Pi 4’s fancy new graphics support, this is no longer possible. Can a mirror be upside-down? A magic mirror can! Most mirrors tend to be portrait, whereas screens are normally landscape.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |