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

    Posts

    Recent Best Controversial
    • RE: MMM-Podcast don't show/load the latest video

      no, but i am new to programming so it was hard for me to find out.
      after i checked the pm2 log again i just gave it a try…
      Because it says “this.socketNotificationReceived is not a function”

      i needed to change a line in the node_helper.js

      default one:

      else if(this.loaded){
                                      omx.play("modules/MMM-Podcast/video.mp4", {audioOutput: 'local'});
                              }
                              else{
                                      setTimeout(function(){this.socketNotificationReceived(notification, payload)},2000);
                              }
      

      i changed line 32 to this:

      else if(this.loaded){
                                      omx.play("modules/MMM-Podcast/video.mp4", {audioOutput: 'local'});
                              }
                              else{
                                      setTimeout(function(){self.socketNotificationReceived(notification, payload)},2000);
                              }
      

      i think, that the download of the video.mp4 wasn’t set to “finished” from the script, so a new video would never be downloaded.

      Anyhow it works now, but i noticed that the “updateVideoHours” function in the config.js has no effect at all.
      The video has been downloaded several times this day (i think 3-4 times).
      But thats ok for me, as the video file is updated also 3-4 times from the website. :)

      posted in Troubleshooting
      cruunnerrC
      cruunnerr
    • RE: Changing the length of the line under the header

      yeah i thought so :(

      thank you anyway :)

      posted in Custom CSS
      cruunnerrC
      cruunnerr
    • RE: MMM-PIR-SENSOR not working

      are u sure, u are using the correct pin?
      The Module uses BCM numbering, so if u write in your config to use 22, it is physically 15, and this is GPIO 3!

      type in console, while u are running through the PIR:

      gpio read 3
      

      before detecting it must give out a “0”. WHILE moving through the PIR it must give out a “1”

      or simply type gpio readall before and while the PIR detects to compare results and see what Pin you are really using.

      and please check if pm2 gives errors with pm2 logs

      posted in Troubleshooting
      cruunnerrC
      cruunnerr
    • RE: MMM-MovieListings

      @Peter

      must be like this:

      {
                                      module: 'MMM-MovieListings',
                                      position: 'top_left',   // This can be any of the regions. Best results in left or$
                                      config: {
      					apiKey: 'YOUR_API_KEY',
      					region: 'DE',
      					language: 'de-DE',
      					interface: 'poster', //'list', 'poster', 'detailed'
      					includeMoviePlot: false,
      					maxPlotLength: 198,
      					header: 'Kinofilme',
      					moviesPerPage: 0,
      					refreshInterval: 1000 * 60 * 60 * 24, //Once a day
      					baseUrl: 'https://api.themoviedb.org/3/movie/now_playing',
      					animationSpeed: 2.5 * 1000,
      					pageChangeInterval: 35 * 1000
      				        }
                              },
      
      posted in Entertainment
      cruunnerrC
      cruunnerr
    • Changing the length of the line under the header

      Hey guys,

      i was asking myself if it is possible to reduce the length of the line under the header…

      I installed the MMM-MovieListings module and because the width of the module can change depending on what movie is shown, the lines under the other modules are changing their length, too.

      Maybe someone have an idea. :)

      0_1515328940936_Bildschirmfoto 2018-01-07 um 13.39.20.png

      posted in Custom CSS
      cruunnerrC
      cruunnerr
    • RE: MMM-GoogleMapsTraffic "breaks" mirror?

      @seattlecajun said in MMM-GoogleMapsTraffic “breaks” mirror?:

        position: "upper-third",
      

      please try it with:

      position: "upper_third",
      
      posted in Troubleshooting
      cruunnerrC
      cruunnerr
    • RE: first attempt .. gone wrong :)

      To be sure everything will work fine i would use the desktop version. Best option here is Jesse i think :)

      Otherwise u can try this guide, cause with the lite versions of raspbian there are dependancies missing for the MagicMirror.
      The guide works fine for me using raspbian stretch lite

      posted in Troubleshooting
      cruunnerrC
      cruunnerr
    • RE: MMM-Openhab

      Even if i have no OpenHAB System running, your module looks great :)
      keep it up :) Well done

      posted in Utilities
      cruunnerrC
      cruunnerr
    • RE: MMM-PIR-SENSOR not working

      @mab6435 said in MMM-PIR-SENSOR not working:

      My modification to the modules config file looks like this.
      {
      module: “MMM-PIR-Sensor”,
      }

      Bur that is not like it is described in the readme of the module.

      try:

      {
      			module: 'MMM-PIR-Sensor',
      			config: {
      			sensorPIN: 22,
      			powerSavingDelay: 120 // in seconds
      			}
      		},
      

      Also u need to use a powersaving delay. Cause the default is 0 !

      And i am not sure, but i think u used “ instead of "

      posted in Troubleshooting
      cruunnerrC
      cruunnerr
    • RE: config.js docent work anymore

      @fischi87 said in config.js docent work anymore:

      {
      module: “updatenotification”,
      position: “top_bar”,
      config: {
      },
      },

      There is a comma too much.
      line 22…

      should look like this:

                      {
      			module: "updatenotification",
      			position: "top_bar",
      			config: {
      			}
      		},
      

      Oh, and there is no " ], " at the end…
      should look like this:

      ],
              paths: {
                      modules: "modules",
                      vendor: "vendor"
              }
      };
      

      so try it with this one:

      /*************** AUTO GENERATED BY REMOTE CONTROL MODULE ***************/
      
      var config = 
      {
      	electronOptions: {
      		
      	},
      	address: "0.0.0.0",
      	port: 8090,
      	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "192.168.178.26", "192.168.178.53"],
      	language: "de",
      	modules: [
      		{
      			module: "alert",
      			config: {
      				
      			}
      		},
      		{
      			module: "updatenotification",
      			position: "top_bar",
      			config: {
      			}
      		},
      		{
      			module: "clock",
      			position: "top_center",
      			config: {
      				
      			}
      		},
      		{
      			module: "calendar",
      			header: "Kalender",
      			position: "bottom_left",
      			config: {
      				calendars: [
      					{
      						url: "",
      						symbol: "calendar"
      					},
      					{
      						url: "",
      						symbol: "recycle"
      					},
                          {
                              url: "",
                              symbol: "eur"
                          },
                          {
                              url: "",
                              symbol: "scissors"
                          },
      				],
      				timeFormat: "absolute",
      				dateFormat: "Do MMM",
      				maximumEntries: "5",
      			}
      		},
      		{
      			module: "currentweather",
      			position: "top_left",
      			config: {
      				location: "Strehla,Germany",
      				locationID: "2826033",
      				appid: "",
      				iconTable: {
      					"01d": "wi-day-sunny",
      					"02d": "wi-day-cloudy",
      					"03d": "wi-cloudy",
      					"04d": "wi-cloudy-windy",
      					"09d": "wi-showers",
      					"10d": "wi-rain",
      					"11d": "wi-thunderstorm",
      					"13d": "wi-snow",
      					"50d": "wi-fog",
      					"01n": "wi-night-clear",
      					"02n": "wi-night-cloudy",
      					"03n": "wi-night-cloudy",
      					"04n": "wi-night-cloudy",
      					"09n": "wi-night-showers",
      					"10n": "wi-night-rain",
      					"11n": "wi-night-thunderstorm",
      					"13n": "wi-night-snow",
      					"50n": "wi-night-alt-cloudy-windy"
      				}
      			}
      		},
      		{
      			module: "weatherforecast",
      			position: "top_left",
      			header: "Wettervorhersage",
      			config: {
      				location: "Strehla, Germany",
      				locationID: "2826033",
      				appid: "",
      				iconTable: {
      					"01d": "wi-day-sunny",
      					"02d": "wi-day-cloudy",
      					"03d": "wi-cloudy",
      					"04d": "wi-cloudy-windy",
      					"09d": "wi-showers",
      					"10d": "wi-rain",
      					"11d": "wi-thunderstorm",
      					"13d": "wi-snow",
      					"50d": "wi-fog",
      					"01n": "wi-night-clear",
      					"02n": "wi-night-cloudy",
      					"03n": "wi-night-cloudy",
      					"04n": "wi-night-cloudy",
      					"09n": "wi-night-showers",
      					"10n": "wi-night-rain",
      					"11n": "wi-night-thunderstorm",
      					"13n": "wi-night-snow",
      					"50n": "wi-night-alt-cloudy-windy"
      				}
      			}
      		},
              {
                  module: "MMM-EasyPix",
                  header: "Wlan-Code",
                  position: "bottom_right",
                  config: {
                    picName: "qrcode.png",
                    maxWidth: "150px",
                    header: "Wlan",
                  }
              },
      		{
      			module: "MMM-MovieListings",
      			position: "top_left",
      			config: {
      				apiKey: 'cee87e81c99b368b7aa611763b37fada',
      				region: 'DE',
      				language: 'de-DE',
      				interface: 'poster',
      				}
      		},
      		{
            			module: 'MMM-MyCommute',
            			position: 'middle_right',
                      header: 'Weg zur Arbeit',
            			config: {
      				apikey: 'AIzaSyAfVoBUzZmIRxFiKtfgw882SrvOBzMYKpk',
      				origin: 'Melchior-Tatzen-Weg 24, 01616 Strehla',
      				showSummary: true,
      				destinations: [
      						{
      						destination: 'Peschelstraße 33, 01139 Dresden',
      						label: 'ElbePark',
      						mode: 'driving',
      						alternatives: true,
      						}
      					      ]
      				}
      		},
      ],
      	paths: {
      		modules: "modules",
      		vendor: "vendor"
      	}
      };
      
      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== 'undefined') {module.exports = config;}
      
      posted in Troubleshooting
      cruunnerrC
      cruunnerr
    • 1
    • 2
    • 18
    • 19
    • 20
    • 21
    • 22
    • 27
    • 28
    • 20 / 28