Ran the update, weather module failed , read this thread and can now have either weather or forecast. Can we no longer have both, like before?
Read the statement by Michael Teeuw here.
Posts
-
RE: Version 2.30.0 weather module, stuck loading, worked fine before upgrade
-
RE: MMM-OpenWeatherMapForecast stuck on Loading....
Just changed OS to Bookworm and reinstalled MM, stuck with weather modules loading…
For me, @postb8822 's 29th April 2024 suggestion worked just fine, thank you :) -
RE: Default Clock wrong after update
Just updated my MM, clock is showing 18:13 when it’s 11:54…
-
RE: Update, unable to connect.
pi@magicmirror:~/MagicMirror $ node -v v16.1.0 -
Update, unable to connect.
Just ran an update from the guide here, and now MM says unable to connect
pi@magicmirror:~/MagicMirror $ git pull && npm run install-mm Already up to date. > magicmirror@2.24.0 install-mm > npm install --no-audit --no-fund --no-update-notifier --only=prod --omit=dev npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@jest/console@29.5.0', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@jest/core@29.5.0', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@jest/environment@29.5.0', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@jest/expect@29.5.0', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@jest/expect-utils@29.5.0', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@jest/fake-timers@29.5.0', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@jest/globals@29.5.0', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@jest/reporters@29.5.0', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@jest/schemas@29.4.3', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@jest/source-map@29.4.3', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@jest/test-result@29.5.0', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@jest/test-sequencer@29.5.0', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@jest/transform@29.5.0', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@jest/types@29.5.0', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'babel-jest@29.5.0', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'babel-plugin-jest-hoist@29.5.0', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'babel-preset-jest@29.5.0', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'diff-sequences@29.4.3', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'eslint-plugin-jest@27.2.2', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'expect@29.5.0', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'jest@29.5.0', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'jest-changed-files@29.5.0', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'jest-circus@29.5.0', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'jest-cli@29.5.0', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'jest-config@29.5.0', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'jest-diff@29.5.0', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'jest-docblock@29.4.3', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'jest-each@29.5.0', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'jest-environment-node@29.5.0', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'jest-get-type@29.4.3', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'jest-haste-map@29.5.0', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'jest-leak-detector@29.5.0', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'jest-matcher-utils@29.5.0', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'jest-message-util@29.5.0', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'jest-mock@29.5.0', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'jest-regex-util@29.4.3', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'jest-resolve@29.5.0', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'jest-resolve-dependencies@29.5.0', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'jest-runner@29.5.0', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'jest-runtime@29.5.0', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'jest-snapshot@29.5.0', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'jest-util@29.5.0', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'jest-validate@29.5.0', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'jest-watcher@29.5.0', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'jest-worker@29.5.0', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'pretty-format@29.5.0', npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'write-file-atomic@5.0.1', npm WARN EBADENGINE required: { node: '^14.17.0 || ^16.13.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v16.1.0', npm: '7.11.2' } npm WARN EBADENGINE } > magicmirror@2.24.0 postinstall > npm run install-vendor && npm run install-fonts && echo "MagicMirror² installation finished successfully! > " > magicmirror@2.24.0 install-vendor > echo "Installing vendor files ... > " && cd vendor && npm install --loglevel=error --no-audit --no-fund --no-update-notifier Installing vendor files ... changed 3 packages in 17s > magicmirror@2.24.0 install-fonts > echo "Installing fonts ... > " && cd fonts && npm install --loglevel=error --no-audit --no-fund --no-update-notifier Installing fonts ... up to date in 2s MagicMirror² installation finished successfully! > magicmirror@2.24.0 prepare > [ -f node_modules/.bin/husky ] && husky install || echo no husky installed. no husky installed. up to date in 52s pi@magicmirror:~/MagicMirror $ pm2 start all [PM2] Applying action restartProcessId on app [all](ids: [ 0 ]) [PM2] [MagicMirror](0) â [PM2] Process successfully started ââââââ¬âââââââââââââââââââââ¬âââââââââââ¬âââââââ¬ââââââââââââ¬âââââââââââ¬âââââââââââ â id â name â mode â ⺠â status â cpu â memory â ââââââ¼âââââââââââââââââââââ¼âââââââââââ¼âââââââ¼ââââââââââââ¼âââââââââââ¼ââââââââââ⤠â 0 â MagicMirror â fork â 76 â online â 0% â 584.0kb â ââââââ´âââââââââââââââââââââ´âââââââââââ´âââââââ´ââââââââââââ´âââââââââââ´âââââââââââ pi@magicmirror:~/MagicMirror $Now when I go to a browser on a local machine, I get
Unable to connect
Firefox can’t establish a connection to the server at 192.168.1.21:8080.IP address is correct, “fixed” at router level for years.
-
Weather module queries
Just a couple of probably very quick-n-simple queries regarding the default weather module
Firstly, current weather does not show location yet it’s all in the code
{ module: 'weather', header: 'Current weather for: ', position: 'top_right', config: { type: 'current', location: 'My_Place', locationID: '1234567', //ID from https://www.openweathermap.org apiKey: '####################' } },Next, forecast does show location, but how do I remove the “,GB” part of the location?
(And I’ll do the same for current weather too.){ module: 'weather', position: 'top_right', header: 'Weather Forecast for: ', config: { type: 'forecast', location: 'My_Place', locationID: '1234567', //ID from https://www.openweathermap.org apiKey: '####################' } },Thank you.
-
RE: EAI_AGAIN error
@sdetweil I’m WFH most of the week and don’t notice any internet interruptions.
-
RE: EAI_AGAIN error
Interesting, it’s using the wifi from the router that’s not 3 metres across the room.
I’ll look at hard wiring it at some point. -
EAI_AGAIN error
MM has crashed several times recently.
Inspection of MagicMirror-error.log shows a tonne of EAI_AGAIN errors which may or may not have anything to do with it.Here’s an example, it’s not just sky news, it’s all news feeds, calendars etc., etc…
} [01.08.2022 22:46.21.463] [ERROR] Newsfeed Error. Could not fetch newsfeed: http://feeds.skynews.com/feeds/rss/world.xml FetchError: request to http://feeds.skynews.com/feeds/rss/world.xml failed, reason: getaddrinfo EAI_AGAIN feeds.skynews.com at ClientRequest.<anonymous> (/home/pi/MagicMirror/node_modules/node-fetch/lib/index.js:1491:11) at ClientRequest.emit (node:events:526:28) at Socket.socketErrorListener (node:_http_client:442:9) at Socket.emit (node:events:526:28) at emitErrorNT (node:internal/streams/destroy:157:8) at emitErrorCloseNT (node:internal/streams/destroy:122:3) at process.processTicksAndRejections (node:internal/process/task_queues:83:21) { type: 'system', errno: 'EAI_AGAIN', code: 'EAI_AGAIN' }Google search suggests a DNS error, but MM shows DNS working OK.
pi@magicmirror:~ $ nslookup www.google.co.uk Server: 208.67.222.222 Address: 208.67.222.222#53 Non-authoritative answer: Name: www.google.co.uk Address: 172.217.169.35 Name: www.google.co.uk Address: 2a00:1450:4009:823::2003