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 @Jarhead96097
      last edited by

      @Mykle1

      Well, I spoke too quickly. It seems that renaming the three instances helped but didn’t eliminate the problem. The data still grows stale after some period of time.

      Any other ideas? Other than copying/pasting/renaming, editing the .js and .css files and doing the npm install, is there anything else I should be doing to ensure the three modules work independently and continue to retrieve weather data?

      Thanks,

      Jarhead96097

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

        @Jarhead96097

        Well, there are no guarantees.

        You’re using a separate location and locationCode for each instance? (by following the readme instructions)

        You could try staggering the updateInterval on each instance as well (so they’re not updating at the same time)

        I’ve never used more than one instance

        Create a working config
        How to add modules

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

          @Mykle1 Sure… my mileage may vary… completely understood.

          Yes, I’ve configured them with three different sets of location and locationCode information.

          I wondered about staggering the updateInterval, so I’ll try that next.

          Thanks!

          Jarhead96097

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

            @Jarhead96097

            I’m testing. I’ll let it run for a while.

            Screenshot from 2020-06-18 20-45-02.png

            Create a working config
            How to add modules

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

              @Mykle1 Thanks for all the help! I love the module… just wish I could figure out why the information goes stale.

              Jarhead96097

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