• 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. Richtw
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
R
Offline
  • Profile
  • Following 0
  • Followers 0
  • Topics 1
  • Posts 8
  • Groups 0

Richtw

@Richtw

0
Reputation
1
Profile views
8
Posts
0
Followers
0
Following
Joined Dec 28, 2020, 4:34 PM
Last Online May 15, 2024, 8:22 PM

Richtw Unfollow Follow

Latest posts made by Richtw

  • RE: Internet-Monitor display issue

    yes, for both of them

    It does throw some warnings that I captured earlier:

    rich@raspberrypi:~/MagicMirror/modules/internet-monitor $ npm install

    added 359 packages, and audited 360 packages in 38s

    99 packages are looking for funding
    run npm fund for details

    5 vulnerabilities (2 moderate, 3 high)

    Some issues need review, and may require choosing
    a different dependency.

    Run npm audit for details.

    this happened on both the pi installation and the debian vbox version.

    I ran the audit on the pi version:

    npm audit report

    got <=11.8.3
    Severity: high
    Got allows a redirect to a UNIX socket - https://github.com/advisories/GHSA-pfrx-2q88-qq97
    Depends on vulnerable versions of cacheable-request
    No fix available
    node_modules/got
    download >=4.0.0
    Depends on vulnerable versions of got
    node_modules/download
    @lh2020/speedtest-net *
    Depends on vulnerable versions of download
    node_modules/speedtest-net

    http-cache-semantics <4.1.1
    Severity: high
    http-cache-semantics vulnerable to Regular Expression Denial of Service - https://github.com/advisories/GHSA-rc47-6667-2j5j
    No fix available
    node_modules/http-cache-semantics
    cacheable-request 0.1.0 - 2.1.4
    Depends on vulnerable versions of http-cache-semantics
    node_modules/cacheable-request

    5 vulnerabilities (2 moderate, 3 high)

    Some issues need review, and may require choosing
    a different dependency.

    posted in Troubleshooting
    R
    Richtw
    May 10, 2024, 2:02 PM
  • RE: Internet-Monitor display issue

    just a quick follow-up: I created a VirtualBox instance with Debian and installed MagicMirror. the only extra module I added was the internet-monitor.

    I set it for top_center.

    the result is the same as I see on the pi - no labels on the gauges and the arc is only filled in for the colored part that indicates speed.

    I am thinking it’s not an install error but some kind of issue with the package…perhaps an incompatibility with other updates?

    posted in Troubleshooting
    R
    Richtw
    May 9, 2024, 9:24 PM
  • RE: Internet-Monitor display issue

    thanks for asking

    here is the portion of my config file for this module.

    I tried changing it to “top_center” but it did not make a difference

                  {
                           module: 'internet-monitor',
                           position: 'bottom_right',
                           header: 'Internet Monitor',
                           config:{
                               type: '',
                               maxTime: 20000,
                               updateInterval:3600000,
                               verbose: false,
                               serverId: '',
                               displayStrength: false,
                               displaySpeed: true,
                               strengthIconSize: 80,
                               maxGaugeScale: 1000,
                           },
                      }
    
    posted in Troubleshooting
    R
    Richtw
    May 8, 2024, 7:17 PM
  • Internet-Monitor display issue

    I installed the internet-monitor module from https://github.com/BrianHepler/internet-monitor .

    It’s working fine and showing me speed for wifi or ethernet connections.

    But on the screen I don’t get the labels above the two graphics that should say “Download Speed” and “Upload Speed”, and while I get the color and arc that shows the speed, I don’t get the white portion that completes the semi-circle.

    I don’t see any option to turn the labels on or off and I am not seeing any error messages.

    Wondering if anyone else had this issue?

    posted in Troubleshooting
    R
    Richtw
    May 8, 2024, 2:24 AM
  • RE: MMM-InternetMonitor

    @sdetweil Here’s the script I’m running

    !/bin/bash
    
    if [ ! -f ../../node_modules/.bin/electron-rebuild ]; then
            cd ../..
            npm install electron-rebuild >/dev/null 2>&1
            cd -
    fi
    ../../node_modules/.bin/electron-rebuild -b
    

    Here’s the result

    richard@raspberrypi:~/MagicMirror/modules/internet-monitor $ sudo ./buildit
    ./buildit: line 8: ../../node_modules/.bin/electron-rebuild: Permission denied
    
    posted in Troubleshooting
    R
    Richtw
    Jan 28, 2023, 7:55 PM
  • RE: MMM-InternetMonitor

    @sdetweil said in MMM-InternetMonitor:

    ls ~/MagicMirror/node_modules/.bin/electron-rebuild -laF

    thanks for the reply!

    richard@raspberrypi:~/MagicMirror $ ls ~/MagicMirror/node_modules/.bin/electron-rebuild -laF
    lrwxrwxrwx 1 richard richard 34 Jan 24 17:57 /home/richard/MagicMirror/node_modules/.bin/electron-rebuild -> ../electron-rebuild/lib/src/cli.js
    
    posted in Troubleshooting
    R
    Richtw
    Jan 25, 2023, 10:45 PM
  • RE: MMM-InternetMonitor

    @bhepler
    thanks everyone for all the suggestions. Still stuck:
    For the suggestion - @Richtw the error is about 20 lines closer to the top - Here’s the top
    richard@raspberrypi:~/MagicMirror/config $ npm start

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

    [24.01.2023 17:51.15.999] [LOG] Starting MagicMirror: v2.22.0
    [24.01.2023 17:51.16.006] [LOG] Loading config …
    [24.01.2023 17:51.16.014] [LOG] Loading module helpers …
    [24.01.2023 17:51.16.017] [LOG] No helper found for module: alert.
    [24.01.2023 17:51.16.053] [LOG] Initializing new module helper …
    [24.01.2023 17:51.16.054] [LOG] Module helper loaded: updatenotification
    [24.01.2023 17:51.16.056] [LOG] No helper found for module: clock.
    [24.01.2023 17:51.16.534] [LOG] Initializing new module helper …
    [24.01.2023 17:51.16.535] [LOG] Module helper loaded: calendar
    [24.01.2023 17:51.17.618] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module ‘/home/richard/MagicMirror/modules/internet-monitor/node_modules/lzma-native/binding-v4.0.6-electron-v22.0-linux-arm64/lzma_native.node’

    For the suggestion - npm run config:check. I ran it and it did not find anything
    Your configuration file doesn’t contain syntax errors :)

    Here’s my config file

    {
                            module: 'internet-monitor',
                            position: 'upper_third',
                            header: 'Internet Monitor',
                            config:{
                                    type: '',
                                    maxTime: 20000,
                                    updateInterval: 30000,
                                    verbose: false,
                                    displayStrength: true,
                                    displaySpeed: true,
                                    strengthIconSize: 80,
                                    maxGuageScale: 1000,
                            }
                    },
    

    I tried that buildit script but it kicked back with:
    ./buildit: line 8: …/…/node_modules/.bin/electron-rebuild: Permission denied

    Running with sudo gave same result

    posted in Troubleshooting
    R
    Richtw
    Jan 24, 2023, 11:16 PM
  • RE: MMM-InternetMonitor

    @bhepler
    Hi - I am looking to replace my last mirror build with an updated one.

    this module is throwing an error on my install. I suspect I must have gone astray in the install?
    I started out with a clean install of raspbian and magic mirror
    Started it up with the default settings and it seems to work fine

    This was the first module I added

    Commands I issued were:

    • cd MagicMirror/modules

    • git clone https://github.com/BrianHepler/internet-monitor.git

    • cd internet-monitor
      NPM install showed some warnings:

      added 191 packages, and audited 192 packages in 3m
      9 packages are looking for funding
      run npm fund for details
      3 moderate severity vulnerabilities
      To address all issues (including breaking changes), run:
      npm audit fix --force
      Run npm audit for details.

    When I NPM start now it throws an error:

    	[22.01.2023 15:19.07.139] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error 				found: Error: Cannot find module '/home/richard/MagicMirror/modules/internet-monitor/node_modules/lzma-native/			binding-v4.0.6-electron-v22.0-linux-arm64/lzma_native.node'
    	Require stack:
    	- /home/richard/MagicMirror/modules/internet-monitor/node_modules/lzma-native/index.js
    	- /home/richard/MagicMirror/modules/internet-monitor/node_modules/decompress-tarxz/index.js
    	- /home/richard/MagicMirror/modules/internet-monitor/node_modules/speedtest-net/index.js
    	- /home/richard/MagicMirror/modules/internet-monitor/node_helper.js
    	- /home/richard/MagicMirror/js/app.js
    	- /home/richard/MagicMirror/js/electron.js
    	- /home/richard/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
    
    posted in Troubleshooting
    R
    Richtw
    Jan 22, 2023, 8:29 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