@sdetweil thanks for your help but I cannot get it working.
Maybe somebody else has an idea how to get it working?
Peter
Read the statement by Michael Teeuw here.
Posts
-
RE: Open weather Api 3.0
-
RE: Open weather Api 3.0
@sdetweil what does this limited number mean?
If I use the default settings do I stay under the limit?
Peter -
RE: Open weather Api 3.0
@sdetweil after adding the version to my config, the weather module does not start.
{
module: “weather”,
position: “top_right”,
config: {
weatherProvider: “openweathermap”,
apiVersion: ‘3.0’,
type: “current”,
location: “Apeldoorn”,
locationID: “2759705”, //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
apiKey: “xxxxxxxxxxxxxxxxxxxxxxxxxxkey removed”
}
},
It works fine with Api 2.5, but do I need lat, lon instead of Location and Locatio ID?
It is confusing.
Peter -
Open weather Api 3.0
Can somebody help this noob?
I use the default weather module with Open weather provider.
Somewhere on this forum I read that Api 2.5 will end in June, so I subscribed to Api 3.0.
Is this free?
They asked for creditcard numbers, I still hope this is free.
And can somebody help me with my config; Api 3.0, lat, long , no idea how to put it in my config.
An example of a working config with Api 3.0 would help me a lot.
Greetings,
Peter -
RE: EveryNews: need ID's for Dutch news
@mumblebaj thank you very much for trying to help me but I think I am to much of a noob to get it working.
The only source in NL I found was rtl-nieuws, like you said previously.
Peter -
RE: EveryNews: need ID's for Dutch news
@mumblebaj Thanks for your reply, but where do I find the ID for the news sources?
I tried several things but it did not work.
Peter -
EveryNews: need ID's for Dutch news
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 -
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)