• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 2.6k 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.
  • J Offline
    Jarhead96097 @Jarhead96097
    last edited by Jun 18, 2020, 11:35 PM

    @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

    M 1 Reply Last reply Jun 19, 2020, 12:33 AM Reply Quote 0
    • M Offline
      Mykle1 Project Sponsor Module Developer @Jarhead96097
      last edited by Mykle1 Jun 19, 2020, 12:35 AM Jun 19, 2020, 12:33 AM

      @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

      J 1 Reply Last reply Jun 19, 2020, 12:36 AM Reply Quote 0
      • J Offline
        Jarhead96097 @Mykle1
        last edited by Jun 19, 2020, 12:36 AM

        @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

        M 1 Reply Last reply Jun 19, 2020, 12:45 AM Reply Quote 0
        • M Offline
          Mykle1 Project Sponsor Module Developer @Jarhead96097
          last edited by Mykle1 Jun 19, 2020, 12:46 AM Jun 19, 2020, 12:45 AM

          @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

          J S 2 Replies Last reply Jun 19, 2020, 12:47 AM Reply Quote 1
          • J Offline
            Jarhead96097 @Mykle1
            last edited by Jun 19, 2020, 12:47 AM

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

            Jarhead96097

            M 1 Reply Last reply Jun 19, 2020, 1:41 AM Reply Quote 0
            • S Away
              sdetweil @Mykle1
              last edited by Jun 19, 2020, 12:50 AM

              @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

              M 1 Reply Last reply Jun 19, 2020, 12:53 AM Reply Quote 2
              • M Offline
                Mykle1 Project Sponsor Module Developer @sdetweil
                last edited by Jun 19, 2020, 12:53 AM

                @sdetweil

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

                Create a working config
                How to add modules

                M S 2 Replies Last reply Jun 19, 2020, 1:03 AM Reply Quote 1
                • M Offline
                  Mykle1 Project Sponsor Module Developer @Mykle1
                  last edited by Jun 19, 2020, 1:03 AM

                  @Mykle1 is out for a smoke.

                  Create a working config
                  How to add modules

                  S 1 Reply Last reply Jun 19, 2020, 1:06 AM Reply Quote 0
                  • S Away
                    sdetweil @Mykle1
                    last edited by Jun 19, 2020, 1:06 AM

                    @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 Away
                      sdetweil @Mykle1
                      last edited by Jun 19, 2020, 1:06 AM

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

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      M 1 Reply Last reply Jun 19, 2020, 1:40 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 1 / 3
                      1 / 3
                      • First post
                        9/21
                        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