@sdetweil said in weather forecast does not show on screen:
@kusselin on the module, you can use that or the default weather module supports forecast too
Hi sam, how can i unstand this with standard module an forecast display?
what must i do?
@sdetweil said in weather forecast does not show on screen:
@kusselin on the module, you can use that or the default weather module supports forecast too
Hi sam, how can i unstand this with standard module an forecast display?
what must i do?
@sdetweil said in Protect MM from the outside with user and pass:
@kusselin MagicMirror doesn’t provide that functionality,
i don’t open any ports on my system anymore. i don’t want to learn and try to implement anti hacker solutions.
i use a cloudflare tunnel, which has a token authorized agent running on my network connected to the cloudflare system to create the tunnelyou need to provide a dns record which they can be the host for
then i can create contact points on the entry and they will route traffic to them.
cloudflare can provide the user authentication component
i bought a dns record in the .xyz domain. so my host is something.xyz
then my home assistant is
ha.something.xyz
i have 11 apps hosted this way
none use https on my network (from the agent to the app)this tunnel approach also works where your isp doesn’t have or charges more for incoming traffic
this tunneling service is currently free
i used to use a dyndns host and open ports on my network but got some unwanted inbound traffic
for an example
see https://www.crosstalksolutions.com/cloudflare-tunnel-easy-setup/
Ok Sam, thanks a lot for the information
Hello everyone,
I have the current MM running as a server and this is accessible from outside via proxy ngx.
Now my question: can I protect it with a password login?
I enter https://xxxxxxx.com in the browser and then a login screen with user and password appears.
Is that possible? If so, what do I have to do? How can I protect the MM from the outside?
Thank you very much for any information
@sdetweil you are once again my KING
it runs after entering npm run server
one question…what is a fetcher??
[2025-01-14 19:24:04.725] [LOG] Create new newsfetcher for url: https://www.n-tv.de/rss - Interval: 300000
[2025-01-14 19:24:04.734] [LOG] Create new newsfetcher for url: http://www.tagesschau.de/xml/rss2 -
…and does this mean that the next time I update, I should always replace the script with apply by -force correctly?
@sdetweil aha ok, I didn’t know that…
look now… does that fit now?
mm@MagicMirror-live:~/MagicMirror$ bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" force
update log will be in /home/mm/MagicMirror/installers/upgrade.log
doing test run = false
Node currently installed. Checking version number.
Minimum Node version: v20.18.1
Installed Node version: v20.18.1
Check current Node installation ...
Node currently installed. Checking version number.
Minimum Node version: v20.18.1
Installed Node version: v20.18.1
No Node.js upgrade necessary.
Check current NPM installation ...
NPM currently installed. Checking version number.
Minimum npm version: V10.8.2
Installed npm version: V10.8.2
No npm upgrade necessary.
saving custom.css
upgrading from version 2.30.0 to 2.30.0
fetching latest revisions
updating MagicMirror runtime, please wait
> magicmirror@2.30.0 postinstall
> npm run install-vendor && npm run install-fonts && echo "MagicMirror² installation finished successfully!
> "
> magicmirror@2.30.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 5s
> magicmirror@2.30.0 install-fonts
> echo "Installing fonts ...
> " && cd fonts && npm install --loglevel=error --no-audit --no-fund --no-update-notifier
Installing fonts ...
changed 2 packages in 3s
MagicMirror² installation finished successfully!
> magicmirror@2.30.0 prepare
> [ -f node_modules/.bin/husky ] && husky || echo no husky installed.
no husky installed.
added 479 packages in 47s
126 packages are looking for funding
run `npm fund` for details
[sudo] password for mm:
Checking for modules with removed libraries
updating dependencies for active modules with package.json files
processing for module MMM-Fuel please wait
----------------------------------
added 17 packages, and audited 18 packages in 5s
8 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
processing complete for module MMM-Fuel
processing for module MMM-RNV please wait
----------------------------------
added 27 packages, and audited 28 packages in 12s
found 0 vulnerabilities
processing complete for module MMM-RNV
processing for module MMM-PublicTransportHafas please wait
----------------------------------
> mmm-publictransporthafas@3.0.1 prepare
> [ -f node_modules/.bin/husky ] && husky || echo husky is not installed.
husky is not installed.
added 63 packages, and audited 64 packages in 20s
19 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
processing complete for module MMM-PublicTransportHafas
processing for module MMM-ioBroker please wait
----------------------------------
added 6 packages, and audited 7 packages in 2s
1 package is looking for funding
run `npm fund` for details
found 0 vulnerabilities
processing complete for module MMM-ioBroker
processing for module MMM-COVID19-AMPEL please wait
----------------------------------
added 12 packages, and audited 13 packages in 2s
found 0 vulnerabilities
processing complete for module MMM-COVID19-AMPEL
processing for module MMM-Carousel please wait
----------------------------------
up to date, audited 1 package in 993ms
found 0 vulnerabilities
processing complete for module MMM-Carousel
processing for module MMM-Remote-Control please wait
----------------------------------
npm warn deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
added 54 packages, and audited 55 packages in 6s
12 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
processing complete for module MMM-Remote-Control
restoring custom.css
@sdetweil Hi Sam, I have not installed MM on the Raspi but in a Proxmox container Ubuntu 24…
Sorry, but I don’t understand anything anymore…
Can you please tell me step by step what I have to enter ?
Thank you very much
mm@MagicMirror-live:~/MagicMirror$ force
Command 'force' not found, did you mean:
command 'zforce' from deb gzip (1.12-1ubuntu1)
command 'forge' from deb snap (2013-11-29-11)
Try: sudo apt install <deb name>
@sdetweil said in MM-Update doesn´t work:
@kusselin yes, you need a newer node version for this release as documented in the release notes and the published release page here
if you had used my upgrade script it would have fixed this
Hi thanks, is this this script
bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)”
or this
bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)”
look please:
mm@MagicMirror-live:~/MagicMirror$ bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" apply
update log will be in /home/mm/MagicMirror/installers/upgrade.log
doing test run = false
Node currently installed. Checking version number.
Minimum Node version: v20.18.1
Installed Node version: v20.9.0
installing correct version of node and npm, please wait
[sudo] password for mm:
Check current Node installation ...
Node currently installed. Checking version number.
Minimum Node version: v20.18.1
Installed Node version: v20.18.1
No Node.js upgrade necessary.
Check current NPM installation ...
NPM currently installed. Checking version number.
Minimum npm version: V10.8.2
Installed npm version: V10.8.2
No npm upgrade necessary.
saving custom.css
local version 2.30.0 already same as master 2.30.0
restoring custom.css
mm@MagicMirror-live:~/MagicMirror$ npm start server
> magicmirror@2.30.0 start
> npm run start:x11 server
> magicmirror@2.30.0 start:x11
> DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js server
/home/mm/MagicMirror/node_modules/electron/dist/electron: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory
hi @all,
what is my problem? i tryd to update my MM but i have errors. Can anyone help me please.
I read that the engine is not compatible but what must i do now??
Ahh the node and npm version are not correct but i don´t know how the linux commandline must be?? Can anyone write here the line command for me in puuty to update
Thanks a lot
mm@MagicMirror-live:~/MagicMirror$ npm run server
> magicmirror@2.30.0 server
> node ./serveronly
node:internal/modules/cjs/loader:1051
throw err;
^
Error: Cannot find module 'undici'
Require stack:
- /home/mm/MagicMirror/js/app.js
- /home/mm/MagicMirror/serveronly/index.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1048:15)
at Module._resolveFilename (/home/mm/MagicMirror/node_modules/module-alias/index.js:49:29)
at Module._load (node:internal/modules/cjs/loader:901:27)
at Module.require (node:internal/modules/cjs/loader:1115:19)
at require (node:internal/modules/helpers:130:18)
at Object.<anonymous> (/home/mm/MagicMirror/js/app.js:15:40)
at Module._compile (node:internal/modules/cjs/loader:1241:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1295:10)
at Module.load (node:internal/modules/cjs/loader:1091:32)
at Module._load (node:internal/modules/cjs/loader:938:12)
at Module.require (node:internal/modules/cjs/loader:1115:19)
at require (node:internal/modules/helpers:130:18)
at Object.<anonymous> (/home/mm/MagicMirror/serveronly/index.js:1:13)
at Module._compile (node:internal/modules/cjs/loader:1241:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1295:10)
at Module.load (node:internal/modules/cjs/loader:1091:32) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/home/mm/MagicMirror/js/app.js',
'/home/mm/MagicMirror/serveronly/index.js'
]
}
Node.js v20.9.0
and
mm@MagicMirror-live:~/MagicMirror$ git pull && npm run install-mm
Already up to date.
> magicmirror@2.30.0 install-mm
> npm install --no-audit --no-fund --no-update-notifier --only=prod --omit=dev
npm ERR! code EBADENGINE
npm ERR! engine Unsupported engine
npm ERR! engine Not compatible with your version of node/npm: magicmirror@2.30.0
npm ERR! notsup Not compatible with your version of node/npm: magicmirror@2.30.0
npm ERR! notsup Required: {"node":">=20.18.1 <21 || >=22"}
npm ERR! notsup Actual: {"npm":"10.1.0","node":"v20.9.0"}
npm ERR! A comp
@sdetweil aha…thanks for the info…I didn’t know that…on my old system (not yet v 3.0) the prediction is still running…but o.k. now I know thanks to you.
One question: is the forecast module this then here:
https://github.com/Tom-Hirschberger/MMM-OpenWeatherForecast
when not…can you send me the link please