MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.

    Trying to add a 3rd party module

    Troubleshooting
    2
    3
    1486
    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
      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.

      cowboysdude 1 Reply Last reply Reply Quote 0
      • cowboysdude
        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
          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
          • 1 / 1
          • First post
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy