Read the statement by Michael Teeuw here.
MMM-WeatherBackground
-
UPDATED
[2018-12-03]
- Now you can simply set
sourceinstead complex notification & payloadConverterMMM-DarkSkyForecastis supported as source- Currently supported source :
currentweather,MMM-NOAA3,MMM-DarkSkyForecast
- Background image position is centered now.
- Now you can simply set
-
-
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!
-
@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 withpayloadConverterandnotificationinconfig.jsnotification: "SOME MODULE NOTI", payloadConverter:(payload)=>{ return "windy night spring" // <= query text for the image. }Currently, this module is managed by brianHelper
-
@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 :) -
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. -
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
-
@MMRIZE How do I get it to work with open weather module?
-
@EphraimB
There were so many modules usingopenweatherAPI(So I don’t know which module is what you mentioned), but since MM changed its defaultweathermodule, the defaultweathermodule could also handle openweather API natively. So, just use the defaultweathermodule.
Or, request the developer of youropen-weather-using-moduleto supportCURRENTWEATHER_TYPEnotification to be compatible with the defaultweathermodule. -
-
@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
sourceparameter to “MMM-OpenWeatherForecast” and it should pick up the notifications. -
@bhepler Your update for OpenWeatherForecast works with me! Thanks for your effort!
-
@bhepler It works now. Thank you!
-
Update for 20 October 2024: Thanks to the hard work of Kevin Sivic, the MMM-WeatherBackground module can function again.
Unfortunately, the Unsplash service closed down their API to free use. You will have to log in to their website at www.unsplash.com and join their developer program. Once you have an Access Key, you can use that key to make the module function.
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