MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. MarcLandis
    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 1
    • Posts 50
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: Are you tired of editing config.js, or have trouble doing it, see my new module

      @MarcLandis said in Are you tired of editing config.js, or have trouble doing it, see my new module:

      @sdetweil

      throws an error:

      /home/dirk/MagicMirror/modules/MMM-Config/scripts/buildschema4.js:750
      if(module_scripts[m.module] !== undefined ){
      ^

      @sdetweil

      fixed it myself but ran into the next exception:

      calling module data converter script for module=compliments
      /home/dirk/MagicMirror/modules/MMM-Config/schemas/compliments_converter.js:24
      		Object.keys(config_data.compliments).forEach(c =>{
      		                        ^
      
      TypeError: Cannot read properties of undefined (reading 'compliments')
          at Object.converter (/home/dirk/MagicMirror/modules/MMM-Config/schemas/compliments_converter.js:24:27)
          at /home/dirk/MagicMirror/modules/MMM-Config/scripts/buildschema4.js:754:49
      
      posted in Utilities
      M
      MarcLandis
    • RE: Are you tired of editing config.js, or have trouble doing it, see my new module

      @sdetweil

      throws an error:

      /home/dirk/MagicMirror/modules/MMM-Config/scripts/buildschema4.js:750
      if(module_scripts[m.module] !== undefined ){
      ^

      posted in Utilities
      M
      MarcLandis
    • RE: Are you tired of editing config.js, or have trouble doing it, see my new module

      @sdetweil I created a new issue on github and uploaded the file after removing some sensitive information.

      posted in Utilities
      M
      MarcLandis
    • RE: Unable to install MagicMirror

      @sdetweil duh - I didn’t see that I can scroll down the error message

      posted in Troubleshooting
      M
      MarcLandis
    • RE: Are you tired of editing config.js, or have trouble doing it, see my new module

      @sdetweil

      -rw-r–r-- 1 dirk dirk 2882 Sep 13 15:23 compliments_converter.js
      -rw-r–r-- 1 dirk dirk 381 Sep 13 15:23 compliments_extension.css
      -rw-r–r-- 1 dirk dirk 1980 Sep 13 15:23 compliments_extension.js
      -rw-r–r-- 1 dirk dirk 9006 Sep 13 15:23 compliments.schema.json

      I just did a fresh install of the module, to test something myself

      posted in Utilities
      M
      MarcLandis
    • RE: Unable to install MagicMirror

      @Klinge your vlc installation is broken. This causes the installation of MagicMirror to fail.

      Try the following:

      sudo apt remove vlc
      sudo apt install vlc
      
      posted in Troubleshooting
      M
      MarcLandis
    • RE: Are you tired of editing config.js, or have trouble doing it, see my new module

      @sdetweil I get the same blank page and the reason is that it errors on buildschema4.js.

      1|MagicMirror² | SyntaxError: Unexpected token ‘:’, …“^^-01-01”::[“Happy n”… is not valid JSON
      1|MagicMirror² | at JSON.parse ()
      1|MagicMirror² | at Object. (/home/dirk/MagicMirror/modules/MMM-Config/scripts/buildschema4.js:1173:14)
      1|MagicMirror² | at Module._compile (node:internal/modules/cjs/loader:1546:14)
      1|MagicMirror² | at Module._extensions…js (node:internal/modules/cjs/loader:1691:10)
      1|MagicMirror² | at Module.load (node:internal/modules/cjs/loader:1317:32)
      1|MagicMirror² | at Module._load (node:internal/modules/cjs/loader:1127:12)
      1|MagicMirror² | at TracingChannel.traceSync (node:diagnostics_channel:315:14)
      1|MagicMirror² | at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
      1|MagicMirror² | at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:166:5)
      1|MagicMirror² | at node:internal/main/run_main_module:30:49

      The reason is the compliments module:

      compliments: {
      anytime: [“Hey there sexy!”],
      morning: [“Good morning, handsome!”, “Enjoy your day!”, “How was your sleep?”],
      afternoon: [“Hello, beauty!”, “You look sexy!”, “Looking good today!”],
      evening: [“Wow, you look hot!”, “You look nice!”, “Hi, sexy!”],
      “…-01-01”: [“Happy new year!”]
      },

      posted in Utilities
      M
      MarcLandis
    • RE: OpenWeatherForecast (API-Key)

      @Sceetch it is under https://home.openweathermap.org/statistics/onecall_30

      posted in Troubleshooting
      M
      MarcLandis
    • RE: MMM-Pir issues since latest updates

      @eyesallin This has been quicly fixed in the python-gpiozero package and the workaround is not needed anymore.

      posted in Troubleshooting
      M
      MarcLandis
    • RE: MMM-Pir issues since latest updates

      @eyesallin this is an issue with the latest RPi5 kernel. Until a fix is available a workaround is the following command:

      sudo ln -s /dev/gpiochip0 /dev/gpiochip4
      

      More info about it:

      https://raspberrypi.stackexchange.com/questions/148946/lgpio-can-not-open-gpiochip-lgpio-seems-unable-to-open-gpiochip-devices

      https://github.com/gpiozero/gpiozero/issues/1166

      posted in Troubleshooting
      M
      MarcLandis
    • 1
    • 2
    • 3
    • 4
    • 5
    • 5 / 5