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

    Posts

    Recent Best Controversial
    • RE: MMM-Soccer - Standings, Schedules and Top Scorers

      @strawberry-3-141 said in MMM-Soccer - Standings, Schedules and Top Scorers:

      @matze86 I’m not exactly sure what you want. Do you want to show only one single player or only the top scorer view?

      I want to Show the top 10 scorer of the league for example

      posted in Sport
      M
      matze86
    • RE: MMM-Soccer - Standings, Schedules and Top Scorers

      @strawberry-3-141
      Nice work 👍🏻

      Is ist possible to add a config value that it shows only the top scorer?

      Another idea is that the module shows the Player List from the focussed Team with some stats (played Games, goals, assists, cards,…),

      posted in Sport
      M
      matze86
    • RE: MMM-soccer v2

      @lavolp3

      thx. now i’ll come closer to a perfect overview :thumbs_up:

      posted in Sport
      M
      matze86
    • RE: MMM-soccer v2

      @lavolp3

      Allright… Too Bad…

      Here you can see my momentary Soccer Dashboard. I copied your module three times with different configs.
      But i‘m Not statisfied with the Symbols of fontawesome. Are there other Styles possible?
      I think the api also does Not give the Information about the time of Match?

      posted in Sport
      M
      matze86
    • RE: MMM-soccer v2

      @lavolp3

      Great! I‘ll Update the Module soon

      Maybe with a different colour for the Position?

      posted in Sport
      M
      matze86
    • RE: MMM-soccer v2

      @lavolp3

      On monday it still displayed the last Game with „Index“
      Today it works as you described. So this is the best Solution (for me)
      next

      Other Topic:
      league

      When will the matchday in „league“ change to the next?

      Is it possible to add More columns to the table like this? Or to add up/down arrows? Or to add further Information like CL-Position/EL-Position and so on?

      posted in Sport
      M
      matze86
    • RE: MMM-soccer v2

      @lavolp3

      i changed it to “+ 1”, because with with i = index it will still display the last game. Or when will the module update the game list? i think on the next matchday?

      posted in Sport
      M
      matze86
    • RE: MMM-soccer v2

      @lavolp3
      I fixed it by my own

      I can send you the css of you want

      Is ist possible to delete the last games of my team?

      I only found a Solution to reduce it from 3 to 2 , by editing line 247 (changing the number in bracktes), but each other Number than 3 will only reduce it to 2 Games

      posted in Sport
      M
      matze86
    • RE: MMM-soccer v2

      @lavolp3

      It worked! Very nice! Thx a lot👍🏻

      Now i‘m „fighting“ with the css and the alignment in the table. See the picture for more Details

      posted in Sport
      M
      matze86
    • RE: Can't install MMM-Navigate

      @sdetweil

      now i reinstalled raspberry os and still got the same error…

      [19.03.2021 23:16.00.366] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: The module '/home/pi/MagicMirror/modules/MMM-Navigate/node_modules/epoll/build/Release/epoll.node'
      was compiled against a different Node.js version using
      NODE_MODULE_VERSION 76. This version of Node.js requires
      NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
      the module (for instance, using `npm rebuild` or `npm install`).
      [19.03.2021 23:16.00.367] [LOG]   Loading module helpers ...
      [19.03.2021 23:16.00.368] [LOG]   No helper found for module: alert.
      [19.03.2021 23:16.00.368] [LOG]   Initializing new module helper ...
      [19.03.2021 23:16.00.369] [LOG]   Module helper loaded: updatenotification
      [19.03.2021 23:16.00.370] [LOG]   No helper found for module: clock.
      [19.03.2021 23:16.00.374] [ERROR] Whoops! There was an uncaught exception...
      [19.03.2021 23:16.00.378] [ERROR] Error: The module '/home/pi/MagicMirror/modules/MMM-Navigate/node_modules/epoll/build/Release/epoll.node'
      was compiled against a different Node.js version using
      NODE_MODULE_VERSION 76. This version of Node.js requires
      NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
      the module (for instance, using `npm rebuild` or `npm install`).
          at Object.Module._extensions..node (internal/modules/cjs/loader.js:807:18)
          at Module.load (internal/modules/cjs/loader.js:653:32)
          at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
          at Function.Module._load (internal/modules/cjs/loader.js:585:3)
          at Module.require (internal/modules/cjs/loader.js:692:17)
          at require (internal/modules/cjs/helpers.js:25:18)
          at bindings (/home/pi/MagicMirror/modules/MMM-Navigate/node_modules/bindings/bindings.js:112:48)
          at module.exports._ (/home/pi/MagicMirror/modules/MMM-Navigate/node_modules/epoll/epoll.js:7:31)
          at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Navigate/node_modules/epoll/epoll.js:15:3)
          at Module._compile (internal/modules/cjs/loader.js:778:30)
      [19.03.2021 23:16.00.379] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      [19.03.2021 23:16.00.380] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      
      
      posted in Troubleshooting
      M
      matze86
    • RE: MMM-soccer v2

      i saw, that the focus for table was not found. thats correct. it is only highlighted in the current matchday…

      posted in Sport
      M
      matze86
    • RE: MMM-soccer v2

      @lavolp3

      here is the output from the console

      MMM-soccer: "received a Socket Notification: MATCHES"
      MMM-soccer.js:432 MMM-soccer: "Calculating Team Display Boundaries"
      MMM-soccer.js:432 MMM-soccer: "Focus on Team"
      MMM-soccer.js:432 MMM-soccer: "Finding focus team for table..."
      MMM-soccer.js:432 MMM-soccer: "Focus Team found: FC Bayern München"
      MMM-soccer.js:432 MMM-soccer: "No Focus Team found! Please check your entry!"
      ReferenceError: numberOfNextMatches is not defined
          at Class.prepareMatches (MMM-soccer.js:232)
          at Class.getTemplateData (MMM-soccer.js:182)
          at module.js:89
          at new Promise (<anonymous>)
          at Class.getDom (module.js:86)
          at main.js:114
          at new Promise (<anonymous>)
          at updateDom (main.js:113)
          at Object.updateDom (main.js:551)
          at Class.updateDom (module.js:364)
      

      Why did it say, that no focus team has found? It is highlighted in “league mode”
      Furthermore i did not edit the MMM-soccer.js. so i don’t have any idea, why numberOfNextMatches is not defined

      posted in Sport
      M
      matze86
    • RE: Can't install MMM-Navigate

      @sdetweil

      npm rebuild failed:

      pi@raspberrypi:~/MagicMirror/modules/MMM-Navigate $ npm rebuild
      npm ERR! code 1
      npm ERR! path /home/pi/MagicMirror/modules/MMM-Navigate/node_modules/epoll
      npm ERR! command failed
      npm ERR! command sh -c node-gyp rebuild
      npm ERR! gyp info it worked if it ends with ok
      npm ERR! gyp info using node-gyp@7.1.2
      npm ERR! gyp info using node@14.16.0 | linux | arm
      npm ERR! gyp info find Python using Python version 3.7.3 found at "/usr/bin/python3"
      npm ERR! gyp info spawn /usr/bin/python3
      npm ERR! gyp info spawn args [
      npm ERR! gyp info spawn args   '/home/pi/MagicMirror/modules/MMM-Navigate/node_modules/node-gyp/gyp/gyp_main.py',
      npm ERR! gyp info spawn args   'binding.gyp',
      npm ERR! gyp info spawn args   '-f',
      npm ERR! gyp info spawn args   'make',
      npm ERR! gyp info spawn args   '-I',
      npm ERR! gyp info spawn args   '/home/pi/MagicMirror/modules/MMM-Navigate/node_modules/epoll/build/config.gypi',
      npm ERR! gyp info spawn args   '-I',
      npm ERR! gyp info spawn args   '/home/pi/MagicMirror/modules/MMM-Navigate/node_modules/node-gyp/addon.gypi',
      npm ERR! gyp info spawn args   '-I',
      npm ERR! gyp info spawn args   '/home/pi/.cache/node-gyp/14.16.0/include/node/common.gypi',
      npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
      npm ERR! gyp info spawn args   '-Dvisibility=default',
      npm ERR! gyp info spawn args   '-Dnode_root_dir=/home/pi/.cache/node-gyp/14.16.0',
      npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/home/pi/MagicMirror/modules/MMM-Navigate/node_modules/node-gyp',
      npm ERR! gyp info spawn args   '-Dnode_lib_file=/home/pi/.cache/node-gyp/14.16.0/<(target_arch)/node.lib',
      npm ERR! gyp info spawn args   '-Dmodule_root_dir=/home/pi/MagicMirror/modules/MMM-Navigate/node_modules/epoll',
      npm ERR! gyp info spawn args   '-Dnode_engine=v8',
      npm ERR! gyp info spawn args   '--depth=.',
      npm ERR! gyp info spawn args   '--no-parallel',
      npm ERR! gyp info spawn args   '--generator-output',
      npm ERR! gyp info spawn args   'build',
      npm ERR! gyp info spawn args   '-Goutput_dir=.'
      npm ERR! gyp info spawn args ]
      npm ERR! gyp ERR! build error 
      npm ERR! gyp ERR! stack Error: You must run `node-gyp configure` first!
      npm ERR! gyp ERR! stack     at ReadFileContext.<anonymous> (/home/pi/MagicMirror/modules/MMM-Navigate/node_modules/node-gyp/lib/build.js:43:20)
      npm ERR! gyp ERR! stack     at ReadFileContext.callback (/home/pi/MagicMirror/modules/MMM-Navigate/node_modules/graceful-fs/graceful-fs.js:123:16)
      npm ERR! gyp ERR! stack     at FSReqCallback.readFileAfterOpen [as oncomplete] (fs.js:273:13)
      npm ERR! gyp ERR! System Linux 5.10.11-v7l+
      npm ERR! gyp ERR! command "/usr/local/bin/node" "/home/pi/MagicMirror/modules/MMM-Navigate/node_modules/.bin/node-gyp" "rebuild"
      npm ERR! gyp ERR! cwd /home/pi/MagicMirror/modules/MMM-Navigate/node_modules/epoll
      npm ERR! gyp ERR! node -v v14.16.0
      npm ERR! gyp ERR! node-gyp -v v7.1.2
      npm ERR! gyp ERR! not ok
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2021-03-17T21_03_25_216Z-debug.log
      
      

      i tried with npm install (a second time), but this doesn’t change anything

      posted in Troubleshooting
      M
      matze86
    • RE: Can't install MMM-Navigate

      @sdetweil

      I tried to start my Mirror in server mode and than i got this error:

      [17.03.2021 20:17.36.506] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: The module '/home/pi/MagicMirror/modules/MMM-Navigate/node_modules/epoll/build/Release/epoll.node'
      was compiled against a different Node.js version using
      NODE_MODULE_VERSION 76. This version of Node.js requires
      NODE_MODULE_VERSION 83. Please try re-compiling or re-installing
      the module (for instance, using `npm rebuild` or `npm install`).
      [17.03.2021 20:17.36.508] [LOG]   Loading module helpers ...
      [17.03.2021 20:17.36.509] [LOG]   No helper found for module: alert.
      [17.03.2021 20:17.36.510] [LOG]   Initializing new module helper ...
      [17.03.2021 20:17.36.510] [LOG]   Module helper loaded: updatenotification
      [17.03.2021 20:17.36.511] [LOG]   No helper found for module: clock.
      [17.03.2021 20:17.36.517] [ERROR] Whoops! There was an uncaught exception...
      [17.03.2021 20:17.36.522] [ERROR] Error: The module '/home/pi/MagicMirror/modules/MMM-Navigate/node_modules/epoll/build/Release/epoll.node'
      was compiled against a different Node.js version using
      NODE_MODULE_VERSION 76. This version of Node.js requires
      NODE_MODULE_VERSION 83. Please try re-compiling or re-installing
      the module (for instance, using `npm rebuild` or `npm install`).
          at Object.Module._extensions..node (internal/modules/cjs/loader.js:1122:18)
          at Module.load (internal/modules/cjs/loader.js:928:32)
          at Function.Module._load (internal/modules/cjs/loader.js:769:14)
          at Module.require (internal/modules/cjs/loader.js:952:19)
          at require (internal/modules/cjs/helpers.js:88:18)
          at bindings (/home/pi/MagicMirror/modules/MMM-Navigate/node_modules/bindings/bindings.js:112:48)
          at /home/pi/MagicMirror/modules/MMM-Navigate/node_modules/epoll/epoll.js:7:31
          at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Navigate/node_modules/epoll/epoll.js:15:3)
          at Module._compile (internal/modules/cjs/loader.js:1063:30)
          at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
      [17.03.2021 20:17.36.525] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      [17.03.2021 20:17.36.526] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      

      in “non-server-mode” it works very well.

      i reinstalled the module , npm, node.js, electron, but it still doesn’t work

      Any idea?

      posted in Troubleshooting
      M
      matze86
    • RE: MMM-soccer v2

      @lavolp3
      i tried to start my mirror n server mode, but than i got these errors…

      17.03.2021 20:05.53.544] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: The module '/home/pi/MagicMirror/modules/MMM-Navigate/node_modules/epoll/build/Release/epoll.node'
      was compiled against a different Node.js version using
      NODE_MODULE_VERSION 76. This version of Node.js requires
      NODE_MODULE_VERSION 83. Please try re-compiling or re-installing
      the module (for instance, using `npm rebuild` or `npm install`).
      [17.03.2021 20:05.53.547] [LOG]   Loading module helpers ...
      [17.03.2021 20:05.53.550] [LOG]   No helper found for module: alert.
      [17.03.2021 20:05.53.551] [LOG]   Initializing new module helper ...
      [17.03.2021 20:05.53.551] [LOG]   Module helper loaded: updatenotification
      [17.03.2021 20:05.53.552] [LOG]   No helper found for module: clock.
      [17.03.2021 20:05.53.558] [ERROR] Whoops! There was an uncaught exception...
      [17.03.2021 20:05.53.563] [ERROR] Error: The module '/home/pi/MagicMirror/modules/MMM-Navigate/node_modules/epoll/build/Release/epoll.node'
      was compiled against a different Node.js version using
      NODE_MODULE_VERSION 76. This version of Node.js requires
      NODE_MODULE_VERSION 83. Please try re-compiling or re-installing
      the module (for instance, using `npm rebuild` or `npm install`).
          at Object.Module._extensions..node (internal/modules/cjs/loader.js:1122:18)
          at Module.load (internal/modules/cjs/loader.js:928:32)
          at Function.Module._load (internal/modules/cjs/loader.js:769:14)
          at Module.require (internal/modules/cjs/loader.js:952:19)
          at require (internal/modules/cjs/helpers.js:88:18)
          at bindings (/home/pi/MagicMirror/modules/MMM-Navigate/node_modules/bindings/bindings.js:112:48)
          at /home/pi/MagicMirror/modules/MMM-Navigate/node_modules/epoll/epoll.js:7:31
          at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Navigate/node_modules/epoll/epoll.js:15:3)
          at Module._compile (internal/modules/cjs/loader.js:1063:30)
          at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
      
      

      i reinstalled in the following order:
      the module “navigate”, npm, node.js, mirror software,
      but it doen’t change anything. i have to check this before i can try further…

      with npm run start the mirror works well…

      posted in Sport
      M
      matze86
    • RE: MMM-soccer v2

      Hey @lavolp3

      I want to show the next matches of my team and this doesn’t work.
      If I change ‘league’ to ‘next’ (or ‘daily’) the screen displays only the header of the league table ("teams, games & goal difference).

      focus_on in combination with " matchtype: ‘league’ " works. My team is highlighted. (see the first config):

      {
          module: 'MMM-soccer',
          position: 'top_right',
          config: {
             api_key: 'my api',
             show: ['BL1'],
             colored: true,	
             focus_on: {
      	     'BL1': 'FC Bayern München',
             },
             matchType: 'league'
         }
      },
      		    	
      

      here is my “next” config of this module, which doesn’t work.

      {
          module: 'MMM-soccer',
          position: 'top_right',
          config: {
             api_key: 'my api',
             show: ['BL1'],
             colored: true,	
             focus_on: {
      	     'BL1': 'FC Bayern München',
             },
             matchType: 'next',
             numberOfNextMatches: 5
         }
      },
      
      posted in Sport
      M
      matze86
    • RE: MMM-KeyBindings: Control your mirror with Amazon Fire Stick Remote and Generic Keyboard Inputs

      @mr-gysy

      I‘ve got a similar issue with a similar remote

      Did you solve your problem?

      In my case the keys (KEY_PAGEUP & DOWN & BACKSPACE) don‘t work.
      I changed the evdev path. I added them to „handleKeys“. I added them to „keyMap“.

      I can see them in „evtest“ working- KeyCode 104 & 109 & 14

      But in „viewnotifications“ they are not displayed

      The other keys are working with keybindings & carousel.
      But i need two more keys xD

      posted in Utilities
      M
      matze86
    • RE: Controlling Magic Mirror from Alexa

      Very nice!

      Can you tell More about your project?
      I want to build the same feature with Alexa. How do you implement this?

      posted in Show your Mirror
      M
      matze86
    • RE: MMM-Timetable

      Hey,
      this module is really awesome!

      I want to change the style of title. In your example " title: “Slytherin 2nd Year”,", but i don’t know where to find it in the css.

      #TTABLE .header changes the weekdays
      #TTABLE .title changes the name of the lessons

      thx in advance

      posted in Productivity
      M
      matze86
    • RE: MMM-Celebrations [german only!]

      @KamiSchami said in MMM-Celebrations [german only!]:

      @matze86 https://github.com/lavolp3/MMM-Celebrations

      Dank dir!

      posted in Entertainment
      M
      matze86
    • 1
    • 2
    • 1 / 2