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

MMM-MARS

Scheduled Pinned Locked Moved Education
12 Posts 3 Posters 5.1k 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.
  • K Offline
    kellogg76
    last edited by kellogg76 Dec 28, 2018, 3:02 PM Dec 28, 2018, 3:02 PM

    @Mykle1 Is there any way to just grab the latest image from a rover rather than set the sol?

    M 1 Reply Last reply Dec 29, 2018, 3:23 AM Reply Quote 0
    • M Offline
      Mykle1 Project Sponsor Module Developer @kellogg76
      last edited by Mykle1 Dec 29, 2018, 3:26 AM Dec 29, 2018, 3:23 AM

      @kellogg76 said in MMM-MARS:

      Is there any way to just grab the latest image from a rover rather than set the sol?

      Good question. I will look into that. However, even if this option exists, it might not be suitable for the module. Why? Because if the latest picture doesn’t update often enough, you would basically be staring at the same picture, not knowing when the next would arrive.

      NASA has a “Picture of the Day” API. I chose not to use that API for the very same reason. The pictures can be amazing, but you only get one a day. The MARS rover pictures could be a lot longer

      Create a working config
      How to add modules

      K 1 Reply Last reply Dec 29, 2018, 2:02 PM Reply Quote 0
      • K Offline
        kellogg76 @Mykle1
        last edited by Dec 29, 2018, 2:02 PM

        @mykle1 The rovers usually take lots of images for hazard avoidance (https://mars.nasa.gov/msl/multimedia/raw/) I’d be happy to see those if needs be. There aren’t many new ones there now I assume due to the US Government shutdown.

        It would be a nice addition, but if not I still like the module anyway, and the EarthWinds one, though I’m still learning how to position it exactly where I want it on the screen.

        M C 2 Replies Last reply Dec 30, 2018, 2:35 AM Reply Quote 0
        • M Offline
          Mykle1 Project Sponsor Module Developer @kellogg76
          last edited by Dec 30, 2018, 2:35 AM

          @kellogg76

          I’m right in the middle of something right now so it’s unlikely I’ll get to that soon. Please feel free to fork the repo and make changes. I do appreciate that you like the module, so thank you.

          EarthWinds was designed as a fullscreen module. Are you trying to use it in another way? In any case, you would likely have to use some custom css and/or play with your config.js entry. It definitely will help you if you know the resolution of your display. This is my config entry. You would have to change it to suit yours. I’ll try to help you with that if you can’t do it.

          {
                  disabled: false,
                  module: 'MMM-EarthWinds',
                  position: 'fullscreen',
                  config: {
                      height:"1180px", // adjust
          			width:"100%",    // adjust
                      animationSpeed: "3000",
                      updateInterval: 24 * 60 * 60 * 1000,
                  }
              },
          

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote 0
          • M Offline
            Mykle1 Project Sponsor Module Developer
            last edited by Mykle1 Dec 30, 2018, 3:49 AM Dec 30, 2018, 3:48 AM

            @kellogg76

            I don’t know the reason the data is absent. It may be because of the government shutdown, it may not. Personally, I don’t think that is the case. I had to go back to September in the query of the API for daily images. That just won’t do. You can change the date in the query yourself (retaining format) and see for yourself. There are months of no data at all leading up to today

            https://api.nasa.gov/mars-photos/api/v1/rovers/curiosity/photos?earth_date=2018-09-11&api_key=DEMO_KEY

            Create a working config
            How to add modules

            M 1 Reply Last reply Feb 13, 2019, 9:26 PM Reply Quote 0
            • C Offline
              cowboysdude Module Developer @kellogg76
              last edited by Dec 31, 2018, 4:29 AM

              @kellogg76 Unless there is an api to get those images it would take a lot of work to get them…

              1 Reply Last reply Reply Quote 0
              • M Offline
                Mykle1 Project Sponsor Module Developer
                last edited by Jan 8, 2019, 3:55 AM

                Minor Update v1.0.1

                Please do a git pull in the MMM-MARS directory or install as usual. Note the new config entry example.

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 0
                • M Offline
                  Mykle1 Project Sponsor Module Developer @Mykle1
                  last edited by Feb 13, 2019, 9:26 PM

                  @mykle1 said in MMM-MARS:

                  I don’t know the reason the data is absent. It may be because of the government shutdown, it may not. Personally, I don’t think that is the case. I had to go back to September in the query of the API for daily images. That just won’t do. You can change the date in the query yourself (retaining format) and see for yourself. There are months of no data at all leading up to today

                  I now know the reason the data for Opportunity Rover suddenly stopped some months ago, as my self-quote states.

                  A sad day, but inspiring nonetheless.

                  https://arstechnica.com/science/2019/02/opportunity-did-not-answer-nasas-final-call-and-its-now-gone-to-us/

                  Create a working config
                  How to add modules

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