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

    Scheduled Pinned Locked Moved System
    21 Posts 3 Posters 3.0k 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.
    • Jarhead96097J Offline
      Jarhead96097 @Mykle1
      last edited by Jarhead96097

      @Mykle1 Well, glad to hear it isn’t related to my individual setup. If there’s anything I can help test, please let me know.

      Jarhead96097

      1 Reply Last reply Reply Quote 0
      • Jarhead96097J Offline
        Jarhead96097 @Mykle1
        last edited by Jarhead96097

        @Mykle1

        Would I need to edit the MMM-WeatherOrNot2.js and MMM-WeatherOrNot3.js code to somehow reference different iframes? Is there a different way to reference multiple iframes running on MM?

        Jarhead96097

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

          @Jarhead96097

          I tried that. No luck. If you wanted to try for yourself, do:

          Make copy of module folder
          Rename copy folder to MMM-WeatherOrNot2
          Open the MMM-WeatherOrNot2 folder
          Rename the css file to MMM-WeatherOrNot2,css
          Rename the MMM_WeatherOrNot.js file to MMM-WeatherOrNot2,js
          Open the MMM-WeatherOrNot2,js file
          Change line 8 to Module.register("MMM-WeatherOrNot2",{
          Change line 49 return ["MMM-WeatherOrNot2.css"];
          Make new entry in config for MMM-WeatherOrNot2

          Create a working config
          How to add modules

          Jarhead96097J 1 Reply Last reply Reply Quote 1
          • Jarhead96097J Offline
            Jarhead96097 @Mykle1
            last edited by

            @Mykle1 said in MMM-WeatherOrNot:

            @Jarhead96097

            I tried that. No luck. If you wanted to try for yourself, do:

            Make copy of module folder
            Rename copy folder to MMM-WeatherOrNot2
            Open the MMM-WeatherOrNot2 folder
            Rename the css file to MMM-WeatherOrNot2,css
            Rename the MMM_WeatherOrNot.js file to MMM-WeatherOrNot2,js
            Open the MMM-WeatherOrNot2,js file
            Change line 8 to Module.register("MMM-WeatherOrNot2",{
            Change line 49 return ["MMM-WeatherOrNot2.css"];
            Make new entry in config for MMM-WeatherOrNot2

            Yes, unfortunately, I had the same result. Is there a way to create an array and display all of the configured locations?

            Jarhead96097

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

              @Jarhead96097

              You could always give it a try. :-)

              Create a working config
              How to add modules

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