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.

    Show two weather and forecast modules on the same screen

    Scheduled Pinned Locked Moved General Discussion
    9 Posts 4 Posters 6.2k Views 5 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.
    • F Offline
      frog
      last edited by

      Hi,

      As I want to see two different locations, I tried to run the currentWeather and weatherForecast modules twice in the config.js, but I don’t get the second one. I guess I’m not doing it right.

      Can anyone give me advice on how to do this?

      Regards

      bheplerB 1 Reply Last reply Reply Quote 0
      • bheplerB Offline
        bhepler Module Developer @frog
        last edited by

        @frog I just whipped one up and it wasn’t a problem. A couple things to check:

        • Make sure that you’re configuring the entire module twice.
        • Make sure that you put each instance of the module in a different location (top_left, bottom_left, etc.)
          0_1478310169370_multi-cal.png
          Here’s an example with the calendar module:
        {
              module: 'calendar',
              header: 'US Holidays',
              fetchInterval: 3600000,
              position: 'top_left',
              config: {
                    fade: false,
                    calendars: [ {
                          symbol: 'calendar-check-o ',
                          url: 'webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics',
                    }, ],
               }
        },
              module: 'calendar',
              header: 'Movie Releases',
              fetchInterval: 3600000,
              position: 'bottom_left',
              config: {
                    fade: false,
                    calendars: [ {
                          symbol: 'imdb',
                          url: 'https://www.google.com/calendar/ical/pfutdblf1gi8jmfsvroh76f6jg%40group.calendar.google.com/public/basic.ics'
                    }, ],
               }
        },
        
        1 Reply Last reply Reply Quote 0
        • F Offline
          frog
          last edited by frog

          I tried just duplicating the module in config.js, but it didn’t work. Maybe it’s different for the weather modules. I’ll try again.

          bheplerB 1 Reply Last reply Reply Quote 0
          • bheplerB Offline
            bhepler Module Developer @frog
            last edited by

            @frog Don’t forget to put each copy of the module in a different location!

            F 1 Reply Last reply Reply Quote 0
            • F Offline
              frog @bhepler
              last edited by

              @bhepler My bad, just re-entered the info in config.js and it works! thanks.

              1 Reply Last reply Reply Quote 1
              • ? Offline
                A Former User
                last edited by

                What’s the movie module?

                F 1 Reply Last reply Reply Quote 0
                • F Offline
                  frog @Guest
                  last edited by

                  @wjdw87 it’s not a module, it’s a calendar. Address is in the config above

                  1 Reply Last reply Reply Quote 0
                  • ? Offline
                    A Former User
                    last edited by

                    Much obliged, the wife sends a e-kiss (she is the movie hound).

                    Thanks!

                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      canadrian
                      last edited by

                      I see a rectangle character in front of the movie title, what can be? Thank you.

                      1 Reply 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 / 1
                      • 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