9/21/2023 0 Comments Magic mirror raspberry pi too hot![]() Press Ctrl + X and type Y to save and close the file. We also need to edit the nf file sudo nano /etc/lightdm/nfĪdd the following lines to the end of the file. Add the following lines to the end of the file, and save and close the file with Ctrl + X, and press Y # Add the lines below in the autostart file (sudo nano s s -dpms By default, the screen will turn off after a few minutes. The next step is to make sure that the screen stays on. output HDMI-1 -rotate right # or left Disable screensaver We will be using the nano to make the file changes: sudo nano /etc/xdg/lxsession/LXDE-pi/autostartĪdd the following lines to the end of the file. To rotate the screen we will need to change the config file /boot/config.txt. So the first step is to make some additional changes to our Pi: Also, the screen goes to sleep mode after a few seconds, and the MagicMirror doesn’t start on its own. If you have connected a monitor or other display to your Pi, you might have noticed that the screen orientation is incorrect for our smart mirror. We have the Pi and MagicMirror software running, now it’s time to configure the Pi and MagicMirror. The MagicMirror should now start with the default configuration. The last step, for now, is to copy the configuration file and start the MagicMirror software # Copy the config fileĬp config/config.js.sample config/config.js Just give it some time! # Clone the MagicMirror Repository Running npm install can take up to 10 min on a Raspberry Pi 3, with no to minimal console output. The next step is to clone and install the MagicMirror software. This script can also be used to automatically update the MagicMirror software.įirst, we are going to install Node.js: # Install Node.js But I have to mention that there is also an installation script that you can use. I am going to do the manual installation method because I like to know what is being installed and where. We are now ready to install the MagicMirror software. Run the following command to install the latest packages: sudo apt-get update & sudo apt-get upgrade -y & sudo apt-get autoremove & sudo apt-get autoclean Install and Configure MagicMirror The next step is to make sure that the Pi is fully up to date. When done save and close the file by pressing ctrl + x and pressing Y to save it. Also, make sure you configure the router’s IP Address correctly.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |