• 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.

After adding MMM-CalendarExt to a class (MMM-ProfileSwitcher) it doesn't show up on the mirror

Scheduled Pinned Locked Moved Solved Troubleshooting
12 Posts 3 Posters 2.8k Views 3 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.
  • T Offline
    tomXGames
    last edited by Sep 17, 2019, 4:30 PM

    Hi!

    It’s all in the title…

    Here’s my config:

    /* Magic Mirror Config Sample
     *
     * By Michael Teeuw http://michaelteeuw.nl
     * MIT Licensed.
     *
     * For more information how you can configurate this file
     * See https://github.com/MichMich/MagicMirror#configuration
     *
     */
    
    var config = {
    	address: "localhost", // Address to listen on, can be:
    	                      // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
    	                      // - another specific IPv4/6 to listen on a specific interface
    	                      // - "", "0.0.0.0", "::" to listen on any interface
    	                      // Default, when address config is left out, is "localhost"
    	port: 8080,
    	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
    	                                                       // or add a specific IPv4 of 192.168.1.5 :
    	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
    	                                                       // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
    	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
    
    	language: "de",
    	timeFormat: 24,
    	units: "metric",
    
    	modules: [
    		{
    			module: "alert",
        			classes: "default everyone"
    
    
    		},
    		{
    			module: "updatenotification",
    			position: "top_bar",
    			classes: "default everyone"
    
    
    		},
    		{
    			module: "clock",
    			position: "top_left",
    			classes: "default everyone"
    		},
    
    		{
    			module: "newsfeed",
    			position: "bottom_bar",
    			classes: "default everyone",
    			config: {
    				feeds: [
    					{
    						title: "Neue Zürcher Zeitung",
    						url: "https://www.nzz.ch/recent.rss"
    					},
    
    
    				],
    				showSourceTitle: true,
    				showPublishDate: true,
    				broadcastNewsFeeds: true,
    				broadcastNewsUpdates: true
    			}
    		},
    
    		    {
    
          			module: "MMM-CalendarExt",
          			position: "top_left",
    			classes: "default everyone",
    			config: {
            		system: {
              				show: ["daily"],
              				locale: 'de',
              				redrawInterval:60000,
            			},
            			views: {
              				daily: {
                						position:'lower_third',
                						counts:7,
              					},
    
            				},
    
            			defaultCalendar: {
              						maxEntries:50,
              						maxDays:180,
              						interval: 1000*60*5,
            					},
    
            			calendars :[
              					{
                						name: "Tommaso",
                						url: "https://calendar.google.com/calendar/ical/123/basic.ics",
    							profiles: ['Tom'],
              					},
              					{
                						name: "Ferien",
                						url: "https://www.ferienwiki.ch/exports/ferien/2019/ch/basel-stadt",
    							profiles: ['default'],
              					},
    
        
            				],
          				},
        		},    						
    		{
            		module: 'MMM-ProfileSwitcher',
    			classes: "default everyone",
           				config: {
               					// See 'Configuration options' for more information.
        					}
      		},
            	{
    		            module: "currentweather",
    				classes: "default",
    		            position: "top_right",
    		            config: {
    		              location: "Basel",
    		              locationID: "6458763",  //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
    		              appid: "1234"
              				}
            	},
    	        {
    	            module: "weatherforecast",
    		    classes: "default everyone",
    	            position: "top_right",
    	            header: "Weather Forecast",
    	            config: {
    	              location: "Basel",
    	              locationID: "6458763",  //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
    	              appid: "12345"
    	          }
            	},
    		
    	
    		{
    
    		   	module: 'MMM-GPIO-Notifications',
    			classes: "default everyone",
    
    			    config: {
    
    			        '17': {
    
    			          gpio_state: 1,
    
    			          gpio_debounce: 10,
    
    			          notifications: [
    
    			            {
    
    					// see https://github.com/tosti007/MMM-ProfileSwitcher
    
    					// Switching Profiles
    
    					// this.sendNotification('CURRENT_PROFILE', 'DESIRED_PROFILE_NAME_HERE');
    
    			              notification: 'CURRENT_PROFILE', 										
    
    			              payload:  'Tom' 
    
    			            },
    
    
    
    			          ]
    
    			        }
    
    			    }
    
    },
    
    
    
    	
    
    
    	
    	]
    
    };
    
    
    /*************** DO NOT EDIT THE LINE BELOW ***************/
    if (typeof module !== "undefined") {module.exports = config;}
    
    
    

    Thanks!

    ? 1 Reply Last reply Sep 17, 2019, 5:14 PM Reply Quote 0
    • ? Offline
      A Former User @tomXGames
      last edited by Sep 17, 2019, 5:14 PM

      @tomXGames
      Sorry, there was a bug hidden. So I patched it now.

      T 1 Reply Last reply Sep 17, 2019, 5:19 PM Reply Quote 0
      • T Offline
        tomXGames @Guest
        last edited by Sep 17, 2019, 5:19 PM

        @Sean Thanks! How can I update it?

        ? 1 Reply Last reply Sep 17, 2019, 5:20 PM Reply Quote 0
        • ? Offline
          A Former User @tomXGames
          last edited by Sep 17, 2019, 5:20 PM

          @tomXGames
          Go to MMM-CalendarExt directory then git pull

          T 1 Reply Last reply Sep 17, 2019, 5:46 PM Reply Quote 0
          • T Offline
            tomXGames @Guest
            last edited by tomXGames Sep 17, 2019, 5:46 PM Sep 17, 2019, 5:46 PM

            @Sean Thanks!

            I have another problem with MMM-Buttons… When I connect the two pins (pin 9 and pin 11 / Ground & GPIO 17) it doesn’t change the profile…
            Can you help out here? That would be great!

            /* Magic Mirror Config Sample
             *
             * By Michael Teeuw http://michaelteeuw.nl
             * MIT Licensed.
             *
             * For more information how you can configurate this file
             * See https://github.com/MichMich/MagicMirror#configuration
             *
             */
            
            var config = {
            	address: "localhost", // Address to listen on, can be:
            	                      // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
            	                      // - another specific IPv4/6 to listen on a specific interface
            	                      // - "", "0.0.0.0", "::" to listen on any interface
            	                      // Default, when address config is left out, is "localhost"
            	port: 8080,
            	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
            	                                                       // or add a specific IPv4 of 192.168.1.5 :
            	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
            	                                                       // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
            	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
            
            	language: "de",
            	timeFormat: 24,
            	units: "metric",
            
            	modules: [
            		{
            			module: "alert",
                			classes: "default everyone"
            
            
            		},
            		{
            			module: "updatenotification",
            			position: "top_bar",
            			classes: "default everyone"
            
            
            		},
            		{
            			module: "clock",
            			position: "top_left",
            			classes: "default everyone"
            		},
            
            		{
            			module: "newsfeed",
            			position: "bottom_bar",
            			classes: "default",
            			config: {
            				feeds: [
            					{
            						title: "Neue Zürcher Zeitung",
            						url: "https://www.nzz.ch/recent.rss"
            					},
            
            
            				],
            				showSourceTitle: true,
            				showPublishDate: true,
            				broadcastNewsFeeds: true,
            				broadcastNewsUpdates: true
            			}
            		},
            
            		    {
            
                  			module: "MMM-CalendarExt",
                  			position: "top_left",
            			classes: "default everyone",
            			config: {
                    		system: {
                      				show: ["daily"],
                      				locale: 'de',
                      				redrawInterval:60000,
                    			},
                    			views: {
                      				daily: {
                        						position:'lower_third',
                        						counts:7,
                      					},
            
                    				},
            
                    			defaultCalendar: {
                      						maxEntries:50,
                      						maxDays:180,
                      						interval: 1000*60*5,
                    					},
            
                    			calendars :[
                      					{
                        						name: "Tommaso",
                        						url: "https://calendar.google.com/calendar/ical/tommaso.peduzzi%40gmx.ch/private-088063fff967db8474e57b3a7cdf176a/basic.ics",
            							profiles: ['Tom'],
                      					},
                      					{
                        						name: "Ferien",
                        						url: "https://www.ferienwiki.ch/exports/ferien/2019/ch/basel-stadt",
            							profiles: ['default'],
                      					},
            
                
                    				],
                  				},
                		},    						
            		{
                    		module: 'MMM-ProfileSwitcher',
            			classes: "default everyone",
                   				config: {
                       					// See 'Configuration options' for more information.
                					}
              		},
                    	{
            		            module: "currentweather",
            				classes: "default",
            		            position: "top_right",
            		            config: {
            		              location: "Basel",
            		              locationID: "6458763",  //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
            		              appid: "4a58442ce61f6ae3de20fcfdecdb0327"
                      				}
                    	},
            	        {
            	            module: "weatherforecast",
            		    classes: "default everyone",
            	            position: "top_right",
            	            header: "Weather Forecast",
            	            config: {
            	              location: "Basel",
            	              locationID: "6458763",  //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
            	              appid: "4a58442ce61f6ae3de20fcfdecdb0327"
            	          }
                    	},
            		
            	
            		/*{
            
            		   	module: 'MMM-GPIO-Notifications',
            			classes: "default everyone",
            
            			    config: {
            
            			        '17': {
            
            			          gpio_state: 1,
            
            			          gpio_debounce: 10,
            
            			          notifications: [
            
            			            {
            
            					// see https://github.com/tosti007/MMM-ProfileSwitcher
            
            					// Switching Profiles
            
            					// this.sendNotification('CURRENT_PROFILE', 'DESIRED_PROFILE_NAME_HERE');
            
            			              notification: 'CURRENT_PROFILE', 										
            
            			              payload:  'Tom' 
            
            			            },
            
            
            
            			          ]
            
            			        }
            
            			    }
            
            			},*/
            
            
            			{
            			    module: 'MMM-Buttons',
            			    config: {
            			        buttons: [
            			            {
            			                pin: 17,
            			                name: "monitor_control",
            			                shortPress: {
            			                    notification: "CURRENT_PROFILE",
            			                    payload: "Tom"
            			                },
            
            			            },
            
            
            			        ]
            			    }
            },
            	
            
            
            	
            	]
            
            };
            
            
            /*************** DO NOT EDIT THE LINE BELOW ***************/
            if (typeof module !== "undefined") {module.exports = config;}
            
            
            
            ? 1 Reply Last reply Sep 17, 2019, 5:47 PM Reply Quote 0
            • ? Offline
              A Former User @tomXGames
              last edited by Sep 17, 2019, 5:47 PM

              @tomXGames
              Sorry those(Button and ProfileSwitcher) are not mine. You’d better ask the creator about it on their github issue board.

              T 2 Replies Last reply Sep 17, 2019, 6:29 PM Reply Quote 0
              • T Offline
                tomXGames @Guest
                last edited by Sep 17, 2019, 6:29 PM

                @Sean Ok, thanks anyways for the help!

                1 Reply Last reply Reply Quote 0
                • T Offline
                  tomXGames @Guest
                  last edited by Sep 17, 2019, 6:44 PM

                  @Sean I have another question… Where can I see the notifications?

                  ? 1 Reply Last reply Sep 17, 2019, 6:45 PM Reply Quote 0
                  • ? Offline
                    A Former User @tomXGames
                    last edited by Sep 17, 2019, 6:45 PM

                    @tomXGames
                    What notification??? more detail, please.

                    T 1 Reply Last reply Sep 17, 2019, 6:46 PM Reply Quote 0
                    • T Offline
                      tomXGames @Guest
                      last edited by Sep 17, 2019, 6:46 PM

                      @Sean The ones sent with this.sendNotification()

                      ? S 2 Replies Last reply Sep 17, 2019, 7:01 PM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        2/12
                        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