MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. Jupter1
    J
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 5
    • Best 0
    • Controversial 0
    • Groups 0

    Jupter1

    @Jupter1

    0
    Reputation
    42
    Profile views
    5
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Jupter1 Unfollow Follow

    Latest posts made by Jupter1

    • MMM-Slack2

      Hi there,
      I have created a newer version of MMM-Slack which I have called MMM-Slack2. I wrote this module because of the changing API of Slack.
      Until now, the events API has not been implemented yet, so the module will not immediately refresh when a new message has been sent to the channel. It only gets new messages periodically. A guide on how to use the module can be found on github.

      I use this module to have a simple way to display messages in a house so that they can be read without having to use a smartphone.

      Feel free to try out the module and send me your feedback. If you have any ideas for new features or if you can help implement the Events-API, please contact me 🙂

      posted in Productivity
      J
      Jupter1
    • RE: MMM-GoogleDriveSlideShow

      @clegallic
      So I have tried to update node (v12.x) and voilà, now it works like a charm! Thank you for your support and this awsome module!

      posted in Entertainment
      J
      Jupter1
    • RE: MMM-GoogleDriveSlideShow

      @clegallic
      Thank you for your support. I will try to update node and see if that fixes the problem and/or if running it via ssh changes anything when I am home again next week.

      posted in Entertainment
      J
      Jupter1
    • RE: MMM-GoogleDriveSlideShow

      Hi,
      thank you for the overall looking of the JSON string. I checked it, it was not in this format. So I chose “Desktop” and now I got a credentials.json file that looks like your example. Then I tried again with a fresh module install from github. It still did not work.

      Here is the debug-log, that I get from npm. I hope you can help me with that.

      0 info it worked if it ends with ok
      1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'token:generate' ]
      2 info using npm@3.10.10
      3 info using node@v6.14.2
      4 verbose run-script [ 'pretoken:generate', 'token:generate', 'posttoken:generate' ]
      5 info lifecycle mmm-googledriveslideshow@0.0.1~pretoken:generate: mmm-googledriveslideshow@0.0.1
      6 silly lifecycle mmm-googledriveslideshow@0.0.1~pretoken:generate: no script for pretoken:generate, continuing
      7 info lifecycle mmm-googledriveslideshow@0.0.1~token:generate: mmm-googledriveslideshow@0.0.1
      8 verbose lifecycle mmm-googledriveslideshow@0.0.1~token:generate: unsafe-perm in lifecycle true
      9 verbose lifecycle mmm-googledriveslideshow@0.0.1~token:generate: PATH: /usr/lib/node_modules/npm/bin/node-gyp-bin:/home/pi/MagicMirror/modules/MMM-GoogleDriveSlideShow/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
      10 verbose lifecycle mmm-googledriveslideshow@0.0.1~token:generate: CWD: /home/pi/MagicMirror/modules/MMM-GoogleDriveSlideShow
      11 silly lifecycle mmm-googledriveslideshow@0.0.1~token:generate: Args: [ '-c', 'node generate-auth-token.js' ]
      12 silly lifecycle mmm-googledriveslideshow@0.0.1~token:generate: Returned: code: 1  signal: null
      13 info lifecycle mmm-googledriveslideshow@0.0.1~token:generate: Failed to exec token:generate script
      14 verbose stack Error: mmm-googledriveslideshow@0.0.1 token:generate: `node generate-auth-token.js`
      14 verbose stack Exit status 1
      14 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/lib/utils/lifecycle.js:255:16)
      14 verbose stack     at emitTwo (events.js:106:13)
      14 verbose stack     at EventEmitter.emit (events.js:191:7)
      14 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/lib/utils/spawn.js:40:14)
      14 verbose stack     at emitTwo (events.js:106:13)
      14 verbose stack     at ChildProcess.emit (events.js:191:7)
      14 verbose stack     at maybeClose (internal/child_process.js:920:16)
      14 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:230:5)
      15 verbose pkgid mmm-googledriveslideshow@0.0.1
      16 verbose cwd /home/pi/MagicMirror/modules/MMM-GoogleDriveSlideShow
      17 error Linux 4.19.66-v7+
      18 error argv "/usr/bin/node" "/usr/bin/npm" "run" "token:generate"
      19 error node v6.14.2
      20 error npm  v3.10.10
      21 error code ELIFECYCLE
      22 error mmm-googledriveslideshow@0.0.1 token:generate: `node generate-auth-token.js`
      22 error Exit status 1
      23 error Failed at the mmm-googledriveslideshow@0.0.1 token:generate script 'node generate-auth-token.js'.
      23 error Make sure you have the latest version of node.js and npm installed.
      23 error If you do, this is most likely a problem with the mmm-googledriveslideshow package,
      23 error not with npm itself.
      23 error Tell the author that this fails on your system:
      23 error     node generate-auth-token.js
      23 error You can get information on how to open an issue for this project with:
      23 error     npm bugs mmm-googledriveslideshow
      23 error Or if that isn't available, you can get their info via:
      23 error     npm owner ls mmm-googledriveslideshow
      23 error There is likely additional logging output above.
      24 verbose exit [ 1, true ]
      
      
      posted in Entertainment
      J
      Jupter1
    • RE: MMM-GoogleDriveSlideShow

      Hi,
      first of all, I really like the ideaof the module. But I am currently stuck at creating the authentification with google and then the token. In step 7 of your readme, I have no “other” option to choose, so I chose “web application”. But in step 9 (using VNC to access the magic mirror), the authentification fails.

      Do you have any idea what is my mistake?

      posted in Entertainment
      J
      Jupter1