You have to change the Documentation an move the apiKey to the config part.
In the java-script you check on self.config.apiKey
Read the statement by Michael Teeuw here.
Posts made by AvatarED007
-
RE: MMM-CoinMarketCap unable to get data
-
RE: MMM-CoinMarketCap unable to get data
I updated to new version, and requested the API Key, Changed the config file and added the apiKey from CoinMarketCap.com. Also rebooted the MagicMirror.
I still get the message : “Please provide an API key” -
RE: MMM-CoinMarketCap unable to get data
I have the same issue. Also multiple reboot did not help.
Still message “Unable to get data from CoinMarketCap.com.” -
RE: Sonos Error at startup
I do not have more log. At startup no errors. Yes I have all on the latest version 10.6.1
-
RE: Sonos Error at startup
@tbouron thanks for your feedback.
All the Sonos devices are online and the MagicMirror ison the same network.
[14:13:03.186] [LOG] Zones have changed. Rediscovering all groups ... [14:13:03.799] [ERROR] (node:18039) UnhandledPromiseRejectionWarning: Error: Request failed with status code 405 at createError (/home/pi/MagicMirror/modules/MMM-Sonos/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/pi/MagicMirror/modules/MMM-Sonos/node_modules/axios/lib/core/settle.js:17:12) at IncomingMessage.handleStreamEnd (/home/pi/MagicMirror/modules/MMM-Sonos/node_modules/axios/lib/adapters/http.js:237:11) at IncomingMessage.emit (events.js:205:15) at endReadableNT (_stream_readable.js:1154:12) at processTicksAndRejections (internal/process/task_queues.js:84:9) [14:13:03.804] [ERROR] (node:18039) UnhandledPromiseRejectionWarning: Error: Request failed with status code 405 at createError (/home/pi/MagicMirror/modules/MMM-Sonos/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/pi/MagicMirror/modules/MMM-Sonos/node_modules/axios/lib/core/settle.js:17:12) at IncomingMessage.handleStreamEnd (/home/pi/MagicMirror/modules/MMM-Sonos/node_modules/axios/lib/adapters/http.js:237:11) at IncomingMessage.emit (events.js:205:15) at endReadableNT (_stream_readable.js:1154:12) at processTicksAndRejections (internal/process/task_queues.js:84:9) [14:13:03.808] [ERROR] (node:18039) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2) [14:13:03.811] [ERROR] (node:18039) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2) [14:13:03.813] [ERROR] (node:18039) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. [14:13:03.819] [ERROR] (node:18039) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. [14:13:04.723] [ERROR] (node:18039) UnhandledPromiseRejectionWarning: Error: Request failed with status code 405 at createError (/home/pi/MagicMirror/modules/MMM-Sonos/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/pi/MagicMirror/modules/MMM-Sonos/node_modules/axios/lib/core/settle.js:17:12) at IncomingMessage.handleStreamEnd (/home/pi/MagicMirror/modules/MMM-Sonos/node_modules/axios/lib/adapters/http.js:237:11) at IncomingMessage.emit (events.js:205:15) at endReadableNT (_stream_readable.js:1154:12) at processTicksAndRejections (internal/process/task_queues.js:84:9) [14:13:04.724] [ERROR] (node:18039) UnhandledPromiseRejectionWarning: Error: Request failed with status code 405 at createError (/home/pi/MagicMirror/modules/MMM-Sonos/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/pi/MagicMirror/modules/MMM-Sonos/node_modules/axios/lib/core/settle.js:17:12) at IncomingMessage.handleStreamEnd (/home/pi/MagicMirror/modules/MMM-Sonos/node_modules/axios/lib/adapters/http.js:237:11) at IncomingMessage.emit (events.js:205:15) at endReadableNT (_stream_readable.js:1154:12) at processTicksAndRejections (internal/process/task_queues.js:84:9) [14:13:04.726] [ERROR] (node:18039) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 7) [14:13:04.728] [ERROR] (node:18039) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 7) ^C[14:13:21.111] [LOG] Shutting down server...
-
RE: Sonos Error at startup
No this line you can forgot.
This is the Error an below lines
[10:19:19.458] [ERROR] Failed to get groups: Request failed with status code 503. Retrying in 1 seconds …
Stopped all listeners to Sonos devices -
Sonos Error at startup
Re: MMM-Sonos - Display what is currently playing on your Sonos network
When I start the MagicMirror, then your Sonos module creates the following Error:
[10:19:19.329] [ERROR] [Error: ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/MMM-MyWastePickup/schedule_custom.csv'] { errno: -2, code: 'ENOENT', syscall: 'open', path: '/home/pi/MagicMirror/modules/MMM-MyWastePickup/schedule_custom.csv' } [10:19:19.335] [LOG] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? [10:19:19.336] [LOG] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues [10:19:19.458] [ERROR] Failed to get groups: Request failed with status code 503. Retrying in 1 seconds ... Stopped all listeners to Sonos devices [10:19:20.688] [ERROR] Failed to get groups: Request failed with status code 405. Retrying in 4 seconds ... Stopped all listeners to Sonos devices
BR