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.

    Where to insert text?

    Scheduled Pinned Locked Moved Troubleshooting
    8 Posts 3 Posters 1.1k Views 3 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.
    • N Offline
      norwestie
      last edited by

      I’m trying to add some 3rd party modules to my MM. Many require text to be added to the config.js file. I tried but broke the config. I removed what I had pasted in and all is working now. I searched for the protocols for modifying the config but can’t find an answer. With all the {, ( ), ', " }, etc I need help. Where would I insert the following in the config.js file:
      {
      module: “MMM-quote-of-the-day”,
      position: “lower_third”,
      config: {
      language: “en”,
      updateInterval: “1d”
      }
      }

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @norwestie
        last edited by

        @norwestie read the link in my signature about adding moduled

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • N Offline
          norwestie
          last edited by

          I used pm2 to autostart MM. Now I can’t get to the Pi desktop. I used pm2 stop mm then on the Pi command Q. MM disappeared for a few seconds but restarted right away. I rebooted and repeated but can’t get off MM

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @norwestie
            last edited by

            @norwestie alt-spacebar, n
            to minimize, just like on windows.

            pm2’s job is to keep the defined process running

            pm2 stop all
            once u get to the desktop

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • N Offline
              norwestie
              last edited by

              Thank you, it worked!

              1 Reply Last reply Reply Quote 0
              • N Offline
                norwestie
                last edited by sdetweil

                But… now i installed a couple modules, checking everything but MM is stuck ‘loading’. All that shows is the clock and weather and the header for Jeopardy. Where is my error? Below is what I have:

                                },
                                {
                                        module: "weatherforecast",
                                        position: "top_right",
                                        header: "Weather Forecast",
                                        config: {
                                                location: "West Linn",
                                                locationID: "5760009", //ID from http://bulk.openweathermap.org/sample/city.list.$
                                                appid: "xxxxx"
                                        }
                                },
                                {
                                        module: 'MMM-IPCam',
                                        position: 'top_left',
                                        config: {
                                        invertColors: false,
                                        updateInterval : 10000,
                                        host: '192.168.50.8',
                                        port: 80,
                                        user: 'xxxxx',
                                        pass: 'xxxxx', 
                                        }           
                                },
                                {
                                        module: "newsfeed",
                                        position: "bottom_bar",
                                        config: {
                                                feeds: [
                                                        {
                                                                title: "New York Times",
                                                                url: "https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml"
                                                        }
                                                ],
                                                showSourceTitle: true,
                                                showPublishDate: true,
                                                broadcastNewsFeeds: true,
                                                broadcastNewsUpdates: true
                                        }
                                },
                        ]
                };
                
                S lavolp3L 2 Replies Last reply Reply Quote 0
                • S Offline
                  sdetweil @norwestie
                  last edited by

                  @norwestie please use code marks around config info

                  mark the text, and push the button above the editor like this </>

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • lavolp3L Offline
                    lavolp3 Module Developer @norwestie
                    last edited by

                    @norwestie CHeck this out to get a feeling how to troubleshoot modules.
                    There might be an error zou need to find somewhere
                    https://gist.github.com/lavolp3/db7de8c0664ba95e8b9247ba685095fe

                    How to troubleshoot modules
                    MMM-soccer v2, MMM-AVStock

                    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 / 1
                    • 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