Reinstalled MM and modules from scratch. Backup was too old and I had changed too much since it was done. Reinstalling was faster.
Read the statement by Michael Teeuw here.
Posts
-
RE: Black Screen After MM Update
-
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
-
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 installThe 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/issuesAny suggestions?
-
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" } }, -
RE: MMM-TelegramBot error.
@Bugsounet Thanks. That seems to have done the trick. I didn’t notice the square brackets when reading the instructions.
-
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.
-
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' } } -
RE: My first Magic Mirror build in an old imac
@diemen112 That’s default calendar module that comes with MagicMirror.
-
RE: My first Magic Mirror build in an old imac
@banbutcher MMM-DarkSkyForecast
-
RE: My first Magic Mirror build in an old imac
@sonicgoose said in My first Magic Mirror build in an old imac:
I’ve been doing the same thing with a 20" white Intel iMac, but have had one helluva time. None of the display controllers work with the native LG 1600x1050 display Apple put in these things, so I’ve basically gutted the iMac and am putting in a new display, etc.
Not to hijack the thread, but this is how mine turned out.

-
RE: My first Magic Mirror build in an old imac
@diemen112 Tried four different ones, all allegedly specific to the LM201W01 SL A3 that was in the iMac. None worked.
-
RE: My first Magic Mirror build in an old imac
I’ve been doing the same thing with a 20" white Intel iMac, but have had one helluva time. None of the display controllers work with the native LG 1600x1050 display Apple put in these things, so I’ve basically gutted the iMac and am putting in a new display, etc.
-
RE: MMPM 2.01 Now Available on PyPI!
@swvalenti What browser cache? This is in Terminal.
-
RE: MMPM 2.01 Now Available on PyPI!
Installation fails with
sudo mmpm install --guiwith error mmpm is not installed.
-
RE: MMM-GoogleFit no longer updating
@banbutcher You’re right, it sorted itself out this morning. That’s really weird. The guy who wrote the module isn’t maintaining it, but it would be nice if someone who knows code could take a look at it and fix it. Not a big issue but certainly annoying!
-
MMM-GoogleFit no longer updating
I’ve had MMM-GoogleFit installed and running just fine for the last month or so, but I noticed yesterday that it wasn’t updating properly. Yesterday was Wednesday, but it already had data populated for the day that was incorrect by quite a lot. Anyone else having any trouble with this module? This was prior to the MM update yesterday, and the update to MM did not resolve the issue.
-
RE: Controller Board issue
That looks suspiciously like the controller board I ordered off eBay and which didn’t work. Power to the monitor was fine, the backlight would turn on, but no signal through the LVDS cable. After much back and forth with the seller, including confirmation I had given them the correct LCD model number and confirmation they had shipped the correct board, they shipped me a second one, which also didn’t work. So I bought one off a different eBay seller that unbeknownst to me worked in the same warehouse as the first seller, so the third controller also didn’t work.
After many months of trying different things, I finally tracked down the source of the problem with the help of a friend. The controller boards are soldered to output 16:9, but the display I had was natively set to 16:10. There was no way in hell it was ever going to work.
-
RE: Any way to fix this?
Thanks for the suggestions, @bhepler. I’ll try these tomorrow.