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

    Posts

    Recent Best Controversial
    • RE: cannot install pm2

      @sdetweil yes, stand by…

      posted in Troubleshooting
      M
      mrlowndes
    • RE: cannot install pm2

      @sdetweil ok I’ll give that a go. In the meantime:

      pi@raspberrypi:~ $ sudo npm install -g pm2
      npm ERR! Unexpected end of JSON input while parsing near '...s":{"moment-timezone"'
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /root/.npm/_logs/2020-04-29T18_49_06_787Z-debug.log
      

      and

      pi@raspberrypi:~/MagicMirror $ lsb_release -a
      No LSB modules are available.
      Distributor ID:	Raspbian
      Description:	Raspbian GNU/Linux 10 (buster)
      Release:	10
      Codename:	buster
      
      posted in Troubleshooting
      M
      mrlowndes
    • RE: cannot install pm2

      @sdetweil yes, manual install of MM

      pi@raspberrypi:~ $ node -v
      v10.20.1
      pi@raspberrypi:~ $ npm -v
      6.14.4
      

      how do I show results of lsb_release -a?

      posted in Troubleshooting
      M
      mrlowndes
    • cannot install pm2

      Hello. I’m getting this error when I try to install pm2:

      • do I install in /MagicMirror directory?
      pi@raspberrypi:~/MagicMirror $ sudo npm install -g pm2
      npm ERR! Unexpected end of JSON input while parsing near '...s":{"moment-timezone"'
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /root/.npm/_logs/2020-04-29T18_34_01_247Z-debug.log
      
      posted in Troubleshooting
      M
      mrlowndes
    • RE: mmm-Remote-Control issues

      @sdetweil so the whitelist doesn’t work?

      posted in Troubleshooting
      M
      mrlowndes
    • mmm-Remote-Control issues

      Hello, I’m having difficulty getting access. I have changed the config.js file multiple times to no affect. All the things I have read talk about IP addresses in the 192 range, but all mine are 10.0.0.xxx. I have added the IPs of my phone and laptop to the config but it just doesn’t work. Here are the settings currently:

      var config = {
      	//address: "localhost", // Address to listen on, can be:
      address: "0.0.0.0",
      	                      // - "localhost", "0.0.0.0", "::1" to listen on loopback interface
      	                      // - another specific IPv4/6 to listen on a specific interface
      	                      // - "0.0.0.0", "::" to listen on any interface
      	                      // Default, when address config is left out or empty, is "localhost"
      	port: 8080,
      	ipWhitelist: ["::fff:10.0.0.110", "::fff:128.0.0.0/2", "::fff:192.0.0.0/3", "::fff:224.0.0.0/4", "127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
      	                                                       // or add a specific IPv4 of 192.168.1.5 :
      	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
      	                                                       // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
      	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
      

      and here is the module in my config.js file:

      {
              module: 'MMM-Remote-Control',
              // uncomment the following line to show the URL of the remote control on the mirror
              position: 'bottom_left',
              // you can hide this module afterwards from the remote control itself
              config: {
              //customCommand: {},  // Optional, See "Using Custom Commands" below
              //customMenu: "custom_menu.json", // Optional, See "Custom Menu Items" below
              //showModuleApiMenu: true, // Optional, Enable the Module Controls menu
              apiKey: "",         // Optional, See API/README.md for details
              }
      
      posted in Troubleshooting
      M
      mrlowndes
    • RE: Weather module config

      @sdetweil haha well that was dumb of me. I copied it from the web page where there isn’t a minus, but in the URL there obviously is. Thanks so much! got it working!

      posted in Troubleshooting
      M
      mrlowndes
    • RE: Weather module config

      @sdetweil I’m using the lat long listed here: https://forecast.weather.gov/MapClick.php?lat=34.54167&lon=-119.80917#.XqhoOJp7kWr

      posted in Troubleshooting
      M
      mrlowndes
    • RE: Weather module config

      @sdetweil yeah, it is a US location

      posted in Troubleshooting
      M
      mrlowndes
    • RE: Weather module config

      @sdetweil yeah, no dice. This came up in my browser

      "title": "Data Unavailable For Requested Point",
          "type": "https://api.weather.gov/problems/InvalidPoint",
          "status": 404,
          "detail": "Unable to provide data for requested point 34.5444,119.7913",
          "instance": "https://api.weather.gov/requests/8199fbe2-ac6c-4c7c-b109-ed162794f780"
      
      posted in Troubleshooting
      M
      mrlowndes
    • 1 / 1