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

    vandam3b

    @vandam3b

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

    vandam3b Unfollow Follow

    Latest posts made by vandam3b

    • RE: Installation Error

      @vandam3b Thank you very much, it worked.

      posted in General Discussion
      V
      vandam3b
    • RE: Installation Error

      @sdetweil I will do that. Thank you very much.

      posted in General Discussion
      V
      vandam3b
    • RE: Installation Error

      @sdetweil Thank you for getting back to me. I will delete MM folder and do automated install. Where would I find those directions? Thank you

      posted in General Discussion
      V
      vandam3b
    • Installation Error

      Hi, I am trying to install MagicMirror again last time I used was about a year ago. Cleared my Sd card and reinstalled everything. I used sdetweil install instructions but received the following error. Any help is appreciated. Thank you
      npm error code EBADENGINE
      npm error engine Unsupported engine
      npm error engine Not compatible with your version of node/npm: magicmirror@2.29.0
      npm error notsup Not compatible with your version of node/npm: magicmirror@2.29.0
      npm error notsup Required: {“node”:“>=20.9.0 <21 || 22”}
      npm error notsup Actual: {“npm”:“10.9.0”,“node”:“v23.2.0”}
      npm error A complete log of this run can be found in: /home/vandam3b/.npm/_logs/2024-11-21T02_25_53_357Z-debug-0.log
      Unable to install dependencies!

      Here is the log info:
      install starting - Wed Nov 20 21:12:35 EST 2024
      installing on aarch64 processor system
      the os is PRETTY_NAME=“Debian GNU/Linux 12 (bookworm)” NAME=“Debian GNU/Linux” VERSION_ID=“12” VERSION=“12 (bookworm)” VERSION_CODENAME=bookworm ID=debian HOME_URL=“https://www.debian.org/” SUPPORT_URL=“https://www.debian.org/support” BUG_REPORT_URL=“https://bugs.debian.org/”
      total used free shared buff/cache available
      Mem: 907 523 111 21 354 383
      Swap: 511 305 206
      Updating packages …
      Hit:1 http://deb.debian.org/debian bookworm InRelease Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease Hit:3 http://deb.debian.org/debian bookworm-updates InRelease Hit:4 https://deb.nodesource.com/node_23.x nodistro InRelease Hit:5 http://archive.raspberrypi.com/debian bookworm InRelease Reading package lists…
      apt-get update completed ok
      Reading package lists…
      Building dependency tree…
      Reading state information…
      Suggested packages:
      doc-base
      The following NEW packages will be installed:
      pv
      0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
      Need to get 58.6 kB of archives.
      After this operation, 146 kB of additional disk space will be used.
      Get:1 http://deb.debian.org/debian bookworm/main arm64 pv arm64 1.6.20-1 [58.6 kB]
      Fetched 58.6 kB in 0s (552 kB/s)
      Selecting previously unselected package pv.
      (Reading database …
      (Reading database … 5%
      (Reading database … 10%
      (Reading database … 15%
      (Reading database … 20%
      (Reading database … 25%
      (Reading database … 30%
      (Reading database … 35%
      (Reading database … 40%
      (Reading database … 45%
      (Reading database … 50%
      (Reading database … 55%
      (Reading database … 60%
      (Reading database … 65%
      (Reading database … 70%
      (Reading database … 75%
      (Reading database … 80%
      (Reading database … 85%
      (Reading database … 90%
      (Reading database … 95%
      (Reading database … 100%
      (Reading database … 134502 files and directories currently installed.)
      Preparing to unpack …/archives/pv_1.6.20-1_arm64.deb …
      Unpacking pv (1.6.20-1) …
      Setting up pv (1.6.20-1) …
      Processing triggers for man-db (2.11.2-2) …
      apt-get upgrade started
      apt-get upgrade result =rc=0 Reading package lists…
      Building dependency tree…
      Reading state information…
      Calculating upgrade…
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      Installing helper tools …
      Reading package lists…
      Building dependency tree…
      Reading state information…
      curl is already the newest version (7.88.1-10+deb12u8).
      wget is already the newest version (1.21.3-1+b1).
      wget set to manually installed.
      git is already the newest version (1:2.39.5-0+deb12u1).
      build-essential is already the newest version (12.9).
      unzip is already the newest version (6.0-28).
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      (node:4088) ExperimentalWarning: CommonJS module /usr/lib/node_modules/npm/node_modules/debug/src/node.js is loading ES Module /usr/lib/node_modules/npm/node_modules/supports-color/index.js using require().
      Support for loading ES Module in require() is an experimental feature and might change at any time
      (Use node --trace-warnings ... to show where the warning was created)

      added 1 package in 5s
      installing on bookworm
      Cloning MagicMirror …
      Cloning MagicMirror Done!
      Installing dependencies …

      Unable to install dependencies! 
      install starting - Wed Nov 20 21:22:19 EST 2024
      installing on aarch64 processor system
      the os is PRETTY_NAME=“Debian GNU/Linux 12 (bookworm)” NAME=“Debian GNU/Linux” VERSION_ID=“12” VERSION=“12 (bookworm)” VERSION_CODENAME=bookworm ID=debian HOME_URL=“https://www.debian.org/” SUPPORT_URL=“https://www.debian.org/support” BUG_REPORT_URL=“https://bugs.debian.org/”
      total used free shared buff/cache available
      Mem: 907 508 161 15 317 398
      Swap: 511 350 161
      Updating packages …
      Hit:1 http://deb.debian.org/debian bookworm InRelease Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease Hit:3 http://deb.debian.org/debian bookworm-updates InRelease Hit:4 https://deb.nodesource.com/node_23.x nodistro InRelease Hit:5 http://archive.raspberrypi.com/debian bookworm InRelease Reading package lists…
      apt-get update completed ok
      Reading package lists…
      Building dependency tree…
      Reading state information…
      pv is already the newest version (1.6.20-1).
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      apt-get upgrade started
      apt-get upgrade result =rc=0 Reading package lists…
      Building dependency tree…
      Reading state information…
      Calculating upgrade…
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      Installing helper tools …
      Reading package lists…
      Building dependency tree…
      Reading state information…
      curl is already the newest version (7.88.1-10+deb12u8).
      wget is already the newest version (1.21.3-1+b1).
      git is already the newest version (1:2.39.5-0+deb12u1).
      build-essential is already the newest version (12.9).
      unzip is already the newest version (6.0-28).
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      installing on bookworm
      It seems like MagicMirror is already installed.
      To prevent overwriting, the installer will be aborted.
      Please rename the ~/MagicMirror folder and try again.
      install starting - Wed Nov 20 21:25:12 EST 2024
      installing on aarch64 processor system
      the os is PRETTY_NAME=“Debian GNU/Linux 12 (bookworm)” NAME=“Debian GNU/Linux” VERSION_ID=“12” VERSION=“12 (bookworm)” VERSION_CODENAME=bookworm ID=debian HOME_URL=“https://www.debian.org/” SUPPORT_URL=“https://www.debian.org/support” BUG_REPORT_URL=“https://bugs.debian.org/”
      total used free shared buff/cache available
      Mem: 907 509 31 8 436 398
      Swap: 511 337 174
      Updating packages …
      Hit:1 http://deb.debian.org/debian bookworm InRelease Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease Hit:3 http://deb.debian.org/debian bookworm-updates InRelease Hit:4 https://deb.nodesource.com/node_23.x nodistro InRelease Hit:5 http://archive.raspberrypi.com/debian bookworm InRelease Reading package lists…
      apt-get update completed ok
      Reading package lists…
      Building dependency tree…
      Reading state information…
      pv is already the newest version (1.6.20-1).
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      apt-get upgrade started
      apt-get upgrade result =rc=0 Reading package lists…
      Building dependency tree…
      Reading state information…
      Calculating upgrade…
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      Installing helper tools …
      Reading package lists…
      Building dependency tree…
      Reading state information…
      curl is already the newest version (7.88.1-10+deb12u8).
      wget is already the newest version (1.21.3-1+b1).
      git is already the newest version (1:2.39.5-0+deb12u1).
      build-essential is already the newest version (12.9).
      unzip is already the newest version (6.0-28).
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      installing on bookworm
      Cloning MagicMirror …
      Cloning MagicMirror Done!
      Installing dependencies …

      Unable to install dependencies! 

      posted in General Discussion
      V
      vandam3b
    • RE: MMM-CollegeFootballTop 25

      Thanks for your reply , you are great help. Sorry for the double post I just wasn’t sure I hit the reply button. Rookie mistake. Thanks again for your help.

      posted in General Discussion
      V
      vandam3b
    • RE: MMM-CollegeFootballTop 25

      Thanks, I appreciate it. It loads but now says “Awaiting Update” maybe the module does not work anymore. Thanks

      posted in General Discussion
      V
      vandam3b
    • RE: MMM-CollegeFootballTop 25

      Thanks, I really appreciate it. It loads but now says “Awaiting update” so maybe this module is no longer good?

      posted in General Discussion
      V
      vandam3b
    • MMM-CollegeFootballTop 25

      Re: MMM College top 25
      Hi, I installed the MMM-CollegeFootballTop25 but when I go to run it I get this and it wont start. vandam3b@raspberrypi:~/MagicMirror $ npm start

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

      [17.11.2023 17:09.12.845] [LOG] Starting MagicMirror: v2.25.0
      [17.11.2023 17:09.12.864] [LOG] Loading config …
      [17.11.2023 17:09.12.873] [DEBUG] config template file not exists, no envsubst
      [17.11.2023 17:09.12.886] [LOG] Loading module helpers …
      [17.11.2023 17:09.12.892] [LOG] No helper found for module: alert.
      [17.11.2023 17:09.12.954] [LOG] Initializing new module helper …
      [17.11.2023 17:09.12.956] [LOG] Module helper loaded: updatenotification
      [17.11.2023 17:09.12.960] [LOG] No helper found for module: clock.
      [17.11.2023 17:09.13.535] [LOG] Initializing new module helper …
      [17.11.2023 17:09.13.538] [LOG] Module helper loaded: calendar
      [17.11.2023 17:09.13.548] [LOG] No helper found for module: compliments.
      [17.11.2023 17:09.13.551] [LOG] No helper found for module: weather.
      [17.11.2023 17:09.13.583] [LOG] Initializing new module helper …
      [17.11.2023 17:09.13.585] [LOG] Module helper loaded: MMM-MyScoreboard
      [17.11.2023 17:09.13.600] [LOG] Initializing new module helper …
      [17.11.2023 17:09.13.601] [LOG] Module helper loaded: MMM-ImageSlideshow
      [17.11.2023 17:09.15.041] [LOG] Initializing new module helper …
      [17.11.2023 17:09.15.043] [LOG] Module helper loaded: MMM-History
      [17.11.2023 17:09.15.060] [ERROR] (node:10256) UnhandledPromiseRejectionWarning: ReferenceError: NodeHelper is not defined
      at Object. (/home/vandam3b/MagicMirror/modules/MMM-CollegeFootballTop25/node_helper.js:19:18)
      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/asar_bundle:2:13327)
      at Module.require (node:internal/modules/cjs/loader:1150:19)
      at require (node:internal/modules/cjs/helpers:110:18)
      at loadModule (/home/vandam3b/MagicMirror/js/app.js:180:19)
      at loadModules (/home/vandam3b/MagicMirror/js/app.js:210:10)
      at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
      at async App.start (/home/vandam3b/MagicMirror/js/app.js:258:3)
      (Use electron --trace-warnings ... to show where the warning was created)
      [17.11.2023 17:09.15.061] [ERROR] (node:10256) 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)
      [10256:1117/170916.908663:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files
      MESA-LOADER: failed to retrieve device information
      MESA-LOADER: failed to retrieve device information
      MESA-LOADER: failed to retrieve device information
      This is what I put in the Config.js file
      {
      module: “MMM-CollegeFootballTop25”,
      position: “lower_third”,
      config: {
      headertext: “College Top 25”,
      }
      },
      Any help would be appreciated.

      posted in General Discussion
      V
      vandam3b
    • RE: Trouble using pm2 to install modules

      Thanks you. I appreciate it.

      posted in General Discussion
      V
      vandam3b
    • RE: Trouble using pm2 to install modules

      Thanks and i down loaded a module but now I get this error.
      vandam3b@raspberrypi:~ $ pm2 start MagicMirror
      [PM2] Applying action restartProcessId on app [MagicMirror](ids: [ 0 ])
      [PM2] MagicMirror ✓
      [PM2] Process successfully started
      ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
      │ id │ name │ mode │ ↺ │ status │ cpu │ memory │
      ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
      │ 1 │ MM │ fork │ 369 │ online │ 131.8% │ 41.3mb │
      │ 0 │ MagicMirror │ fork │ 137 │ online │ 0% │ 4.6mb │
      └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
      vandam3b@raspberrypi:~ $

      I looked for the MM folder but can not find it. It was working before I installed the module. This is what the config. looks like.

      /* MagicMirror² Config Sample
      *

      • By Michael Teeuw https://michaelteeuw.nl

      • MIT Licensed.

      • For more information on how you can configure this file

      • see https://docs.magicmirror.builders/configuration/introduction.html

      • and https://docs.magicmirror.builders/modules/configuration.html

      • You can use environment variables using a config.js.template file instead of config.js

      • which will be converted to config.js while starting. For more information

      • see https://docs.magicmirror.builders/configuration/introduction.html#enviromnent-variables
        */
        let config = {
        address: “localhost”, // Address to listen on, can be:
        // - “localhost”, “127.0.0.1”, “::1” to listen on loopback interface
        // - another specific IPv4/6 to listen on a specific interface
        // - “0.0.0.0”, “::” to listen on any interface
        // Default, when address config is left out or empty, is “localhost”
        port: 8080,
        basePath: “/”, // The URL path where MagicMirror² is hosted. If you are using a Reverse proxy
        // you must set the sub path here. basePath must end with a /
        ipWhitelist: [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”], // Set [] to allow all IP addresses
        // or add a specific IPv4 of 192.168.1.5 :
        // [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, “::ffff:192.168.1.5”],
        // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
        // [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, “::ffff:192.168.3.0/28”],

        useHttps: false, // Support HTTPS or not, default “false” will use HTTP
        httpsPrivateKey: “”, // HTTPS private key path, only require when useHttps is true
        httpsCertificate: “”, // HTTPS Certificate path, only require when useHttps is true

        language: “en”,
        locale: “en-US”,
        logLevel: [“INFO”, “LOG”, “WARN”, “ERROR”], // Add “DEBUG” for even more logging
        timeFormat: 24,
        units: “metric”,

        modules: [
        {
        module: “alert”,
        },
        {
        module: “updatenotification”,
        position: “top_bar”
        },
        {
        module: “clock”,
        position: “top_left”
        },
        {
        module: “calendar”,
        header: “US Holidays”,
        position: “top_left”,
        config: {
        calendars: [
        {
        fetchInterval: 7 * 24 * 60 * 60 * 1000,
        symbol: “calendar-check”,
        url: “https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics”
        }
        ]
        }
        },
        {
        module: “compliments”,
        position: “top_bar”
        },
        {
        module: ‘MMM-3Day-Forecast’,
        position: ‘top_right’,
        config: {
        api_key: ‘e40b2a1224254edcecde9ccbc165c869’,
        lat: 40.658421,
        lon: -74.299593,
        units: ‘I’,
        lang: ‘en’,
        interval: 900000,
        }
        },

         {
         	module: "weather",
         	position: "",
         	header: "Weather Forecast",
         	config: {
         		weatherProvider: "openweathermap",
         		type: "forecast",
         		location: "New York",
         		locationID: "5128581", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
         		apiKey: "YOUR_OPENWEATHER_API_KEY"
         	}
         },
         {
         	module: "newsfeed",
         	position: "bottom_bar",
         	config: {
         		feeds: [
         			{
         				
         				title: "Sports",
         				url:"https://api.foxsports.com/v2/content/optimized-rss?partnerKey=MB0Wehpmuj2lUhuRhQaafhBjAJqaPU244mlTDK1i&tags=fs/cfb&size=30"	
         			
         				
         			
         			},
         		],
         		showSourceTitle: true,
         		showPublishDate: true,
         		broadcastNewsFeeds: true,
         		broadcastNewsUpdates: true
         	}
         },
        

        ]
        };

      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== “undefined”) {module.exports = config;}

      posted in General Discussion
      V
      vandam3b