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

    Posts

    Recent Best Controversial
    • Time format

      Probably very simple, but how can I change the time format in the default calendar module?
      I wanted to see not only the date but also the time.
      So I added “MMM Do HH:mm” to dateFormat.
      But now it displays: sept. 1ste 23.00.
      I would like it to display: 1 sept 23.00
      Thanks!
      Peter

      posted in Troubleshooting
      P
      Peter
    • RE: [MMM-Pir] v1.1.0 -- bookworm update

      @Jalibu thanks, I will try that.
      Peter

      posted in System
      P
      Peter
    • RE: Open weather Api 3.0

      @sdetweil ok, I will see what happens when 2.5 stops working.
      Have a nice day.
      Peter

      posted in Utilities
      P
      Peter
    • RE: Open weather Api 3.0

      @sdetweil ok, I did the same, so I removed apiVersion:‘3.0’, now it works.
      But how can I see if it works on version 2.5 or version 3.0?
      And how do I recognise a version 3.0 Api key?
      On the site of Openweather I have several Api keys, but how to recognise a version 3.0?
      Peter

      posted in Utilities
      P
      Peter
    • RE: Open weather Api 3.0

      @sdetweil thanks for your help but I cannot get it working.
      Maybe somebody else has an idea how to get it working?
      Peter

      posted in Utilities
      P
      Peter
    • RE: Open weather Api 3.0

      @sdetweil what does this limited number mean?
      If I use the default settings do I stay under the limit?
      Peter

      posted in Utilities
      P
      Peter
    • RE: Open weather Api 3.0

      @sdetweil after adding the version to my config, the weather module does not start.

      {
      module: “weather”,
      position: “top_right”,
      config: {
      weatherProvider: “openweathermap”,
      apiVersion: ‘3.0’,
      type: “current”,
      location: “Apeldoorn”,
      locationID: “2759705”, //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
      apiKey: “xxxxxxxxxxxxxxxxxxxxxxxxxxkey removed”
      }
      },
      It works fine with Api 2.5, but do I need lat, lon instead of Location and Locatio ID?
      It is confusing.
      Peter

      posted in Utilities
      P
      Peter
    • Open weather Api 3.0

      Can somebody help this noob?
      I use the default weather module with Open weather provider.
      Somewhere on this forum I read that Api 2.5 will end in June, so I subscribed to Api 3.0.
      Is this free?
      They asked for creditcard numbers, I still hope this is free.
      And can somebody help me with my config; Api 3.0, lat, long , no idea how to put it in my config.
      An example of a working config with Api 3.0 would help me a lot.
      Greetings,
      Peter

      posted in Utilities
      P
      Peter
    • RE: EveryNews: need ID's for Dutch news

      @mumblebaj thank you very much for trying to help me but I think I am to much of a noob to get it working.
      The only source in NL I found was rtl-nieuws, like you said previously.
      Peter

      posted in Troubleshooting
      P
      Peter
    • RE: EveryNews: need ID's for Dutch news

      @mumblebaj Thanks for your reply, but where do I find the ID for the news sources?
      I tried several things but it did not work.
      Peter

      posted in Troubleshooting
      P
      Peter
    • EveryNews: need ID's for Dutch news

      Hi,
      I use EveryNews and I like the module.
      But how can I find more ID’s for Dutch news sources?
      I only found rtl-nieuws.
      Peter

      posted in Troubleshooting
      P
      Peter
    • RE: Auto start stops working

      @sdetweil it works!
      Thank you very much, you are great!
      Peter

      posted in Troubleshooting
      P
      Peter
    • RE: Auto start stops working

      @sdetweil I used your updatescript; problem still the same.
      MM works fine without EveryNews in the config, with EveryNews there is no autostart.

      mm@raspberrypi:~ $ bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)”
      update log will be in /home/mm/MagicMirror/installers/upgrade.log

      doing test run = true, NO updates will be applied!

      Check current Node installation …
      Node currently installed. Checking version number.
      Minimum Node version: v20.8.0
      Installed Node version: v20.8.0
      No Node.js upgrade necessary.
      Check current NPM installation …
      NPM currently installed. Checking version number.
      Minimum npm version: V10.1.0
      Installed npm version: V10.1.0
      No npm upgrade necessary.

      saving custom.css
      upgrading from version 2.26.0 to 2.27.0
      fetching latest revisions
      there are 1 local files that are different than the master repo

      package-lock.json

      any *-lock.json files do not need to be saved
      do you want to save these files for later (Y/n)?n
      skipping restore for package-lock.json, doing test run

      Checking for modules with removed libraries

      require for request in module MMM-EveryNews not found in package.json

      bypass installing request for module MMM-EveryNews , doing test run

      updating dependencies for active modules with package.json files

      processing for module MMM-Pir please wait


      skipped processing for MMM-Pir, doing test run

      processing complete for module MMM-Pir

      processing for module MMM-Buienradar please wait


      skipped processing for MMM-Buienradar, doing test run

      processing complete for module MMM-Buienradar

      processing for module MMM-EveryNews please wait


      skipped processing for MMM-EveryNews, doing test run

      processing complete for module MMM-EveryNews

      processing for module MMM-ImagesPhotos please wait


      skipped processing for MMM-ImagesPhotos, doing test run

      processing complete for module MMM-ImagesPhotos

      restoring custom.css
      mm@raspberrypi:~ $

      posted in Troubleshooting
      P
      Peter
    • RE: Auto start stops working

      @sdetweil this is what I get:

      magicmirror@2.26.0 start
      DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

      [20.04.2024 15:23.46.108] [LOG] Starting MagicMirror: v2.26.0
      [20.04.2024 15:23.46.141] [LOG] Loading config …
      [20.04.2024 15:23.46.154] [DEBUG] config template file not exists, no envsubst
      [20.04.2024 15:23.46.173] [LOG] Loading module helpers …
      [20.04.2024 15:23.46.180] [LOG] No helper found for module: alert.
      [20.04.2024 15:23.46.309] [LOG] Initializing new module helper …
      [20.04.2024 15:23.46.312] [LOG] Module helper loaded: MMM-Pir
      [20.04.2024 15:23.46.315] [LOG] No helper found for module: clock.
      [20.04.2024 15:23.46.319] [LOG] No helper found for module: calendar_monthly.
      [20.04.2024 15:23.46.848] [LOG] Initializing new module helper …
      [20.04.2024 15:23.46.851] [LOG] Module helper loaded: calendar
      [20.04.2024 15:23.46.854] [LOG] No helper found for module: weather.
      [20.04.2024 15:23.46.856] [LOG] No helper found for module: MMM-Buienradar.
      [20.04.2024 15:23.46.874] [ERROR] (node:2607) UnhandledPromiseRejectionWarning: Error: Cannot find module ‘request’
      Require stack:

      • /home/mm/MagicMirror/modules/MMM-EveryNews/node_helper.js
      • /home/mm/MagicMirror/js/app.js
      • /home/mm/MagicMirror/js/electron.js
      • /home/mm/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
      • at node:internal/modules/cjs/loader:1084:15
        at Function. (node:electron/js2c/browser_init:2:116118)
        at Module._resolveFilename (/home/mm/MagicMirror/node_modules/module-alias/index.js:49:29)
        at node:internal/modules/cjs/loader:929:27
        at Function._load (node:electron/js2c/node_init:2:13357)
        at Module.require (node:internal/modules/cjs/loader:1150:19)
        at require (node:internal/modules/cjs/helpers:121:18)
        at Object. (/home/mm/MagicMirror/modules/MMM-EveryNews/node_helper.js:8:17)
        at Module._compile (node:internal/modules/cjs/loader:1271:14)
        at Object…js (node:internal/modules/cjs/loader:1326:10)
        at Module.load (node:internal/modules/cjs/loader:1126:32)
        at node:internal/modules/cjs/loader:967:12
        at Function._load (node:electron/js2c/node_init:2:13357)
        at Module.require (node:internal/modules/cjs/loader:1150:19)
        at require (node:internal/modules/cjs/helpers:121:18)
        at loadModule (/home/mm/MagicMirror/js/app.js:181:19)
        (Use electron --trace-warnings ... to show where the warning was created)
        [20.04.2024 15:23.46.876] [ERROR] (node:2607) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
      posted in Troubleshooting
      P
      Peter
    • Auto start stops working

      My MM runned fine.
      I wanted to remove a module (movielistings) and add another module (everynews) but then auto start does not work anymore.
      Replacing the config file with the old one (with movielistings) auto start works well.
      What to do?
      Peter

      posted in Troubleshooting
      P
      Peter
    • RE: MMM-Formula1 updates

      @cirdan ok, Thanks for your fast reply.
      Peter

      posted in Sport
      P
      Peter
    • RE: MMM-Formula1 updates

      @cirdan nice update!
      Is it possible to show driver standings and after 30 seconds show the schedule?
      Peter

      posted in Sport
      P
      Peter
    • RE: Bookworm and PIR

      @sdetweil I went back to Bullseye, works perfect now!

      posted in Troubleshooting
      P
      Peter
    • RE: [MMM-Pir] v1.1.0 -- bookworm update

      @ingo916 did you get it running?
      Peter

      posted in System
      P
      Peter
    • Bookworm and PIR

      After a complete fresh install of Pi OS Bookworm (32 bit) and MM everything works fine on my PI 2B except turning the screen on and off via PIR.
      The PIR works, tried it via a script.
      Does anybody have a script to get it working with Bookworm, within MM or outside?
      Peter

      posted in Troubleshooting
      P
      Peter
    • 1
    • 2
    • 3
    • 4
    • 5
    • 10
    • 11
    • 2 / 11