Read the statement by Michael Teeuw here.
How to start smart mirror
-
Hi there
I am new raspberry and I install magicmiror.
When I run the software with the code I shared below, nothing appears on the screen.cd ~/MagicMirror DISPLAY=:0 npm startWhen I look at module file from file manager, I see that modules like clock, calendar are installed. I’d appreciate it if you could help me.
PS: I use raspberry pi4 2Gb and television
-
Take a look at your config.js file. At first installation, you have a file called config.js.sample. You must rename that file to config.js and try again.
The path to those files is: /home/pi/MagicMirror/config/
-
@qu1que said in How to start smart mirror:
Take a look at your config.js file. At first installation, you have a file called config.js.sample. You must rename that file to config.js and try again.
The path to those files is: /home/pi/MagicMirror/config/
Thank you for your comment. I try this but it doens’t fix. Can I ask one more question
Does config file contain both config.js and config.js.sample files?
-
On a clean installation of MM, only config.js.sample exists, I think. You have to rename it to config.js and configure it as you wish. If config.js doesn’t exists, you can not watch anything on the screen of your mirror.
-
I would make a copy of the config,js,sample and rename the copy to config.js, leaving the sample file as a safety net in case something goes wrong when you start editing.
https://forum.magicmirror.builders/topic/4528/how-to-create-a-working-config-for-absolute-beginners
-
The installer should have done all this for you
-
Yes, always is a good idea to make a backup of a file before modified it :winking_face:
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login