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

    Posts

    Recent Best Controversial
    • PIR gives black screen

      I added a PIR to my MM, and I get a black screen, and no MM in browser on other LAN devices.
      Hitting the ‘Windows’ key brings up the Pi start menu, where I can lunch terminal and stop MM.
      A simple test script confirms the PIR device is working correctly without MM running.

      Any ideas on how to fix this, please?

      Here are the errors, and my config.

      { Error: Cannot find module 'onoff'
          at Module._resolveFilename (module.js:455:15)
          at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
          at Function.Module._load (module.js:403:25)
          at Module.require (module.js:483:17)
          at require (internal/module.js:20:19)
          at Object. (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_helper.js:11:14)
          at Module._compile (module.js:556:32)
          at Object.Module._extensions..js (module.js:565:10)
          at Module.load (module.js:473:32)
          at tryModuleLoad (module.js:432:12) code: 'MODULE_NOT_FOUND' }
      

      Config:

      		{
      		module: 'MMM-PIR-Sensor',
      		config: {
      				sensorPIN:22,
                      powerSaving: true,
                      relayPIN: false,
      				powerSavingDelay: 0,
                      relayOnState: 1
      			// See 'Configuration options' for more information.
      		}
      	},
      
      posted in Troubleshooting
      R
      Richard238
    • RE: Error on update: "Please tell me who you are." ?

      Ah, OK, seems simple enough.
      But why has this not been an issue before with previous MM updates?

      Thanks.

      posted in Troubleshooting
      R
      Richard238
    • PM2 - how to access terminal?

      With PM2 installed, MM starts OK.
      Ctrl+Q to access desktop, but PM2 kicks in, so how do you get access to the terminal, and desktop with PM2 running?!

      Thank you.

      posted in Troubleshooting
      R
      Richard238
    • Error on update: "Please tell me who you are." ?

      Trying to apply the latest updates:

      pi@raspberrypi:~/MagicMirror $ git pull && npm install

      *** Please tell me who you are.

      Run

      git config --global user.email “you@example.com”
      git config --global user.name “Your Name”

      to set your account’s default identity.
      Omit --global to set the identity only in this repository.

      fatal: empty ident name (for ) not allowed

      posted in Troubleshooting
      R
      Richard238
    • RE: [MMM-PIR-Sensor] Install failing

      Hmmmm, black screen, and nothing on a browser at http://192.168.n.nn:8080/ either.

      		module: 'MMM-PIR-Sensor',
      		config: {
      		sensorPIN: 22,
                      powerSaving: true,
                      relayPIN: false,
                      powerSavingDelay: 0,
                      relayOnState: 1
      			// See 'Configuration options' for more information.
      		}
      	},
      
      posted in Troubleshooting
      R
      Richard238
    • RE: Compliments setup

      That’s what I have done now, but it is only a fudge, a workaround.

      What’s the problem with using config.js to make changes to the compliments module, why doesn’t it work?

      posted in Troubleshooting
      R
      Richard238
    • RE: Compliments setup

      Another day, still no change, compliments ignoring whatever is in config.js.

      Thank you.

      posted in Troubleshooting
      R
      Richard238
    • RE: Compliments setup

      Still not picking up different compliments:

      		{
      			module: 'compliments',
      			position: 'lower_third',
                  config: {
      			anytime: [
      				"Hey!"
      			],
      			morning: [
      				"Good morning, handsome!",
      				"Enjoy your day!",
      				"How was your sleep?"
      			],
      			afternoon: [
      				"Hello, beauty!",
      				"You look sexy!",
      				"Looking good today!"
      			],
      			evening: [
      				"Wow!",
      				"You!",
      				"Hi!"
      			]
      		},
      		updateInterval: 30000,
      		remoteFile: null,
      		fadeSpeed: 4000
      			/*config: {
      				remoteFile: 'compliments.json'
      			}*/
      		},  
      
      posted in Troubleshooting
      R
      Richard238
    • RE: Compliments setup

      Changing it to remoteFile, as described here, it works.

      Well, only after it’s still displayed all the default messages.

      posted in Troubleshooting
      R
      Richard238
    • 1 / 1