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

    Posts

    Recent Best Controversial
    • RE: Pi 4 storage used up in weeks?

      Hi found its the MagicMirror-error.log in /home/pi/.pm2/logs its 7.9Gb and MagicMirror-out.log in /home/pi/.pm2/logs is 3.3Gb with your help ive found it but how do i fix it? looks like its @cowboysdude Module MMM-NOAA3 that is causing the issue never had an issue with this before @cowboysdude can you help?

      TypeError: Cannot read property 'pollution' of undefined
          at Object.parseAIR (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ds.js:182:35)
          at Request._callback (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ds.js:174:28)
          at Request.self.callback (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:185:22)
          at Request.emit (events.js:182:13)
          at Request.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1161:10)
          at Request.emit (events.js:182:13)
          at IncomingMessage.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1083:12)
          at Object.onceWrapper (events.js:273:13)
          at IncomingMessage.emit (events.js:187:15)
          at endReadableNT (_stream_readable.js:1090:12)
      TypeError: Cannot read property 'pollution' of undefined
          at Object.parseAIR (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ds.js:182:35)
          at Request._callback (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ds.js:174:28)
          at Request.self.callback (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:185:22)
          at Request.emit (events.js:182:13)
          at Request.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1161:10)
          at Request.emit (events.js:182:13)
          at IncomingMessage.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1083:12)
          at Object.onceWrapper (events.js:273:13)
          at IncomingMessage.emit (events.js:187:15)
          at endReadableNT (_stream_readable.js:1090:12)
      TypeError: Cannot read property 'pollution' of undefined
          at Object.parseAIR (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ds.js:182:35)
          at Request._callback (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ds.js:174:28)
          at Request.self.callback (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:185:22)
          at Request.emit (events.js:182:13)
          at Request.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1161:10)
          at Request.emit (events.js:182:13)
          at IncomingMessage.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1083:12)
          at Object.onceWrapper (events.js:273:13)
          at IncomingMessage.emit (events.js:187:15)
          at endReadableNT (_stream_readable.js:1090:12)
      TypeError: Cannot read property 'pollution' of undefined
          at Object.parseAIR (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ds.js:182:35)
          at Request._callback (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ds.js:174:28)
          at Request.self.callback (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:185:22)
          at Request.emit (events.js:182:13)
          at Request.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1161:10)
          at Request.emit (events.js:182:13)
          at IncomingMessage.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1083:12)
          at Object.onceWrapper (events.js:273:13)
          at IncomingMessage.emit (events.js:187:15)
          at endReadableNT (_stream_readable.js:1090:12)
      TypeError: Cannot read property 'pollution' of undefined
          at Object.parseAIR (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ds.js:182:35)
          at Request._callback (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ds.js:174:28)
          at Request.self.callback (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:185:22)
          at Request.emit (events.js:182:13)
          at Request.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1161:10)
          at Request.emit (events.js:182:13)
          at IncomingMessage.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1083:12)
          at Object.onceWrapper (events.js:273:13)
          at IncomingMessage.emit (events.js:187:15)
          at endReadableNT (_stream_readable.js:1090:12)
      TypeError: Cannot read property 'pollution' of undefined
          at Object.parseAIR (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ds.js:182:35)
          at Request._callback (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ds.js:174:28)
          at Request.self.callback (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:185:22)
          at Request.emit (events.js:182:13)
          at Request.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1161:10)
          at Request.emit (events.js:182:13)
          at IncomingMessage.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1083:12)
          at Object.onceWrapper (events.js:273:13)
          at IncomingMessage.emit (events.js:187:15)
          at endReadableNT (_stream_readable.js:1090:12)
      TypeError: Cannot read property 'pollution' of undefined
          at Object.parseAIR (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ds.js:182:35)
          at Request._callback (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ds.js:174:28)
          at Request.self.callback (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:185:22)
          at Request.emit (events.js:182:13)
          at Request.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1161:10)
          at Request.emit (events.js:182:13)
          at IncomingMessage.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1083:12)
          at Object.onceWrapper (events.js:273:13)
          at IncomingMessage.emit (events.js:187:15)
          at endReadableNT (_stream_readable.js:1090:12)
      TypeError: Cannot read property 'pollution' of undefined
          at Object.parseAIR (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ds.js:182:35)
          at Request._callback (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ds.js:174:28)
          at Request.self.callback (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:185:22)
          at Request.emit (events.js:182:13)
          at Request.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1161:10)
          at Request.emit (events.js:182:13)
      
      posted in Troubleshooting
      D
      dazza120
    • RE: Pi 4 storage used up in weeks?

      @evroom hi the first pi code just comes up no access and the other code comes up with a lot of other code thats above my pay grade lol, you could be right but its writting something like a Gb every two hours.

      posted in Troubleshooting
      D
      dazza120
    • RE: Pi 4 storage used up in weeks?

      @johnnyboy yes but now thinking it’s a dud card from amazon as this is how much is showing as used and that’s not equivalent to 28Gb

      Size Used Avail Use% Mounted on
      /dev/root 30G 28G 0 100% /
      devtmpfs 1.8G 0 1.8G 0% /dev
      tmpfs 1.9G 16K 1.9G 1% /dev/shm
      tmpfs 1.9G 8.5M 1.9G 1% /run
      tmpfs 5.0M 4.0K 5.0M 1% /run/lock
      tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
      /dev/mmcblk0p1 253M 40M 213M 16% /boot
      tmpfs 386M 0 386M 0% /run/user/1000

      posted in Troubleshooting
      D
      dazza120
    • Pi 4 storage used up in weeks?

      Anyone else having issues with there Pi4 storage SD card being totally full in the matter of weeks? This is a 32gb card running buster but the archive version so is only a 1Gb download OS then it expands to 3Gb or 4Gb which leaves a lot of room for storage still I have only got MMM-Remote-Control-repositories MMM-Remote-control —mmm-SystemStatus mmm-nest-status mmm-hue-lights MMM-NOAA3 with just these I’m left with 0gb of space in the matter is weeks. Is this happening to anyone else?

      posted in Troubleshooting
      D
      dazza120
    • RE: Blackscreen after update to v.2.8.0

      @sdetweil 100% that man it doesn’t need npm install and is working :) thank you

      posted in Troubleshooting
      D
      dazza120
    • RE: Has Google Maps changed?

      Looks like the author has locked it, as you can’t download it without a user name password

      posted in Troubleshooting
      D
      dazza120
    • RE: Blackscreen after update to v.2.8.0

      @sdetweil ok interesting any idea why it kills it if you do that as it’s never before very strange thanks I’ll take a look at it

      posted in Troubleshooting
      D
      dazza120
    • RE: Problem with sending socket notification to module

      @PerBa is this a Pi4 or Buster? Seems to be loads of issues with one of these. @sdetweil is the man to help though

      posted in Troubleshooting
      D
      dazza120
    • RE: Blackscreen after update to v.2.8.0

      @potts-mike i get the same with the pi4, the npm installs on some modules are killing the mirror. i think its safe to link all of these threads into one, ive put out a request for the dev of one module, i have no idea if any other module that i will put on the mirror will do the same i can only take it one step at a time, the affected module is mmm-nest-status.

      pi@raspberrypi:~ $ cd MagicMirror/modules
      pi@raspberrypi:~/MagicMirror/modules $ git clone https://github.com/BenRoe/MMM-SystemStats
      Cloning into 'MMM-SystemStats'...
      remote: Enumerating objects: 22, done.
      remote: Counting objects: 100% (22/22), done.
      remote: Compressing objects: 100% (14/14), done.
      remote: Total 231 (delta 10), reused 16 (delta 8), pack-reused 209
      Receiving objects: 100% (231/231), 88.08 KiB | 578.00 KiB/s, done.
      Resolving deltas: 100% (122/122), done.
      pi@raspberrypi:~/MagicMirror/modules $ cd MMM-SystemStats
      pi@raspberrypi:~/MagicMirror/modules/MMM-SystemStats $ npm install
      npm notice created a lockfile as package-lock.json. You should commit this file.
      added 1 package from 1 contributor and audited 1 package in 1.265s
      found 0 vulnerabilities
      
      pi@raspberrypi:~/MagicMirror/modules/MMM-SystemStats $ cd
      pi@raspberrypi:~ $ cd MagicMirror
      pi@raspberrypi:~/MagicMirror $ npm  run config:check
      
      > magicmirror@2.8.0 config:check /home/pi/MagicMirror
      > node tests/configs/check_config.js
      
      Checking file...  /home/pi/MagicMirror/config/config.js
      Your configuration file doesn't contain syntax errors :)
      pi@raspberrypi:~/MagicMirror $ cd modules
      pi@raspberrypi:~/MagicMirror/modules $ git clone https://github.com/michael5r/mmm-nest-status.git
      Cloning into 'mmm-nest-status'...
      remote: Enumerating objects: 135, done.
      remote: Total 135 (delta 0), reused 0 (delta 0), pack-reused 135
      Receiving objects: 100% (135/135), 65.27 KiB | 718.00 KiB/s, done.
      Resolving deltas: 100% (77/77), done.
      pi@raspberrypi:~/MagicMirror/modules $ cd mmm-nest-status
      pi@raspberrypi:~/MagicMirror/modules/mmm-nest-status $ npm install
      npm WARN deprecated undefined@0.1.0: this package has been deprecated
      npm WARN saveError ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/package.json'
      npm notice created a lockfile as package-lock.json. You should commit this file.
      npm WARN enoent ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/package.json'
      npm WARN modules No description
      npm WARN modules No repository field.
      npm WARN modules No README data
      npm WARN modules No license field.
      
      removed 1 package in 1.141s
      found 0 vulnerabilities
      
      pi@raspberrypi:~/MagicMirror/modules/mmm-nest-status $ cd
      pi@raspberrypi:~ $ pm2 restart MagicMirror
      Use --update-env to update environment variables
      [PM2] Applying action restartProcessId on app [MagicMirror](ids: 0)
      [PM2] [MagicMirror](0) ✓
      ┌─────────────┬────┬──────┬────────┬───┬─────┬──────────┐
      │ Name        │ id │ mode │ status │ ↺ │ cpu │ memory   │
      ├─────────────┼────┼──────┼────────┼───┼─────┼──────────┤
      │ MagicMirror │ 0  │ fork │ online │ 2 │ 0%  │ 2.5 MB   │
      └─────────────┴────┴──────┴────────┴───┴─────┴──────────┘
       Use `pm2 show <id|name>` to get more details about an app
      pi@raspberrypi:~ $ npm  run config:check
      npm ERR! path /home/pi/package.json
      npm ERR! code ENOENT
      npm ERR! errno -2
      npm ERR! syscall open
      npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
      npm ERR! enoent This is related to npm not being able to find a file.
      npm ERR! enoent 
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2019-07-13T20_08_21_703Z-debug.log
      
      
      posted in Troubleshooting
      D
      dazza120
    • Trouble with mmm-nest-status on pi4 with 2.8.0

      @michael5r im having issues with this beautyful module you created apon npm install it kills everything and leads to a black screen only way to fix it is to redownload MM. Here is the code that i get this is two different installs the first one is with the module config added and npm install done on the module after npm install the MM is always blackscreen

      pi@raspberrypi:~ $ cd MagicMirror/modules
      pi@raspberrypi:~/MagicMirror/modules $ git clone https://github.com/BenRoe/MMM-SystemStats
      Cloning into 'MMM-SystemStats'...
      remote: Enumerating objects: 22, done.
      remote: Counting objects: 100% (22/22), done.
      remote: Compressing objects: 100% (14/14), done.
      remote: Total 231 (delta 10), reused 16 (delta 8), pack-reused 209
      Receiving objects: 100% (231/231), 88.08 KiB | 578.00 KiB/s, done.
      Resolving deltas: 100% (122/122), done.
      pi@raspberrypi:~/MagicMirror/modules $ cd MMM-SystemStats
      pi@raspberrypi:~/MagicMirror/modules/MMM-SystemStats $ npm install
      npm notice created a lockfile as package-lock.json. You should commit this file.
      added 1 package from 1 contributor and audited 1 package in 1.265s
      found 0 vulnerabilities
      
      pi@raspberrypi:~/MagicMirror/modules/MMM-SystemStats $ cd
      pi@raspberrypi:~ $ cd MagicMirror
      pi@raspberrypi:~/MagicMirror $ npm  run config:check
      
      > magicmirror@2.8.0 config:check /home/pi/MagicMirror
      > node tests/configs/check_config.js
      
      Checking file...  /home/pi/MagicMirror/config/config.js
      Your configuration file doesn't contain syntax errors :)
      pi@raspberrypi:~/MagicMirror $ cd modules
      pi@raspberrypi:~/MagicMirror/modules $ git clone https://github.com/michael5r/mmm-nest-status.git
      Cloning into 'mmm-nest-status'...
      remote: Enumerating objects: 135, done.
      remote: Total 135 (delta 0), reused 0 (delta 0), pack-reused 135
      Receiving objects: 100% (135/135), 65.27 KiB | 718.00 KiB/s, done.
      Resolving deltas: 100% (77/77), done.
      pi@raspberrypi:~/MagicMirror/modules $ cd mmm-nest-status
      pi@raspberrypi:~/MagicMirror/modules/mmm-nest-status $ npm install
      npm WARN deprecated undefined@0.1.0: this package has been deprecated
      npm WARN saveError ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/package.json'
      npm notice created a lockfile as package-lock.json. You should commit this file.
      npm WARN enoent ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/package.json'
      npm WARN modules No description
      npm WARN modules No repository field.
      npm WARN modules No README data
      npm WARN modules No license field.
      
      removed 1 package in 1.141s
      found 0 vulnerabilities
      
      pi@raspberrypi:~/MagicMirror/modules/mmm-nest-status $ cd
      pi@raspberrypi:~ $ pm2 restart MagicMirror
      Use --update-env to update environment variables
      [PM2] Applying action restartProcessId on app [MagicMirror](ids: 0)
      [PM2] [MagicMirror](0) ✓
      ┌─────────────┬────┬──────┬────────┬───┬─────┬──────────┐
      │ Name        │ id │ mode │ status │ ↺ │ cpu │ memory   │
      ├─────────────┼────┼──────┼────────┼───┼─────┼──────────┤
      │ MagicMirror │ 0  │ fork │ online │ 2 │ 0%  │ 2.5 MB   │
      └─────────────┴────┴──────┴────────┴───┴─────┴──────────┘
       Use `pm2 show <id|name>` to get more details about an app
      pi@raspberrypi:~ $ npm  run config:check
      npm ERR! path /home/pi/package.json
      npm ERR! code ENOENT
      npm ERR! errno -2
      npm ERR! syscall open
      npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
      npm ERR! enoent This is related to npm not being able to find a file.
      npm ERR! enoent 
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2019-07-13T20_08_21_703Z-debug.log
      
      
      pi@raspberrypi:~ $ cd MagicMirror/modules
      pi@raspberrypi:~/MagicMirror/modules $ git clone https://github.com/michael5r/mmm-nest-status.git
      Cloning into 'mmm-nest-status'...
      remote: Enumerating objects: 135, done.
      remote: Total 135 (delta 0), reused 0 (delta 0), pack-reused 135
      Receiving objects: 100% (135/135), 65.27 KiB | 586.00 KiB/s, done.
      Resolving deltas: 100% (77/77), done.
      pi@raspberrypi:~/MagicMirror/modules $ cd
      pi@raspberrypi:~ $ cd MagicMirror
      pi@raspberrypi:~/MagicMirror $ npm run check:config
      npm ERR! missing script: check:config
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2019-07-13T20_44_54_553Z-debug.log
      pi@raspberrypi:~/MagicMirror $ pm2 restart MagicMirror
      Use --update-env to update environment variables
      [PM2] Applying action restartProcessId on app [MagicMirror](ids: 0)
      [PM2] [MagicMirror](0) ✓
      ┌─────────────┬────┬──────┬────────┬───┬─────┬──────────┐
      │ Name        │ id │ mode │ status │ ↺ │ cpu │ memory   │
      ├─────────────┼────┼──────┼────────┼───┼─────┼──────────┤
      │ MagicMirror │ 0  │ fork │ online │ 3 │ 0%  │ 2.4 MB   │
      └─────────────┴────┴──────┴────────┴───┴─────┴──────────┘
       Use `pm2 show <id|name>` to get more details about an app
      pi@raspberrypi:~/MagicMirror $ 
      
      

      Complete file found in .npm

      0 info it worked if it ends with ok
      1 verbose cli [ '/usr/bin/node', '/usr/local/bin/npm', 'run', 'config:check' ]
      2 info using npm@6.10.1
      3 info using node@v10.15.2
      4 verbose config Skipping project config: /home/pi/.npmrc. (matches userconfig)
      5 verbose stack Error: ENOENT: no such file or directory, open '/home/pi/package.json'
      6 verbose cwd /home/pi
      7 verbose Linux 4.19.57-v7l+
      8 verbose argv "/usr/bin/node" "/usr/local/bin/npm" "run" "config:check"
      9 verbose node v10.15.2
      10 verbose npm  v6.10.1
      11 error path /home/pi/package.json
      12 error code ENOENT
      13 error errno -2
      14 error syscall open
      15 error enoent ENOENT: no such file or directory, open '/home/pi/package.json'
      16 error enoent This is related to npm not being able to find a file.
      17 verbose exit [ -2, true ]
      
      
      posted in Troubleshooting
      D
      dazza120
    • 1 / 1