Are there any news on this topic? Unfortunately I can’t get it to work either …
Read the statement by Michael Teeuw here.
Best posts made by PH1TCH
-
RE: MMM-Parcel
-
RE: MMM-RAIN-MAP (new: version 2.x)
Moin @jalibu, seems like we’re in the same Boat!
Weirdly enough, it hasn’t rained today ¯_(ツ)_/¯
I’ll have an eye on it once it starts again!
Latest posts made by PH1TCH
-
RE: MMM-RAIN-MAP (new: version 2.x)
Hey @Jalibu,
I noticed that the module started to throw errors in the logs.
Do you have an idea how this could be addressed?
0|mm | [29.08.2021 13:07.10.633] [ERROR] ERROR! Could not validate main module js file. 0|mm | [29.08.2021 13:07.10.638] [ERROR] ReferenceError: window is not defined 0|mm | at /home/pi/MagicMirror/modules/MMM-RAIN-MAP/MMM-RAIN-MAP.js:1:1913 0|mm | at Object.243 (/home/pi/MagicMirror/modules/MMM-RAIN-MAP/MMM-RAIN-MAP.js:1:142305) 0|mm | at e (/home/pi/MagicMirror/modules/MMM-RAIN-MAP/MMM-RAIN-MAP.js:1:151019) 0|mm | at Object.138 (/home/pi/MagicMirror/modules/MMM-RAIN-MAP/MMM-RAIN-MAP.js:1:142720) 0|mm | at e (/home/pi/MagicMirror/modules/MMM-RAIN-MAP/MMM-RAIN-MAP.js:1:151019) 0|mm | at /home/pi/MagicMirror/modules/MMM-RAIN-MAP/MMM-RAIN-MAP.js:1:151060 0|mm | at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-RAIN-MAP/MMM-RAIN-MAP.js:1:151067) 0|mm | at Module._compile (internal/modules/cjs/loader.js:1078:30) 0|mm | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1108:10) 0|mm | at Module.load (internal/modules/cjs/loader.js:935:32)
Thanks again for your help!
-
RE: MMM-RAIN-MAP (new: version 2.x)
Moin @jalibu, seems like we’re in the same Boat!
Weirdly enough, it hasn’t rained today ¯_(ツ)_/¯
I’ll have an eye on it once it starts again!
-
RE: MMM-RAIN-MAP (new: version 2.x)
@fozi So far the update seems to have fixed it … it hasn’t rained since, so I can not confirm it yet, but this is just a matter of hours :beaming_face_with_smiling_eyes:
-
RE: MMM-RAIN-MAP (new: version 2.x)
@fozi Nope, I’m not using MMM-Pages. But I am using stuff like MMM-ModuleScheduler and MMM-RemoteControl tho.
Maybe they are causing similar issues …
But lemme check the update!
-
RE: MMM-RAIN-MAP (new: version 2.x)
@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!
-
RE: MMM-RAIN-MAP (new: version 2.x)
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?
-
RE: MMM-OpenWeatherForecast - Replacement for MMM-DarkSkyForecast
Probably not the most elegant solution ever, but I added the following jquery code to the index.html located in the MagicMirror folder which will check every 30 seconds for the text “There” in elements of the class "weather-alert-description " and will hide the parent element (so the whole thing) if found.
Since the English alerts usually start with “There” I can hide them this way and only leave the German ones
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> <script> setInterval(function(){ $('.weather-alert-description').each(function () { if ($(this).text().includes('There')) { $(this).parent().hide(); } }) }, 30000); </script>
-
RE: MMM-COVID19-AMPEL (focus on Germany)
@magic21nrw : Awesome Module, thank you for sharing! ;)
I have a small request: I think it would be great to include vaccination data, using this source for example: https://rki-vaccination-data.vercel.app
What do you think? Is this something that could be added?
Many thanks!
-
RE: MMM-GoogleAssistant and A2display YouTube
Hey @Mathieu,
I struggled myself a bit to get this going and in my case there were 2 things I missed:
-
Make sure you enable the YouTube API as stated here (see #1):
https://github.com/bugsounet/MMM-Assistant2Display/wiki/YouTube -
Copyrighted videos won’t play as stated here:
http://forum.bugsounet.fr/topic/53/youtube-can-t-play-videos-with-license-youtube-js-1-a2d-yt-error-150-not-allowed-by-owner/7
After enabling the API and asking the Assistant for a video without copyright it started to play.
Hope this helps ;)
Best,
PH1TCH -
-
Hide module based on content | MMM-AfterShip
Hi everyone, I would like to hide the AfterShip module once there are no active deliveries to be tracked.
As far as I can tell, the existing code already checks for a certain threshold of maximum allowed trackings at the same time:
for (var t in this.shipments) { var shipments = this.shipments[t]; displayedParcels++; if (displayedParcels > this.config.maximumEntries){ break; } var row = document.createElement("tr"); table.appendChild(row); ... }
I thought of something like this to check for the number of active deliveries and hide the module if there are none:
for (var t in this.shipments) { var shipments = this.shipments[t]; displayedParcels++; if (displayedParcels > this.config.maximumEntries){ break } else if (displayedParcels = 0 ){ this.hide() } else { this.show() } var row = document.createElement("tr"); table.appendChild(row); ... }
Unfortunately this does not work. Any ideas how to hide a module based on the content?
Many thanks in advance!