• 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.

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

Scheduled Pinned Locked Moved Troubleshooting
5 Posts 2 Posters 635 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 Apr 22, 2021, 12:04 AM

    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 Apr 24, 2021, 6:24 PM Reply Quote 0
    • O Offline
      OldSunGuy @OldSunGuy
      last edited by Apr 24, 2021, 6:24 PM

      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 Apr 24, 2021, 6:57 PM Reply Quote 0
      • S Offline
        sdetweil @OldSunGuy
        last edited by Apr 24, 2021, 6:57 PM

        @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 Apr 25, 2021, 5:34 PM Reply Quote 0
        • O Offline
          OldSunGuy @sdetweil
          last edited by OldSunGuy Apr 25, 2021, 5:35 PM Apr 25, 2021, 5:34 PM

          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 Apr 25, 2021, 5:38 PM Reply Quote 0
          • S Offline
            sdetweil @OldSunGuy
            last edited by Apr 25, 2021, 5:38 PM

            @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
            • 1 / 1
            1 / 1
            • First post
              4/5
              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