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

    Posts

    Recent Best Controversial
    • RE: MMM-NOAA

      Hi

      thanks, I will try it.

      Just for my understanding: I should delete the MMM-Fuel module from my config.js (or is config.json another file)?
      Sorry I m noob.

      Thank you very much!

      posted in Troubleshooting
      C
      core
    • RE: MMM-NOAA

      ok in addition I ran pm2 logs mm with regard to the issue.
      Here is the log:

      pi@magicpi:~ $ pm2 logs mm
      [TAILING] Tailing last 15 lines for [mm] process (change the value with --lines option)
      /home/pi/.pm2/logs/mm-error-0.log last 15 lines:
      0|mm | at ClientRequest.emit (events.js:191:7)
      0|mm | at Socket.socketErrorListener (_http_client.js:358:9)
      0|mm | at emitOne (events.js:96:13)
      0|mm | TypeError: Cannot read property ‘statusCode’ of undefined
      0|mm | at Request.request [as _callback] (/home/pi/MagicMirror/modules/MMM-Fuel/apis/tankerkoenig.js:115:29)
      0|mm | at self.callback (/home/pi/MagicMirror/modules/MMM-Fuel/node_modules/request/request.js:186:22)
      0|mm | at emitOne (events.js:96:13)
      0|mm | at Request.emit (events.js:191:7)
      0|mm | at Request.onRequestError (/home/pi/MagicMirror/modules/MMM-Fuel/node_modules/request/request.js:878:8)
      0|mm | at emitOne (events.js:96:13)
      0|mm | at ClientRequest.emit (events.js:191:7)
      0|mm | at TLSSocket.socketErrorListener (_http_client.js:358:9)
      0|mm | at emitOne (events.js:96:13)
      0|mm | at TLSSocket.emit (events.js:191:7)
      0|mm | Failure: null

      /home/pi/.pm2/logs/mm-out-0.log last 15 lines:
      0|mm | Sonos helper started …
      0|mm | Connecting socket for: MMM-Fuel
      0|mm | Starting module helper: MMM-Fuel
      0|mm | Connecting socket for: MMM-SystemStats
      0|mm | Connecting socket for: newsfeed
      0|mm | Starting module: newsfeed
      0|mm | Sockets connected & modules started …
      0|mm | Launching application.
      0|mm | SONOS_UPDATE
      0|mm | Create new news fetcher for url: http://rss.kicker.de/news/aktuell - Interval: 300000
      0|mm | Create new news fetcher for url: http://www.n-tv.de/rss - Interval: 300000
      0|mm |
      0|mm | > magicmirror@2.1.3 start /home/pi/MagicMirror
      0|mm | > sh run-start.sh
      0|mm |

      posted in Troubleshooting
      C
      core
    • RE: MMM-NOAA

      Hi,

      first, thanks again for helping!
      here is the log after executing npm start dev in cd MagicMirror

      Starting MagicMirror: v2.1.3
      Loading config …
      Loading module helpers …
      No helper found for module: alert.
      Initializing new module helper …
      Module helper loaded: updatenotification
      No helper found for module: clock.
      No helper found for module: calendar_monthly.
      Initializing new module helper …
      Module helper loaded: MMM-temp-ds18b20
      Initializing new module helper …
      Module helper loaded: MMM-NOAA
      Initializing new module helper …
      Module helper loaded: MMM-Sonos
      Initializing new module helper …
      Module helper loaded: MMM-Fuel
      Initializing new module helper …
      Module helper loaded: MMM-SystemStats
      Initializing new module helper …
      Module helper loaded: newsfeed
      All module helpers loaded.
      Starting server on port 8080 …
      Server started …
      Connecting socket for: updatenotification
      Connecting socket for: MMM-temp-ds18b20
      Connecting socket for: MMM-NOAA
      Starting module: MMM-NOAA
      Connecting socket for: MMM-Sonos
      Sonos helper started …
      Connecting socket for: MMM-Fuel
      Starting module helper: MMM-Fuel
      Connecting socket for: MMM-SystemStats
      Connecting socket for: newsfeed
      Starting module: newsfeed
      Sockets connected & modules started …
      Launching application.
      SONOS_UPDATE
      Create new news fetcher for url: http://rss.kicker.de/news/aktuell - Interval: 300000
      Create new news fetcher for url: http://www.n-tv.de/rss - Interval: 300000
      SONOS_UPDATE

      And here is my config file for MMM-NOAA:

      	{
      		disabled: false,
      		module: 'MMM-NOAA',
      			position: 'top_right',
      			config: 
      			{
      			apiKey: "xxx",    
      			useAir: true,             
      			airKey: "xxx",    
      			pws: "ISCHIFFE4",         
      			showClock: false,           
      			dformat: false,            
      			format: "24",             
      			ampm: true,               
      			showGreet: false,          
      			name: "",                  // Your name
      			showWind: true,
      			showDate: false,
      			showForecast: true,         //show bottom 3 day forecast
      			flash: true                 //Today in forecast flashes halo
      		}
      	},
      

      With this config of the Module, the following modules are shown on screen and running:

      MMM-NOAA
      Calendar_monthly
      MMM-temp-ds
      clock

      When I delete MMM-NOAA from the config, the following modules are shown on screen and running:

      Calendar_monthly
      clock
      MMM-temp-ds
      newsfeed
      MMM-Fuel
      MMM-Sonos
      MMM-SystemStats

      Thanks again for help!!

      posted in Troubleshooting
      C
      core
    • RE: MMM-NOAA

      hi,

      thanks for the help. I ran npm start dev and here is the log:

      0 info it worked if it ends with ok
      1 verbose cli [ ‘/usr/bin/node’, ‘/usr/bin/npm’, ‘start’, ‘dev’ ]
      2 info using npm@3.10.10
      3 info using node@v6.12.3
      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’
      5 verbose stack at Error (native)
      6 verbose cwd /home/pi
      7 error Linux 4.9.53-v7+
      8 error argv “/usr/bin/node” “/usr/bin/npm” “start” “dev”
      9 error node v6.12.3
      10 error npm v3.10.10
      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 ENOENT: no such file or directory, open ‘/home/pi/package.json’
      16 error enoent This is most likely not a problem with npm itself
      16 error enoent and is related to npm not being able to find a file.
      17 verbose exit [ -2, true ]

      anz ideas?

      posted in Troubleshooting
      C
      core
    • RE: MMM-NOAA

      Hi everyone,

      I have problems with regard to the latest version of this module.

      I updated to the new version, including the updated weather service provider and since then, two of my other modules (MMM-Fuel and MMM-Sonos) are not working any more. The position (bottom_left) is just blank now, wheras the MMM-NOAA (position: top_right) module works. Even a re-install of MMM-NOAA and reboot of my Rpi3 did not fix this issue.
      When I delete the module from my config, all other modules are working again, so I can clearly assign the problem to the MMM-NOAA module.
      Until now, I don´ t use this module and all modules are working smoothly. However, I like this module so hopefully, the problems will be fixed soon. Any news about it?

      Thanks!

      posted in Troubleshooting
      C
      core
    • RE: MMM-NOAA - Another Weather Module

      Hi everyone,

      I have problems with regard to the latest version of this module.

      I updated to the new version, including the updated weather service provider and since then, two of my other modules (MMM-Fuel and MMM-Sonos) are not working any more. The position (bottom_left) is just blank now, wheras the MMM-NOAA (position: top_right) module works. Even a re-install of MMM-NOAA and reboot of my Rpi3 did not fix this issue.
      When I delete the module from my config, all other modules are working again, so I can clearly assign the problem to the MMM-NOAA module.
      Until now, I don´ t use this module and all modules are working smoothly. However, I like this module so hopefully, the problems will be fixed soon. Any news about it?

      Thanks!

      posted in System
      C
      core
    • 1
    • 2
    • 2 / 2