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-SunRiseSet

    Scheduled Pinned Locked Moved Education
    51 Posts 10 Posters 32.8k Views 10 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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer
      last edited by Mykle1

      Description:

      • More information than you ever wanted to know about the rising and setting of the sun.

      • Animated world map showing day and night for the entire planet

      • Data and image or just the image. (config option)

      Examples:

      MMM-Lunartic - Top
      MMM-SunRiseSet - Bottom

      0_1509067514646_1.JPG

      0_1509067559381_1.gif

      0_1509067582339_11.JPG

      Download:

      [card:mykle1/MMM-SunRiseSet]

      Version 1.0.1

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 3
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer
        last edited by

        Download:

        [card:mykle1/MMM-SunRiseSet]

        Version 1.0.2

        Update

        A new config option for an animated earth image that updates to show the approach of day or night.

        git pull for update or install as usual

        Images of new option:

        0_1509333504398_cc.JPG

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • Mykle1M Offline
          Mykle1 Project Sponsor Module Developer
          last edited by Mykle1

          Due to a number of issues filed on the Github repo for this module I would like to assure those people that this module does, in fact, work as expected. The issue being that the Day/Night animated map was not loading. So, I re-installed the module. It loads without a problem and displays the image as expected. I can only suggest that you delete your current installation of the module and re-install it. Here is a screenshot of the module from just moments ago. The image may take a few seconds to load, so please be patient. :-)

          0_1517665182061_1.png

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote 1
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer
            last edited by

            At my request, our friend on the forum, @cruunnerr, installed MMM-SunRiseSet on his mirror, running Raspbian Stretch Lite and MM 2.2.2. He reports “works like a charm. tried all options. world, map, static…”

            Many thanks to @cruunnerr for testing and confirming his results.

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 1
            • V Offline
              Vauxdvihl
              last edited by

              Hi Mykle1,
              thanks a lot for this great module.
              May be you can add some pinhead showing lat / lng.
              And maybe there could be some possibilit of zooming.
              Thanks a lot
              Cheers

              Mykle1M 1 Reply Last reply Reply Quote 0
              • Mykle1M Offline
                Mykle1 Project Sponsor Module Developer @Vauxdvihl
                last edited by

                @Vauxdvihl said in MMM-SunRiseSet:

                May be you can add some pinhead showing lat / lng.
                And maybe there could be some possibilit of zooming.

                I really don’t have any plans to do anything more with MMM-SunRiseSet. Please feel free to try anything you like with it. I’ll honor any PR’s that you send to the repo. :-)

                You can make the image larger or smaller via config and css. Zooming is quite another matter. Be aware that the images are renderings, not actual satellite imagery.

                Peace

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 0
                • Mykle1M Offline
                  Mykle1 Project Sponsor Module Developer
                  last edited by Mykle1

                  Update

                  I am happy to report that the certificate issue with the US Naval Observatory API has been corrected. I don’t know if I had anything to do with the fix but I did keep emailing them and the electron team about updating the certificate stores.

                  MMM-SunRiseSet is now working as intended.

                  I’m very happy now.

                  Create a working config
                  How to add modules

                  justjim1220J 1 Reply Last reply Reply Quote 0
                  • justjim1220J Offline
                    justjim1220 Module Developer @Mykle1
                    last edited by

                    @mykle1

                    when you asked for others to email them, I did about 5 or 6 times. :winking_face:

                    "Life's Too Short To Dance With Ugly People"
                    Jim Hallock - 1995

                    Mykle1M 1 Reply Last reply Reply Quote 1
                    • Mykle1M Offline
                      Mykle1 Project Sponsor Module Developer @justjim1220
                      last edited by

                      @justjim1220 said in MMM-SunRiseSet:

                      when you asked for others to email them, I did about 5 or 6 times

                      I thank you very much for that. :thumbsup:

                      Create a working config
                      How to add modules

                      justjim1220J 1 Reply Last reply Reply Quote 0
                      • justjim1220J Offline
                        justjim1220 Module Developer @Mykle1
                        last edited by

                        @mykle1 yep!

                        "Life's Too Short To Dance With Ugly People"
                        Jim Hallock - 1995

                        1 Reply Last reply Reply Quote 0
                        • Mykle1M Offline
                          Mykle1 Project Sponsor Module Developer
                          last edited by

                          0_1549154963174_Screenshot from 2019-02-02 18-34-15.png -

                          0_1549154985262_Screenshot from 2019-02-02 18-34-48.png

                          Create a working config
                          How to add modules

                          1 Reply Last reply Reply Quote 1
                          • cowboysdudeC Offline
                            cowboysdude Module Developer
                            last edited by

                            Looks really good and I really like it! So I can use either if I’d like? I like the earth as it’s on a black background and it would look cool sitting on my 32" Mirror ;)

                            Mykle1M 1 Reply Last reply Reply Quote 0
                            • Mykle1M Offline
                              Mykle1 Project Sponsor Module Developer @cowboysdude
                              last edited by

                              @cowboysdude

                              Yes, you can use either image. They both update to show the movement of the sun on the earth.

                              Create a working config
                              How to add modules

                              justjim1220J 1 Reply Last reply Reply Quote 0
                              • justjim1220J Offline
                                justjim1220 Module Developer @Mykle1
                                last edited by justjim1220

                                @mykle1 have you ever tried setting the movement to 500ms?

                                its kinda cool, if your device can handle it!

                                I actually tried it with the Earth module…

                                "Life's Too Short To Dance With Ugly People"
                                Jim Hallock - 1995

                                Mykle1M 1 Reply Last reply Reply Quote 0
                                • Mykle1M Offline
                                  Mykle1 Project Sponsor Module Developer @justjim1220
                                  last edited by

                                  @justjim1220

                                  Yes, I have. I used to run it at 1000ms. It’s pretty bad ass if your graphics can handle it

                                  Create a working config
                                  How to add modules

                                  justjim1220J 1 Reply Last reply Reply Quote 1
                                  • justjim1220J Offline
                                    justjim1220 Module Developer @Mykle1
                                    last edited by

                                    @mykle1 when I did it, it was a mistake! But the outcome was cool!
                                    It actually froze my dev machine after about 45 minutes!

                                    "Life's Too Short To Dance With Ugly People"
                                    Jim Hallock - 1995

                                    Mykle1M 1 Reply Last reply Reply Quote 0
                                    • Mykle1M Offline
                                      Mykle1 Project Sponsor Module Developer @justjim1220
                                      last edited by

                                      @justjim1220

                                      Jimbo is back! :-)

                                      Create a working config
                                      How to add modules

                                      1 Reply Last reply Reply Quote 0
                                      • M Offline
                                        mrdenmark
                                        last edited by mrdenmark

                                        i can’t to seem to get some images to show, i just get surise/sunset and time of day,if i select static i get the diagram but nothing with world or map

                                        {
                                        	disabled: false,
                                        	module: "MMM-SunRiseSet",
                                        	position: "top_left",
                                        	config: {
                                        		lat: "-44.57",      // Your latitude (for the data)
                                        		lng: "168.50",     // Your longitude (for the data)
                                        		image: "world",          // "world" (animation), "map" (animation), "static" (graph)
                                        		imageOnly: "no",       // no = all data, yes = only animated world or map
                                        		dayOrNight: "day",   // "night" approaching, "day" approaching (imageOnly: must be "yes", image: must be "world") 
                                        		useHeader: false,      // true if you want a header
                                        		header: "Header",      // useHeader must be true
                                        		maxWidth: "515px",
                                            }
                                        },
                                        

                                        0_1573627515134_2019-11-13-194448_1080x1920_scrot.png

                                        Mykle1M 1 Reply Last reply Reply Quote 0
                                        • V Offline
                                          Vauxdvihl
                                          last edited by

                                          @Mykle1
                                          Me too
                                          I have the same issue
                                          No images are shown
                                          Can you please help
                                          Thanks a lot

                                          1 Reply Last reply Reply Quote 0
                                          • Mykle1M Offline
                                            Mykle1 Project Sponsor Module Developer @mrdenmark
                                            last edited by

                                            @Vauxdvihl
                                            @mrdenmark said in MMM-SunRiseSet:

                                            i can’t to seem to get some images to show,

                                            My apologies.

                                            The API in use for this module, http://api.usno.navy.mil, is down for maintenance. They have set a date of April, 2020 for completion. This also affects MMM-Lunartic but at least I was able to fashion a fix for that one. Not so in this case.

                                            Create a working config
                                            How to add modules

                                            F V 2 Replies Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 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