• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
  1. Home
  2. PH1TCH
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
P
Offline
  • Profile
  • Following 0
  • Followers 0
  • Topics 1
  • Posts 17
  • Groups 0

PH1TCH

@PH1TCH

2
Reputation
9
Profile views
17
Posts
0
Followers
0
Following
Joined May 24, 2020, 5:19 PM
Last Online Aug 26, 2024, 9:52 AM

PH1TCH Unfollow Follow

Best posts made by PH1TCH

  • RE: MMM-Parcel

    Are there any news on this topic? Unfortunately I can’t get it to work either …

    posted in Utilities
    P
    PH1TCH
    May 26, 2020, 9:39 PM
  • 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!

    posted in Utilities
    P
    PH1TCH
    Aug 23, 2021, 9:50 PM

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!

    posted in Utilities
    P
    PH1TCH
    Aug 29, 2021, 11:18 AM
  • 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!

    posted in Utilities
    P
    PH1TCH
    Aug 23, 2021, 9:50 PM
  • 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:

    posted in Utilities
    P
    PH1TCH
    Aug 23, 2021, 9:47 PM
  • 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!

    posted in Utilities
    P
    PH1TCH
    Aug 23, 2021, 6:58 PM
  • 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!

    posted in Utilities
    P
    PH1TCH
    Aug 23, 2021, 3:52 PM
  • RE: MMM-RAIN-MAP (new: version 2.x)

    @swvalenti @Jalibu

    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?

    posted in Utilities
    P
    PH1TCH
    Aug 18, 2021, 10:48 PM
  • RE: MMM-OpenWeatherForecast - Replacement for MMM-DarkSkyForecast

    @karsten13 & @Biebermann

    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>
    
    posted in Utilities
    P
    PH1TCH
    Jun 30, 2021, 5:14 PM
  • 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!

    posted in Health
    P
    PH1TCH
    Feb 26, 2021, 5:50 PM
  • 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

    posted in Utilities
    P
    PH1TCH
    Feb 17, 2021, 7:15 PM
  • 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!

    posted in Troubleshooting
    P
    PH1TCH
    Jun 16, 2020, 9:45 PM
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