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.

    mmm-wu-moon-phases - Moonphases from Weather Underground

    Scheduled Pinned Locked Moved Utilities
    moonphase
    25 Posts 9 Posters 20.4k Views 9 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.
    • R Offline
      Raffaello
      last edited by

      Hello Kurt, have checked on two raspi the module and it works with both. Can you upload your config.js?

      K 2 Replies Last reply Reply Quote 1
      • K Offline
        kurt @Raffaello
        last edited by yawns

        @Raffaello
        Hallo Raffaello
        this is my config.js
        Thank you

        /* Magic Mirror Config Sample
         *
         * By Michael Teeuw http://michaelteeuw.nl
         * MIT Licensed.
         */
        
        var config = {
        	port: 8080,
                ipWhitelist: ["::fff:0.0.0.0/1", "::fff:128.0.0.0/2", "::fff:192.0.0.0/3", "::fff:224.0.0.0/4", "127.0.0.1", "::ffff:127.0.0.1", "::1"],
        
        	language: 'de',
        	timeFormat: 24,
        	units: 'metric',
        
        	modules: [
                         {
        		    module: 'internet-monitor',
                    position: 'top_center',
                    header: '',
                    config:{
                        type: '',
                        maxTime: 20000,
                        updateInterval: 0,
                        verbose: false,
                        displayStrength: true,
                        displaySpeed: false,
                        strengthIconSize: 80,
                        maxGaugeScale: 100,
                        }
        	        },
                        {
        	         module: 'mmm-wu-moonphase',
        	         header: 'Aktuelle Mondphase',   // optionally you can add a header to this block
        	         position: 'bottom_right',  // this can be any of the regions.   
        		config: {
        			// See 'Configuration options' for more information.
        			apikey: ' xxxxxx ',
        			country: 'Austria',
        		        city: 'Vienna',
        		        apiLang: 'DL',
        	        }
                        },
                        {
        		module: 'mmm-systemtemperature',
        		position: 'top_center',	// This can be any of the regions.
        		classes: 'small dimmed', // Add your own styling. Optional.
        		config: {
        			// See 'Configuration options' for more information.
        		}
        	        },
        	 	{
                                  module: "MMM-WienerLinien",
                                position: "bottom_left",
                        config: {
                                 api_key: "xxxxxxx",
                                 stations: ["141"],
                    
                        }
                        },
                        {
        			module: 'alert',
        		},
        		{
        			module: "updatenotification",
        			position: "top_bar"
        		},
        		{
        			module: 'clock',
        			position: 'top_left'
        		},
        		
        		{
        			module: 'compliments',
        			position: 'lower_third'
        		},
        		{
        			module: 'currentweather',
        			position: 'top_right',
        			config: {
        				location: 'Vienna',
        				locationID: '2761369',  //ID from http://www.openweathermap.org
        				appid: 'xxxxxxxx'
        			}
        		},
        		{
        			module: 'weatherforecast',
        			position: 'top_right',
        			header: 'Weather Forecast',
        			config: {
        				location: 'Vienna',
        				locationID: '2761369',  //ID from http://www.openweathermap.org
        				appid: 'xxxxxxx'
        			}
        		},
        		{
        			module: 'newsfeed',
        			position: 'bottom_bar',
        			config: {
        				feeds: [
        					{
        						title: "Der Standard",
        						url: "http://derStandard.at/?page=rss&ressort=Seite1"
        					}
        				],
        				showSourceTitle: true,
        				showPublishDate: true
        			}
        		},
        	]
        
        };
        
        /*************** DO NOT EDIT THE LINE BELOW ***************/
        if (typeof module !== 'undefined') {module.exports = config;}
        
        yawnsY 1 Reply Last reply Reply Quote 0
        • yawnsY Offline
          yawns Moderator @kurt
          last edited by

          @kurt
          what do you mean by “doesn’t load any more” ? Do you see any error message? Did the whole mirror stop working? Or is it simply “gone” ?

          K 1 Reply Last reply Reply Quote 1
          • K Offline
            kurt @yawns
            last edited by

            @yawns
            I just see: Aktuelle Mondphase wird geladen...is loading

            K 1 Reply Last reply Reply Quote 0
            • K Offline
              kurt @kurt
              last edited by

              @yawns
              to completely answer your questions… sorry got a phone call…
              The whole mirror is working, the module isn’t gone, I do not see any error messages,
              Thank you
              0_1490619419778_Bildschirmfoto 2017-03-27 um 14.06.58.png

              1 Reply Last reply Reply Quote 0
              • J Offline
                JoeFranz
                last edited by

                Hi,
                In my display the state of the moon appears in english and the lighting down in German. Why is not this completely in German?
                Someone an idea?

                Jörg

                0_1490800716040_IMG_5203_resize.JPG

                G 1 Reply Last reply Reply Quote 0
                • G Offline
                  geeflaxx @JoeFranz
                  last edited by geeflaxx

                  can i use the same api key what i use for my weather underground ? or should i edit something?
                  because i have the same error like kurt. it always shows me “moonphase wird geladen”

                  is the comma after the apiLang: correct ?
                  apiLang: ‘DL’, <-------------------------------
                  }
                  },

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    Raffaello
                    last edited by

                    Yes, you can use the same api key and yes, the comma to apiLang is correct.

                    What happens if you enter the link directly in the browser?
                    http://api.wunderground.com/api/“apikey”/astronomy/lang:“language”/q/“country”/“city”.json

                    Replace the " "-placeholders accordingly.

                    1 Reply Last reply Reply Quote 0
                    • K Offline
                      kurt @Raffaello
                      last edited by

                      @Raffaello
                      Hi, I don’t know why, but your module is working fine by now, i put it on an other place and that’s it. I havn’t changed a bit on the modul or the config, just the moon didn’t liked the old place.:last_quarter_moon_with_face:
                      So I just want to inform you about that. Sometimes it’s hard to find the reason, when there is none.

                      1 Reply Last reply Reply Quote 0
                      • qu1queQ Offline
                        qu1que Project Sponsor
                        last edited by

                        Hello, first of all, thanks for the module, I find it quite interesting. I tried to install it, but I found a problem trying to get the api key from Weather Underground. By accessing the following link: https://www.wunderground.com/weather/api says that “we will no longer provide free weather API keys”.

                        Do you know if it is possible to use an api key from openweathermap.org? If it is not possible, I think that the module can not be used.

                        Thanks in advance for the answer

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