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

Klinge

@Klinge

13
Reputation
1.1k
Profile views
102
Posts
0
Followers
0
Following
Joined Dec 1, 2016, 9:40 AM
Last Online Feb 20, 2025, 6:34 AM

Klinge Unfollow Follow

Best posts made by Klinge

  • RE: PM2 does not start the Magic Mirror

    Thank you for your help.

    But suddenly a miracle happened.

    Tomorrow morning I switched on my monitor and the MM runs. And I did not do anything. And I really haven´t a intelligent reason.

    Now, when I reboot the Raspberry, the MM starts automatically.

    Thank you for your time.

    posted in Troubleshooting
    K
    Klinge
    Feb 16, 2019, 4:32 PM
  • RE: I am looking for a working PIR Modul/function

    Thank you all for your tips.

    Now I could realize it with the parameter

    --transform 90
    

    My complete configuration is

                              {
                                module: "MMM-Universal-Pir",
                                position: "top_right",
                                config: {
                                  gpioCommand: "gpiomon -r -b gpiochip0 17",
                                  onCommand: "wlr-randr --output HDMI-A-1 --on --transform 90",
                                  offCommand: "wlr-randr --output HDMI-A-1 --off",
                                  deactivateDelay: 180 * 1000,
                            }
                              },
    

    and it works.

    posted in Troubleshooting
    K
    Klinge
    Feb 17, 2025, 1:11 PM
  • RE: MMM-PublicTransportHafas – Public transport information for all stations known to Deutsche Bahn

    Damn it! So a Layer 8 problem ;-) Now it works. Thank you, for your quick help.

    posted in Transport
    K
    Klinge
    Feb 20, 2018, 11:04 AM
  • RE: Whole font should be displayed brightly

    Hello,

    thank you for your help.

    The changes works.

    Lars

    posted in Troubleshooting
    K
    Klinge
    May 27, 2019, 8:02 AM
  • RE: MMM-PublicTransportHafas – Public transport information for all stations known to Deutsche Bahn

    @raywo
    Thank you. Now it can be configured by someone like me ;-)

    posted in Transport
    K
    Klinge
    Feb 20, 2018, 12:26 PM
  • RE: http connection denied despite open whiteList

    @fribse That´s it! I thought there must be something simple. I changed it to 0.0.0.0 and it works.

    Thanks to both of you for your help.

    posted in Troubleshooting
    K
    Klinge
    Mar 13, 2021, 1:45 PM
  • RE: MM does not start - Cannot find module 'html-to-text'

    @sdetweil Ok, now it seems that my MM is running.

    Thanks again for your help

    posted in Troubleshooting
    K
    Klinge
    Oct 5, 2023, 6:57 AM
  • RE: PM2 does not start the Magic Mirror

    pm2 status is

    pi@raspberrypi:~ $ pm2 status
    
    │ Name        │ id │ mode  │ status │ ↺      │ cpu │ memory 
    │ MagicMirror │ 0  │ 2.6.0 │ fork   │ online │ 799 │ 0%     │ 16.8 MB   │
    
     Use `pm2 show <id|name>` to get more details about an app
    

    and in pm2 log I get this every two seconds

    pi@raspberrypi:~/.pm2 $ tail -f pm2.log
    2019-02-15T15:36:47: PM2 log: App [MagicMirror:0] online
    2019-02-15T15:36:48: PM2 log: App [MagicMirror:0] exited with code [1] via signal [SIGINT]
    

    I tried the complete guide with creating an .sh-File and so on. But unfortenately with the same effect.

    posted in Troubleshooting
    K
    Klinge
    Feb 15, 2019, 2:39 PM
  • RE: Unable to install MagicMirror

    @sdetweil I have installed a completely new system. The current raspbian OS and of course the MM. The MM itself is running. At the moment I’m fighting with a news module and with the GoogleAssistant from @bugsounet. I am optimistic that I will win the battle. Otherwise, I’m looking for advice from this great community ;-) But first I’m going on holiday with my family tomorrow :-) Many thanks for your help

    posted in Troubleshooting
    K
    Klinge
    Oct 6, 2024, 10:34 AM
  • RE: Cannot find module 'undici' - 'npm install' doesn't work

    @sdetweil Yes, you’re absolutely right, of course. Sometimes you have to learn from your own mistakes ;-) so we just call it a Layer8 problem ;-) Thanks anyway for your effort

    posted in Troubleshooting
    K
    Klinge
    Jan 9, 2025, 2:30 PM

Latest posts made by Klinge

  • RE: MMM-DWD-Pollen and MMM-pollen remain in status "loading"

    @sdetweil Thank you again.
    I thought, that default will display all pollen. It seems not.
    But now it is running.

    posted in Troubleshooting
    K
    Klinge
    Feb 19, 2025, 5:50 AM
  • MMM-DWD-Pollen and MMM-pollen remain in status "loading"

    Hi,

    Spring is coming and I wanted to install pollen modules.

    So I installed two pollen modules MM-DWD-Pollen and MMM-pollen at once

    Both modules remain in the ‘loading’ status.

    Here I show you my configuration

                              {
                                    module: "MMM-DWD-Pollen",
                                    position: "top_right",
                                    header: "Pollenwarnung",
                                    config: {
                                            updateInterval: 2 * 60 * 60 * 1000, // every 1 hour
                                            DWD_region: 42, // Ostwestfalen
                                            icon: true, // Show icons or not
                                            showNullValue: false, //Show value or symbol if value is 0
                                    }
                              },
    
                                    {
                                            module: "MMM-pollen",
                                            position: "top_right",  // This can be any of the regions.
                                            config: {
                                            // See 'Configuration options' for more information.
                                                    locationLongitude: x.xxxxxx,
                                                    locationLatitude: xx.xxxxxx,
                                            }
                                    },
    
    

    When I start the MMM I got this log

    [2025-02-18 15:47:06.959] [INFO]  Checking git for module: MMM-DWD-Pollen
    [2025-02-18 15:47:07.387] [INFO]  Checking git for module: MMM-pollen
    [2025-02-18 15:47:07.491] [LOG]   MMM-DWD-Pollen: Success loading
    
    

    and regarding the two instances from another DWD-Pollen forum post I got the following result

    pi@raspi-mm-bad:~/MagicMirror $ netstat -plan|grep 8080
    (Not all processes could be identified, non-owned process info
     will not be shown, you would have to be root to see it all.)
    tcp6       0      0 ::1:8080                :::*                    LISTEN      67920/electron.js
    tcp6       0      0 ::1:8080                ::1:54378               TIME_WAIT   -
    tcp6       0      0 ::1:8080                ::1:57896               TIME_WAIT   
    

    Thank you for your tips :-)

    posted in Troubleshooting
    K
    Klinge
    Feb 18, 2025, 2:58 PM
  • RE: I am looking for a working PIR Modul/function

    Thank you all for your tips.

    Now I could realize it with the parameter

    --transform 90
    

    My complete configuration is

                              {
                                module: "MMM-Universal-Pir",
                                position: "top_right",
                                config: {
                                  gpioCommand: "gpiomon -r -b gpiochip0 17",
                                  onCommand: "wlr-randr --output HDMI-A-1 --on --transform 90",
                                  offCommand: "wlr-randr --output HDMI-A-1 --off",
                                  deactivateDelay: 180 * 1000,
                            }
                              },
    

    and it works.

    posted in Troubleshooting
    K
    Klinge
    Feb 17, 2025, 1:11 PM
  • RE: I am looking for a working PIR Modul/function

    @sdetweil @KristjanESPERANTO Now I finally had time to look into this problem further.

    Thank you very much for your tips. The module works great.

    But… I have installed the monitor vertically. This means that the MMM has to be displayed rotated by 90 degrees. When I start the MMM, it is displayed as intended. But as soon as the monitor is switched off and on again by the module, the display is no longer rotated. In other words, the MMM is then displayed as if the monitor is installed horizontally.

    Incidentally, I set the rotated display via the Raspberry OS menu.

    Do any of you have a tip on how to keep the display vertical even after movement has been recognised?

    Many thanks in advance.

    posted in Troubleshooting
    K
    Klinge
    Feb 16, 2025, 10:37 AM
  • RE: Cannot find module 'undici' - 'npm install' doesn't work

    @sdetweil Great, now it works.

    Thank you for your help again

    posted in Troubleshooting
    K
    Klinge
    Feb 13, 2025, 3:34 PM
  • RE: Cannot find module 'undici' - 'npm install' doesn't work

    Hi,
    @sdetweil some minutes ago I updated my MMM with your script

    kling@raspi-mm-gaeste:~/MagicMirror $ bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" apply
    update log will be in /home/kling/MagicMirror/installers/upgrade.log
    doing test run = false
    Node currently installed. Checking version number.
    Minimum Node version: v20.18.1
    Installed Node version: v20.9.0
    installing correct version of node and npm, please wait
    Check current Node installation ...
    Node currently installed. Checking version number.
    Minimum Node version: v20.18.1
    Installed Node version: v20.18.1
    No Node.js upgrade necessary.
    Check current NPM installation ...
    NPM currently installed. Checking version number.
    Minimum npm version: V10.8.2
    Installed npm version: V10.8.2
    No npm upgrade necessary.
    
    want /var/swap=200MByte, checking existing: keeping it
    saving custom.css
    local version 2.30.0 already same as master 2.30.0
    restoring custom.css
    
    

    After that I tried to start my MMM and now I got the same error message "Cannot find module ‘undici’.

    kling@raspi-mm-gaeste:~/MagicMirror $ display=:0 npm start
    
    > magicmirror@2.30.0 start
    > npm run start:x11
    
    
    > magicmirror@2.30.0 start:x11
    > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
    
    [2025-02-13 16:04:02.858] [ERROR] App threw an error during load 
    [2025-02-13 16:04:02.863] [ERROR] Error: Cannot find module 'undici'
    Require stack:
    - /home/kling/MagicMirror/js/app.js
    - /home/kling/MagicMirror/js/electron.js
        at Module._resolveFilename (node:internal/modules/cjs/loader:1232:15)
        at s._resolveFilename (node:electron/js2c/browser_init:2:121498)
        at Module._resolveFilename (/home/kling/MagicMirror/node_modules/module-alias/index.js:49:29)
        at Module._load (node:internal/modules/cjs/loader:1058:27)
        at c._load (node:electron/js2c/node_init:2:17025)
        at Module.require (node:internal/modules/cjs/loader:1318:19)
        at require (node:internal/modules/helpers:179:18)
        at Object.<anonymous> (/home/kling/MagicMirror/js/app.js:15:40)
        at Module._compile (node:internal/modules/cjs/loader:1484:14)
        at Module._extensions..js (node:internal/modules/cjs/loader:1564:10)
        at Module.load (node:internal/modules/cjs/loader:1295:32)
        at Module._load (node:internal/modules/cjs/loader:1111:12)
        at c._load (node:electron/js2c/node_init:2:17025)
        at Module.require (node:internal/modules/cjs/loader:1318:19)
        at require (node:internal/modules/helpers:179:18)
        at Object.<anonymous> (/home/kling/MagicMirror/js/electron.js:4:14) 
    A JavaScript error occurred in the main process
    Uncaught Exception:
    Error: Cannot find module 'undici'
    Require stack:
    - /home/kling/MagicMirror/js/app.js
    - /home/kling/MagicMirror/js/electron.js
        at Module._resolveFilename (node:internal/modules/cjs/loader:1232:15)
        at s._resolveFilename (node:electron/js2c/browser_init:2:121498)
        at Module._resolveFilename (/home/kling/MagicMirror/node_modules/module-alias/index.js:49:29)
        at Module._load (node:internal/modules/cjs/loader:1058:27)
        at c._load (node:electron/js2c/node_init:2:17025)
        at Module.require (node:internal/modules/cjs/loader:1318:19)
        at require (node:internal/modules/helpers:179:18)
        at Object.<anonymous> (/home/kling/MagicMirror/js/app.js:15:40)
        at Module._compile (node:internal/modules/cjs/loader:1484:14)
        at Module._extensions..js (node:internal/modules/cjs/loader:1564:10)
        at Module.load (node:internal/modules/cjs/loader:1295:32)
        at Module._load (node:internal/modules/cjs/loader:1111:12)
        at c._load (node:electron/js2c/node_init:2:17025)
        at Module.require (node:internal/modules/cjs/loader:1318:19)
        at require (node:internal/modules/helpers:179:18)
        at Object.<anonymous> (/home/kling/MagicMirror/js/electron.js:4:14)
    [5112:0213/160403.943167:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)
    [5112:0213/160403.943531:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)
    
    

    So my question again, what did I wrong? It is necessary to install the MMM completely new?

    Thank you.

    Kind regards.
    Klinge

    posted in Troubleshooting
    K
    Klinge
    Feb 13, 2025, 3:12 PM
  • I am looking for a working PIR Modul/function

    Hello,

    I am looking for a working PIR module / function to turn off/on my monitor.

    Every PIR module I have tried is either deprecated, abandoned or an error appears during installation.
    I have tried the following modules
    MMM-Pir
    MMM-PIR
    MMM-PIR-Sensor-Lite
    MMM-PIR-Sensor
    MMM-SimplePIR

    and this

    https://www.putorius.net/using-pir-sensor-for-motion-detection.html
    

    The one from putorius.net got me the furthest. But unfortunately the command to switch the monitor on/off works

    vcgencmd display_power 0 > /dev/null
    vcgencmd display_power 1 > /dev/null
    

    doesn´t work for me.

    I would be really grateful if you could recommend a working PIR module or maybe you have an advice to turn on/off my monitor instead of the both commands.

    Thank you very much.
    Klinge

    posted in Troubleshooting
    K
    Klinge
    Feb 11, 2025, 2:57 PM
  • RE: Problems with KristjanESPERANTO/MMM-PublicTransportHafas

    @sdetweil Ok, there is an issue regarding direction. I commented it and now I will be patient.

    Thank you for you advice

    posted in Troubleshooting
    K
    Klinge
    Jan 16, 2025, 3:09 PM
  • RE: Problems with KristjanESPERANTO/MMM-PublicTransportHafas

    @sdetweil Sorry, but I don´t know what you mean. So I would say, no

    posted in Troubleshooting
    K
    Klinge
    Jan 16, 2025, 2:52 PM
  • Problems with KristjanESPERANTO/MMM-PublicTransportHafas

    Hi,

    I am currently having problems with the configuration of KristjanESPERANTO/MMM-PublicTransportHafas.

    My config looks like this

                    {
                              module: "MMM-PublicTransportHafas",
                              position: "top_left",
    
                              config: {
                                        stationID: "8005662",                   // Replace with your stationID!
                                        stationName: "XXXXX",   // Replace with your station name!
                                        direction: "",                    // Show only departures heading to this station. (A station ID.)
                                        ignoredLines: [],                 // Which lines should be ignored? (comma-separated list of line names)
                                        excludedTransportationTypes: ["bus"],  // Which transportation types should not be shown on the mirror? (comma-separated list of types) possible values: StN for tram, BuN for bus, s for suburban
                                        timeToStation: 10,
                                        timeInFuture: 120,                 // Show departures for the next *timeInFuture* minutes.
                                        showColoredLineSymbols: false,     // Want colored line symbols?
                                        useColorForRealtimeInfo: true,    // Want colored real time information (timeToStation, early)?
                                        showTableHeadersAsSymbols: true,  // Table Headers as symbols or text?
                                        maxUnreachableDepartures: 1,      // How many unreachable departures should be shown?
                                        maxReachableDepartures: 7,        // How many reachable departures should be shown?
                                        customLineStyles: "leipzig",      // Prefix for the name of the custom css file. ex: Leipzig-lines.css (case sensitive)
                                        showOnlyLineNumbers: false        // Display only the line number instead of the complete name, i. e. "11" instead of "STR 11"
                                      }
                    },
    
    

    This shows me all trains departing from the starting station. S-Bahn (S) and Regional Express (RE) trains.

    However, as soon as I enter a destination station in “direction” as follows, only the S-Bahn trains are displayed. And the Regional Express is missing. Although the destination station is Hannover Hbf, where Regional Express trains also arrive.

                    {
                              module: "MMM-PublicTransportHafas",
                              position: "top_left",
    
                              config: {
                                        stationID: "8005662",                   // Replace with your stationID!
                                        stationName: "XXXXX",   // Replace with your station name!
                                        direction: "8000152",                    // Show only departures heading to this station. (A station ID.)
                                        ignoredLines: [],                 // Which lines should be ignored? (comma-separated list of line names)
                                        excludedTransportationTypes: ["bus"],  // Which transportation types should not be shown on the mirror? (comma-separated list of types) possible values: StN for tram, BuN for bus, s for suburban
                                        timeToStation: 10,
                                        timeInFuture: 120,                 // Show departures for the next *timeInFuture* minutes.
                                        showColoredLineSymbols: false,     // Want colored line symbols?
                                        useColorForRealtimeInfo: true,    // Want colored real time information (timeToStation, early)?
                                        showTableHeadersAsSymbols: true,  // Table Headers as symbols or text?
                                        maxUnreachableDepartures: 1,      // How many unreachable departures should be shown?
                                        maxReachableDepartures: 7,        // How many reachable departures should be shown?
                                        customLineStyles: "leipzig",      // Prefix for the name of the custom css file. ex: Leipzig-lines.css (case sensitive)
                                        showOnlyLineNumbers: false        // Display only the line number instead of the complete name, i. e. "11" instead of "STR 11"
                                      }
                    },
    
    

    What can I do, that the Regional Express (RE) will be shown too when I enter a direction?

    Thank you in advance.

    Kind regards
    Klinge

    posted in Troubleshooting
    K
    Klinge
    Jan 16, 2025, 2:46 PM
Enjoying MagicMirror? Please consider a donation!
MagicMirror created by Michael Teeuw.
Forum managed by Sam, technical setup by Karsten.
This forum is using NodeBB as its core | Contributors
Contact | Privacy Policy