MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

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

    Utilities
    moonphase
    9
    25
    14018
    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
      Raffaello last edited by Raffaello

      Hi, here is my first Magic Mirror module based on the module CurrentWeather. The module shows the current moon phase, a picture of the moon and the percentage of the illumination. You can find the module here.

      0_1479504319288_mmm-wu-moonphase.PNG

      1 Reply Last reply Reply Quote 3
      • T
        tajno last edited by tajno

        • for default value Switzerland.
          😉

        Nice module! Thanks for shareing.

        1 Reply Last reply Reply Quote 0
        • schlachtkreuzer6
          schlachtkreuzer6 last edited by

          You need to change the name of the module in the example code, from ‘mmm-wu-moon-phases’ to ‘mmm-wu-moonphase’:

          wrong:
          modules: [
          {
          module: ‘mmm-wu-moon-phases’,
          header: ‘Current Moon Phase’, // optionally you can add a header to this block
          position: ‘top_right’, // this can be any of the regions.
          config: {
          // See ‘Configuration options’ for more information.
          apikey: ‘abcde12345abcde12345abcde12345ab’,
          country: ‘Switzerland’,
          city: ‘Bern’,
          apiLang: ‘EN’,

                      }
              },
          

          ]

          right:
          modules: [
          {
          module: ‘mmm-wu-moonphase’,
          header: ‘Current Moon Phase’, // optionally you can add a header to this block
          position: ‘top_right’, // this can be any of the regions.
          config: {
          // See ‘Configuration options’ for more information.
          apikey: ‘abcde12345abcde12345abcde12345ab’,
          country: ‘Switzerland’,
          city: ‘Bern’,
          apiLang: ‘EN’,

                      }
              },
          

          ]

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

            @schlachtkreuzer6
            Hi can you help me with the api key. Also I took an acount it’s to hard for me to find a way to the right datas for Vienna Austria.
            Can’t find a way to the right site, boring system.
            Thank you in Advance
            Kurt

            schlachtkreuzer6 2 Replies Last reply Reply Quote 0
            • schlachtkreuzer6
              schlachtkreuzer6 @kurt last edited by

              @kurt Hey Kurt 🙂 or servus! yeah sure i will help you!

              1. go to this site: https://www.wunderground.com/weather/api/
              2. klick on the explore my options button
              3. it doesn´t matter what package you´re choosing all 3 are free, only if you need more data requests as 500 a day (10 per minute)
              4. register to the site with your email etc.
                0_1485594273789_weatherundergroundapi.PNG
              1 Reply Last reply Reply Quote 0
              • schlachtkreuzer6
                schlachtkreuzer6 @kurt last edited by

                @kurt and in the config:

                {
                	module: 'mmm-wu-moonphase',
                	header: 'Aktuelle Mondphase',   // optionally you can add a header to this block
                	position: 'top_right',  // this can be any of the regions.   
                		config: {
                			// See 'Configuration options' for more information.
                			apikey: 'your api',
                			country: 'Austria',
                		city: 'Vienna',
                		apiLang: 'DL',
                	}
                },
                
                K 1 Reply Last reply Reply Quote 0
                • K
                  kurt @schlachtkreuzer6 last edited by

                  @schlachtkreuzer6
                  Ahhh I looked for the country and city settings on the Weather U ground…but you have to do it in the config. Right?
                  Thanks for quick help!
                  Kurt

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

                    @kurt yeah, you are right! all module specific changes and settings are in the main config ~/MagicMirror/config/

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

                      @schlachtkreuzer6
                      Danke ! I can see the New Moon, at least some shades of him or her 🙂
                      Thanks a lot ! works fine, only when I tell him middle_ rightthe screen stays black. But with top_right everythings works out fine.
                      kurt

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

                        Hello Kurt

                        As first, thanks to @schlachtkreuzer6 for quickly answering the questions of Kurt.

                        Kurt, I hope it worked and yes, at the moment we have new moon and you see only a weak shadow.

                        If you need help, please contact me. I can also support you in your native language. 🙂

                        Greetings from switzerland

                        K 2 Replies Last reply Reply Quote 1
                        • 1
                        • 2
                        • 3
                        • 1 / 3
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy