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

    Posts

    Recent Best Controversial
    • MMM-GoogleDriveSlideShow npm-install shows no progress

      Hello , I would like to user this module, https://github.com/clegallic/MMM-GoogleDriveSlideShow

      It was fine for git clone operation, after that I tried to jump second step for “npm install” but it’s waiting 20 minutes, no progress.

      The screen was just like that :

      PS C:\Users\Emrah Aslan\D...\modules\MMM-GoogleDriveSlideShow> npm install
      [ .................] \ fetchMetadata: sill pacote range manifest for debug@4 fetched in 106ms
      

      BTW I created credential.json file and put under secret folder.

      I believe without that , I couldn’t run

      cd ~/MagicMirror/modules/MMM-GooglePhotos
      node generate_token.js

      PS C:\modules\MMM-GoogleDriveSlideShow> node generate-auth-token.js
      internal/modules/cjs/loader.js:968
        throw err;
        ^
      
      Error: Cannot find module 'googleapis'
      Require stack:
      - C:\modules\MMM-GoogleDriveSlideShow\generate-auth-token.js
      ?[90m    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)?[39m
      ?[90m    at Function.Module._load (internal/modules/cjs/loader.js:841:27)?[39m
      ?[90m    at Module.require (internal/modules/cjs/loader.js:1025:19)?[39m
      ?[90m    at require (internal/modules/cjs/helpers.js:72:18)?[39m
          at Object.<anonymous> (C:\Users\Emrah Aslan\Desktop\arneca\SmartWall\smartwall\modules\MMM-GoogleDriveSlideShow\generate-auth-token.js:3:18)
      ?[90m    at Module._compile (internal/modules/cjs/loader.js:1137:30)?[39m
      ?[90m    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)?[39m
      ?[90m    at Module.load (internal/modules/cjs/loader.js:985:32)?[39m
      ?[90m    at Function.Module._load (internal/modules/cjs/loader.js:878:14)?[39m
      ?[90m    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)?[39m {
        code: ?[32m'MODULE_NOT_FOUND'?[39m,
        requireStack: [
          ?[32m'C:\\Users\\Emrah Aslan\\Desktop\\arneca\\SmartWall\\smartwall\\modules\\MMM-GoogleDriveSlideShow\\generate-auth-token.js'?[39m
        ]
      }
      

      Guys, Please help me on this.

      posted in Troubleshooting
      E
      emrah_asl
    • RE: MMM-MP3Player (remade asimhsidd's player)

      Hi, How can I enable mp3 player only between 3 hours in a day ?

      05.00 AM - 08.00 AM

      posted in Entertainment
      E
      emrah_asl
    • MMM-Snow with weather situation

      Hi, I love that module , But I want to customize it depending on weather situation.

      Is It possible to run this module only if current weather is snowy ?

      https://github.com/MichMich/MMM-Snow

      posted in Entertainment
      E
      emrah_asl
    • RE: MMM-TomTomTraffic

      Hi, I’m trouble about that module.

      It’s works with Tom Tom and MapBox ApiKey, but when I wait up to 20 minutes, all the green lines and traffic ticks has removed.

      {
      		module: "MMM-TomTomTraffic",
      		header: "YOGUNLUK HARİTASI",
      		position: "bottom_left",
      		config: {
      		  location: [41.02905572019998,29.04429195055218],
      		  size: 320,
      		  zoomLevel: 12,
      		  tomtom: {
      			apiToken: "tom tom token",
      			thickness: 2,
      		  },
      		  mapbox: {
      			apiToken: "pk.mapbpx token",
      			mapId: "mapbox/light-v10"
      		  }
      		}
      	  }
      

      First Run :

      first.PNG

      —Running-- I did’nt touch.

      After 20 minutes later :

      20m.PNG

      posted in Transport
      E
      emrah_asl
    • RE: npm start problem ELIFECYCLE

      Yes, thank you very much for your small adjustment.

      posted in Troubleshooting
      E
      emrah_asl
    • RE: npm start problem ELIFECYCLE

      @sdetweil said in npm start problem ELIFECYCLE:

      cd MagicMirror
      cd vendor
      npm install
      cd …\fonts
      npm install
      cd …

      Sorry, the same Issue. I tried fix this, doe not sleep 25 hours. but no result ?

      I have also Internet Information server, is this something relaeted with this ?

      5753ce5f-4096-4dde-bab1-82231c278ff5-image.png

      Please help me and we may make zoom meeting.

      Config Js:

      76ea4039-70e8-41c1-8324-a390e11c865d-image.png

      package.json

      5c0ec4a4-1d6d-4cf7-9822-80f132eb21ed-image.png

      localhost via browser

      93b0f99b-5c65-4db9-9d10-c7af98e4a8ec-image.png

      posted in Troubleshooting
      E
      emrah_asl
    • npm start problem ELIFECYCLE

      Hi Guys,

      I’m trying to work MagicMirror on my Windows 10
      I did try all way , (cpm clear cache, npm install, eletcron install, deletenode_modeules directory, and re-install, delete package.json.lock etc)
      But when I call npm start server (or only npm start)
      It shows :

      magicmirror@2.12.0 start C:\Users\Emrah Aslan\Desktop\SmartWall\smartwall
      DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js “server”

      ‘DISPLAY’ is not recognized as an internal or external command,
      operable program or batch file.
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! magicmirror@2.12.0 start: DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js "server"
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the magicmirror@2.12.0 start script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

      npm ERR! A complete log of this run can be found in:
      npm ERR! C:\Users\Emrah Aslan\AppData\Roaming\npm-cache_logs\2020-09-05T00_05_52_349Z-debug.log

      How can I run this, on my browser ? I need your supervisor

      posted in Troubleshooting
      E
      emrah_asl
    • RE: MMM-MP3Player

      Hi, How can I enable mp3 player only between 3 hours in a day ?

      05.00 AM - 08.00 AM

      posted in Entertainment
      E
      emrah_asl
    • RE: MMM-AdminPanel get problem

      Hi @sdetweil

      Yeah you right again ! When I leave blanks ipWhitelist, It is works.

      Bu interesting, what should do coorect restrictons about this point.

      I’m connecting my rpi over VNC servier with 192.168.0.29 in my windows.

      posted in Utilities
      E
      emrah_asl
    • RE: MMM-AdminPanel get problem

      @sdetweil said in MMM-AdminPanel get problem:

      http://localhost:8080/MMM-Admin-Interface/

      //where do you do this from?

      answe is, I’m writing inside raspberry 4b browser

      posted in Utilities
      E
      emrah_asl
    • MMM-Carousel enable keypad issue

      Hello Seniors,

      MMM-Carousel , MMM-Carousel 2 and https://github.com/shbatm/MMM-KeyBindings

      I set following lines but left and right keypads are not working, do you need addtaional setup for enable keypads,

      I was thinking to setup joysitck for my mirror.

      { module: 'MMM-KeyBindings', config: { enableKeyboard: true } },
      
      { module: 'MMM-Carousel', position: 'bottom_bar', // Required only for navigation controls
       config: { 
      transitionInterval: 10000,
       ignoreModules: [], mode: 'slides', 
      showPageIndicators: true, 
      showPageControls: true, 
      slides: [
       ["calendar","MMM-KeyBindings"], 
      ["newsfeed","MMM-KeyBindings"], 
      ["MMM-KeyBindings"]
       ],
       keyBindingsMode: "DEFAULT",
       keyBindings: { 
      NextSlide: "ArrowRight", 
      PrevSlide: "ArrowLeft",
       Slide0: "Home" }
       } 
      },
      
      posted in Utilities
      E
      emrah_asl
    • RE: MMM-AdminPanel get problem

      @emrah_asl said in MMM-AdminPanel get problem:

      When i try in over browser
      http://localhost:8080/MMM-Admin-Interface/

      Hi, I’m doing this inside my raspberry browser.

      http://localhost:8080/

      is working for MM.

      192.168.0.29 is my rpi internal ip which means i connect via VNC server

      posted in Utilities
      E
      emrah_asl
    • MMM-AdminPanel get problem

      Hello, I applied all steps and follow ipWhiteList rules.

      https://github.com/ItayXD/MMM-Admin-Interface![alt text](![image url](![image url](image url)))

      When i try in over browser

      http://localhost:8080/MMM-Admin-Interface/

      It says with white screen

      Cannot GET /MMM-Admin-Interface/

      1- git clone projects
      2- adding module in config js

      `{
      module: “MMM-Admin-Interface”
      },

      3- My internal Ip is 192.168.0.29

      ipWhitelist: [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, “192.168.0.29” , “::ffff:192.168.0.29”], // Set [] to allow all IP addresses bla bla

      Thanks for helping me, what is the point here?

      posted in Utilities
      E
      emrah_asl
    • RE: I can not change module name for MMM-JsonTable

      @sdetweil

      You absolutely right , there is no error it takes time, when I wait 5 minutes it worked properly.

      Now I have go back my other problem (remotefile.json) thanks @sdetweil ! I will create another post

      posted in Troubleshooting
      E
      emrah_asl
    • I can not change module name for MMM-JsonTable

      Hi everyone, I insttaled that module , it works fine thanks for author.

      But I need to change module name from “MMM-JsonTable” to “MMMJsonTestKits”

      I foloowed that steps but couldnt get it, after changes module says “awaiting data” but when i revert changes , that works fine,

      Changed config array module
      `{
      module: ‘MMMJsonTestKits’,
      position: ‘bottom_left’,
      header: ‘Test Result’,
      config: {
      url: ‘https://spreadsheets.google.com/feeds/list/1dVwsdP3K49XGTaixhTTzuybEz4nFubtQzB_Qa32c4ZM/2/public/values?alt=json’,
      arrayName: ‘entry’

      }
      2- changed /module directory name to `MMMJsonTestKits
      3- Change Js name to “MMMJsonTestKits.js”
      4- Inside the Js, changed register module name to “MMMJsonTestKits”

      Module.register(“MMMJsonTestKits”, {

      I 'didn’t touch node_helper.js send and get socket labels.

      when I run the code , it didn’t work. (show loading)

      What is wrong with me guys?

      posted in Troubleshooting
      E
      emrah_asl
    • RE: Updating Compliments using a spreadsheet

      Hi @sdetweil ,

      Thanks for reply.

      my code in node_helper.js (under compliments folder) are creating file on root normally when you start mm with npm start

      The problems are,
      1 - I need to change save folder not root side, it needs to be under compliements folder, so I change this but not works

       var fs = require('fs');
              fs.writeFile("modules/default/compliments/remotefile.json", compliments, function(err) {
                  if (err) {
                      return console.log(err);
                  }
      
                  console.log("The file was saved!");
              });
      
      1. The second problem , my magic mirror fires electron.js error when I try to create file. I’m new on these, how can i use mm.sh for create&locate remotefile.json under compliments folder ?
      posted in Development
      E
      emrah_asl
    • RE: Updating Compliments using a spreadsheet

      @sdetweil so, what is formula to run this ? what do you think acording your experience ?

      posted in Development
      E
      emrah_asl
    • RE: Updating Compliments using a spreadsheet

      @sdetweil after I created node__helper.js manually, then I typed ‘npm start’ , the file has created, bu this time there was electron error (MM closed) interesting.

      posted in Development
      E
      emrah_asl
    • RE: Updating Compliments using a spreadsheet

      Hi @sdetweil thanks I missed up

      , so what should I customize compliment.js ?

      Here is my change on compliement.js

      remoteFile: "remotefile.json",
      

      I created my json link and create node_helper.js file and put my folder with these codes.

      But I think I missed somethings, it doesn’t work, and there is no file creation on folder called “remotefile.json”

      posted in Development
      E
      emrah_asl
    • RE: MMM-AlarmClock monthly recurring.

      any voice here ? :)

      posted in Utilities
      E
      emrah_asl
    • 1 / 1