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 new default collections. Please contribute.

    Scheduled Pinned Locked Moved Utilities
    1 Posts 1 Posters 913 Views 1 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.
    • M Offline
      mohace
      last edited by

      Hi. I recently made a PR for the MMM-WeatherBackground module. I made a contribution to modify MMM-WeatherBackground.js, in such a way that now there are predetermined a series of collections that reflect in addition to the weather conditions, the time of day (day or night) and the season of the year.

      All those collections can be seen in:
      https://unsplash.com/@mohace/collections

      It is a hard job to select photos and add them to the collections.
      They are divided into all weather conditions, whether it is day or night and the season of the year. For example, fog day, rain day spring, snow night, etc.
      For this reason I want to ask anyone who is interested in contributing photos to the collections, to use this post to do so.
      As follows:
      cloudy windy day autumn: https://unsplash.com/photos/VQqt3g0BixA

      That way I will be adding the photos to the collections, so that by default they are visualized in the module when season, day or night and weather condition match.

      The configuration of the module in config.js should now be as simple as:

      {
      	  module: "MMM-WeatherBackground",
      	  config: {
                                       targetDOM: ".MMM-Dummy",
                                       //null or DomSelector for target.
      				// if null, currentweather will be targeted.
      				// examples: ".newsfeed", "#SOME_SPECIAL_DOM", ".top.left .module"
      				hemisphere: "n", // new config option "s" or "n". Another letter or number won't work.
      				source : "MMM-NOAA3", // `currentweather`, `MMM-NOAA3`, `MMM-DarkSkyForecast`
      				defaultCollection: "featured", 	// I think this is now deprecated			
      			}
      },
      
      1 Reply Last reply Reply Quote 1
      • 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