From 462aa9357e14a6cab209f8eecea7a223f7467a7d Mon Sep 17 00:00:00 2001 From: Karsten Hassel Date: Wed, 19 Jun 2024 23:30:24 +0200 Subject: [PATCH 1/2] update `config.js.sample` to use openmeteo as weather provider which needs no api key --- CHANGELOG.md | 3 ++- config/config.js.sample | 14 ++++++-------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ba1a3c8baf..2011e7d597 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,7 +18,8 @@ _This release is scheduled to be released on 2024-07-01._ ### Updated - [chore] Update dependencies including electron to v31 -- [core] use node >= v20 +- [chore] use node >= v20 +- [chore] Update `config.js.sample` to use openmeteo as weather provider which needs no api key ### Fixed diff --git a/config/config.js.sample b/config/config.js.sample index 688f627286..56edb59df8 100644 --- a/config/config.js.sample +++ b/config/config.js.sample @@ -67,11 +67,10 @@ let config = { module: "weather", position: "top_right", config: { - weatherProvider: "openweathermap", + weatherProvider: "openmeteo", type: "current", - location: "New York", - locationID: "5128581", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city - apiKey: "YOUR_OPENWEATHER_API_KEY" + lat: 40.776676, + lon: -73.971321 } }, { @@ -79,11 +78,10 @@ let config = { position: "top_right", header: "Weather Forecast", config: { - weatherProvider: "openweathermap", + weatherProvider: "openmeteo", type: "forecast", - location: "New York", - locationID: "5128581", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city - apiKey: "YOUR_OPENWEATHER_API_KEY" + lat: 40.776676, + lon: -73.971321 } }, { From 1946f69769297ef2fac1efa55eaca36844496fcf Mon Sep 17 00:00:00 2001 From: Karsten Hassel Date: Fri, 21 Jun 2024 20:56:34 +0200 Subject: [PATCH 2/2] fix spelling CHANGELOG.md --- CHANGELOG.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2011e7d597..01502e425d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,9 +17,9 @@ _This release is scheduled to be released on 2024-07-01._ ### Updated -- [chore] Update dependencies including electron to v31 -- [chore] use node >= v20 -- [chore] Update `config.js.sample` to use openmeteo as weather provider which needs no api key +- [core] Update dependencies including electron to v31 +- [core] use node >= v20 +- [core] Update `config.js.sample` to use openmeteo as weather provider which needs no api key ### Fixed @@ -38,7 +38,7 @@ For more info, please read the following post: [A New Chapter for MagicMirror: T ### Added - Output of system information to the console for troubleshooting (#3328 and #3337), ignore errors under aarch64 (#3349) -- [chore] Add `eslint-plugin-package-json` to lint the `package.json` files (#3368) +- [core] Add `eslint-plugin-package-json` to lint the `package.json` files (#3368) - [weather] `showHumidity` config is now a string describing where to show this element. Supported values: "wind", "temp", "feelslike", "below", "none". (#3330) - electron-rebuild test suite for electron and 3rd party modules compatibility (#3392) - Create MM² icon and attach it to electron process (#3407) @@ -50,8 +50,8 @@ For more info, please read the following post: [A New Chapter for MagicMirror: T - Use node prefix for build-in modules (#3340) - Rework logging colors (#3350) - Update pm2 to v5.3.1 with no allow-ghsas (#3364) -- [chore] Update husky and let lint-staged fix ESLint issues -- [chore] Update dependencies including electron to v29 (#3357) and node-ical +- [core] Update husky and let lint-staged fix ESLint issues +- [core] Update dependencies including electron to v29 (#3357) and node-ical - Update translations for estonian (#3371) - Update electron to v29 and update other dependencies - [calendar] fullDay events over several days now show the left days from the first day on and 'today' on the last day @@ -73,9 +73,9 @@ For more info, please read the following post: [A New Chapter for MagicMirror: T - added message in case where config.js is missing the module.export line PR #3383 - Fixed an issue where recurring events could extend past their recurrence end date (#3393) - Don't display any `npm WARN <....>` on install (#3399) -- [chore] Moved suncalc dependency to production from dev, as it is used by clock module +- [core] Moved suncalc dependency to production from dev, as it is used by clock module - [compliments] Fix mirror not responding anymore when no compliments are to be shown (#3385) -- [chore] Fixed mastermerge workflow (#3415) +- [core] Fixed mastermerge workflow (#3415) ### Deleted