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.

    How to specify the Weather Type in a module which only uses the module name

    Scheduled Pinned Locked Moved Troubleshooting
    5 Posts 2 Posters 1.1k Views 2 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.
    • O Offline
      OldSunGuy
      last edited by

      I saw the following error msgs:

      [21.04.2021 15:12.39.799] [LOG]   Connecting socket for: currentweather
      [21.04.2021 15:12.39.800] [WARN]  The module 'currentweather' is deprecated in favor of the 'weather'-module, please refer to the documentation for a migration path
      [21.04.2021 15:12.39.802] [LOG]   Connecting socket for: weatherforecast
      [21.04.2021 15:12.39.803] [WARN]  The module 'weatherforecast' is deprecated in favor of the 'weather'-module, please refer to the documentation for a migration path
      

      So I started looking at the documentation.

      I couldn’t find how to specify the forecast weather type for one slide, and the current weather type for another slide in the MMM-Carousel which my MM currently uses.

      Can somebody tell me?

      O 1 Reply Last reply Reply Quote 0
      • O Offline
        OldSunGuy @OldSunGuy
        last edited by

        Here is my config of MMM-Carousel:

        { 
         module: "MMM-Carousel",
         config: { 
                  transitionInterval: 10000, 
                  ignoreModules: ['alert', 'updatenotification', 'MMM-NewsFeedTicker'],
                  mode: 'slides',
                  slides: [
                           ['clock', 'calendar'],
                           ['clock', 'calendar', 'MMM-NetworkScanner'],
                           ['currentweather', 'weatherforecast', 'MMM-NetworkScanner'],
                           ['currentweather', 'weatherforecast', 'compliments'],
                           ['clock', 'calendar', 'compliments'],
                           ['clock', 'calendar', 'MMM-MoonPhase'],
                           ['currentweather', 'weatherforecast', 'MMM-MoonPhase'],
                           ['currentweather', 'weatherforecast']
                 ]
         }
        },
        

        Can someone think of a way to use the new weather module in situation?

        S 1 Reply Last reply Reply Quote 0
        • S Do not disturb
          sdetweil @OldSunGuy
          last edited by

          @oldsunguy said in How to specify the Weather Type in a module which only uses the module name:

          Can someone think of a way to use the new weather module in situation?

          can u explain more… that sentence doesn’t give much info

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          O 1 Reply Last reply Reply Quote 0
          • O Offline
            OldSunGuy @sdetweil
            last edited by OldSunGuy

            Hi @sdetweil , Thanks for replying.

            I am trying to migrate from the currentweather and weatherforcast modules to the new weather module.

            I am using the MMM-Carousel module. It seemed strange (to me) to use the same module name. I was attempting to show the weather module with type=current on one slide and the weather module with type=forecast on another slide but with the same position. There didn’t seem to be any way to do this. I’ve since modified the config to use different positions so that a slide shows both current and forecast using the different positions.

            It kinda works as I am getting the correct header but it just shows “Loading…” ,

            S 1 Reply Last reply Reply Quote 0
            • S Do not disturb
              sdetweil @OldSunGuy
              last edited by

              @oldsunguy yeh… it should support using the identifier as well as the name… that would make things a lot easier…

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • 1 / 1
              • 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