Config.js issues



  • Hi All,

    A bit confusing to explain but here goes. I have made my config.js show the time top left and weather top right. If I add any other module all I get is a black screen and nothing else, if I remove the new module the time and weather show again. Below is my current config.js am I missing something as to why it wont work with any other module, compliment for example. You will notice at the bottom there is an RSS module, this does not show and the compliments module kills off everything.

    Thanks in advance for any help,
    Sam

    ```var config = {
    	port: 8080,
    	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
    
    	language: 'en',
    	timeFormat: 24,
    	units: 'metric',
    
    	modules: [
    		{
    			module: 'clock',
    			position: 'top_left'
    		},
    		{
    			module: 'compliments',
    			position: 'upper_third',
    			config: {
    			compliments: {
    				morning: [
    				'Good Morning'
    					],
    				afternoon: [
    				'Good Afternoon'
    					],
    				evening: [
    				'Good Evening'
    					]
    				}
    			}
    		},
    		{
    			module: "updatenotification",
    			position: "top_bar"
    		},
    		{
    			module: 'currentweather',
    			position: 'top_right',
    			config: {
    				location: 'Newmarket',
    				locationID: '',
    				appid: 'XXXXX'
    			}
    		},
    		{
    			module: 'mmm-rss-feed',
    			position: 'lower_third',
    			config: {
    				url: 'http://feeds.bbci.co.uk/news/rss.xml'
    			}
    		},
    		]
    
    };
    
    /*************** DO NOT EDIT THE LINE BELOW ***************/
    if (typeof module !== 'undefined') {module.exports = config;}


  • @ShizukaNaHaji are there any errors in the electron console or in the terminal?

    and you should remove your appid from your post above


  • Moderator

    @strawberry-3.141 said in Config.js issues:

    @ShizukaNaHaji you should remove your appid from your post above

    I just removed the appid


Log in to reply
 

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