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

    Posts

    Recent Best Controversial
    • RE: Black Screen After MM Update

      Reinstalled MM and modules from scratch. Backup was too old and I had changed too much since it was done. Reinstalling was faster.

      posted in Troubleshooting
      S
      sonicgoose
    • RE: Black Screen After MM Update

      @sdetweil User. Sorry, I was logged in through ssh as the user, so no need to type the ~ before.

      Short answer: ~/MagicMirror

      posted in Troubleshooting
      S
      sonicgoose
    • Black Screen After MM Update

      I know others have had this issue in the past and I’ve looked at those posts but can’t find a solution. I have two MagicMirror installations on different RPis — one update no problem with:

      pm2 stop MagicMirror
      cd /MagicMirror
      git pull
      npm install
      

      The second one just gives me a black screen. The developer inspector won’t even open in the browser. Here is the tail end of the error log:

      [17.04.2021 12:30.25.807] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './v4' is not defined by "exports" in /home/pi/MagicMirror/node_modules/uuid/package.json
      [17.04.2021 12:30.25.839] [ERROR] App threw an error during load
      [17.04.2021 12:30.25.840] [ERROR] Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './v4' is not defined by "exports" in /home/pi/MagicMirror/node_modules/uuid/package.json
          at applyExports (internal/modules/cjs/loader.js:497:9)
          at resolveExports (internal/modules/cjs/loader.js:513:23)
          at Function.Module._findPath (internal/modules/cjs/loader.js:641:31)
          at Module._resolveFilename (internal/modules/cjs/loader.js:959:27)
          at Function.n._resolveFilename (electron/js2c/browser_init.js:249:921)
          at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
          at Module._load (internal/modules/cjs/loader.js:848:27)
          at Function.f._load (electron/js2c/asar_bundle.js:5:12738)
          at Module.require (internal/modules/cjs/loader.js:1032:19)
          at require (internal/modules/cjs/helpers.js:72:18)
      [17.04.2021 12:30.25.842] [ERROR] Whoops! There was an uncaught exception...
      [17.04.2021 12:30.25.851] [ERROR] Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './v4' is not defined by "exports" in /home/pi/MagicMirror/node_modules/uuid/package.json
          at applyExports (internal/modules/cjs/loader.js:497:9)
          at resolveExports (internal/modules/cjs/loader.js:513:23)
          at Function.Module._findPath (internal/modules/cjs/loader.js:641:31)
          at Module._resolveFilename (internal/modules/cjs/loader.js:959:27)
          at Function.n._resolveFilename (electron/js2c/browser_init.js:249:921)
          at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
          at Module._load (internal/modules/cjs/loader.js:848:27)
          at Function.f._load (electron/js2c/asar_bundle.js:5:12738)
          at Module.require (internal/modules/cjs/loader.js:1032:19)
          at require (internal/modules/cjs/helpers.js:72:18) {
        code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
      }
      [17.04.2021 12:30.25.853] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      [17.04.2021 12:30.25.854] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      
      

      Any suggestions?

      posted in Troubleshooting
      S
      sonicgoose
    • RE: MMM-AssistantMk2 (v3)

      @Bugsounet How very childish.

      posted in System
      S
      sonicgoose
    • RE: Can someone help me understand "updateInterval"? DarkSky is charging me a lot of money.

      @cotxwx I’m using the MMM-DarkSkyForecast module on two different mirrors, both using the same API key for DarkSky, and the total number of API calls made on my account averages 96 per day. Here’s my config:

      		{
      			module: "MMM-DarkSkyForecast",
      			//header: "Weather",
      			position: "top_right",
      			classes: "default everyone",
      			disabled: false,
      			config: {
      			    apikey: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
      			    latitude: "43.XXXXXX",
      			    longitude: "-79.XXXXXX",      
      			    updateInterval: "30", //this is in minutes, so every 30 minutes
      			    iconset: "3c",
      			    showCurrentConditions: true,
      			    showExtraCurrentConditions: false,
      			    showSummary: true,
      			    showForecastTableColumnHeaderIcons: false,
      			    concise: true,
      			    forecastLayout: "table", //other option is "table"
       		 	}
      		},
      
      posted in Troubleshooting
      S
      sonicgoose
    • RE: MMM-TelegramBot error.

      @Bugsounet Thanks. That seems to have done the trick. I didn’t notice the square brackets when reading the instructions.

      posted in Troubleshooting
      S
      sonicgoose
    • RE: MMM-TelegramBot error.

      Bump for @Bugsounet

      posted in Troubleshooting
      S
      sonicgoose
    • RE: Display and Controller dont work together ?

      @Holyasgard Did you also buy a power supply for the controller board? You need that. However, I went through four of these type of lcd controller boards with exactly the same problem as you. In the end, I used a different monitor and the controller board that came with it. Turnout to be a lot easier.

      posted in Hardware
      S
      sonicgoose
    • RE: MMM-TelegramBot error.

      @Bugsounet This is not working for me. Step 4 in the install instructions just responds with “You are not allowed to command me. Ask Admin.”

      My config:

                      {
                              disabled: false,
                              module: "MMM-TelegramBot",
                              config: {
                                      telegramAPIKey: "12XXXXX892:AAHXXXXXXXXXXXXXXXX_0Dme-XXXXXXX",
                                      allowedUser: "BXXXXXdBXXXXFXXXX",
                              },
                      },
      

      Console show MMM-TelegramBot started ok.

      Log file:

      [2020-08-13 13:45:32.619] [ERROR]  TelegramError: ETELEGRAM: 404 Not Found
          at /home/pi/MagicMirror/modules/MMM-TelegramBot/node_modules/node-telegram-bot-api/src/telegram.js:213:15
          at tryCatcher (/home/pi/MagicMirror/modules/MMM-TelegramBot/node_modules/bluebird/js/release/util.js:16:23)
          at Promise._settlePromiseFromHandler (/home/pi/MagicMirror/modules/MMM-TelegramBot/node_modules/bluebird/js/release/promise.js:547:31)
          at Promise._settlePromise (/home/pi/MagicMirror/modules/MMM-TelegramBot/node_modules/bluebird/js/release/promise.js:604:18)
          at Promise._settlePromise0 (/home/pi/MagicMirror/modules/MMM-TelegramBot/node_modules/bluebird/js/release/promise.js:649:10)
          at Promise._settlePromises (/home/pi/MagicMirror/modules/MMM-TelegramBot/node_modules/bluebird/js/release/promise.js:729:18)
          at _drainQueueStep (/home/pi/MagicMirror/modules/MMM-TelegramBot/node_modules/bluebird/js/release/async.js:93:12)
          at _drainQueue (/home/pi/MagicMirror/modules/MMM-TelegramBot/node_modules/bluebird/js/release/async.js:86:9)
          at Async._drainQueues (/home/pi/MagicMirror/modules/MMM-TelegramBot/node_modules/bluebird/js/release/async.js:102:5)
          at Immediate.Async.drainQueues [as _onImmediate] (/home/pi/MagicMirror/modules/MMM-TelegramBot/node_modules/bluebird/js/release/async.js:15:14)
          at processImmediate (internal/timers.js:439:21) {
        code: 'ETELEGRAM',
        response: IncomingMessage {
          _readableState: ReadableState {
            objectMode: false,
            highWaterMark: 16384,
            buffer: BufferList { head: null, tail: null, length: 0 },
            length: 0,
            pipes: null,
            pipesCount: 0,
            flowing: true,
            ended: true,
            endEmitted: true,
            reading: false,
            sync: true,
            needReadable: false,
            emittedReadable: false,
            readableListening: false,
            resumeScheduled: false,
            paused: false,
            emitClose: true,
            autoDestroy: false,
            destroyed: false,
            defaultEncoding: 'utf8',
            awaitDrain: 0,
            readingMore: true,
            decoder: null,
            encoding: null
          },
          readable: false,
          _events: [Object: null prototype] {
            end: [Array],
            close: [Array],
            data: [Function],
            error: [Function]
          },
          _eventsCount: 4,
          _maxListeners: undefined,
          socket: TLSSocket {
            _tlsOptions: [Object],
            _secureEstablished: true,
            _securePending: false,
            _newSessionPending: false,
            _controlReleased: true,
            _SNICallback: null,
            servername: 'api.telegram.org',
            alpnProtocol: false,
            authorized: true,
            authorizationError: null,
            encrypted: true,
            _events: [Object: null prototype],
            _eventsCount: 9,
            connecting: false,
            _hadError: false,
            _parent: null,
            _host: 'api.telegram.org',
            _readableState: [ReadableState],
            readable: true,
            _maxListeners: undefined,
            _writableState: [WritableState],
            writable: true,
            allowHalfOpen: false,
            _sockname: null,
            _pendingData: null,
            _pendingEncoding: '',
            server: undefined,
            _server: null,
            ssl: [TLSWrap],
            _requestCert: true,
            _rejectUnauthorized: true,
            parser: null,
            _httpMessage: null,
            [Symbol(res)]: [TLSWrap],
            [Symbol(asyncId)]: -1,
            [Symbol(kHandle)]: [TLSWrap],
            [Symbol(lastWriteQueueSize)]: 0,
            [Symbol(timeout)]: null,
            [Symbol(kBytesRead)]: 0,
            [Symbol(kBytesWritten)]: 0,
            [Symbol(connect-options)]: [Object]
          },
          connection: TLSSocket {
            _tlsOptions: [Object],
            _secureEstablished: true,
            _securePending: false,
            _newSessionPending: false,
            _controlReleased: true,
            _SNICallback: null,
            servername: 'api.telegram.org',
            alpnProtocol: false,
            authorized: true,
            authorizationError: null,
            encrypted: true,
            _events: [Object: null prototype],
            _eventsCount: 9,
            connecting: false,
            _hadError: false,
            _parent: null,
            _host: 'api.telegram.org',
            _readableState: [ReadableState],
            readable: true,
            _maxListeners: undefined,
            _writableState: [WritableState],
            writable: true,
            allowHalfOpen: false,
            _sockname: null,
            _pendingData: null,
            _pendingEncoding: '',
            server: undefined,
            _server: null,
            ssl: [TLSWrap],
            _requestCert: true,
            _rejectUnauthorized: true,
            parser: null,
            _httpMessage: null,
            [Symbol(res)]: [TLSWrap],
            [Symbol(asyncId)]: -1,
            [Symbol(kHandle)]: [TLSWrap],
            [Symbol(lastWriteQueueSize)]: 0,
            [Symbol(timeout)]: null,
            [Symbol(kBytesRead)]: 0,
            [Symbol(kBytesWritten)]: 0,
            [Symbol(connect-options)]: [Object]
          },
          httpVersionMajor: 1,
          httpVersionMinor: 1,
          httpVersion: '1.1',
          complete: true,
          headers: {
            server: 'nginx/1.16.1',
            date: 'Thu, 13 Aug 2020 17:45:32 GMT',
            'content-type': 'application/json',
            'content-length': '55',
            connection: 'keep-alive',
            'strict-transport-security': 'max-age=31536000; includeSubDomains; preload',
            'access-control-allow-origin': '*',
            'access-control-expose-headers': 'Content-Length,Content-Type,Date,Server,Connection'
          },
          rawHeaders: [
            'Server',
            'nginx/1.16.1',
            'Date',
            'Thu, 13 Aug 2020 17:45:32 GMT',
            'Content-Type',
            'application/json',
            'Content-Length',
            '55',
            'Connection',
            'keep-alive',
            'Strict-Transport-Security',
            'max-age=31536000; includeSubDomains; preload',
            'Access-Control-Allow-Origin',
            '*',
            'Access-Control-Expose-Headers',
            'Content-Length,Content-Type,Date,Server,Connection'
          ],
          trailers: {},
          rawTrailers: [],
          aborted: false,
          upgrade: false,
          url: '',
          method: null,
          statusCode: 404,
          statusMessage: 'Not Found',
          client: TLSSocket {
            _tlsOptions: [Object],
            _secureEstablished: true,
            _securePending: false,
            _newSessionPending: false,
            _controlReleased: true,
            _SNICallback: null,
            servername: 'api.telegram.org',
            alpnProtocol: false,
            authorized: true,
            authorizationError: null,
            encrypted: true,
            _events: [Object: null prototype],
            _eventsCount: 9,
            connecting: false,
            _hadError: false,
            _parent: null,
            _host: 'api.telegram.org',
            _readableState: [ReadableState],
            readable: true,
            _maxListeners: undefined,
            _writableState: [WritableState],
            writable: true,
            allowHalfOpen: false,
            _sockname: null,
            _pendingData: null,
            _pendingEncoding: '',
            server: undefined,
            _server: null,
            ssl: [TLSWrap],
            _requestCert: true,
            _rejectUnauthorized: true,
            parser: null,
            _httpMessage: null,
            [Symbol(res)]: [TLSWrap],
            [Symbol(asyncId)]: -1,
            [Symbol(kHandle)]: [TLSWrap],
            [Symbol(lastWriteQueueSize)]: 0,
            [Symbol(timeout)]: null,
            [Symbol(kBytesRead)]: 0,
            [Symbol(kBytesWritten)]: 0,
            [Symbol(connect-options)]: [Object]
          },
          _consuming: false,
          _dumped: false,
          req: ClientRequest {
            _events: [Object: null prototype],
            _eventsCount: 5,
            _maxListeners: undefined,
            outputData: [],
            outputSize: 0,
            writable: true,
            _last: false,
            chunkedEncoding: false,
            shouldKeepAlive: true,
            useChunkedEncodingByDefault: true,
            sendDate: false,
            _removedConnection: false,
            _removedContLen: false,
            _removedTE: false,
            _contentLength: null,
            _hasBody: true,
            _trailer: '',
            finished: true,
            _headerSent: true,
            socket: [TLSSocket],
            connection: [TLSSocket],
            _header: 'POST /botAAHXXXXXXXXXXXXXXXX_0Dme-XXXXXXX/getUpdates ' +
              'HTTP/1.1\r' +
              '\nhost: api.telegram.org\r' +
              '\ncontent-type: application/x-www-form-urlencoded\r' +
              '\ncontent-length: 19\r' +
              '\nConnection: keep-alive\r' +
              '\n\r' +
              '\n',
            _onPendingData: [Function: noopPendingOutput],
            agent: [Agent],
            socketPath: undefined,
            method: 'POST',
            path: '/botAAHXXXXXXXXXXXXXXXX_0Dme-XXXXXXX/getUpdates',
            _ended: true,
            res: [Circular],
            aborted: false,
            timeoutCb: null,
            upgradeOrConnect: false,
            parser: null,
            maxHeadersCount: null,
            [Symbol(isCorked)]: false,
            [Symbol(outHeadersKey)]: [Object: null prototype]
          },
          request: Request {
            _events: [Object: null prototype],
            _eventsCount: 5,
            _maxListeners: undefined,
            method: 'POST',
            simple: false,
            resolveWithFullResponse: true,
            forever: true,
            readable: true,
            writable: true,
            explicitMethod: true,
            _qs: [Querystring],
            _auth: [Auth],
            _oauth: [OAuth],
            _multipart: [Multipart],
            _redirect: [Redirect],
            _tunnel: [Tunnel],
            _rp_resolve: [Function],
            _rp_reject: [Function],
            _rp_promise: [Promise [Object]],
            _rp_callbackOrig: undefined,
            callback: [Function],
            _rp_options: [Object],
            headers: [Object],
            setHeader: [Function],
            hasHeader: [Function],
            getHeader: [Function],
            removeHeader: [Function],
            localAddress: undefined,
            pool: [Object],
            dests: [],
            __isRequestRequest: true,
            _callback: [Function: RP$callback],
            uri: [Url],
            proxy: null,
            tunnel: true,
            setHost: true,
            originalCookieHeader: undefined,
            _disableCookies: true,
            _jar: undefined,
            port: 443,
            host: 'api.telegram.org',
            body: 'offset=0&timeout=10',
            path: '/botAAHXXXXXXXXXXXXXXXX_0Dme-XXXXXXX/getUpdates',
            httpModule: [Object],
            agentClass: [Function: Agent],
            agentOptions: [Object],
            agent: [Agent],
            _started: true,
            href: 'https://api.telegram.org/botAAHXXXXXXXXXXXXXXXX_0Dme-XXXXXXX/getUpdates',
            req: [ClientRequest],
            ntick: true,
            response: [Circular],
            originalHost: 'api.telegram.org',
            originalHostHeaderName: 'host',
            responseContent: [Circular],
            _destdata: true,
            _ended: true,
            _callbackCalled: true
          },
          toJSON: [Function: responseToJSON],
          caseless: Caseless { dict: [Object] },
          body: { ok: false, error_code: 404, description: 'Not Found' }
        }
      
      
      posted in Troubleshooting
      S
      sonicgoose
    • RE: My first Magic Mirror build in an old imac

      @diemen112 That’s default calendar module that comes with MagicMirror.

      posted in Show your Mirror
      S
      sonicgoose
    • 1 / 1