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.


  • Module Developer

    @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
    			}
    		},
    


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


Log in to reply
 

Looks like your connection to MagicMirror Forum was lost, please wait while we try to reconnect.