From 6ce732ec3d5264abc61bf34f7a90dcd2c8d88c93 Mon Sep 17 00:00:00 2001 From: Michael Teeuw Date: Sun, 1 Apr 2018 14:23:28 +0200 Subject: [PATCH 01/16] Preparation for v2.4.0. --- CHANGELOG.md | 10 ++++++++++ package.json | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1bb4d751..6746982c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,16 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## [2.4.0] - Unreleased (Current Develop Branch) + +*This release is scheduled to be released on 2018-07-01.* + +### Added + +### Changed + +### Fixed + ## [2.3.0] - 2018-04-01 ### Added diff --git a/package.json b/package.json index 5180e653..4784754c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "magicmirror", - "version": "2.3.0", + "version": "2.4.0-dev", "description": "The open source modular smart mirror platform.", "main": "js/electron.js", "scripts": { From f3266a5111f4e584e9a04c723c29f04e04035561 Mon Sep 17 00:00:00 2001 From: secuflag Date: Sun, 1 Apr 2018 19:30:31 +0200 Subject: [PATCH 02/16] Update italian translation --- CHANGELOG.md | 3 +++ translations/it.json | 23 +++++++++++++++-------- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 50f0354b..7b30bf24 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,9 @@ This project adheres to [Semantic Versioning](http://semver.org/). ### Fixed +### Updated +- Updated italian translation + ## [2.3.1] - 2018-04-01 ### Fixed diff --git a/translations/it.json b/translations/it.json index 4e3041da..f903eb2e 100644 --- a/translations/it.json +++ b/translations/it.json @@ -3,8 +3,11 @@ "TODAY": "Oggi", "TOMORROW": "Domani", + "DAYAFTERTOMORROW": "Dopodomani", "RUNNING": "Termina entro", - "EMPTY": "Nessun evento in arrivo.", + "EMPTY": "Nessun evento imminente.", + + "WEEK": "Settimana {weekNumber}", "N": "N", "NNE": "NNE", @@ -15,11 +18,15 @@ "SE": "SE", "SSE": "SSE", "S": "S", - "SSW": "SSW", - "SW": "SW", - "WSW": "WSW", - "W": "W", - "WNW": "WNW", - "NW": "NW", - "NNW": "NNW" + "SSW": "SSO", + "SW": "SO", + "WSW": "OSO", + "W": "O", + "WNW": "ONO", + "NW": "NO", + "NNW": "NNO", + + "UPDATE_NOTIFICATION": "E' disponibile un aggiornamento di MagicMirror².", + "UPDATE_NOTIFICATION_MODULE": "E' disponibile un aggiornamento del modulo {MODULE_NAME}.", + "UPDATE_INFO": "L'installazione è {COMMIT_COUNT} indietro rispetto all'attuale branch {BRANCH_NAME}." } From 10eb41d31943a4495bf4c4674d52d0b9631a7446 Mon Sep 17 00:00:00 2001 From: Michael Teeuw Date: Mon, 2 Apr 2018 12:58:19 +0200 Subject: [PATCH 03/16] FIx wind chill in Fahrenheit. --- CHANGELOG.md | 1 + modules/default/currentweather/currentweather.js | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b30bf24..ad4b6698 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). ### Changed ### Fixed +- Fixed issue where wind chill could not be displayed in Fahrenheit. [#1247](https://github.com/MichMich/MagicMirror/issues/1247) ### Updated - Updated italian translation diff --git a/modules/default/currentweather/currentweather.js b/modules/default/currentweather/currentweather.js index 442e8632..7047f911 100644 --- a/modules/default/currentweather/currentweather.js +++ b/modules/default/currentweather/currentweather.js @@ -407,8 +407,8 @@ Module.register("currentweather",{ if (windInMph > 3 && tempInF < 50){ // windchill - var windchillinF = Math.round(35.74+0.6215*tempInF-35.75*Math.pow(windInMph,0.16)+0.4275*tempInF*Math.pow(windInMph,0.16)); - var windChillInC = (windchillinF - 32) * (5/9); + var windChillInF = Math.round(35.74+0.6215*tempInF-35.75*Math.pow(windInMph,0.16)+0.4275*tempInF*Math.pow(windInMph,0.16)); + var windChillInC = (windChillInF - 32) * (5/9); // this.feelsLike = windChillInC.toFixed(0); switch (this.config.units){ From 497145b1b59704aefd64045e7f9146186ee072a3 Mon Sep 17 00:00:00 2001 From: "E:V:A" Date: Mon, 2 Apr 2018 14:07:25 +0300 Subject: [PATCH 04/16] null check for notification removal Make sure there is something to remove, before we attempt to remove the notifications. - This fixes #1240 --- modules/default/alert/alert.js | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/modules/default/alert/alert.js b/modules/default/alert/alert.js index c5d3e650..7845b5d0 100644 --- a/modules/default/alert/alert.js +++ b/modules/default/alert/alert.js @@ -109,12 +109,14 @@ Module.register("alert",{ }, hide_alert: function(sender) { - //Dismiss alert and remove from this.alerts - this.alerts[sender.name].dismiss(); - this.alerts[sender.name] = null; - //Remove overlay - var overlay = document.getElementById("overlay"); - overlay.parentNode.removeChild(overlay); + //Dismiss alert and remove from this.alerts + if (this.alerts[sender.name]) { + this.alerts[sender.name].dismiss(); + this.alerts[sender.name] = null; + //Remove overlay + var overlay = document.getElementById("overlay"); + overlay.parentNode.removeChild(overlay); + } }, setPosition: function(pos) { //Add css to body depending on the set position for notifications From 3b4ff1818e74fa35b46337240e055181456d79dc Mon Sep 17 00:00:00 2001 From: Michael Teeuw Date: Mon, 2 Apr 2018 14:03:16 +0200 Subject: [PATCH 05/16] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ad4b6698..d450db5b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). ### Fixed - Fixed issue where wind chill could not be displayed in Fahrenheit. [#1247](https://github.com/MichMich/MagicMirror/issues/1247) +- Fix issues where a module crashes when it tries to dismiss a non exsisting alert. [#1240](https://github.com/MichMich/MagicMirror/issues/1240) ### Updated - Updated italian translation From f1dee488a7432fcde81be21c73b53cd917603423 Mon Sep 17 00:00:00 2001 From: Michael Teeuw Date: Mon, 2 Apr 2018 14:11:21 +0200 Subject: [PATCH 06/16] Fix indent. --- modules/default/alert/alert.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/default/alert/alert.js b/modules/default/alert/alert.js index 7845b5d0..85d6ef42 100644 --- a/modules/default/alert/alert.js +++ b/modules/default/alert/alert.js @@ -109,14 +109,14 @@ Module.register("alert",{ }, hide_alert: function(sender) { - //Dismiss alert and remove from this.alerts - if (this.alerts[sender.name]) { - this.alerts[sender.name].dismiss(); - this.alerts[sender.name] = null; - //Remove overlay - var overlay = document.getElementById("overlay"); - overlay.parentNode.removeChild(overlay); - } + //Dismiss alert and remove from this.alerts + if (this.alerts[sender.name]) { + this.alerts[sender.name].dismiss(); + this.alerts[sender.name] = null; + //Remove overlay + var overlay = document.getElementById("overlay"); + overlay.parentNode.removeChild(overlay); + } }, setPosition: function(pos) { //Add css to body depending on the set position for notifications From e8baf48764cdd8681da3c1be9dbf87bcca0ca4c2 Mon Sep 17 00:00:00 2001 From: Michael Teeuw Date: Mon, 2 Apr 2018 14:18:28 +0200 Subject: [PATCH 07/16] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d450db5b..708d3470 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,7 +12,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). ### Fixed - Fixed issue where wind chill could not be displayed in Fahrenheit. [#1247](https://github.com/MichMich/MagicMirror/issues/1247) -- Fix issues where a module crashes when it tries to dismiss a non exsisting alert. [#1240](https://github.com/MichMich/MagicMirror/issues/1240) +- Fixed issues where a module crashes when it tries to dismiss a non exsisting alert. [#1240](https://github.com/MichMich/MagicMirror/issues/1240) ### Updated - Updated italian translation From 959ea69427bb2cf78f792eb862ad4023ec330730 Mon Sep 17 00:00:00 2001 From: BerndKohl Date: Fri, 6 Apr 2018 12:28:47 +0200 Subject: [PATCH 08/16] enabling translation for "feelsLike" in current weather enabled translation fixed typos in comments added German translation --- CHANGELOG.md | 6 ++++-- modules/default/currentweather/currentweather.js | 10 +++++----- translations/de.json | 4 +++- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 708d3470..f7eefc51 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,14 +8,16 @@ This project adheres to [Semantic Versioning](http://semver.org/). ### Added +- Enabled translation of feelsLike for module currentweather + ### Changed ### Fixed - Fixed issue where wind chill could not be displayed in Fahrenheit. [#1247](https://github.com/MichMich/MagicMirror/issues/1247) -- Fixed issues where a module crashes when it tries to dismiss a non exsisting alert. [#1240](https://github.com/MichMich/MagicMirror/issues/1240) +- Fixed issues where a module crashes when it tries to dismiss a non existing alert. [#1240](https://github.com/MichMich/MagicMirror/issues/1240) ### Updated -- Updated italian translation +- Updated Italian translation ## [2.3.1] - 2018-04-01 diff --git a/modules/default/currentweather/currentweather.js b/modules/default/currentweather/currentweather.js index 7047f911..7ad84e42 100644 --- a/modules/default/currentweather/currentweather.js +++ b/modules/default/currentweather/currentweather.js @@ -67,7 +67,7 @@ Module.register("currentweather",{ }, }, - // create a variable for the first upcoming calendaar event. Used if no location is specified. + // create a variable for the first upcoming calendar event. Used if no location is specified. firstEvent: false, // create a variable to hold the location name based on the API result. @@ -87,7 +87,7 @@ Module.register("currentweather",{ getTranslations: function() { // The translations for the default modules are defined in the core translation files. // Therefor we can just return false. Otherwise we should have returned a dictionary. - // If you're trying to build yiur own module including translations, check out the documentation. + // If you're trying to build your own module including translations, check out the documentation. return false; }, @@ -251,7 +251,7 @@ Module.register("currentweather",{ var feelsLike = document.createElement("span"); feelsLike.className = "dimmed"; - feelsLike.innerHTML = "Feels " + this.feelsLike + "°" + degreeLabel; + feelsLike.innerHTML = this.translate("Feels") + this.feelsLike + "°" + degreeLabel; small.appendChild(feelsLike); wrapper.appendChild(small); @@ -407,8 +407,8 @@ Module.register("currentweather",{ if (windInMph > 3 && tempInF < 50){ // windchill - var windChillInF = Math.round(35.74+0.6215*tempInF-35.75*Math.pow(windInMph,0.16)+0.4275*tempInF*Math.pow(windInMph,0.16)); - var windChillInC = (windChillInF - 32) * (5/9); + var windchillinF = Math.round(35.74+0.6215*tempInF-35.75*Math.pow(windInMph,0.16)+0.4275*tempInF*Math.pow(windInMph,0.16)); + var windChillInC = (windchillinF - 32) * (5/9); // this.feelsLike = windChillInC.toFixed(0); switch (this.config.units){ diff --git a/translations/de.json b/translations/de.json index ffbd667f..a68ba2b9 100644 --- a/translations/de.json +++ b/translations/de.json @@ -28,5 +28,7 @@ "UPDATE_NOTIFICATION": "Aktualisierung für MagicMirror² verfügbar.", "UPDATE_NOTIFICATION_MODULE": "Aktualisierung für das {MODULE_NAME} Modul verfügbar.", - "UPDATE_INFO": "Die aktuelle Installation ist {COMMIT_COUNT} hinter dem {BRANCH_NAME} branch." + "UPDATE_INFO": "Die aktuelle Installation ist {COMMIT_COUNT} hinter dem {BRANCH_NAME} Branch." + + "Feels": "Gefühlt " } From 1e6201093b310f692a6f9a014763de26b0a0715d Mon Sep 17 00:00:00 2001 From: Michael Teeuw Date: Fri, 6 Apr 2018 13:01:23 +0200 Subject: [PATCH 09/16] restore windChillInF variable. --- modules/default/currentweather/currentweather.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/default/currentweather/currentweather.js b/modules/default/currentweather/currentweather.js index 7ad84e42..7d723e4a 100644 --- a/modules/default/currentweather/currentweather.js +++ b/modules/default/currentweather/currentweather.js @@ -407,8 +407,8 @@ Module.register("currentweather",{ if (windInMph > 3 && tempInF < 50){ // windchill - var windchillinF = Math.round(35.74+0.6215*tempInF-35.75*Math.pow(windInMph,0.16)+0.4275*tempInF*Math.pow(windInMph,0.16)); - var windChillInC = (windchillinF - 32) * (5/9); + var windChillInF = Math.round(35.74+0.6215*tempInF-35.75*Math.pow(windInMph,0.16)+0.4275*tempInF*Math.pow(windInMph,0.16)); + var windChillInC = (windChillInF - 32) * (5/9); // this.feelsLike = windChillInC.toFixed(0); switch (this.config.units){ From af812f3c903377460e72da16fb5dd050c68d3915 Mon Sep 17 00:00:00 2001 From: Michael Teeuw Date: Fri, 6 Apr 2018 13:02:27 +0200 Subject: [PATCH 10/16] Fix translation file. --- translations/de.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/translations/de.json b/translations/de.json index a68ba2b9..050060cf 100644 --- a/translations/de.json +++ b/translations/de.json @@ -28,7 +28,7 @@ "UPDATE_NOTIFICATION": "Aktualisierung für MagicMirror² verfügbar.", "UPDATE_NOTIFICATION_MODULE": "Aktualisierung für das {MODULE_NAME} Modul verfügbar.", - "UPDATE_INFO": "Die aktuelle Installation ist {COMMIT_COUNT} hinter dem {BRANCH_NAME} Branch." + "UPDATE_INFO": "Die aktuelle Installation ist {COMMIT_COUNT} hinter dem {BRANCH_NAME} Branch.", - "Feels": "Gefühlt " + "FEELS": "Gefühlt" } From 3359c3cd459f2155ce58aec2469e334aa28266ab Mon Sep 17 00:00:00 2001 From: Michael Teeuw Date: Fri, 6 Apr 2018 13:03:06 +0200 Subject: [PATCH 11/16] Update currentweather.js --- modules/default/currentweather/currentweather.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/default/currentweather/currentweather.js b/modules/default/currentweather/currentweather.js index 7d723e4a..924a1974 100644 --- a/modules/default/currentweather/currentweather.js +++ b/modules/default/currentweather/currentweather.js @@ -251,7 +251,7 @@ Module.register("currentweather",{ var feelsLike = document.createElement("span"); feelsLike.className = "dimmed"; - feelsLike.innerHTML = this.translate("Feels") + this.feelsLike + "°" + degreeLabel; + feelsLike.innerHTML = this.translate("FEELS") + " " + this.feelsLike + "°" + degreeLabel; small.appendChild(feelsLike); wrapper.appendChild(small); From 1bcc3ab7f1181cfa6ce2bb41d45a1531d9c0c5ad Mon Sep 17 00:00:00 2001 From: Michael Teeuw Date: Fri, 6 Apr 2018 13:04:04 +0200 Subject: [PATCH 12/16] Add default translation. --- translations/en.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/translations/en.json b/translations/en.json index 790d67b9..1cba9a89 100644 --- a/translations/en.json +++ b/translations/en.json @@ -28,5 +28,7 @@ "UPDATE_NOTIFICATION": "MagicMirror² update available.", "UPDATE_NOTIFICATION_MODULE": "Update available for {MODULE_NAME} module.", - "UPDATE_INFO": "The current installation is {COMMIT_COUNT} behind on the {BRANCH_NAME} branch." + "UPDATE_INFO": "The current installation is {COMMIT_COUNT} behind on the {BRANCH_NAME} branch.", + + "FEELS": "Feels" } From 8b5e2f5528fdf8fc5143833329056e3afd423094 Mon Sep 17 00:00:00 2001 From: Michael Teeuw Date: Fri, 6 Apr 2018 13:04:55 +0200 Subject: [PATCH 13/16] Add dutch 'Feels' temperature. --- translations/nl.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/translations/nl.json b/translations/nl.json index 068c52d2..e1497d39 100644 --- a/translations/nl.json +++ b/translations/nl.json @@ -26,5 +26,7 @@ "UPDATE_NOTIFICATION": "MagicMirror² update beschikbaar.", "UPDATE_NOTIFICATION_MODULE": "Update beschikbaar voor {MODULE_NAME} module.", - "UPDATE_INFO": "De huidige installatie loopt {COMMIT_COUNT} achter op de {BRANCH_NAME} branch." + "UPDATE_INFO": "De huidige installatie loopt {COMMIT_COUNT} achter op de {BRANCH_NAME} branch.", + + "FEELS": "Gevoelstemperatuur" } From d90446ad2858e9d3dd26e5b16df536413a7a1ec5 Mon Sep 17 00:00:00 2001 From: Michael Teeuw Date: Fri, 6 Apr 2018 13:10:41 +0200 Subject: [PATCH 14/16] Update CHANGELOG.md --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f7eefc51..4a64ef1d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,8 @@ This project adheres to [Semantic Versioning](http://semver.org/). ### Updated - Updated Italian translation +- Updated German translation +- Updated Dutch translation ## [2.3.1] - 2018-04-01 From d21d9f01416dbedefdbad064c322657e75ac4f34 Mon Sep 17 00:00:00 2001 From: Michael Teeuw Date: Fri, 6 Apr 2018 13:21:53 +0200 Subject: [PATCH 15/16] Use Electron 2 Beta. --- CHANGELOG.md | 1 + package-lock.json | 22 ++++++++++++---------- package.json | 2 +- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a64ef1d..301deadd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). - Enabled translation of feelsLike for module currentweather ### Changed +- Use Electron 2 Beta. **Please test!** ### Fixed - Fixed issue where wind chill could not be displayed in Fahrenheit. [#1247](https://github.com/MichMich/MagicMirror/issues/1247) diff --git a/package-lock.json b/package-lock.json index 9dc994e6..3a024bb2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "magicmirror", - "version": "2.3.1", + "version": "2.4.0-dev", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -37,11 +37,6 @@ } } }, - "@types/node": { - "version": "7.0.57", - "resolved": "https://registry.npmjs.org/@types/node/-/node-7.0.57.tgz", - "integrity": "sha512-Iikf0IAus1OX++3Jrc1R2bsZggO+m22G5ee56JccYKejx5GNT3nHhY8v6J4OXId1hXXlb0n45hcaVwZwQcZZ6w==" - }, "JSV": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/JSV/-/JSV-4.0.2.tgz", @@ -1572,13 +1567,20 @@ "dev": true }, "electron": { - "version": "1.7.13", - "resolved": "https://registry.npmjs.org/electron/-/electron-1.7.13.tgz", - "integrity": "sha1-EIUbrsd9aG2VgS80QlwX5IrBQT8=", + "version": "2.0.0-beta.7", + "resolved": "https://registry.npmjs.org/electron/-/electron-2.0.0-beta.7.tgz", + "integrity": "sha512-DSUHGT2JkZc4pja2JdlG+TJa/nX2tz2I9UHdYPY0iKUrZngmTpP2FUypVt5pK+O9v0set5sL1lu1Y7c2dG4DDQ==", "requires": { - "@types/node": "7.0.57", + "@types/node": "8.10.2", "electron-download": "3.3.0", "extract-zip": "1.6.5" + }, + "dependencies": { + "@types/node": { + "version": "8.10.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-8.10.2.tgz", + "integrity": "sha512-A6Uv1anbsCvrRDtaUXS2xZ5tlzD+Kg7yMRlSLFDy3z0r7KlGXDzL14vELXIAgpk2aJbU3XeZZQRcEkLkowT92g==" + } } }, "electron-download": { diff --git a/package.json b/package.json index 65db1913..277e6830 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "dependencies": { "body-parser": "^1.18.2", "colors": "^1.1.2", - "electron": "^1.4.15", + "electron": "beta", "express": "^4.16.2", "express-ipfilter": "0.3.1", "feedme": "latest", From b73c54913103bd02568319a7ce72544f84ef153a Mon Sep 17 00:00:00 2001 From: wonjerry Date: Fri, 6 Apr 2018 21:25:10 +0900 Subject: [PATCH 16/16] Error in MagicMirror/modules/default/currentWeather/currentWeather.js line 296, 300 Notice that self.config.animationSpeed can not be found because the notificationReceived function does not have "self" variable. --- CHANGELOG.md | 6 ++++++ modules/default/currentweather/currentweather.js | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 301deadd..6cb4bf22 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,12 @@ This project adheres to [Semantic Versioning](http://semver.org/). - Updated German translation - Updated Dutch translation +## [2.3.1] - 2018-04-06 + +### Fixed + +- In default module currentWeather/currentWeather.js line 296, 300, self.config.animationSpeed can not be found because the notificationReceived function does not have "self" variable. + ## [2.3.1] - 2018-04-01 ### Fixed diff --git a/modules/default/currentweather/currentweather.js b/modules/default/currentweather/currentweather.js index 924a1974..b0ab40dc 100644 --- a/modules/default/currentweather/currentweather.js +++ b/modules/default/currentweather/currentweather.js @@ -293,11 +293,11 @@ Module.register("currentweather",{ } if (notification === "INDOOR_TEMPERATURE") { this.indoorTemperature = this.roundValue(payload); - this.updateDom(self.config.animationSpeed); + this.updateDom(this.config.animationSpeed); } if (notification === "INDOOR_HUMIDITY") { this.indoorHumidity = this.roundValue(payload); - this.updateDom(self.config.animationSpeed); + this.updateDom(this.config.animationSpeed); } },