MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. selyjohns
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.
    S
    • Profile
    • Following 0
    • Followers 1
    • Topics 14
    • Posts 55
    • Best 4
    • Controversial 0
    • Groups 0

    selyjohns

    @selyjohns

    4
    Reputation
    7
    Profile views
    55
    Posts
    1
    Followers
    0
    Following
    Joined Last Online

    selyjohns Unfollow Follow

    Best posts made by selyjohns

    • RE: UnhandledPromiseRejectionWarning on launch

      Hi,
      Issue posted on github 🙂
      https://github.com/MichMich/MagicMirror/issues/2717

      I’ll keep you informed.
      Nice day.

      posted in Troubleshooting
      S
      selyjohns
    • RE: Newsfeed, how to get url via API

      @sdetweil
      Thank you for your reply.
      I just want the url of current displayed article, and get it in my jeedom.

      do you see any solution to do that if I can’t by API ?

      Edit : tried with same request but RESPONSE instead of REQUEST and payload is still empty…I think I didn’t use it correctly.

      posted in Productivity
      S
      selyjohns
    • RE: electron-rebuild and MagicMirror v2.18 (and more)

      @sdetweil @tanvir586
      Yes…Already tested. No fonctionnal

      posted in Development
      S
      selyjohns
    • RE: MMM-PIR -Sensor doesn't work after update

      @sdetweil Perfect ! Thank you for this sharing 🙂
      I’ve leave a post to thanks bugsounet.

      Si my #1 problem is now solved.
      Any idea for the #2 ? I’ve always theses lines

      0|mm     | [7143:0119/191711.084830:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization
      0|mm     | [7219:0119/191711.800740:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.
      

      Thank you 🙂

      posted in Troubleshooting
      S
      selyjohns

    Latest posts made by selyjohns

    • RE: NEWSFEED - Impossible to display full article

      Try it with this RSS feed : https://actu.fr/toulouse/rss.xml

      Did you successful display article in an iframe ?

      posted in Troubleshooting
      S
      selyjohns
    • RE: NEWSFEED - Impossible to display full article

      @sdetweil I think you speak about the address parameter in the let config

      let config = {
              address: "0.0.0.0",     // Address to listen on, can be:
                                                              // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
                                                              // - another specific IPv4/6 to listen on a specific interface
                                                              // - "0.0.0.0", "::" to listen on any interface
                                                              // Default, when address config is left out or empty, is "localhost"
              port: 8080,
      
      

      Was 0.0.0.0, replace with local IP of the Pi, but not better…

      posted in Troubleshooting
      S
      selyjohns
    • RE: NEWSFEED - Impossible to display full article

      @sdetweil
      Thank you for your reply.
      I don’t undersrand where you want I’ll do this change ?

      Thank you

      posted in Troubleshooting
      S
      selyjohns
    • NEWSFEED - Impossible to display full article

      Hello everyone,

      I want to see details of current news displayed with notification ARTICLE_MORE_DETAIL or ARTICLE_TOGGLE_FULL notification, but this is not functionnal (just display black screen)

      Logs

      0 | mm
      (node:26811) electron: Failed to load URL: https://XXX  with error:ERR_BLOCKED_BY_RESPONSE
      

      I think this is because the website block iframe to avoid click-jacking (https://stackoverflow.com/questions/48668767/error-when-loading-an-external-url-in-an-iframe-with-electron), so there is no possibilities in this case ?

      Thank you for your help !

      posted in Troubleshooting
      S
      selyjohns
    • MMM-Scheduler - Optimize schedule

      Hello everyone,

      I use the MMM-Scheduler to display/hide some modules. I need 3 programmations

      • 6:00 to 9:00 from monday to friday
      {from: '0 6 * * 1-5', to: '0 9 * * 1-5'}
      
      • All day of the week end
      {from: '* 0 * * SAT', to: '59 23 * * SUN'},
      
      • And “others” (so monday to friday between 0:00 and 9:00 and between 9:00 and 0:00)
      {from: '0 9 * * 1-5', to: '59 23 * * 1-5'},
      {from: '* 0 * * 1-5', to: '59 5 * * 1-5'}
      

      but I think it’s not very optimized…
      How would you do ?

      Thank you for your help ! 🙂

      posted in Troubleshooting
      S
      selyjohns
    • RE: electron-rebuild and MagicMirror v2.18 (and more)

      @sdetweil @tanvir586
      Yes…Already tested. No fonctionnal

      posted in Development
      S
      selyjohns
    • RE: NODE.JS problem after 2.19

      Hi,
      Please look like at
      https://forum.magicmirror.builders/topic/16074/electron-rebuild-and-magicmirror-v2-18-and-more/24?_=1648901728548

      So no solution.
      Problem “solved”.

      Nice day.

      posted in Troubleshooting
      S
      selyjohns
    • RE: electron-rebuild and MagicMirror v2.18 (and more)

      @bugsounet said in electron-rebuild and MagicMirror v2.18 (and more):

      MMM-PIR-Sensor state is :
      This repository has been archived by the owner. It is now read-only.
      I will not doing a patch on every update for this @paviro module
      Just use another maintened pir module

      Thank you for this quick reply.
      I see, so no solution for this update…Any idea of equivalent module to replace MMM-PIR-Sensor ?

      posted in Development
      S
      selyjohns
    • RE: electron-rebuild and MagicMirror v2.18 (and more)

      Hi @bugsounet
      Same problem after update to 2.19 😞

      During the update, i needed to force because a log say the package-lock.json has been modified. Maybe my error.

      Trying to reproduce the procedure, but

      pi@MagicMirror:~/MagicMirror/modules/MMM-PIR-Sensor $ ./node_modules/.bin/MagicMirror-rebuild
      ⠋ 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:39:9)
          at new Rebuilder (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/magicmirror-rebuild/build/rebuild.js:100:48)
          at rebuildWithOptions (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/magicmirror-rebuild/build/rebuild.js:249:23)
          at doRebuild (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/magicmirror-rebuild/build/rebuild.js:272:16)
          at /home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/magicmirror-rebuild/build/cli.js:115:45
      pi@MagicMirror:~/MagicMirror/modules/MMM-PIR-Sensor $
      
      

      Did you know how to solve this ?

      posted in Development
      S
      selyjohns
    • NODE.JS problem after 2.19

      Hi,
      My MM doesn’t work anymore since last update this morning.
      It seem to be a problem with PIR SENSOR module. Look like a problem with the version of node.js, but my knowledge is too bad to understand the problem…

      Can someone could help me please ?
      Thank you in advance.

      Here’s the pm2 logs.

      /home/pi/.pm2/logs/mm-out.log last 15 lines:
      0|mm       | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
      0|mm       |
      0|mm       | [02.04.2022 12:16.33.654] [LOG]   Starting MagicMirror: v2.19.0
      0|mm       | [02.04.2022 12:16.33.674] [LOG]   Loading config ...
      0|mm       | [02.04.2022 12:16.33.691] [LOG]   Loading module helpers ...
      0|mm       | [02.04.2022 12:16.33.843] [LOG]   Initializing new module helper ...
      0|mm       | [02.04.2022 12:16.33.849] [LOG]   Module helper loaded: MMM-ModuleScheduler
      0|mm       | [02.04.2022 12:16.33.914] [LOG]   Loading module helpers ...
      0|mm       | [02.04.2022 12:16.33.918] [LOG]   Initializing new module helper ...
      0|mm       | [02.04.2022 12:16.33.923] [LOG]   Module helper loaded: MMM-ModuleScheduler
      0|mm       | [02.04.2022 12:16.34.531] [LOG]   Launching application.
      0|mm       |
      0|mm       | > magicmirror@2.19.0 start
      0|mm       | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
      0|mm       |
      
      0|mm  | [02.04.2022 12:20.46.159] [LOG]
      0|mm  | Starting MagicMirror: v2.19.0
      0|mm  | [02.04.2022 12:20.46.181] [LOG]
      0|mm  | Loading config ...
      0|mm  | [02.04.2022 12:20.46.197] [LOG]
      0|mm  | Loading module helpers ...
      0|mm  | [02.04.2022 12:20.46.348] [LOG]
      0|mm  | Initializing new module helper ...
      0|mm  | [02.04.2022 12:20.46.353] [LOG]
      0|mm  | Module helper loaded: MMM-ModuleScheduler
      0|mm  | [02.04.2022 12:20.46.415] [ERROR]
      0|mm  | 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'
      0|mm  | was compiled against a different Node.js version using
      0|mm  | NODE_MODULE_VERSION 93. This version of Node.js requires
      0|mm  | NODE_MODULE_VERSION 101. Please try re-compiling or re-installing
      0|mm  | the module (for instance, using `npm rebuild` or `npm install`).
      0|mm  | [02.04.2022 12:20.46.419] [LOG]
      0|mm  | Loading module helpers ...
      0|mm  | [02.04.2022 12:20.46.422] [LOG]
      0|mm  | Initializing new module helper ...
      0|mm  | [02.04.2022 12:20.46.428] [LOG]
      0|mm  | Module helper loaded: MMM-ModuleScheduler
      0|mm  | [02.04.2022 12:20.46.457] [ERROR]
      0|mm  | App threw an error during load
      0|mm  | [02.04.2022 12:20.46.461] [ERROR]
      0|mm  | Error: The module '/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/epoll/build/Release/epoll.node'
      0|mm  | was compiled against a different Node.js version using
      0|mm  | NODE_MODULE_VERSION 93. This version of Node.js requires
      0|mm  | NODE_MODULE_VERSION 101. Please try re-compiling or re-installing
      0|mm  | the module (for instance, using `npm rebuild` or `npm install`).
      0|mm  |     at process.func [as dlopen] (node:electron/js2c/asar_bundle:5:1800)
      0|mm  |     at Object.Module._extensions..node (node:internal/modules/cjs/loader:1199:18)
      0|mm  |     at Object.func [as .node] (node:electron/js2c/asar_bundle:5:1800)
      0|mm  |     at Module.load (node:internal/modules/cjs/loader:988:32)
      0|mm  |     at Module._load (node:internal/modules/cjs/loader:829:12)
      0|mm  |     at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
      0|mm  |     at Module.require (node:internal/modules/cjs/loader:1012:19)
      0|mm  |     at require (node:internal/modules/cjs/helpers:102:18)
      0|mm  |     at bindings (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/bindings/bindings.js:112:48)
      0|mm  |     at /home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/epoll/epoll.js:7:31
      0|mm  | [02.04.2022 12:20.46.465] [ERROR]
      0|mm  | Whoops! There was an uncaught exception...
      0|mm  | [02.04.2022 12:20.46.481] [ERROR]
      0|mm  | Error: The module '/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/epoll/build/Release/epoll.node'
      0|mm  | was compiled against a different Node.js version using
      0|mm  | NODE_MODULE_VERSION 93. This version of Node.js requires
      0|mm  | NODE_MODULE_VERSION 101. Please try re-compiling or re-installing
      0|mm  | the module (for instance, using `npm rebuild` or `npm install`).
      0|mm  |     at process.func [as dlopen] (node:electron/js2c/asar_bundle:5:1800)
      0|mm  |     at Object.Module._extensions..node (node:internal/modules/cjs/loader:1199:18)
      0|mm  |     at Object.func [as .node] (node:electron/js2c/asar_bundle:5:1800)
      0|mm  |     at Module.load (node:internal/modules/cjs/loader:988:32)
      0|mm  |     at Module._load (node:internal/modules/cjs/loader:829:12)
      0|mm  |     at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
      0|mm  |     at Module.require (node:internal/modules/cjs/loader:1012:19)
      0|mm  |     at require (node:internal/modules/cjs/helpers:102:18)
      0|mm  |     at bindings (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/bindings/bindings.js:112:48)
      0|mm  |     at /home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/epoll/epoll.js:7:31 {
      0|mm  |   code: 'ERR_DLOPEN_FAILED'
      0|mm  | }
      0|mm  | [02.04.2022 12:20.46.486] [ERROR]
      0|mm  | MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      0|mm  | [02.04.2022 12:20.46.488] [ERROR]
      0|mm  | If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      0|mm  | [02.04.2022 12:20.47.011] [LOG]
      0|mm  | Launching application.
      0|mm  | [27831:0402/122047.955144:ERROR:viz_main_impl.cc(188)] Exiting GPU process due to errors during initialization
      0|mm  | [27864:0402/122048.123836:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
      
      posted in Troubleshooting
      S
      selyjohns