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

    Posts

    Recent Best Controversial
    • RE: Camera module

      0_1473676523378_iOS_fly_54.jpeg

      0_1473676541747_iOS_fly_88.jpeg

      0_1473676556322_iOS_fly_41.jpeg

      0_1473676568707_iOS_fly_4.jpeg

      posted in Utilities
      J
      James
    • RE: MMM-PIR-Sensor - White Screen

      @paviro maybe 99% sure. FYI what I did yesterday as follows:

      1. Format & rewrite the sd card,
      2. Boot and run sudo apt-get update & upgrade & reboot,
      3. Install MagicMirror2 with the bash command,
      4. git MMM-PIR-Sensor in modules folder and run npm install in MMM-PIR-Sensor folder as well as useradd command,
      5. Add code in config.js with
                      {
                              module: 'MMM-PIR-Sensor',
                              config: {
                                     sensorPIN: 4
                              }
                      },
      
      1. After rebooting, run MM with pm2 and shows “White Screen”, I checked the pm2 error log shows something like “Expected 49, got 48” as before,
      2. Run npm rebuild --runtime=electron --target=1.3.4 --disturl=https://atom.io/download/atom-shell --abi=49 in the MMM-PIR-Sensor folder,
      3. Run pm2 restart mm and it works.

      I found there is another issue when a rebooting finished and MM runs automaticly with pm2, MMM-PIR-Sensor will not work(screen always on) until the sensor captured a motion.

      posted in Troubleshooting
      J
      James
    • 1 / 1