I used MMM-GoogleAssistant and some other modules from Bugsounet. Unfortunately my mirror broke and SD card and backups got lost.
Is there an alternative for GoogleAssistant and related modules coming up?
I used MMM-GoogleAssistant and some other modules from Bugsounet. Unfortunately my mirror broke and SD card and backups got lost.
Is there an alternative for GoogleAssistant and related modules coming up?
If I select
languageSet: ["en"],```
it works fine
If I select
languageSet: [“nl”],
I get no poems at all only "loading"on the screen and errors in the log
url: ‘https://www.poemist.com/api/v1/randompoems’,
0|mm | method: ‘get’,
0|mm | headers: [Object],
0|mm | transformRequest: [Array],
0|mm | transformResponse: [Array],
0|mm | timeout: 0,
0|mm | adapter: [Function: httpAdapter],
0|mm | xsrfCookieName: ‘XSRF-TOKEN’,
0|mm | xsrfHeaderName: ‘X-XSRF-TOKEN’,
0|mm | maxContentLength: -1,
0|mm | validateStatus: [Function: validateStatus],
0|mm | data: undefined
0|mm | },
0|mm | request: ClientRequest {
0|mm | _events: [Object: null prototype],
0|mm | _eventsCount: 6,
0|mm | _maxListeners: undefined,
0|mm | outputData: [],
0|mm | outputSize: 0,
0|mm | writable: true,
0|mm | _last: true,
0|mm | chunkedEncoding: false,
0|mm | shouldKeepAlive: false,
0|mm | useChunkedEncodingByDefault: false,
0|mm | sendDate: false,
0|mm | _removedConnection: false,
0|mm | _removedContLen: false,
0|mm | _removedTE: false,
0|mm | _contentLength: 0,
0|mm | _hasBody: true,
0|mm | _trailer: ‘’,
0|mm | finished: true,
0|mm | _headerSent: true,
0|mm | socket: [TLSSocket],
0|mm | connection: [TLSSocket],
0|mm | _header: ‘GET /api/v1/randompoems HTTP/1.1\r\n’ +
0|mm | ‘Accept: application/json, text/plain, /\r\n’ +
0|mm | ‘User-Agent: axios/0.19.0\r\n’ +
0|mm | ‘Host: www.poemist.com\r\n’ +
0|mm | ‘Connection: close\r\n’ +
0|mm | ‘\r\n’,
0|mm | _onPendingData: [Function: noopPendingOutput],
0|mm | agent: [Agent],
0|mm | socketPath: undefined,
0|mm | method: ‘GET’,
0|mm | insecureHTTPParser: undefined,
0|mm | path: ‘/api/v1/randompoems’,
0|mm | _ended: true,
0|mm | res: [IncomingMessage],
0|mm | aborted: false,
0|mm | timeoutCb: null,
0|mm | upgradeOrConnect: false,
0|mm | parser: null,
0|mm | maxHeadersCount: null,
0|mm | reusedSocket: false,
0|mm | _redirectable: [Writable],
0|mm | [Symbol(kCapture)]: false,
0|mm | [Symbol(kNeedDrain)]: false,
0|mm | [Symbol(corked)]: 0,
0|mm | [Symbol(kOutHeaders)]: [Object: null prototype]
0|mm | },
0|mm | data: { message: ‘Too Many Requests’ }
0|mm | },
0|mm | isAxiosError: true,
0|mm | toJSON: [Function]
0|mm | }
0|mm | [12.07.2021 13:02.57.745] [LOG] there was most likely an error fetching poems from https://www.poemist.com/api/v1/randompoems, waiting 5 mins before trying again
On a new raspberry pi with new OS I get the following WARN’s after installing MM.
MagicMirror installation finished successfully!
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
added 1145 packages from 643 contributors and audited 1149 packages in 155.683s
84 packages are looking for funding
run `npm fund` for details
found 1 low severity vulnerability
run `npm audit fix` to fix them, or `npm audit` for details
(1.) I tried “npm audit fix” but that does not resolves the problem.
npm WARN @octokit/plugin-request-log@1.0.2 requires a peer of @octokit/core@>=3 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
up to date in 15.389s
84 packages are looking for funding
run `npm fund` for details
fixed 0 of 1 vulnerability in 1101 scanned packages
1 package update for 1 vulnerability involved breaking changes
(use `npm audit fix --force` to install breaking changes; or refer to `npm audit` for steps to fix these manually)
(2.) Than I did a " npm audit" with the following result
=== npm audit security report ===
# Run npm install --save-dev spectron@13.0.0 to resolve 1 vulnerability
SEMVER WARNING: Recommended action is a potentially breaking change
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Low │ Prototype Pollution │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ minimist │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ spectron [dev] │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ spectron > webdriverio > optimist > minimist │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://npmjs.com/advisories/1179 │
└───────────────┴──────────────────────────────────────────────────────────────┘
found 1 low severity vulnerability in 1101 scanned packages
1 vulnerability requires semver-major dependency updates.
(3.)Than I did “npm install --save-dev spectron@13.0.0” with the following result
> electron-chromedriver@11.0.0 install /home/pi/MagicMirror/node_modules/electron-chromedriver
> node ./download-chromedriver.js
> spectron@13.0.0 postinstall /home/pi/MagicMirror/node_modules/spectron
> node lib/rpath-fix.js
npm WARN @octokit/plugin-request-log@1.0.2 requires a peer of @octokit/core@>=3 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
+ spectron@13.0.0
added 87 packages from 131 contributors, removed 107 packages, updated 16 packages, moved 2 packages and audited 1129 packages in 42.715s
92 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
(4.)" npm audit" gives now
=== npm audit security report ===
found 0 vulnerabilities
in 1122 scanned packages
And now what should i do with the WARN’s that came on with (3.)?
Thank you for your quick response
New Raspian pi4 with 1 Gb
New OS installed
Followed the instructions for installing MM
When I start MM I get the following warning.
[WARN] (electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently "false". It will change to be "true" in Electron 9. For more information please check https://github.com/electron/electron/issues/18397
Is this “normal”? is it " problem" ?Should I solve it? If so, how should i solve it?
Fixed it by installing MMM-Hotword instead of MMM-Snowboy
Pi3, Buster, MagicMirror 2.11, MMM-AssistantMk2, Snowboy
All works with no errors.
When I give command “smart mirror” followed with my question there come a proper result. After some time the default mirror screen pops up again.
But if I say again “smart mirror” nothing happens.
I have to restart MagicMirror and than I can give the “smart mirror” command again for 1 time.
This is the code in config.js for Snowboy module.
Where should I look for problems?
{
module: “MMM-Snowboy”,
config: {
Frontend: false,
Model: “smart_mirror”
}