Read the statement by Michael Teeuw here.
How to specify the Weather Type in a module which only uses the module name
-
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 pathSo 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?
-
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?
-
@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
-
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…” ,
-
@oldsunguy yeh… it should support using the identifier as well as the name… that would make things a lot easier…
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