Commit 71ac3c39 authored by Ronald Record's avatar Ronald Record
Browse files

Replace module MMM-DarkSkyForecast with module MMM-OpenWeatherForecast

parent ca5d7534
......@@ -2,6 +2,12 @@
All notable changes to this project will be documented in this file.
20 June 2022, MirrorCommand version 4.0.1 release 1:
Version 4.0.1 Release 1 of MirrorCommand replaces the use of
module MMM-DarkSkyForecast with module MMM-OpenWeatherForecast.
Apple bought DarkSky and is removing free access to the API.
14 April 2022, MirrorCommand version 4.0.0 release 3:
Version 4.0.0 Release 3 of MirrorCommand adds the capability of updating
......
......@@ -807,7 +807,7 @@ Specify a config file to use by executing a command of the form:
where <name> is one of:
all Artists art background bikini blank calendar candy covid
crypto darksky default face fractals gif iframe instagram ironman
crypto openweather default face fractals gif iframe instagram ironman
JAV Models nature networkcols network networktest news nokeys normal
owls Photographers pics portal radar rooncontrol roon scenes scnews
scoreboard screencast server smoke snowcrash stocks swimweek tantra test
......
VERSION=4.0.0
RELEASE=3
VERSION=4.0.1
RELEASE=1
......@@ -295,7 +295,7 @@ do
config/config-instagram.js)
check "$i" "$inst" 22
;;
config/config-darksky.js|config/config-networkcols.js|\
config/config-openweather.js|config/config-networkcols.js|\
config/config-network.js|config/config-scnews.js)
check "$i" "$inst" 24
;;
......
......@@ -161,13 +161,13 @@ var config = {
}
},
{
module: "MMM-DarkSkyForecast",
header: "Dark Sky Weather Forecast",
module: "MMM-OpenWeatherForecast",
header: "Open Weather Forecast",
position: "top_left",
classes: "default everyone",
disabled: false,
config: {
apikey: "xxx_Dark-Sky-API-Key_xxxxxxxxxxx",
apikey: "xx_OpenWeather-App-ID_xxxxxxxxxx",
latitude: "36.970019",
longitude: "-122.042212",
iconset: "5c",
......
......@@ -184,13 +184,13 @@ var config = {
}
},
{
module: "MMM-DarkSkyForecast",
header: "Dark Sky Weather Forecast",
module: "MMM-OpenWeatherForecast",
header: "Open Weather Forecast",
position: "top_left",
classes: "default everyone",
disabled: false,
config: {
apikey: "xxx_Dark-Sky-API-Key_xxxxxxxxxxx",
apikey: "xx_OpenWeather-App-ID_xxxxxxxxxx",
latitude: "36.970019",
longitude: "-122.042212",
iconset: "5c",
......
......@@ -402,13 +402,13 @@ var config = {
}
},
{
module: "MMM-DarkSkyForecast",
header: "Dark Sky Weather Forecast",
module: "MMM-OpenWeatherForecast",
header: "Open Weather Forecast",
position: "top_center",
classes: "default everyone",
disabled: false,
config: {
apikey: "xxx_Dark-Sky-API-Key_xxxxxxxxxxx",
apikey: "xx_OpenWeather-App-ID_xxxxxxxxxx",
latitude: "36.970019",
longitude: "-122.042212",
iconset: "5c",
......
......@@ -52,7 +52,7 @@ var config = {
enableRemoteModule: true
}
},
customCss: "css/custom-darksky.css",
customCss: "css/custom-openweather.css",
modules: [
{
......@@ -131,13 +131,13 @@ var config = {
}
},
{
module: "MMM-DarkSkyForecast",
header: "Dark Sky Weather Forecast",
module: "MMM-OpenWeatherForecast",
header: "Open Weather Forecast",
position: "bottom_center",
classes: "default everyone",
disabled: false,
config: {
apikey: "xxx_Dark-Sky-API-Key_xxxxxxxxxxx",
apikey: "xx_OpenWeather-App-ID_xxxxxxxxxx",
latitude: "36.970019",
longitude: "-122.042212",
iconset: "5c",
......
......@@ -258,13 +258,13 @@ var config = {
}
},
{
module: "MMM-DarkSkyForecast",
header: "Dark Sky Weather Forecast",
module: "MMM-OpenWeatherForecast",
header: "Open Weather Forecast",
position: "top_right",
classes: "weather",
disabled: false,
config: {
apikey: "xxx_Dark-Sky-API-Key_xxxxxxxxxxx",
apikey: "xx_OpenWeather-App-ID_xxxxxxxxxx",
latitude: "36.970019",
longitude: "-122.042212",
iconset: "5c",
......
......@@ -161,13 +161,13 @@ var config = {
}
},
{
module: "MMM-DarkSkyForecast",
header: "Dark Sky Weather Forecast",
module: "MMM-OpenWeatherForecast",
header: "Open Weather Forecast",
position: "top_right",
classes: "default everyone",
disabled: false,
config: {
apikey: "xxx_Dark-Sky-API-Key_xxxxxxxxxxx",
apikey: "xx_OpenWeather-App-ID_xxxxxxxxxx",
latitude: "36.970019",
longitude: "-122.042212",
iconset: "5c",
......
......@@ -402,13 +402,13 @@ var config = {
}
},
{
module: "MMM-DarkSkyForecast",
header: "Dark Sky Weather Forecast",
module: "MMM-OpenWeatherForecast",
header: "Open Weather Forecast",
position: "top_center",
classes: "default everyone",
disabled: false,
config: {
apikey: "xxx_Dark-Sky-API-Key_xxxxxxxxxxx",
apikey: "xx_OpenWeather-App-ID_xxxxxxxxxx",
latitude: "36.970019",
longitude: "-122.042212",
iconset: "5c",
......
......@@ -52,7 +52,7 @@ var config = {
enableRemoteModule: true
}
},
customCss: "css/custom-darksky.css",
customCss: "css/custom-openweather.css",
modules: [
{
......@@ -154,13 +154,13 @@ var config = {
}
},
{
module: "MMM-DarkSkyForecast",
header: "Dark Sky Weather Forecast",
module: "MMM-OpenWeatherForecast",
header: "Open Weather Forecast",
position: "bottom_center",
classes: "default everyone",
disabled: false,
config: {
apikey: "xxx_Dark-Sky-API-Key_xxxxxxxxxxx",
apikey: "xx_OpenWeather-App-ID_xxxxxxxxxx",
latitude: "36.970019",
longitude: "-122.042212",
iconset: "5c",
......
......@@ -258,13 +258,13 @@ var config = {
}
},
{
module: "MMM-DarkSkyForecast",
header: "Dark Sky Weather Forecast",
module: "MMM-OpenWeatherForecast",
header: "Open Weather Forecast",
position: "top_right",
classes: "weather",
disabled: false,
config: {
apikey: "xxx_Dark-Sky-API-Key_xxxxxxxxxxx",
apikey: "xx_OpenWeather-App-ID_xxxxxxxxxx",
latitude: "36.970019",
longitude: "-122.042212",
iconset: "5c",
......
......@@ -184,13 +184,13 @@ var config = {
}
},
{
module: "MMM-DarkSkyForecast",
header: "Dark Sky Weather Forecast",
module: "MMM-OpenWeatherForecast",
header: "Open Weather Forecast",
position: "top_right",
classes: "default everyone",
disabled: false,
config: {
apikey: "xxx_Dark-Sky-API-Key_xxxxxxxxxxx",
apikey: "xx_OpenWeather-App-ID_xxxxxxxxxx",
latitude: "36.970019",
longitude: "-122.042212",
iconset: "5c",
......
......@@ -57,7 +57,7 @@ header {
margin-top: 10px;
}
.MMM-DarkSkyForecast .module-content {
.MMM-OpenWeatherForecast .module-content {
width: 500px;
}
......
......@@ -65,7 +65,7 @@ header {
margin-top: 10px;
}
.MMM-DarkSkyForecast .module-content {
.MMM-OpenWeatherForecast .module-content {
width: 500px;
}
......
......@@ -57,7 +57,7 @@ header {
margin-top: 10px;
}
.MMM-DarkSkyForecast .module-content {
.MMM-OpenWeatherForecast .module-content {
width: 500px;
}
......
......@@ -11,39 +11,39 @@ header {
margin-bottom:-364px;
}
.MMM-DarkSkyForecast * {
.MMM-OpenWeatherForecast * {
box-sizing: border-box;
}
.MMM-DarkSkyForecast .module-content {
.MMM-OpenWeatherForecast .module-content {
width: 700px;
}
.MMM-DarkSkyForecast .forecast-container .forecast-item .temperature,
.MMM-DarkSkyForecast .forecast-container .forecast-item .temperature-container {
.MMM-OpenWeatherForecast .forecast-container .forecast-item .temperature,
.MMM-OpenWeatherForecast .forecast-container .forecast-item .temperature-container {
color: #FFFFFF;
}
.MMM-DarkSkyForecast .temperature .low-temperature,
.MMM-DarkSkyForecast .temperature-container .low-temperature {
.MMM-OpenWeatherForecast .temperature .low-temperature,
.MMM-OpenWeatherForecast .temperature-container .low-temperature {
color: #AAA;
}
.MMM-DarkSkyForecast .wrapper.colored .temperature .high-temperature,
.MMM-DarkSkyForecast .wrapper.colored .temperature-container .high-temperature {
.MMM-OpenWeatherForecast .wrapper.colored .temperature .high-temperature,
.MMM-OpenWeatherForecast .wrapper.colored .temperature-container .high-temperature {
color: #F8DD70;
}
.MMM-DarkSkyForecast .wrapper.colored .temperature .low-temperature,
.MMM-DarkSkyForecast .wrapper.colored .temperature-container .low-temperature {
.MMM-OpenWeatherForecast .wrapper.colored .temperature .low-temperature,
.MMM-OpenWeatherForecast .wrapper.colored .temperature-container .low-temperature {
color: #6FC4F5;
}
.MMM-DarkSkyForecast .accumulation:before {
.MMM-OpenWeatherForecast .accumulation:before {
content: " ";
}
.MMM-DarkSkyForecast .attribution {
.MMM-OpenWeatherForecast .attribution {
font-size: 12px;
line-height: 18px;
color: #333;
......@@ -52,12 +52,12 @@ header {
/* Current Conditions */
.MMM-DarkSkyForecast .current-conditions-wrapper .current.temperature {
.MMM-OpenWeatherForecast .current-conditions-wrapper .current.temperature {
line-height: 80px;
vertical-align: middle;
}
.MMM-DarkSkyForecast .current-conditions-wrapper .icon {
.MMM-OpenWeatherForecast .current-conditions-wrapper .icon {
vertical-align: middle;
line-height: 80px;
margin-right: 20px;
......@@ -67,7 +67,7 @@ header {
position: relative;
}
.MMM-DarkSkyForecast .extra-current-conditions-wrapper {
.MMM-OpenWeatherForecast .extra-current-conditions-wrapper {
display: block;
/*text-align: left;*/
/*background-color: #333;*/
......@@ -77,8 +77,8 @@ header {
/* Inline icons */
.MMM-DarkSkyForecast .inline-icon,
.MMM-DarkSkyForecast .wrapper.tiled .forecast-container .forecast-item .inline-icon {
.MMM-OpenWeatherForecast .inline-icon,
.MMM-OpenWeatherForecast .wrapper.tiled .forecast-container .forecast-item .inline-icon {
display: inline-block;
width: 24px;
height: 24px;
......@@ -90,9 +90,9 @@ header {
/* Extra Current Conditions */
.MMM-DarkSkyForecast .extra-current-conditions-wrapper .temperature-container,
.MMM-DarkSkyForecast .extra-current-conditions-wrapper .precipitation-container,
.MMM-DarkSkyForecast .extra-current-conditions-wrapper .wind-container {
.MMM-OpenWeatherForecast .extra-current-conditions-wrapper .temperature-container,
.MMM-OpenWeatherForecast .extra-current-conditions-wrapper .precipitation-container,
.MMM-OpenWeatherForecast .extra-current-conditions-wrapper .wind-container {
display: inline-block;
white-space: nowrap;
margin:0 15px;
......@@ -101,14 +101,14 @@ header {
/* Summary */
.MMM-DarkSkyForecast .summary {
.MMM-OpenWeatherForecast .summary {
margin: 15px 0;
}
/* Forecast Header */
.MMM-DarkSkyForecast .module-header.forecast-header {
.MMM-OpenWeatherForecast .module-header.forecast-header {
margin-top: 20px;
margin-bottom: 0;
}
......@@ -117,7 +117,7 @@ header {
/* Tiled Layout */
.MMM-DarkSkyForecast .wrapper.tiled .forecast-container {
.MMM-OpenWeatherForecast .wrapper.tiled .forecast-container {
display: flex;
flex-direction: row;
flex-wrap: wrap;
......@@ -128,11 +128,11 @@ header {
border-top: solid 1px #222;
}
.MMM-DarkSkyForecast .wrapper.with-forecast-header.tiled .forecast-container {
.MMM-OpenWeatherForecast .wrapper.with-forecast-header.tiled .forecast-container {
border-top: none;
}
.MMM-DarkSkyForecast .wrapper.tiled .forecast-container .forecast-item {
.MMM-OpenWeatherForecast .wrapper.tiled .forecast-container .forecast-item {
flex-grow: 1;
flex-shrink: 1;
min-width: 100px;
......@@ -141,62 +141,62 @@ header {
}
.MMM-DarkSkyForecast .wrapper.tiled .forecast-container * {
.MMM-OpenWeatherForecast .wrapper.tiled .forecast-container * {
text-align: center;
}
.MMM-DarkSkyForecast .wrapper.tiled .forecast-container .forecast-item .time,
.MMM-DarkSkyForecast .wrapper.tiled .forecast-container .forecast-item .forecast-icon-container,
.MMM-DarkSkyForecast .wrapper.tiled .forecast-container .forecast-item .forecast-icon,
.MMM-DarkSkyForecast .wrapper.tiled .forecast-container .forecast-item .temperature,
.MMM-DarkSkyForecast .wrapper.tiled .forecast-container .forecast-item .temperature-container,
.MMM-DarkSkyForecast .wrapper.tiled .forecast-container .forecast-item .precipitation-container,
.MMM-DarkSkyForecast .wrapper.tiled .forecast-container .forecast-item .wind-container,
.MMM-DarkSkyForecast .wrapper.tiled .forecast-container .forecast-item .day-name {
.MMM-OpenWeatherForecast .wrapper.tiled .forecast-container .forecast-item .time,
.MMM-OpenWeatherForecast .wrapper.tiled .forecast-container .forecast-item .forecast-icon-container,
.MMM-OpenWeatherForecast .wrapper.tiled .forecast-container .forecast-item .forecast-icon,
.MMM-OpenWeatherForecast .wrapper.tiled .forecast-container .forecast-item .temperature,
.MMM-OpenWeatherForecast .wrapper.tiled .forecast-container .forecast-item .temperature-container,
.MMM-OpenWeatherForecast .wrapper.tiled .forecast-container .forecast-item .precipitation-container,
.MMM-OpenWeatherForecast .wrapper.tiled .forecast-container .forecast-item .wind-container,
.MMM-OpenWeatherForecast .wrapper.tiled .forecast-container .forecast-item .day-name {
display: block;
margin: auto;
}
.MMM-DarkSkyForecast .wrapper.tiled .forecast-container .forecast-item .forecast-icon {
.MMM-OpenWeatherForecast .wrapper.tiled .forecast-container .forecast-item .forecast-icon {
width: 70px;
height: 70px;
margin: 4px auto;
}
.MMM-DarkSkyForecast .wrapper.tiled .forecast-container .forecast-item .time,
.MMM-DarkSkyForecast .wrapper.tiled .forecast-container .forecast-item .day-name {
.MMM-OpenWeatherForecast .wrapper.tiled .forecast-container .forecast-item .time,
.MMM-OpenWeatherForecast .wrapper.tiled .forecast-container .forecast-item .day-name {
font-size: 20px;
text-transform: uppercase;
}
.MMM-DarkSkyForecast .wrapper.tiled .forecast-container .forecast-item .wind-speed,
.MMM-DarkSkyForecast .wrapper.tiled .forecast-container .forecast-item .wind-gusts {
.MMM-OpenWeatherForecast .wrapper.tiled .forecast-container .forecast-item .wind-speed,
.MMM-OpenWeatherForecast .wrapper.tiled .forecast-container .forecast-item .wind-gusts {
display: inline-block;
white-space: nowrap;
}
.MMM-DarkSkyForecast .wrapper.tiled .forecast-container .forecast-item .wind-gusts {
.MMM-OpenWeatherForecast .wrapper.tiled .forecast-container .forecast-item .wind-gusts {
display: block;
}
.MMM-DarkSkyForecast .wrapper.tiled .forecast-container .forecast-item .temperature,
.MMM-DarkSkyForecast .wrapper.tiled .forecast-container .forecast-item .temperature-container {
.MMM-OpenWeatherForecast .wrapper.tiled .forecast-container .forecast-item .temperature,
.MMM-OpenWeatherForecast .wrapper.tiled .forecast-container .forecast-item .temperature-container {
font-size: 24px;
padding: 4px 0;
}
.MMM-DarkSkyForecast .wrapper.tiled .forecast-container .forecast-item .precipitation-container,
.MMM-DarkSkyForecast .wrapper.tiled .forecast-container .forecast-item .wind-container {
.MMM-OpenWeatherForecast .wrapper.tiled .forecast-container .forecast-item .precipitation-container,
.MMM-OpenWeatherForecast .wrapper.tiled .forecast-container .forecast-item .wind-container {
font-size: 20px;
line-height: 1.5;
}
/* ------------ Table Layout ------------ */
.MMM-DarkSkyForecast .wrapper.table .forecast-container {
.MMM-OpenWeatherForecast .wrapper.table .forecast-container {
display: table;
border-collapse: collapse;
width: 100%;
......@@ -205,24 +205,24 @@ header {
border-bottom: solid 1px #222;
}
.MMM-DarkSkyForecast .wrapper.table .forecast-container .forecast-item,
.MMM-DarkSkyForecast .wrapper.table .forecast-container .header-row {
.MMM-OpenWeatherForecast .wrapper.table .forecast-container .forecast-item,
.MMM-OpenWeatherForecast .wrapper.table .forecast-container .header-row {
display: table-row;
border-top: solid 1px #222;
}
.MMM-DarkSkyForecast .wrapper.with-forecast-header.table .forecast-container > div:first-child,
.MMM-DarkSkyForecast .wrapper.table .forecast-container .header-row {
.MMM-OpenWeatherForecast .wrapper.with-forecast-header.table .forecast-container > div:first-child,
.MMM-OpenWeatherForecast .wrapper.table .forecast-container .header-row {
border-top: none;
}
.MMM-DarkSkyForecast .wrapper.table .forecast-container .header-row .date-time-header {
.MMM-OpenWeatherForecast .wrapper.table .forecast-container .header-row .date-time-header {
text-align: left;
overflow: visible;
}
.MMM-DarkSkyForecast .wrapper.table .forecast-container .forecast-item > span,
.MMM-DarkSkyForecast .wrapper.table .forecast-container .header-row > span {
.MMM-OpenWeatherForecast .wrapper.table .forecast-container .forecast-item > span,
.MMM-OpenWeatherForecast .wrapper.table .forecast-container .header-row > span {
display: table-cell;
font-size: 20px;
text-align: center;
......@@ -232,7 +232,7 @@ header {
.MMM-DarkSkyForecast .wrapper.table .forecast-container .header-row > span {
.MMM-OpenWeatherForecast .wrapper.table .forecast-container .header-row > span {
height: 34px;
font-size: 16px;
text-transform: uppercase;
......@@ -241,28 +241,28 @@ header {
}
.MMM-DarkSkyForecast .wrapper.table .forecast-container .forecast-item > span:first-child {
.MMM-OpenWeatherForecast .wrapper.table .forecast-container .forecast-item > span:first-child {
text-align: left;
}
.MMM-DarkSkyForecast .wrapper.table .forecast-container .forecast-item > span:last-child {
.MMM-OpenWeatherForecast .wrapper.table .forecast-container .forecast-item > span:last-child {
text-align: right;
}
.MMM-DarkSkyForecast .wrapper.table .forecast-container .forecast-item .forecast-icon {
.MMM-OpenWeatherForecast .wrapper.table .forecast-container .forecast-item .forecast-icon {
width: 30px;
height: 30px;
display: block;
vertical-align: middle;
}
.MMM-DarkSkyForecast .wrapper.table .forecast-container .forecast-item .time,
.MMM-DarkSkyForecast .wrapper.table .forecast-container .forecast-item .high-temperature,
.MMM-DarkSkyForecast .wrapper.table .forecast-container .forecast-item .low-temperature, {
.MMM-OpenWeatherForecast .wrapper.table .forecast-container .forecast-item .time,
.MMM-OpenWeatherForecast .wrapper.table .forecast-container .forecast-item .high-temperature,
.MMM-OpenWeatherForecast .wrapper.table .forecast-container .forecast-item .low-temperature, {
white-space: nowrap;
}
.MMM-DarkSkyForecast .wrapper.table .forecast-container .forecast-item .wind-gusts,
.MMM-DarkSkyForecast .wrapper.table .forecast-container .forecast-item .accumulation {
.MMM-OpenWeatherForecast .wrapper.table .forecast-container .forecast-item .wind-gusts,
.MMM-OpenWeatherForecast .wrapper.table .forecast-container .forecast-item .accumulation {
display: block;
white-space: nowrap;
}
......
......@@ -27,7 +27,7 @@
#
MM_BASE=${HOME}/MagicMirror
MODULES="internet-monitor MMM-BackgroundSlideshow MMM-CoinMarketCap \
MMM-COVID19-SPARKLINE MMM-DarkSkyForecast EXT-Detector \
MMM-COVID19-SPARKLINE MMM-OpenWeatherForecast EXT-Detector \
MMM-GoogleAssistant MMM-GoogleMapsTraffic Gateway EXT-GooglePhotos \
mmm-hue-lights MMM-iFrame MMM-InstagramView MMM-IronManGIF \
MMM-MacAddressScan MMM-MoonPhase MMM-MyScoreboard EXT-Alert \
......
......@@ -258,7 +258,7 @@ case "$1" in
# Install MagicMirror 3rd Party modules used by MirrorCommand
[ -d "${MMHOME}/modules" ] && cd "${MMHOME}/modules"
MODULES="internet-monitor MMM-BackgroundSlideshow MMM-CoinMarketCap \
MMM-COVID19-SPARKLINE MMM-DarkSkyForecast Gateway \
MMM-COVID19-SPARKLINE MMM-OpenWeatherForecast Gateway \
EXT-Detector MMM-GoogleAssistant MMM-GoogleMapsTraffic \
mmm-hue-lights MMM-iFrame MMM-InstagramView \
MMM-IronManGIF MMM-MacAddressScan MMM-MyScoreboard \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment