MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.

    MMM-WeatherOrNot

    System
    3
    21
    881
    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.
    • Mykle1
      Mykle1 Project Sponsor Module Developer @sdetweil last edited by

      @sdetweil

      It’s an iframe that is being updated via the url

      Create a working config
      How to add modules

      Mykle1 S 2 Replies Last reply Reply Quote 1
      • Mykle1
        Mykle1 Project Sponsor Module Developer @Mykle1 last edited by

        @Mykle1 is out for a smoke.

        Create a working config
        How to add modules

        S 1 Reply Last reply Reply Quote 0
        • S
          sdetweil @Mykle1 last edited by

          @Mykle1 iframe. gotcha

          Sam

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote 0
          • S
            sdetweil @Mykle1 last edited by

            @Mykle1 hey hey. you didn’t tell me!

            Sam

            Create a working config
            How to add modules

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

              @sdetweil

              The hell I didn’t! My last post was a broadcast notification. 🙂

              Create a working config
              How to add modules

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

                @Jarhead96097

                I am experiencing the same issue.

                Create a working config
                How to add modules

                Jarhead96097 2 Replies Last reply Reply Quote 0
                • Jarhead96097
                  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
                  • Jarhead96097
                    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

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

                      Jarhead96097 1 Reply Last reply Reply Quote 1
                      • Jarhead96097
                        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

                        Mykle1 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 2 / 3
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy