MagicMirror Forum

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

    Liz

    @Liz

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

    Liz Unfollow Follow

    Latest posts made by Liz

    • MMM-Fuel - multi instances

      Cause we live close to the border with largely varying fuel prices (switzerland, austria, germany) I wanted to set up 3 instances of the MMM-Fuel module to compare prices.

      It appears to only use one (the first) of the configured providers and locations.
      The module is shown twice on my mirror, with the same stations. It rotates through both fuel types and distance sorting then starts at the first fuel type again.

      If I only use one of my configurations either one works as intended.

      Is there any way to start multipe instances?

      this is my config for two locations:

      {
      		module: "MMM-Fuel",
      		position: "top_right",
      		config: {
      			provider: "tankerkoenig",
      			api_key: "myAPiKey for tankerkönig",
      			lat: 47.791416,
      			lng: 9.882849,
      			radius: 15,
      			types: ["diesel", "e5"],
      			// all your config options, which are different than their default values
      			}
      		},
      		{
      		module: "MMM-Fuel",
      		position: "top_right",
      		config: {
      			provider: "spritpreisrechner",
      			lat: 47.2722109,
      			lng: 9.6025761,
      			radius: 5,
      			types: ["diesel", "e5"],
      			// all your config options, which are different than their default values
      			}
      		},
      
      posted in Troubleshooting
      L
      Liz
    • RE: MMM-Hue-Lights - new module for your Philips Hue lights!

      @sdetweil Thank you.

      I totally did NOT see the missing module ‘request’ right at the Beginning.
      Now the mirror starts… the module is stuck on loading but I will figure it out 😉

      posted in Utilities
      L
      Liz
    • Problem mmm-hue-lights, config file can not be loaded, check:config ok

      Hello,

      I am currently running in some problems setting up the hue-lights module.
      I accidently wiped my running mm2 installation and had to start from scratch.
      Before that it was running just fine with this module.

      If it is relevant I first pulled the module inside the “MagicMirror” folder and ran “npm run install” there.
      I then removed it again, navigated to the modules and pulled it there via git.

      I checked my hue developper account and my user is working
      I also checked the IP of my bridge because this had changed before when we had an power outage.
      I can ping the IP from my raspi.

      I already removed it from the modules folder and pulled it again via git.

      My mirror is up and running.
      As soon as I put the mmm-hue-lights module settings in the config I just get a black screen. The console gives me the following information and error messages:

      > magicmirror@2.17.1 start /home/pi/MagicMirror
      > ./run-start.sh $1
      
      [22.10.2021 10:11.05.418] [LOG]   Starting MagicMirror: v2.17.1
      [22.10.2021 10:11.05.430] [LOG]   Loading config ...
      [22.10.2021 10:11.05.443] [LOG]   Loading module helpers ...
      [22.10.2021 10:11.05.446] [LOG]   No helper found for module: alert.
      [22.10.2021 10:11.05.449] [LOG]   No helper found for module: clock.
      [22.10.2021 10:11.05.462] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'request'
      Require stack:
      - /home/pi/MagicMirror/modules/mmm-hue-lights/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
      ...
      [22.10.2021 10:11.05.464] [LOG]   Loading module helpers ...
      [22.10.2021 10:11.05.466] [LOG]   No helper found for module: alert.
      [22.10.2021 10:11.05.468] [LOG]   No helper found for module: clock.
      [22.10.2021 10:11.05.474] [ERROR] App threw an error during load
      [22.10.2021 10:11.05.480] [ERROR] Error: Cannot find module 'request'
      Require stack:
      - /home/pi/MagicMirror/modules/mmm-hue-lights/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 (internal/modules/cjs/loader.js:887:15)
          at Function.n._resolveFilename (electron/js2c/browser_init.js:257:1128)
          at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
          at Module._load (internal/modules/cjs/loader.js:732:27)
          at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
          at Module.require (internal/modules/cjs/loader.js:959:19)
          at require (internal/modules/cjs/helpers.js:88:18)
          at Object.<anonymous> (/home/pi/MagicMirror/modules/mmm-hue-lights/node_helper.js:2:15)
          at Module._compile (internal/modules/cjs/loader.js:1078:30)
          at Object.Module._extensions..js (internal/modules/cjs/loader.js:1108:10)
      [22.10.2021 10:11.05.486] [ERROR] Whoops! There was an uncaught exception...
      [22.10.2021 10:11.05.508] [ERROR] Error: Cannot find module 'request'
      Require stack:
      - /home/pi/MagicMirror/modules/mmm-hue-lights/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 (internal/modules/cjs/loader.js:887:15)
          at Function.n._resolveFilename (electron/js2c/browser_init.js:257:1128)
          at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
          at Module._load (internal/modules/cjs/loader.js:732:27)
          at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
          at Module.require (internal/modules/cjs/loader.js:959:19)
          at require (internal/modules/cjs/helpers.js:88:18)
          at Object.<anonymous> (/home/pi/MagicMirror/modules/mmm-hue-lights/node_helper.js:2:15)
          at Module._compile (internal/modules/cjs/loader.js:1078:30)
          at Object.Module._extensions..js (internal/modules/cjs/loader.js:1108:10) {
        code: 'MODULE_NOT_FOUND',
        requireStack: [
          '/home/pi/MagicMirror/modules/mmm-hue-lights/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',
          undefined
        ]
      }
      
      

      my config of the module currently looks like this (I tried working without the additional settings) at the moment only the obligatory ones IP and user:

      		{
      		module: "mmm-hue-lights",
      		position: "top_left", // pick whichever position you want
      		config: {
      			bridgeIp: "xxxxxx",
      			user: "xxxx",
      			//updateInterval: 1000,
      			//initialLoadDelay: 0,
      			//displayType: "grid",
      		////	displayFilter: ["all"],
      			//minimalGrid: true,
      			//displayMode: "lights",
      			
      			 ////... and whatever else configuration options you want to use
      			}
      		},
      
      posted in Troubleshooting
      L
      Liz
    • RE: MMM-Hue-Lights - new module for your Philips Hue lights!

      Hello,

      I am currently running in some problems setting up this module.
      I accidently wiped my running mm2 installation and had to start from scratch.
      Before that it was running just fine with this module.

      If it is relevant I first pulled the module inside the “MagicMirror” folder and ran “npm run install” there.
      I then removed it again, navigated to the modules and pulled it there via git.

      I checked my hue developper account and my user is working
      I also checked the IP of my bridge because this had changed before when we had an power outage.
      I can ping the IP from my raspi.

      I already removed it from the modules folder and pulled it again via git.

      My mirror is up and running.
      As soon as I put the mmm-hue-lights module settings in the config I just get a black screen. The console gives me the following information and error messages:

      > magicmirror@2.17.1 start /home/pi/MagicMirror
      > ./run-start.sh $1
      
      [22.10.2021 10:11.05.418] [LOG]   Starting MagicMirror: v2.17.1
      [22.10.2021 10:11.05.430] [LOG]   Loading config ...
      [22.10.2021 10:11.05.443] [LOG]   Loading module helpers ...
      [22.10.2021 10:11.05.446] [LOG]   No helper found for module: alert.
      [22.10.2021 10:11.05.449] [LOG]   No helper found for module: clock.
      [22.10.2021 10:11.05.462] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'request'
      Require stack:
      - /home/pi/MagicMirror/modules/mmm-hue-lights/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
      ...
      [22.10.2021 10:11.05.464] [LOG]   Loading module helpers ...
      [22.10.2021 10:11.05.466] [LOG]   No helper found for module: alert.
      [22.10.2021 10:11.05.468] [LOG]   No helper found for module: clock.
      [22.10.2021 10:11.05.474] [ERROR] App threw an error during load
      [22.10.2021 10:11.05.480] [ERROR] Error: Cannot find module 'request'
      Require stack:
      - /home/pi/MagicMirror/modules/mmm-hue-lights/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 (internal/modules/cjs/loader.js:887:15)
          at Function.n._resolveFilename (electron/js2c/browser_init.js:257:1128)
          at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
          at Module._load (internal/modules/cjs/loader.js:732:27)
          at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
          at Module.require (internal/modules/cjs/loader.js:959:19)
          at require (internal/modules/cjs/helpers.js:88:18)
          at Object.<anonymous> (/home/pi/MagicMirror/modules/mmm-hue-lights/node_helper.js:2:15)
          at Module._compile (internal/modules/cjs/loader.js:1078:30)
          at Object.Module._extensions..js (internal/modules/cjs/loader.js:1108:10)
      [22.10.2021 10:11.05.486] [ERROR] Whoops! There was an uncaught exception...
      [22.10.2021 10:11.05.508] [ERROR] Error: Cannot find module 'request'
      Require stack:
      - /home/pi/MagicMirror/modules/mmm-hue-lights/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 (internal/modules/cjs/loader.js:887:15)
          at Function.n._resolveFilename (electron/js2c/browser_init.js:257:1128)
          at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
          at Module._load (internal/modules/cjs/loader.js:732:27)
          at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
          at Module.require (internal/modules/cjs/loader.js:959:19)
          at require (internal/modules/cjs/helpers.js:88:18)
          at Object.<anonymous> (/home/pi/MagicMirror/modules/mmm-hue-lights/node_helper.js:2:15)
          at Module._compile (internal/modules/cjs/loader.js:1078:30)
          at Object.Module._extensions..js (internal/modules/cjs/loader.js:1108:10) {
        code: 'MODULE_NOT_FOUND',
        requireStack: [
          '/home/pi/MagicMirror/modules/mmm-hue-lights/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',
          undefined
        ]
      }
      
      

      my config of the module currently looks like this (I tried working without the additional settings) at the moment only the obligatory ones IP and user:

      		{
      		module: "mmm-hue-lights",
      		position: "top_left", // pick whichever position you want
      		config: {
      			bridgeIp: "xxxxxx",
      			user: "xxxx",
      			//updateInterval: 1000,
      			//initialLoadDelay: 0,
      			//displayType: "grid",
      		////	displayFilter: ["all"],
      			//minimalGrid: true,
      			//displayMode: "lights",
      			
      			 ////... and whatever else configuration options you want to use
      			}
      		},
      
      posted in Utilities
      L
      Liz