MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Bad question

    Scheduled Pinned Locked Moved General Discussion
    64 Posts 5 Posters 65.1k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F Offline
      Fonfon
      last edited by

      OK THANKS so another question !
      how you manage your pie when it is in the mirror ??

      thanks ;)

      Mykle1M 1 Reply Last reply Reply Quote 0
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer @Fonfon
        last edited by

        @Fonfon said in Bad question:

        how you manage your pie when it is in the mirror ??

        This is how I do/did it:

        Go to your Pi Application Menu, scroll down to Preferences, scroll down to Raspberry Pi Configuration. In the window that opens click the Interfaces button. Enable VNC. Click OK. Your done with the Pi.

        On the computer that you want to manage your Pi from, go to https://www.realvnc.com/download/viewer/windows/ (In this case it’s for Windows. Choose your platform). Download VNC Viewer. This will allow you to remotely administer your Pi, and your MM, without having to take your mirror down or bring a mouse and keyboard to your mirror. I was doing that for a while until I learned this.

        There might be other ways but this is the way I do it.

        Peace

        1 Reply Last reply Reply Quote 2
        • F Offline
          Fonfon
          last edited by

          Thanks very much Mykle1 for your answering.!!
          good way !

          Mykle1M 1 Reply Last reply Reply Quote 0
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer @Fonfon
            last edited by

            @Fonfon - You’re welcome. Peace. :peace:

            1 Reply Last reply Reply Quote 0
            • F Offline
              Fonfon
              last edited by

              Ok work great !!
              Now new questions how it’s possible to traduce module in french for french mirror of course ?

              thanks

              strawberry 3.141S 1 Reply Last reply Reply Quote 0
              • strawberry 3.141S Offline
                strawberry 3.141 Project Sponsor Module Developer @Fonfon
                last edited by

                @Fonfon you can set your language in the config file, if the modules have french translations they will be displayed in french. If they don’t have translation you can either add them and create a pull request on github or send the author the translations, so he can add them.

                Please create a github issue if you need help, so I can keep track

                1 Reply Last reply Reply Quote 0
                • F Offline
                  Fonfon
                  last edited by

                  ok ok i understand thanks strawberry-3-141

                  1 Reply Last reply Reply Quote 0
                  • F Offline
                    Fonfon
                    last edited by yawns

                    Help me please

                     ERR! Linux 4.4.34-v7+
                    npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start"
                    npm ERR! node v6.9.5
                    npm ERR! npm  v3.10.10
                    npm ERR! path /home/pi/package.json
                    npm ERR! code ENOENT
                    npm ERR! errno -2
                    npm ERR! syscall open
                    
                    npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
                    npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
                    npm ERR! enoent This is most likely not a problem with npm itself
                    npm ERR! enoent and is related to npm not being able to find a file.
                    npm ERR! enoent 
                    
                    npm ERR! Please include the following file with any support request:
                    npm ERR!     /home/pi/npm-debug.log
                    
                    strawberry 3.141S 1 Reply Last reply Reply Quote 0
                    • strawberry 3.141S Offline
                      strawberry 3.141 Project Sponsor Module Developer @Fonfon
                      last edited by

                      @Fonfon you are in the wrong directory cd ~/MagicMirror

                      Please create a github issue if you need help, so I can keep track

                      1 Reply Last reply Reply Quote 1
                      • F Offline
                        Fonfon
                        last edited by

                        for sure i’m so confuse !

                        1 Reply Last reply Reply Quote 0
                        • F Offline
                          Fonfon
                          last edited by

                          Another one !! ;)
                          WARNING! Could not find config file. Please create one. Starting with default configuration.

                          why he say that ?

                          thanks

                          Mykle1M 1 Reply Last reply Reply Quote 0
                          • Mykle1M Offline
                            Mykle1 Project Sponsor Module Developer @Fonfon
                            last edited by

                            @Fonfon

                            Your config was working and now it’s not? If you just added something to a working config then that’s probably the culprit. Post your config here so we can have a look at it

                            1 Reply Last reply Reply Quote 0
                            • F Offline
                              Fonfon
                              last edited by

                              /* Magic Mirror Config Sample
                              *

                              • By Michael Teeuw http://michaelteeuw.nl
                              • MIT Licensed.
                                */

                              var config = {
                              port: 8080,
                              ipWhitelist: [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, “192.168.1.1/24”],

                              language: 'fr',
                              timeFormat: 24,
                              units: 'metric',
                              
                              modules: [
                              	{
                              		module: 'alert',
                              	},
                              	{
                              		module: "updatenotification",
                              		position: "top_bar"
                              	},
                              	{
                              {
                              		module: 'calendar',
                              		header: 'US Holidays',
                              		position: 'top_left',
                              		config: {
                              			calendars: [
                              				{
                              					symbol: 'calendar-check-o ',
                              					url: 'webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics'
                              				}
                              			]
                              		}
                              	},
                              	{
                              		module: 'compliments',
                              		position: 'lower_third'
                              	},
                              	{
                              		module: 'currentweather',
                              		position: 'top_right',
                              		config: {
                              			location: 'New York',
                              			locationID: '',  //ID from http://www.openweathermap.org
                              			appid: 'YOUR_OPENWEATHER_API_KEY'
                              		}
                              	},
                              	{
                              		module: 'weatherforecast',
                              		position: 'top_right',
                              		header: 'Weather Forecast',
                              		config: {
                              			location: 'New York',
                              			locationID: '5128581',  //ID from http://www.openweathermap.org
                              			appid: 'YOUR_OPENWEATHER_API_KEY'
                              		}
                              	},
                              	{
                              		module: 'newsfeed',
                              		position: 'bottom_bar',
                              		config: {
                              			feeds: [
                              				{
                              					title: "New York Times",
                              					url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
                              				}
                              			],
                              			showSourceTitle: true,
                              			showPublishDate: true
                              		}
                              	},
                              ]
                              

                              };

                              /*************** DO NOT EDIT THE LINE BELOW ***************/
                              if (typeof module !== ‘undefined’) {module.exports = config;}

                              Mykle1M 2 Replies Last reply Reply Quote 0
                              • Mykle1M Offline
                                Mykle1 Project Sponsor Module Developer @Fonfon
                                last edited by

                                This post is deleted!
                                1 Reply Last reply Reply Quote 0
                                • Mykle1M Offline
                                  Mykle1 Project Sponsor Module Developer @Fonfon
                                  last edited by

                                  @Fonfon

                                  the 2nd { in the calendar module should be deleted for starters

                                  Mykle1M 1 Reply Last reply Reply Quote 0
                                  • Mykle1M Offline
                                    Mykle1 Project Sponsor Module Developer @Mykle1
                                    last edited by

                                    Like this

                                    {
                                    	module: 'calendar',
                                    	header: 'US Holidays',
                                    	position: 'top_left',
                                    	config: {
                                    		calendars: [
                                    			{
                                    				symbol: 'calendar-check-o ',
                                    				url: 'webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics'
                                    			}
                                    		]
                                    	}
                                    },
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • F Offline
                                      Fonfon
                                      last edited by

                                      Can you give me a correct config file for starting or where i can find it ?

                                      F Mykle1M 2 Replies Last reply Reply Quote 0
                                      • F Offline
                                        Fonfon @Fonfon
                                        last edited by

                                        @Fonfon and when i start npm , my config file name is config.js or config.js.sample ?

                                        Mykle1M 1 Reply Last reply Reply Quote 0
                                        • Mykle1M Offline
                                          Mykle1 Project Sponsor Module Developer @Fonfon
                                          last edited by

                                          @Fonfon said in Bad question:

                                          Can you give me a correct config file for starting or where i can find it ?

                                          Well, that one should work if you make the correction I noted. Otherwise, in the config folder is a file called config.js.sample. Make a copy of it and rename it to config.js. Then you’ll have to add your other modules and API keys

                                          1 Reply Last reply Reply Quote 0
                                          • Mykle1M Offline
                                            Mykle1 Project Sponsor Module Developer @Fonfon
                                            last edited by

                                            @Fonfon said in Bad question:

                                            @Fonfon and when i start npm , my config file name is config.js or config.js.sample ?

                                            config.js or it won’t work

                                            1 Reply Last reply Reply Quote 0

                                            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
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 1 / 4
                                            • First post
                                              Last post
                                            Enjoying MagicMirror? Please consider a donation!
                                            MagicMirror created by Michael Teeuw.
                                            Forum managed by Sam, technical setup by Karsten.
                                            This forum is using NodeBB as its core | Contributors
                                            Contact | Privacy Policy