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

    Dresch360

    @Dresch360

    Project Sponsor
    1
    Reputation
    2
    Profile views
    15
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    Dresch360 Unfollow Follow
    Project Sponsor

    Latest posts made by Dresch360

    • MMM-DriveImages – Google Drive Image Slideshow (No API Keys)

      Hi everyone,

      The goal was to make something simple and reliable without requiring any API keys or Google developer setup.

      In the spirit of giving back to the MagicMirror community, and as a companion to MMM-DriveVideos, here is:

      MMM-DriveImages

      Features:

      • Displays images from Google Drive
      • No API keys required
      • No OAuth app setup
      • Automatic background syncing (no cron)
      • Simple setup for non-technical users
      • Supports linear or random playback

      Setup is done with a single command:
      ~/MagicMirror/modules/MMM-DriveImages/connect

      After that, just upload photos to a Google Drive folder named:
      mirror-images

      The mirror updates automatically.

      Repo:
      https://github.com/Dresch360/MMM-DriveImages

      Would love and appreciate any feedback.

      screenshot.png

      posted in Showcase
      D
      Dresch360
    • MMM-DriveVideos — Play Google Drive Videos on Your Mirror (No API Setup)

      Hi everyone,

      The goal was to make something simple and reliable without requiring any API keys or Google developer setup.

      In the spirit of giving back to the MagicMirror community, and as a companion to MMM-DriveImages created today, here is:

      MMM-DriveVideos

      This module lets you play videos directly from a Google Drive folder using simple browser authentication. No API keys. No Google developer setup.

      Upload videos to a folder called mirror-videos and they will automatically sync and play on your mirror.

      MP4 support
      Linear or random playback
      Optional sound on or off
      Fully local playback after sync

      GitHub:
      https://github.com/Dresch360/MMM-DriveVideos

      Would love and appreciate any feedback.

      screenshot.png

      posted in Showcase
      D
      Dresch360
    • Unable to get any of my GPIO-related modules from PI4 to work with Pi5

      Unable to get any of my GPIO-related modules from PI4 to work with Pi5- specifically: MMM-temp-ds18b20 and MMM-PIR. Is there some type of program that will convert the GPIO.py libraries to the new Pi5 GPIO libraries or other method? Any help is greatly appreciated!

      posted in Bug Hunt
      D
      Dresch360
    • RE: MESA-LOADER: failed to retrieve device information

      @sdetweil Thanks. Gateway is a module used for MMM-GoogleAssistant

      posted in Troubleshooting
      D
      Dresch360
    • RE: MESA-LOADER: failed to retrieve device information

      @sdetweil
      I updated MM using your script and thank you very much for providing it! I’m having the same issue, tried the solution above but it’s still showing “MESA-LOADER: failed to retrieve device information” in the logs when loading MM and stops loading there with the above error code. Any ideas? Thanks in advance for your help!

      [16.04.2023 01:08.02.827] [ERROR] (node:8057) UnhandledPromiseRejectionWarning: Error: Cannot find module ‘passport’
      Require stack:

      • /home/pi/MagicMirror/modules/Gateway/node_helper.js
      • /home/pi/MagicMirror/js/app.js
      • /home/pi/MagicMirror/js/electron.js
      • /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
      • at Module._resolveFilename (node:internal/modules/cjs/loader:963:15)
        at n._resolveFilename (node:electron/js2c/browser_init:2:109751)
        at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
        at Module._load (node:internal/modules/cjs/loader:811:27)
        at f._load (node:electron/js2c/asar_bundle:2:13330)
        at Module.require (node:internal/modules/cjs/loader:1035:19)
        at require (node:internal/modules/cjs/helpers:102:18)
        at Object. (/home/pi/MagicMirror/modules/Gateway/node_helper.js:9:16)
        at Module._compile (node:internal/modules/cjs/loader:1141:14)
        at Module._extensions…js (node:internal/modules/cjs/loader:1196:10)
        at Module.load (node:internal/modules/cjs/loader:1011:32)
        at Module._load (node:internal/modules/cjs/loader:846:12)
        at f._load (node:electron/js2c/asar_bundle:2:13330)
        at Module.require (node:internal/modules/cjs/loader:1035:19)
        at require (node:internal/modules/cjs/helpers:102:18)
        at loadModule (/home/pi/MagicMirror/js/app.js:184:19)
        (Use electron --trace-warnings ... to show where the warning was created)
        [16.04.2023 01:08.02.828] [ERROR] (node:8057) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
        [16.04.2023 01:08.03.341] [LOG] Launching application.
        MESA-LOADER: failed to retrieve device information
        MESA-LOADER: failed to retrieve device information
        MESA-LOADER: failed to retrieve device information
        MESA-LOADER: failed to open kms_swrast: /usr/lib/dri/kms_swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/arm-linux-gnueabihf/dri:$${ORIGIN}/dri:/usr/lib/dri)
        failed to load driver: kms_swrast
        MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/arm-linux-gnueabihf/dri:$${ORIGIN}/dri:/usr/lib/dri)
        failed to load swrast driver
      posted in Troubleshooting
      D
      Dresch360
    • RE: ChatGpt intergration

      @SILLEN-0 This is amazing! Any luck with getting it to work with Google Assistant recipe?

      posted in Requests
      D
      Dresch360
    • RE: electron-rebuild and MagicMirror v2.18 (and more)

      @sdetweil Thanks Sam! Ughh…I feel pretty silly that I didn’t realize that. Was looking at the least obvious issue. Works perfectly after installing Python 2. Thanks again!

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

      Hoping someone can help. Having the same issue with MMM-Reddit since updating to MM v2.20.0 . Spent a couple days scouring this as well as other forums for a fix. I already tried everything from this thread. Still getting the error below, no matter what I try. Any help would be greatly appreciated.

      • MM v2.20.0
      • Node v16.17.1
        -Node-gyp v9.2.0
        -NPM v8.15.0

      This is the code I get for any rebuild or npm install…etc:

      npm ERR! code 1
      npm ERR! path /home/pi/MagicMirror/modules/MMM-Reddit/node_modules/node-sass
      npm ERR! command failed
      npm ERR! command sh /tmp/postinstall-fdc6f405.sh
      npm ERR! Building: /usr/bin/node /home/pi/MagicMirror/modules/MMM-Reddit/node_modules/node-sass/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
      npm ERR! gyp info it worked if it ends with ok
      npm ERR! gyp verb cli [
      npm ERR! gyp verb cli ‘/usr/bin/node’,
      npm ERR! gyp verb cli ‘/home/pi/MagicMirror/modules/MMM-Reddit/node_modules/node-sass/node_modules/node-gyp/bin/node-gyp.js’,
      npm ERR! gyp verb cli ‘rebuild’,
      npm ERR! gyp verb cli ‘–verbose’,
      npm ERR! gyp verb cli ‘–libsass_ext=’,
      npm ERR! gyp verb cli ‘–libsass_cflags=’,
      npm ERR! gyp verb cli ‘–libsass_ldflags=’,
      npm ERR! gyp verb cli ‘–libsass_library=’
      npm ERR! gyp verb cli ]
      npm ERR! gyp info using node-gyp@3.8.0
      npm ERR! gyp info using node@16.17.1 | linux | arm
      npm ERR! gyp verb command rebuild []
      npm ERR! gyp verb command clean []
      npm ERR! gyp verb clean removing “build” directory
      npm ERR! gyp verb command configure []
      npm ERR! gyp verb check python checking for Python executable “python2” in the PATH
      npm ERR! gyp verb which failed Error: not found: python2
      npm ERR! gyp verb which failed at getNotFoundError (/home/pi/MagicMirror/modules/MMM-Reddit/node_modules/node-sass/node_modules/which/which.js:13:12)
      npm ERR! gyp verb which failed at F (/home/pi/MagicMirror/modules/MMM-Reddit/node_modules/node-sass/node_modules/which/which.js:68:19)
      npm ERR! gyp verb which failed at E (/home/pi/MagicMirror/modules/MMM-Reddit/node_modules/node-sass/node_modules/which/which.js:80:29)
      npm ERR! gyp verb which failed at /home/pi/MagicMirror/modules/MMM-Reddit/node_modules/node-sass/node_modules/which/which.js:89:16
      npm ERR! gyp verb which failed at /home/pi/MagicMirror/modules/MMM-Reddit/node_modules/isexe/index.js:42:5
      npm ERR! gyp verb which failed at /home/pi/MagicMirror/modules/MMM-Reddit/node_modules/isexe/mode.js:8:5
      npm ERR! gyp verb which failed at FSReqCallback.oncomplete (node:fs:206:21)
      npm ERR! gyp verb which failed python2 Error: not found: python2
      npm ERR! gyp verb which failed at getNotFoundError (/home/pi/MagicMirror/modules/MMM-Reddit/node_modules/node-sass/node_modules/which/which.js:13:12)
      npm ERR! gyp verb which failed at F (/home/pi/MagicMirror/modules/MMM-Reddit/node_modules/node-sass/node_modules/which/which.js:68:19)
      npm ERR! gyp verb which failed at E (/home/pi/MagicMirror/modules/MMM-Reddit/node_modules/node-sass/node_modules/which/which.js:80:29)
      npm ERR! gyp verb which failed at /home/pi/MagicMirror/modules/MMM-Reddit/node_modules/node-sass/node_modules/which/which.js:89:16
      npm ERR! gyp verb which failed at /home/pi/MagicMirror/modules/MMM-Reddit/node_modules/isexe/index.js:42:5
      npm ERR! gyp verb which failed at /home/pi/MagicMirror/modules/MMM-Reddit/node_modules/isexe/mode.js:8:5
      npm ERR! gyp verb which failed at FSReqCallback.oncomplete (node:fs:206:21) {
      npm ERR! gyp verb which failed code: ‘ENOENT’
      npm ERR! gyp verb which failed }
      npm ERR! gyp verb check python checking for Python executable “python” in the PATH
      npm ERR! gyp verb which succeeded python /usr/bin/python
      npm ERR! gyp ERR! configure error
      npm ERR! gyp ERR! stack Error: Command failed: /usr/bin/python -c import sys; print “%s.%s.%s” % sys.version_info[:3];
      npm ERR! gyp ERR! stack File “”, line 1
      npm ERR! gyp ERR! stack import sys; print “%s.%s.%s” % sys.version_info[:3];
      npm ERR! gyp ERR! stack ^
      npm ERR! gyp ERR! stack SyntaxError: invalid syntax
      npm ERR! gyp ERR! stack
      npm ERR! gyp ERR! stack at ChildProcess.exithandler (node:child_process:400:12)
      npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:513:28)
      npm ERR! gyp ERR! stack at maybeClose (node:internal/child_process:1093:16)
      npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
      npm ERR! gyp ERR! System Linux 5.15.61-v7l+
      npm ERR! gyp ERR! command “/usr/bin/node” “/home/pi/MagicMirror/modules/MMM-Reddit/node_modules/node-sass/node_modules/node-gyp/bin/node-gyp.js” “rebuild” “–verbose” “–libsass_ext=” “–libsass_cflags=” “–libsass_ldflags=” “–libsass_library=”
      npm ERR! gyp ERR! cwd /home/pi/MagicMirror/modules/MMM-Reddit/node_modules/node-sass
      npm ERR! gyp ERR! node -v v16.17.1
      npm ERR! gyp ERR! node-gyp -v v3.8.0
      npm ERR! gyp ERR! not ok
      npm ERR! Build failed with error code: 1

      npm ERR! A complete log of this run can be found in:
      npm ERR! /home/pi/.npm/_logs/2022-10-07T02_52_13_196Z-debug-0.log

      posted in Development
      D
      Dresch360
    • RE: MMM-GoogleTasks problems with MMM-Pages

      I was having the same problem - this fixed it for me:

      bug…

      missing data, when display is requested

      do this

      edit MMM-GoogleTasks.js

      change line 37
      from

      	this.tasks;
      

      to

      	this.tasks= {};
      
      posted in Troubleshooting
      D
      Dresch360
    • RE: MMM-PlaceInfo: display information about the world

      @njw Many thanks! It works with your new update.

      posted in Utilities
      D
      Dresch360