Read the statement by Michael Teeuw here.
MMM-RAIN-MAP (new: version 2.x)
-
@sdetweil said in MMM-RAIN-MAP:
@swvalenti he said
The configuration to version 1.x is completely incompatible and must be adapted.
Well I am an idiot and here I thought I was helping. HA
-
Bought you a beer to make up for it
-
Hi everyone,
I released version 2.0.0 of this module today. It is written 100% from scratch.Changes
- The module is now much more leightweight and should consume less computing resources.
- Removed GoogleMaps support because the maintenance effort for both maps was too high and the code looked very untidy as a result.
- Configuration was redefined. Old module configurations are not compatible!
- Much more flexible options to set markers and alternating map positions
- The onlyOnRain feature was fixed and is now compatible with the MM’s default weather module and MMM-OpenWeatherForecast
If you do not require GoogleMaps, I’d recommend to switch on version 2.x as version 1.x won’t be supported in the future.
-
@jalibu I updated. Only thing that doesn’t seem to work is only on rain still. Using OWF for weather.
-
In my case the opposite of what is actually intended happens: Once it starts to rain, the module will hide itself. The second the rain stops (and the icon of MMM-OpenWeatherForecast changes) the module will be showed again.
Does anyone have the same issue?
-
@ph1tch @swvalenti
woops… 🙈😇
My stupid mistake. This happens when you didn’t pay attention in the Boolean algebra lecture 😁Please pull the latest release.
Thank you for your feedback.
-
@jalibu Thanks for the update of the module! It works great! Also the displayOnlyOnRain option works now correctly. (just pulled the latest commit).
-
That sounds great. I will check it out tomorrow.
-
@Jalibu v2 LGTM.
But you have still an error in the README:
You want beer but you’re getting only coffee ;)
-
@jalibu: I noticed that the show / hide state of the module now changes correctly according to the changes of the MMM-OpenWeatherMap Module :thumbs_up:
However, if I restart my mirror on a sunny day, then the RAIN-Map module will be displayed until it starts and stops to rain at least once (and therefore MMM-OWM changes).
So, if it were not raining for a long time, the module would still be displayed until the weather changes.
Is this the intended behaviour of the module or did I just configure something wrong?
Thanks again for your help!