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

    Posts

    Recent Best Controversial
    • RE: fixuppm2.sh

      @sdetweil said in fixuppm2.sh:

      @Assassins which script?

      bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/fixuppm2.sh)”

      And how did you install it. -g or not

      With -g
      My second test was without -g and it works there too

      posted in Troubleshooting
      AssassinsA
      Assassins
    • RE: fixuppm2.sh

      @sdetweil said in fixuppm2.sh:

      @Assassins -g means it’s available globally across the system
      You can execute it in every folder
      AND globally means adding to the /usr folder tree which require root authority (sudo)

      Without means you have to be in the folder tree where you did npm install, AND If the install folder is NOT in the path, then you have to prefix pm2 with the correct path EVERY TIME

      I think this also breaks boot time support which is the primary value, in my opinion

      But your script works fine now that I have installed pm2

      posted in Troubleshooting
      AssassinsA
      Assassins
    • fixuppm2.sh

      @sdetweil
      pi@MagicMirror:~ $ bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/fixuppm2.sh)”
      the log will be saved in /home/pi/MagicMirror/installers/pm2_setup.log
      sudo: npm: command not found
      bash: linje 127: pm2: command not found
      bash: linje 211: pm2: command not found
      bash: linje 214: pm2: command not found
      pi@MagicMirror:~ $ npm -v
      11.6.2
      pi@MagicMirror:~ $

      The log say

      pm2 setup starting - tor okt 16 18:38:30 CEST 2025
      using parameter bash
      system is Linux EmptyImage 6.12.47+rpt-rpi-v7 #1 SMP Raspbian 1:6.12.47-1+rpt1~bookworm (2025-09-16) armv7l GNU/Linux
      the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 12 (bookworm) Release: 12 Codename: bookworm
      node version v22.20.0
      force installing latest npm version via npm
      npm version 10.9.3
      pm2 not installed, installing
      get the pm2 platform specific startup command
      startup command =
      pm2 startup command done
      configure the pm2 config file for MagicMirror
      start MagicMirror via pm2 now
      save MagicMirror pm2 config now
      pm2 setup completed - tor okt 16 18:39:22 CEST 2025
      pm2 setup starting - fre okt 17 13:46:28 CEST 2025
      using parameter bash
      system is Linux MagicMirror 6.12.47+rpt-rpi-v7 #1 SMP Raspbian 1:6.12.47-1+rpt1~bookworm (2025-09-16) armv7l GNU/Linux
      the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 12 (bookworm) Release: 12 Codename: bookworm
      node version v22.20.0
      force installing latest npm version via npm
      npm version 11.6.2
      pm2 not installed, installing
      get the pm2 platform specific startup command
      startup command =
      pm2 startup command done
      configure the pm2 config file for MagicMirror
      start MagicMirror via pm2 now
      save MagicMirror pm2 config now
      pm2 setup completed - fre okt 17 13:46:29 CEST 2025
      

      i can install pm2 but only with “npm install -g pm2” and not “sudo npm install -g pm2”

      posted in Troubleshooting
      AssassinsA
      Assassins
    • RE: Version 2.30.0 weather module, stuck loading, worked fine before upgrade

      @sdetweil said in Version 2.30.0 weather module, stuck loading, worked fine before upgrade:

      @Assassins seems it doesn’t work anymore… using my old 2.5 key I get code failure with openweathermap

      Strange, works on my sd card with MM2.29.0 and also works on MMM-DynamicWeather and on MMM-WeatherOrNot with MM2.33.0.
      Don’t know why openweathermap doesn’t work with MM2.33.0.
      Besides that, it may have something to do with the code in MM2.33.0 that has been rewritten.

      posted in Troubleshooting
      AssassinsA
      Assassins
    • RE: Version 2.30.0 weather module, stuck loading, worked fine before upgrade

      @sdetweil
      Is the same mate

      {
        module: 'weather',
        position: 'bottom_left',
        header: 'Ballerup',
        config: {
          apiVersion: '2.5',
          weatherEndpoint: 'current',    // i have try the forecast to
          location: 'Ballerup',
          locationID: '2624341',
          apiKey: 'xxjljkjsksldjkj3478bjjk',
          showHumidity: true,
          initialLoadDelay: 1500
        }
      },
      
      posted in Troubleshooting
      AssassinsA
      Assassins
    • RE: Version 2.30.0 weather module, stuck loading, worked fine before upgrade

      @sdetweil
      This is the same, can only see the header.
      Is work yesterday on MM 2.29.0

      {
        module: 'weather',
        position: 'bottom_left',
        header: 'Ballerup',
        config: {
          apiVersion: '2.5',
         apiBase: 'https://api.openweathermap.org/data/',
          weatherEndpoint: '/no',
          location: 'Ballerup',
          locationID: '2624341',
          apiKey: 'BBnjsdnsdfnsdj8789dsfjsdnfnXX',
          showHumidity: true,
          initialLoadDelay: 1500
        }
      },
      
      posted in Troubleshooting
      AssassinsA
      Assassins
    • RE: Version 2.30.0 weather module, stuck loading, worked fine before upgrade

      @sdetweil
      I can only see the header now, where is write Ballerup

      {
        module: 'weather',
        position: 'bottom_left',
        header: 'Ballerup',
        config: {
          apiVersion: "2.5",
          weatherEndpoint: "/current",
           lat: "55.7317",
           lon: "12.3633",
           apiKey: "xxxxx765xxxx98xxxjhx888"
         }
      },
      
      posted in Troubleshooting
      AssassinsA
      Assassins
    • RE: Version 2.30.0 weather module, stuck loading, worked fine before upgrade

      Work on 2.29.0 with api2.5

      But now on 2.33.0
      It say “NaN”
      I get the error 401, it say the apiKey i wrong, but is write from my api key from the website.
      How can i get a apiKey to api3.0 without to paid for it. ???
      The api2.5 still work, but not on this modul.

          {
            module: 'weather',
            position: 'bottom_left',
            header: 'Ballerup',
            config: {
               lat: "55.7317",
               lon: "12.3633",
               apiKey: "xxxxx765xxxx98xxxjhx888"
             }
          },
      
      posted in Troubleshooting
      AssassinsA
      Assassins
    • RE: nodejs 22.18.0 ??

      But how can i install 22.18.0 on a fresh install without all the script.
      Why does it have to be so much hassle to install MM today, in the past it was MUCH easier to install.

      posted in Troubleshooting
      AssassinsA
      Assassins
    • RE: nodejs 22.18.0 ??

      @sdetweil
      You start by referring to another thread.
      Have you even read what I’m writing in this thread??
      Read further up, I’m writing that just install 22.15.0 on a fresh install, and you write back, after you wirte “flash sd card with bookworm , boot sd, run script” the another thread say
      sudo npm install n -g

      posted in Troubleshooting
      AssassinsA
      Assassins
    • 1
    • 2
    • 3
    • 4
    • 5
    • 10
    • 11
    • 1 / 11