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: MagicMirror on Docker - config.js issues

      try also delete the “on” at the end of the file name :)
      just:

      config.js

      And what is your exact config looks like? Maybe try this first:

      var config = {
              address: "0.0.0.0", // Address to listen on, can be:
                                    // - "localhost", "127.0.0.1", "::1" to listen on lo$
                                    // - another specific IPv4/6 to listen on a specific$
                                    // - "", "0.0.0.0", "::" to listen on any interface
                                    // Default, when address config is left out, is "loc$
              port: 8080,
              ipWhitelist: [], // Set [] to allow all IP addresses
                                                                     // or add a specifi$
                                                                     // ["127.0.0.1", ":$
                                                                     // or IPv4 range of$
                                                                     // ["127.0.0.1", ":$
      
      posted in Troubleshooting
      cruunnerrC
      cruunnerr
    • RE: Use MMM-Buttons to hide/show modules

      @ninjabreadman said in Use MMM-Buttons to hide/show modules:

      Hope that helps.

      Works. Thank u very much :)

      posted in Troubleshooting
      cruunnerrC
      cruunnerr
    • RE: Failed at the magicmirror@2.2.2 start script 'sh-run-start.sh'

      Well, what should i say…

      I installed the MMM-Podcast a few days ago and had some trouble with it, since it didn’t download newer videos…
      However, i tried a little bit to get it working (don’t know exactly what i did) and since there i thought it is running like it should.
      But wrong… it was only working, cause my MMM-watchdog module restarts the mirror automatically 1-3 times a day (Heartbeat timeout).
      Why am i telling this?
      Cause i got the exactly same message as you … o.0

      But different than you, my mirror is working at all except that it restarts some time.

      First i did what is showing in the message… i updated node and npm Version.
      node from 6.12.2 to 9.2.1
      ppm from 3.10.10 to 5.5.1

      I flushed pm2 logs and now i am waiting if the problem comes up again.

      Sorry that i can’t help you at all, but i am also trying to figure out what that could be.

      what OS are you running? Jesse or stretch? lite or desktop version?

      posted in Troubleshooting
      cruunnerrC
      cruunnerr
    • RE: MMM-Podcast don't show/load the latest video

      ok… i am dumb :(

      i realized that the video only was downloaded a few times, cause my Mirror restarts all the time. The watchdog module recognized a few Heartbeat timeouts and restarts every time.

      So maybe i need to do some troubleshooting first ^^

      posted in Troubleshooting
      cruunnerrC
      cruunnerr
    • RE: IR frame or Touch-foil

      Maybe a silly question:

      Does the Airbar sits under the Mirror glas or over that?

      Different asking:
      I my point of View it seems, that the Bar has to been installed “on the front”. So it has to been set on the mirror glas, right?
      So i would be able to install it additional to my current Mirror?

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

      That looks great !!!
      Will try that later. Thank u very much dude :P

      edit:

      .left header {
          border-bottom: none;
      }
      

      THAT WORKS EXACTLY LIKE I WANT! Great :)

      posted in Custom CSS
      cruunnerrC
      cruunnerr
    • Use MMM-Buttons to hide/show modules

      Hey guys,

      another question again -.- ^^

      i am actually trying to show and hide a module with the MMM-Buttons of @Jopyth

      The Buttons Module works fine for show the podcast e.g.

      To show and hide the MMM-GoogleMapsTraffic Module this works also fine:

      http://192.168.178.240:8080/remote?action=SHOW&module=module_0_MMM-GoogleMapsTraffic
      http://192.168.178.240:8080/remote?action=HIDE&module=module_0_MMM-GoogleMapsTraffic

      so i tried to implement that to my Buttons config, but this doesn’t work:

      {
                          module: 'MMM-Buttons',
                          config: {
                              maxShortPressTime: 1000,
                              buttons: [
                                  {
                                      pin: 20,
                                      name: "GoogleMapsTraffic",
                                      shortPress: {
                                          notification: "REMOTE_ACTION",
                                          payload: {action: "HIDE&module=module_0_MMM-GoogleMapsTraffic"}
                                      },
                                      longPress: {
                                          notification: "REMOTE_ACTION",
                                          payload: {action: "SHOW&module=module_0_MMM-GoogleMapsTraffic"}
                                      },
                                  },
                                  {
                                      pin: 19,
                                      name: "Podcast",
                                      shortPress: {
                                          notification: "BUTTON_PRESSED",
                                          payload: {action: ""}
                                      },
                                      longPress: undefined
                                  }
                              ]
                          }
                      },
      

      If i type “RESTART” in the Payload the mirror restarts. So the Button is connected on the right pin.

      Any idea?

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

      i can switch off and on my display by simply typing sudo tvservice -o and sudo tvservice -p

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

      have u tried to delete the Pir Folder in your modules direction and start a simple new installation of the module?

      or just go into the MMM-PIR-Sensor folder and type npm install again?

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

      @Mykle1 said in Changing the length of the line under the header:

      @cruunnerr

      Or don’t use a header at all. My personal preference. :-)

      Was just hoping there is an amazing trick to use the custom.css for exactly my problem XD

      Maybe i simply shouldn’t install every module i find ^^

      posted in Custom CSS
      cruunnerrC
      cruunnerr
    • 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 / 1