Hi,
I use EveryNews and I like the module.
But how can I find more ID’s for Dutch news sources?
I only found rtl-nieuws.
Peter
Read the statement by Michael Teeuw here.
Posts
-
EveryNews: need ID's for Dutch news
-
RE: Auto start stops working
@sdetweil it works!
Thank you very much, you are great!
Peter -
RE: Auto start stops working
@sdetweil I used your updatescript; problem still the same.
MM works fine without EveryNews in the config, with EveryNews there is no autostart.mm@raspberrypi:~ $ bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)”
update log will be in /home/mm/MagicMirror/installers/upgrade.logdoing test run = true, NO updates will be applied!
Check current Node installation …
Node currently installed. Checking version number.
Minimum Node version: v20.8.0
Installed Node version: v20.8.0
No Node.js upgrade necessary.
Check current NPM installation …
NPM currently installed. Checking version number.
Minimum npm version: V10.1.0
Installed npm version: V10.1.0
No npm upgrade necessary.saving custom.css
upgrading from version 2.26.0 to 2.27.0
fetching latest revisions
there are 1 local files that are different than the master repopackage-lock.json
any *-lock.json files do not need to be saved
do you want to save these files for later (Y/n)?n
skipping restore for package-lock.json, doing test runChecking for modules with removed libraries
require for request in module MMM-EveryNews not found in package.json
bypass installing request for module MMM-EveryNews , doing test run
updating dependencies for active modules with package.json files
processing for module MMM-Pir please wait
skipped processing for MMM-Pir, doing test run
processing complete for module MMM-Pir
processing for module MMM-Buienradar please wait
skipped processing for MMM-Buienradar, doing test run
processing complete for module MMM-Buienradar
processing for module MMM-EveryNews please wait
skipped processing for MMM-EveryNews, doing test run
processing complete for module MMM-EveryNews
processing for module MMM-ImagesPhotos please wait
skipped processing for MMM-ImagesPhotos, doing test run
processing complete for module MMM-ImagesPhotos
restoring custom.css
mm@raspberrypi:~ $ -
RE: Auto start stops working
@sdetweil this is what I get:
magicmirror@2.26.0 start
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js[20.04.2024 15:23.46.108] [LOG] Starting MagicMirror: v2.26.0
[20.04.2024 15:23.46.141] [LOG] Loading config …
[20.04.2024 15:23.46.154] [DEBUG] config template file not exists, no envsubst
[20.04.2024 15:23.46.173] [LOG] Loading module helpers …
[20.04.2024 15:23.46.180] [LOG] No helper found for module: alert.
[20.04.2024 15:23.46.309] [LOG] Initializing new module helper …
[20.04.2024 15:23.46.312] [LOG] Module helper loaded: MMM-Pir
[20.04.2024 15:23.46.315] [LOG] No helper found for module: clock.
[20.04.2024 15:23.46.319] [LOG] No helper found for module: calendar_monthly.
[20.04.2024 15:23.46.848] [LOG] Initializing new module helper …
[20.04.2024 15:23.46.851] [LOG] Module helper loaded: calendar
[20.04.2024 15:23.46.854] [LOG] No helper found for module: weather.
[20.04.2024 15:23.46.856] [LOG] No helper found for module: MMM-Buienradar.
[20.04.2024 15:23.46.874] [ERROR] (node:2607) UnhandledPromiseRejectionWarning: Error: Cannot find module ‘request’
Require stack:- /home/mm/MagicMirror/modules/MMM-EveryNews/node_helper.js
- /home/mm/MagicMirror/js/app.js
- /home/mm/MagicMirror/js/electron.js
- /home/mm/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
- at node:internal/modules/cjs/loader:1084:15
at Function. (node:electron/js2c/browser_init:2:116118)
at Module._resolveFilename (/home/mm/MagicMirror/node_modules/module-alias/index.js:49:29)
at node:internal/modules/cjs/loader:929:27
at Function._load (node:electron/js2c/node_init:2:13357)
at Module.require (node:internal/modules/cjs/loader:1150:19)
at require (node:internal/modules/cjs/helpers:121:18)
at Object. (/home/mm/MagicMirror/modules/MMM-EveryNews/node_helper.js:8:17)
at Module._compile (node:internal/modules/cjs/loader:1271:14)
at Object…js (node:internal/modules/cjs/loader:1326:10)
at Module.load (node:internal/modules/cjs/loader:1126:32)
at node:internal/modules/cjs/loader:967:12
at Function._load (node:electron/js2c/node_init:2:13357)
at Module.require (node:internal/modules/cjs/loader:1150:19)
at require (node:internal/modules/cjs/helpers:121:18)
at loadModule (/home/mm/MagicMirror/js/app.js:181:19)
(Useelectron --trace-warnings ...
to show where the warning was created)
[20.04.2024 15:23.46.876] [ERROR] (node:2607) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag--unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
-
Auto start stops working
My MM runned fine.
I wanted to remove a module (movielistings) and add another module (everynews) but then auto start does not work anymore.
Replacing the config file with the old one (with movielistings) auto start works well.
What to do?
Peter -
RE: MMM-Formula1 updates
@cirdan nice update!
Is it possible to show driver standings and after 30 seconds show the schedule?
Peter -
RE: Bookworm and PIR
@sdetweil I went back to Bullseye, works perfect now!
-
Bookworm and PIR
After a complete fresh install of Pi OS Bookworm (32 bit) and MM everything works fine on my PI 2B except turning the screen on and off via PIR.
The PIR works, tried it via a script.
Does anybody have a script to get it working with Bookworm, within MM or outside?
Peter