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

Scheduled Pinned Locked Moved Development
14 Posts 3 Posters 4.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.
  • M Offline
    Mykle1 Project Sponsor Module Developer @chassain 0
    last edited by Nov 10, 2019, 4:21 PM

    @chassain-0

    I think I’ll add the solar, coronal and sunX options that you’ve provided above but forgo the animation at this time. I’ll work on it tonight. :thumbsup:

    Create a working config
    How to add modules

    C 1 Reply Last reply Nov 10, 2019, 4:32 PM Reply Quote 0
    • C Offline
      chassain 0 @Mykle1
      last edited by Nov 10, 2019, 4:32 PM

      @Mykle1
      :thumbs_up:

      M 1 Reply Last reply Nov 11, 2019, 3:08 AM Reply Quote 0
      • M Offline
        Mykle1 Project Sponsor Module Developer @chassain 0
        last edited by Mykle1 Nov 11, 2019, 3:09 AM Nov 11, 2019, 3:08 AM

        @chassain-0

        Ok, I have added your code to the module and it works nicely. If you want multiple displays of the module you can simply add another config entry.

        {
                disabled: f,
                module: 'MMM-Aurora',
                position: 'top center',
                config: {
                    pole: "sunX", // north, south, solar, coronal or sunX.
                    maxWidth: "55%", // Adjusts size of image
                    updateInterval: 5 * 60 * 1000, // Image source updates about every 10 minutes
                    animationSpeed: 3000 // fade in/out speed. 0 = no fade in/out
              }
           },
                {
                    disabled: f,
                    module: 'MMM-Aurora',
                    position: 'top center',
                    config: {
                        pole: "solar", // north, south, solar, coronal or sunX.
                        maxWidth: "55%", // Adjusts size of image
                        updateInterval: 5 * 60 * 1000, // Image source updates about every 10 minutes
                        animationSpeed: 3000 // fade in/out speed. 0 = no fade in/out
                  }
               },
        

        Gets you this:
        0_1573441559550_212.png

        And finally, if you look at the updated readMe, you’ll find a credit in your name. :-)

        git pull in the MMM-Aurora directory or install as per the readMe.

        https://github.com/mykle1/MMM-Aurora

        Create a working config
        How to add modules

        C 1 Reply Last reply Nov 11, 2019, 5:54 AM Reply Quote 1
        • C Offline
          chassain 0 @Mykle1
          last edited by Nov 11, 2019, 5:54 AM

          @Mykle1 Nice job :)…Thanks

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