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.

    Trying to add a 3rd party module

    Scheduled Pinned Locked Moved Troubleshooting
    3 Posts 2 Posters 2.0k Views 2 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
      fuzz
      last edited by

      Hello all, I am new to this Magic Mirror. I got it up and running fine. I was able to change the weather info for my area. But I can not get any module to work, that I want to add. I tried putting in different spots in the config file. But that didn’t work.

      I tried different ones with no luck. I was trying to add the RSS and Stock ticker module.

      modules: [
          {
              module: 'stocks',
              position: 'bottom_bar',
              config: {
                  stocks: '.DJI,MSFT,AAPL,GOOG,INTC,CICS,TSLA,FB', // stock symbols
                  updateInterval: 37000 // update interval in milliseconds
              }
          }
      ]
      

      Can anyone help me where to put this at? thanks.

      cowboysdudeC 1 Reply Last reply Reply Quote 0
      • cowboysdudeC Offline
        cowboysdude Module Developer @fuzz
        last edited by cowboysdude

        @fuzz said in Trying to add a 3rd party module:

        Hello all, I am new to this Magic Mirror. I got it up and running fine. I was able to change the weather info for my area. But I can not get any module to work, that I want to add. I tried putting in different spots in the config file. But that didn’t work.

        I tried different ones with no luck. I was trying to add the RSS and Stock ticker module.

        modules: [
            {
                module: 'stocks',
                position: 'bottom_bar',
                config: {
                    stocks: '.DJI,MSFT,AAPL,GOOG,INTC,CICS,TSLA,FB', // stock symbols
                    updateInterval: 37000 // update interval in milliseconds
                }
            }
        ]
        

        Can anyone help me where to put this at? thanks.

        Try this put it as your last module in the config.js

         {
                module: 'stocks',
                position: 'bottom_bar',
                config: {
                    stocks: '.DJI,MSFT,AAPL,GOOG,INTC,CICS,TSLA,FB', // stock symbols
                    updateInterval: 37000 // update interval in milliseconds
                }
            },
        

        The module before it must end in a coma as well just like the above example.

        So for example:

        {
        			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
        			}
        		},
        
        F 1 Reply Last reply Reply Quote 1
        • F Offline
          fuzz @cowboysdude
          last edited by

          @cowboysdude I was able to get it to work. Thanks for the help.

          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