• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 1.8k 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 Feb 20, 2017, 12:57 AM

    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.

    C 1 Reply Last reply Feb 20, 2017, 2:57 AM Reply Quote 0
    • C Offline
      cowboysdude Module Developer @fuzz
      last edited by cowboysdude Feb 20, 2017, 2:59 AM Feb 20, 2017, 2:57 AM

      @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 Feb 24, 2017, 8:50 PM Reply Quote 1
      • F Offline
        fuzz @cowboysdude
        last edited by Feb 24, 2017, 8:50 PM

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

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        1 / 1
        • First post
          1/3
          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