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

Scheduled Pinned Locked Moved Utilities
54 Posts 14 Posters 21.3k Views 14 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.
  • ? Offline
    A Former User @BKeyport
    last edited by A Former User Dec 13, 2018, 10:46 AM Dec 13, 2018, 10:45 AM

    UPDATED

    [2018-12-13]

    @bkeyport
    Now you can assign specific collection to specific keyword as your wish to get more related pictures.

    By example, you can assign 1877260 as source of clear-day pictures.

    0 1 Reply Last reply Aug 31, 2021, 12:09 PM Reply Quote 1
    • 0 Offline
      0m4r Module Developer @Guest
      last edited by Aug 31, 2021, 12:09 PM

      is this supposed to work with: MMM-OpenWeatherForecast?
      and how should this behave if there is more than one instance of the same plugin configured?

      I see the module, and this post, are not really active, so if it is not supported (or maintained) anymore - just ignore me!

      https://github.com/0m4r

      M 1 Reply Last reply Aug 31, 2021, 3:15 PM Reply Quote 0
      • M Offline
        MMRIZE @0m4r
        last edited by Aug 31, 2021, 3:15 PM

        @0m4r
        I was the original author of that module. ;)
        Basically, if any module could emit any notification and it could be translated properly, it will work.
        You can define your customization with payloadConverter and notification in config.js

        notification: "SOME MODULE NOTI",
        payloadConverter:(payload)=>{
                return  "windy night spring"  // <= query text for the image.  
        }
        

        Currently, this module is managed by brianHelper

        0 E 2 Replies Last reply Aug 31, 2021, 3:46 PM Reply Quote 2
        • 0 Offline
          0m4r Module Developer @MMRIZE
          last edited by Aug 31, 2021, 3:46 PM

          @mmrize hey thanks! I figure that out myself already digging into the code!
          cool module, I never really thought about using an event to customize the payload and have a function as a config value… I may play around with it a little more and come back if I have any question :)

          https://github.com/0m4r

          1 Reply Last reply Reply Quote 0
          • B Offline
            bhepler Module Developer
            last edited by Sep 25, 2021, 5:54 PM

            Updated 2021-09-13

            Thanks goes to @eouia for the many changes.

            REMOVED Removing dependency of dying momentJS
            ADDED config.monthMap : Now you can define keywords per month. (It could be the replacement of config.hemisphere). You can set winter christmas santa-clause as keyword for December. Or you can set spring to March, April, May.
            ADDED config.externalCollections : separated collections data to external file.
            ADDED config.size is added. you can set pictures original dimension by this value. (this value is not for cropping. Rather for resolution optimizing.)
            CHANGED Default weather module source - weather is added.
            REMOVED Obsoleted weather module source - currentweather is removed.
            ADDED CSS controllable. Now you can control the style(CSS selector .WTHBGR) more comfortably.
            CHANGED Current collection list was too huge and not maintained. Now Collection fallback is supported. When the module cannot find a proper collection, the keyword searching would be alternated instead.
            CHANGED Now, collection matching is based on match-score.

            1 Reply Last reply Reply Quote 0
            • B Offline
              bhepler Module Developer
              last edited by May 7, 2022, 6:32 PM

              Updated 2022-05-07

              • I updated the README for a more complete documentation of the module and options.
              • Expanded the default collections to source the images.
              • Added more logging messages for verbose mode
              1 Reply Last reply Reply Quote 1
              • E Offline
                EphraimB @MMRIZE
                last edited by Jul 15, 2022, 5:42 PM

                @MMRIZE How do I get it to work with open weather module?

                M 1 Reply Last reply Jul 15, 2022, 10:52 PM Reply Quote 0
                • M Offline
                  MMRIZE @EphraimB
                  last edited by MMRIZE Jul 16, 2022, 11:12 PM Jul 15, 2022, 10:52 PM

                  @EphraimB
                  There were so many modules using openweather API(So I don’t know which module is what you mentioned), but since MM changed its default weather module, the default weather module could also handle openweather API natively. So, just use the default weather module.
                  Or, request the developer of your open-weather-using-module to support CURRENTWEATHER_TYPE notification to be compatible with the default weather module.

                  E 1 Reply Last reply Jul 17, 2022, 2:15 PM Reply Quote 0
                  • E Offline
                    EphraimB @MMRIZE
                    last edited by Jul 17, 2022, 2:15 PM

                    @MMRIZE This one: https://github.com/jclarke0000/MMM-OpenWeatherForecast

                    B 1 Reply Last reply Jul 24, 2022, 6:18 PM Reply Quote 0
                    • B Offline
                      bhepler Module Developer @EphraimB
                      last edited by bhepler Jul 24, 2022, 8:27 PM Jul 24, 2022, 6:18 PM

                      @EphraimB - Sounds like a useful modification. I’m working on it now. It doesn’t seem terribly difficult to add.

                      Edit: Okay, done. It should accept notifications from the MMM-OpenWeatherForecast app. Update the module, change the source parameter to “MMM-OpenWeatherForecast” and it should pick up the notifications.

                      F E 2 Replies Last reply Jul 25, 2022, 5:30 PM Reply Quote 1
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 5 / 6
                      • 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