MagicMirror² v2.13.0 is available! For more information about this release, check out this topic.

MMM-Avstock and MMM-profilerswitcher



  • Re: MMM-AVStock
    Hi MM team,

    I have tried to do a very simple configuration with MMM-Avstock, MMM-ProfileSwitcher and MMM-TouchNavigation modules. The idea is that each profile will see different stocks. My problem is that all the profiles see the same stocks or only one can see their stocks.

    I didn’t fine the right configuration.

    language: "es",
    timeFormat: 24,
    units: "metric",
    
    modules: [
    	{
    		module: "alert",
    		classes: "default"
    	},
    	{
    		module: "updatenotification",
    		classes: "default",
    		position: "top_bar"
    	},
    	{
    	    module: "MMM-ProfileSwitcher"
    	},
    	{
    		module: "clock",
            		classes: "default",
    		position: "top_left"
    	},
    	{
    	    module: "MMM-TouchNavigation",
    	    position: "bottom_center",
    	    classes: "default everyone",
    	    config: {
    	        picturePlacement: "right",
    	        minWidth: "40px",
    	        buttons: {
    	            "default": {
    	                symbol: "ban"
    	            },
    	            "Galo": {
    	                text: " Galo",
    	                symbol: "home"
    	            },
    	            "Cris": {
    	                text: "Cris",
    	                symbol: "paper-plane"
    	            }
    	        }
    	    }
    	},
    	{
    		module: "compliments",
            		classes: "everyone",
    		position: "lower_third"
    	},
    	{
    		module: "currentweather",
            		classes: "default",
    		position: "top_right",
    		config: {
    			location: "Madrid",
    			locationID: "3117732",  //ID from http://bulk.openweathermap.org/sample/; unzip the gz file and find your city
    			appid: "3f29f7bf0932ca7df397b86854bd5eac"
    		}
    	},
    
    	{
    	  	//disabled:true,
    	  	module: "MMM-AVStock",
            		classes: "Galo",
    	  	position: "top_right", //"bottom_bar" is better for `mode:ticker`
    	  	config: {
    	    		apiKey : "807U0GS2THHPF710", // https://www.alphavantage.co/
    	    		timeFormat: "DD-MM-YYYY HH:mm:ss",
    	    		symbols : ["HPQ", "DELL", "CSCO"],
    	    		alias: ["HP Inc.", "DELL", "CISCO" ], 
    	    		tickerDuration: 90, // Ticker will be cycled once per this second.
    	    		chartDays: 90, //For `mode:series`, how much daily data will be taken. (max. 90)
    	    		poolInterval : 1000*15, // If your AV account is free, at least 13 sec is needed.
    	    		mode : "table", // "table", "ticker", "series"
    	  	}
    	},
    	{
    	  	//disabled:true,
    	  	module: "MMM-AVStock",
            		classes: "Cristina",
    	  	position: "top_right", //"bottom_bar" is better for `mode:ticker`
    	  	config: {
    	    		apiKey : "807U0GS2THHPF710", // https://www.alphavantage.co/
    	    		timeFormat: "DD-MM-YYYY HH:mm:ss",
    	    		symbols : ["IBE.MC"],
    	    		alias: ["Iberdrola" ], 
    	    		tickerDuration: 90, // Ticker will be cycled once per this second.
    	    		chartDays: 90, //For `mode:series`, how much daily data will be taken. (max. 90)
    	    		poolInterval : 1000*15, // If your AV account is free, at least 13 sec is needed.
    	    		mode : "table", // "table", "ticker", "series"
    	  	}
    	},
    	{
    		module: "newsfeed",
    		classes: "everyone",
    		position: "bottom_bar",
    		config: {
    			feeds: [
    				{
    					title: "EL PAIS",
    					url: "http://ep00.epimg.net/rss/elpais/portada.xml"
    				},
    				{
    					title: "MARCA - PRIMERA DIVISION",
    					url: "https://e00-marca.uecdn.es/rss/futbol/primera-division.xml"
    				}
    
    			],
    			showSourceTitle: true,
    			showPublishDate: true
    		}
    	},
    ]
    

    };

    Please, if you could support me. Thanks in advance, regards,
    Galo


Log in to reply