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.

    Does 'weather' module broadcast the forecasting?

    Scheduled Pinned Locked Moved Unsolved Requests
    6 Posts 3 Posters 995 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 @MMRIZE
      last edited by

      @MMRIZE looking at code, it only has one sendNotification

      	if (this.weatherProvider.currentWeather()) {
      			this.sendNotification("CURRENTWEATHER_TYPE", { type: this.weatherProvider.currentWeather().weatherType.replace("-", "_") });
      		}
      

      so, I would say no

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • ankonaskiff17A Offline
        ankonaskiff17 @MMRIZE
        last edited by ankonaskiff17

        @MMRIZE @sdetweil The weather.gov API does generate alerts. Now whether you can make that happen in the weather module is well beyond my skill level.
        I use the api to generate something similar to a key to generate the current weather and the forecast weather for local area using the MM weather module.

        See the examples tab Weather API

        S M 2 Replies Last reply Reply Quote 0
        • S Offline
          sdetweil @ankonaskiff17
          last edited by

          @ankonaskiff17 we don’t process alerts like that

          we get the data, for our display, and then send that out to any module that cares

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • M Offline
            MMRIZE @ankonaskiff17
            last edited by

            @ankonaskiff17
            I need weather information (current status or some days forecasting) to be used in my other module. For example, changing the background or colour theme by current weather status. or registering upcoming weather events on the calendar, etc…
            It will be more efficient when the existing weather module data could be accessible instead of implementing another new weather parser for that purpose.

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

              @MMRIZE and not calling the same data provider

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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