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

    Posts

    Recent Best Controversial
    • RE: Issue with PIR Sensor after upgrade to 2.19

      @sdetweil
      Same…

      npm WARN deprecated har-validator@5.1.5: this library is no longer supported
      npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
      npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
      
      > Magic-Mirror-Module-PIR-Sensor@1.1.0 postinstall
      > node_modules/.bin/electron-rebuild -e ../../node_modules/electron
      
      ⠋ Searching dependency tree
      An unhandled error occurred inside electron-rebuild
      Could not detect abi for version 17.2.0 and runtime electron.  Updating "node-abi" might help solve this issue if it is a new release of electron
      
      Error: Could not detect abi for version 17.2.0 and runtime electron.  Updating "node-abi" might help solve this issue if it is a new release of electron
          at Object.getAbi (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/node-abi/index.js:36:9)
          at new Rebuilder (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/electron-rebuild/lib/src/rebuild.js:126:48)
          at rebuildWithOptions (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/electron-rebuild/lib/src/rebuild.js:404:23)
          at Object.doRebuild [as rebuild] (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/electron-rebuild/lib/src/rebuild.js:427:16)
          at /home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/electron-rebuild/lib/src/cli.js:124:33
          at Generator.next (<anonymous>)
          at fulfilled (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/electron-rebuild/lib/src/cli.js:6:58)
      npm ERR! code 255
      npm ERR! path /home/pi/MagicMirror/modules/MMM-PIR-Sensor
      npm ERR! command failed
      npm ERR! command sh -c node_modules/.bin/electron-rebuild -e ../../node_modules/electron
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2022-04-07T15_08_23_853Z-debug-0.log
      
      posted in Troubleshooting
      O
      OliWer
    • RE: Issue with PIR Sensor after upgrade to 2.19

      @sdetweil
      I did now, but same issue =(

      posted in Troubleshooting
      O
      OliWer
    • Issue with PIR Sensor after upgrade to 2.19

      Hi,
      after upgrading to 2.19 MM is not starting anymore with the following message:

      [07.04.2022 16:30.26.410] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: The module '/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/epoll/build/Release/epoll.node'
      was compiled against a different Node.js version using
      NODE_MODULE_VERSION 93. This version of Node.js requires
      NODE_MODULE_VERSION 101. Please try re-compiling or re-installing
      the module (for instance, using `npm rebuild` or `npm install`).
      [07.04.2022 16:30.26.412] [LOG]   Loading module helpers ...
      [07.04.2022 16:30.26.413] [LOG]   Initializing new module helper ...
      [07.04.2022 16:30.26.415] [LOG]   Module helper loaded: MMM-CalendarExt2
      [07.04.2022 16:30.26.416] [LOG]   No helper found for module: MMM-CalendarExtPlan.
      [07.04.2022 16:30.26.422] [ERROR] App threw an error during load
      [07.04.2022 16:30.26.424] [ERROR] Error: The module '/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/epoll/build/Release/epoll.node'
      was compiled against a different Node.js version using
      NODE_MODULE_VERSION 93. This version of Node.js requires
      NODE_MODULE_VERSION 101. Please try re-compiling or re-installing
      the module (for instance, using `npm rebuild` or `npm install`).
          at process.func [as dlopen] (node:electron/js2c/asar_bundle:5:1800)
          at Object.Module._extensions..node (node:internal/modules/cjs/loader:1199:18)
          at Object.func [as .node] (node:electron/js2c/asar_bundle:5:1800)
          at Module.load (node:internal/modules/cjs/loader:988:32)
          at Module._load (node:internal/modules/cjs/loader:829:12)
          at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
          at Module.require (node:internal/modules/cjs/loader:1012:19)
          at require (node:internal/modules/cjs/helpers:102:18)
          at bindings (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/bindings/bindings.js:112:48)
          at /home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/epoll/epoll.js:7:31
      [07.04.2022 16:30.26.425] [ERROR] Whoops! There was an uncaught exception...
      [07.04.2022 16:30.26.430] [ERROR] Error: The module '/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/epoll/build/Release/epoll.node'
      was compiled against a different Node.js version using
      NODE_MODULE_VERSION 93. This version of Node.js requires
      NODE_MODULE_VERSION 101. Please try re-compiling or re-installing
      the module (for instance, using `npm rebuild` or `npm install`).
          at process.func [as dlopen] (node:electron/js2c/asar_bundle:5:1800)
          at Object.Module._extensions..node (node:internal/modules/cjs/loader:1199:18)
          at Object.func [as .node] (node:electron/js2c/asar_bundle:5:1800)
          at Module.load (node:internal/modules/cjs/loader:988:32)
          at Module._load (node:internal/modules/cjs/loader:829:12)
          at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
          at Module.require (node:internal/modules/cjs/loader:1012:19)
          at require (node:internal/modules/cjs/helpers:102:18)
          at bindings (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/bindings/bindings.js:112:48)
          at /home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/epoll/epoll.js:7:31 {
        code: 'ERR_DLOPEN_FAILED'
      }
      

      I already tried npm install and npm rebuild in the modules folder, but getting an error there as well

      npm ERR! code 255
      npm ERR! path /home/pi/MagicMirror/modules/MMM-PIR-Sensor
      npm ERR! command failed
      npm ERR! command sh -c node_modules/.bin/electron-rebuild -e ../../node_modules/electron
      npm ERR! - Searching dependency tree
      npm ERR!
      npm ERR! An unhandled error occurred inside electron-rebuild
      npm ERR! Could not detect abi for version 17.2.0 and runtime electron.  Updating "node-abi" might help solve this issue if it is a new release of electron
      npm ERR!
      npm ERR! Error: Could not detect abi for version 17.2.0 and runtime electron.  Updating "node-abi" might help solve this issue if it is a new release of electron
      npm ERR!     at Object.getAbi (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/node-abi/index.js:36:9)
      npm ERR!     at new Rebuilder (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/electron-rebuild/lib/src/rebuild.js:126:48)
      npm ERR!     at rebuildWithOptions (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/electron-rebuild/lib/src/rebuild.js:404:23)
      npm ERR!     at Object.doRebuild [as rebuild] (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/electron-rebuild/lib/src/rebuild.js:427:16)
      npm ERR!     at /home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/electron-rebuild/lib/src/cli.js:124:33
      npm ERR!     at Generator.next (<anonymous>)
      npm ERR!     at fulfilled (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/electron-rebuild/lib/src/cli.js:6:58)
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2022-04-07T14_35_12_484Z-debug-0.log
      

      Removing and re-adding the module results in the same issue.
      Thanks in advance!

      posted in Troubleshooting
      O
      OliWer
    • Temperature from Phillips Hue (Outdoor) Motion Sensor

      Hi,

      I’d like to display the temperature from the Hue Outdoor sensor on my mirror. The available modules cannot do this right now. So I’m looking for someone who could create such a module (or maybe update the Hue Module?). The indoor motion sensors are providing temperature as well as far as I know, but I cannot confirm, as I don’t have one.

      Thanks in advance!

      posted in Requests
      O
      OliWer
    • 1
    • 2
    • 2 / 2