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.
    • S Offline
      sdetweil @Mykle1
      last edited by

      @Mykle1 does the module rebuild the display or does it locate the dom elements and update those?
      document.getElementbyId() … if so, you probably have duplicate IDs w 2 versions running

      in my modules I use the module identifier as part of the item id to avoid this

      this.identifer in the modulename.js

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      Mykle1M 1 Reply Last reply Reply Quote 2
      • Mykle1M Offline
        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

        Mykle1M S 2 Replies Last reply Reply Quote 1
        • Mykle1M Offline
          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 Offline
            sdetweil @Mykle1
            last edited by

            @Mykle1 iframe. gotcha

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

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

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              Mykle1M 1 Reply Last reply Reply Quote 0
              • Mykle1M Offline
                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
                • Mykle1M Offline
                  Mykle1 Project Sponsor Module Developer @Jarhead96097
                  last edited by

                  @Jarhead96097

                  I am experiencing the same issue.

                  Create a working config
                  How to add modules

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