mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 12:55:22 +00:00
remove all useless header comments (#3363)
see #3358 used command: `find ./ -type f -exec perl -i -0pe 's/\/\*\s*magicmirror.*?\*\/\s*//si' {} \;` This is a first draft, I think we should preserve some of the comments.
This commit is contained in:
@@ -34,6 +34,8 @@ _This release is scheduled to be released on 2024-04-01._
|
|||||||
|
|
||||||
### Deleted
|
### Deleted
|
||||||
|
|
||||||
|
- Unneeded file headers (#3358)
|
||||||
|
|
||||||
## [2.26.0] - 01-01-2024
|
## [2.26.0] - 01-01-2024
|
||||||
|
|
||||||
Thanks to: @bnitkin, @bugsounet, @dependabot, @jkriegshauser, @kaennchenstruggle, @KristjanESPERANTO and @Ybbet.
|
Thanks to: @bnitkin, @bugsounet, @dependabot, @jkriegshauser, @kaennchenstruggle, @KristjanESPERANTO and @Ybbet.
|
||||||
|
@@ -1,7 +1,4 @@
|
|||||||
/* MagicMirror² Config Sample
|
/* Config Sample
|
||||||
*
|
|
||||||
* By Michael Teeuw https://michaelteeuw.nl
|
|
||||||
* MIT Licensed.
|
|
||||||
*
|
*
|
||||||
* For more information on how you can configure this file
|
* For more information on how you can configure this file
|
||||||
* see https://docs.magicmirror.builders/configuration/introduction.html
|
* see https://docs.magicmirror.builders/configuration/introduction.html
|
||||||
|
@@ -1,10 +1,8 @@
|
|||||||
/* MagicMirror² Custom CSS Sample
|
/* Custom CSS Sample
|
||||||
*
|
*
|
||||||
* Change color and fonts here.
|
* Change color and fonts here.
|
||||||
*
|
*
|
||||||
* Beware that properties cannot be unitless, so for example write '--gap-body: 0px;' instead of just '--gap-body: 0;'
|
* Beware that properties cannot be unitless, so for example write '--gap-body: 0px;' instead of just '--gap-body: 0;'
|
||||||
*
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Uncomment and adjust accordingly if you want to import another font from the google-fonts-api: */
|
/* Uncomment and adjust accordingly if you want to import another font from the google-fonts-api: */
|
||||||
@@ -18,7 +16,7 @@
|
|||||||
|
|
||||||
--font-primary: "Roboto Condensed";
|
--font-primary: "Roboto Condensed";
|
||||||
--font-secondary: "Roboto";
|
--font-secondary: "Roboto";
|
||||||
|
|
||||||
--font-size: 20px;
|
--font-size: 20px;
|
||||||
--font-size-small: 0.75rem;
|
--font-size-small: 0.75rem;
|
||||||
|
|
||||||
@@ -26,6 +24,6 @@
|
|||||||
--gap-body-right: 60px;
|
--gap-body-right: 60px;
|
||||||
--gap-body-bottom: 60px;
|
--gap-body-bottom: 60px;
|
||||||
--gap-body-left: 60px;
|
--gap-body-left: 60px;
|
||||||
|
|
||||||
--gap-modules: 30px;
|
--gap-modules: 30px;
|
||||||
}
|
}
|
||||||
|
@@ -1,10 +1,3 @@
|
|||||||
/* MagicMirror²
|
|
||||||
* AnimateCSS System from https://animate.style/
|
|
||||||
* by @bugsounet
|
|
||||||
* for Michael Teeuw https://michaelteeuw.nl
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* enumeration of animations in Array **/
|
/* enumeration of animations in Array **/
|
||||||
const AnimateCSSIn = [
|
const AnimateCSSIn = [
|
||||||
// Attention seekers
|
// Attention seekers
|
||||||
|
@@ -1,10 +1,3 @@
|
|||||||
/* MagicMirror²
|
|
||||||
* The Core App (Server)
|
|
||||||
*
|
|
||||||
* By Michael Teeuw https://michaelteeuw.nl
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Alias modules mentioned in package.js under _moduleAliases.
|
// Alias modules mentioned in package.js under _moduleAliases.
|
||||||
require("module-alias/register");
|
require("module-alias/register");
|
||||||
|
|
||||||
|
@@ -1,10 +1,3 @@
|
|||||||
/* MagicMirror²
|
|
||||||
*
|
|
||||||
* Check the configuration file for errors
|
|
||||||
*
|
|
||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
const path = require("node:path");
|
const path = require("node:path");
|
||||||
const fs = require("node:fs");
|
const fs = require("node:fs");
|
||||||
const colors = require("ansis");
|
const colors = require("ansis");
|
||||||
|
@@ -1,11 +1,5 @@
|
|||||||
/* global mmPort */
|
/* global mmPort */
|
||||||
|
|
||||||
/* MagicMirror²
|
|
||||||
* Config Defaults
|
|
||||||
*
|
|
||||||
* By Michael Teeuw https://michaelteeuw.nl
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
const address = "localhost";
|
const address = "localhost";
|
||||||
let port = 8080;
|
let port = 8080;
|
||||||
if (typeof mmPort !== "undefined") {
|
if (typeof mmPort !== "undefined") {
|
||||||
|
@@ -1,11 +1,3 @@
|
|||||||
/* MagicMirror² Deprecated Config Options List
|
|
||||||
*
|
|
||||||
* By Michael Teeuw https://michaelteeuw.nl
|
|
||||||
* MIT Licensed.
|
|
||||||
*
|
|
||||||
* Olex S. original idea this deprecated option
|
|
||||||
*/
|
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
configs: ["kioskmode"]
|
configs: ["kioskmode"]
|
||||||
};
|
};
|
||||||
|
@@ -1,11 +1,5 @@
|
|||||||
/* global defaultModules, vendor */
|
/* global defaultModules, vendor */
|
||||||
|
|
||||||
/* MagicMirror²
|
|
||||||
* Module and File loaders.
|
|
||||||
*
|
|
||||||
* By Michael Teeuw https://michaelteeuw.nl
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
const Loader = (function () {
|
const Loader = (function () {
|
||||||
|
|
||||||
/* Create helper variables */
|
/* Create helper variables */
|
||||||
|
10
js/logger.js
10
js/logger.js
@@ -1,12 +1,4 @@
|
|||||||
/* MagicMirror²
|
// This logger is very simple, but needs to be extended.
|
||||||
* Log
|
|
||||||
*
|
|
||||||
* This logger is very simple, but needs to be extended.
|
|
||||||
* This system can eventually be used to push the log messages to an external target.
|
|
||||||
*
|
|
||||||
* By Michael Teeuw https://michaelteeuw.nl
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
(function (root, factory) {
|
(function (root, factory) {
|
||||||
if (typeof exports === "object") {
|
if (typeof exports === "object") {
|
||||||
if (process.env.JEST_WORKER_ID === undefined) {
|
if (process.env.JEST_WORKER_ID === undefined) {
|
||||||
|
@@ -1,11 +1,5 @@
|
|||||||
/* global Loader, defaults, Translator, addAnimateCSS, removeAnimateCSS, AnimateCSSIn, AnimateCSSOut */
|
/* global Loader, defaults, Translator, addAnimateCSS, removeAnimateCSS, AnimateCSSIn, AnimateCSSOut */
|
||||||
|
|
||||||
/* MagicMirror²
|
|
||||||
* Main System
|
|
||||||
*
|
|
||||||
* By Michael Teeuw https://michaelteeuw.nl
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
const MM = (function () {
|
const MM = (function () {
|
||||||
let modules = [];
|
let modules = [];
|
||||||
|
|
||||||
|
@@ -1,11 +1,7 @@
|
|||||||
/* global Class, cloneObject, Loader, MMSocket, nunjucks, Translator */
|
/* global Class, cloneObject, Loader, MMSocket, nunjucks, Translator */
|
||||||
|
|
||||||
/* MagicMirror²
|
/* Module Blueprint.
|
||||||
* Module Blueprint.
|
|
||||||
* @typedef {Object} Module
|
* @typedef {Object} Module
|
||||||
*
|
|
||||||
* By Michael Teeuw https://michaelteeuw.nl
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
*/
|
||||||
const Module = Class.extend({
|
const Module = Class.extend({
|
||||||
|
|
||||||
|
@@ -1,9 +1,3 @@
|
|||||||
/* MagicMirror²
|
|
||||||
* Node Helper Superclass
|
|
||||||
*
|
|
||||||
* By Michael Teeuw https://michaelteeuw.nl
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
const express = require("express");
|
const express = require("express");
|
||||||
const Log = require("logger");
|
const Log = require("logger");
|
||||||
const Class = require("./class");
|
const Class = require("./class");
|
||||||
|
@@ -1,9 +1,3 @@
|
|||||||
/* MagicMirror²
|
|
||||||
* Server
|
|
||||||
*
|
|
||||||
* By Michael Teeuw https://michaelteeuw.nl
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
const fs = require("node:fs");
|
const fs = require("node:fs");
|
||||||
const http = require("node:http");
|
const http = require("node:http");
|
||||||
const https = require("node:https");
|
const https = require("node:https");
|
||||||
|
@@ -1,11 +1,5 @@
|
|||||||
/* global io */
|
/* global io */
|
||||||
|
|
||||||
/* MagicMirror²
|
|
||||||
* TODO add description
|
|
||||||
*
|
|
||||||
* By Michael Teeuw https://michaelteeuw.nl
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
const MMSocket = function (moduleName) {
|
const MMSocket = function (moduleName) {
|
||||||
if (typeof moduleName !== "string") {
|
if (typeof moduleName !== "string") {
|
||||||
throw new Error("Please set the module name for the MMSocket.");
|
throw new Error("Please set the module name for the MMSocket.");
|
||||||
|
@@ -1,11 +1,5 @@
|
|||||||
/* global translations */
|
/* global translations */
|
||||||
|
|
||||||
/* MagicMirror²
|
|
||||||
* Translator (l10n)
|
|
||||||
*
|
|
||||||
* By Christopher Fenner https://github.com/CFenner
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
const Translator = (function () {
|
const Translator = (function () {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
/* MagicMirror²
|
|
||||||
* Utils
|
|
||||||
*
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
const execSync = require("node:child_process").execSync;
|
const execSync = require("node:child_process").execSync;
|
||||||
const Log = require("logger");
|
const Log = require("logger");
|
||||||
const si = require("systeminformation");
|
const si = require("systeminformation");
|
||||||
|
@@ -1,11 +1,5 @@
|
|||||||
/* global NotificationFx */
|
/* global NotificationFx */
|
||||||
|
|
||||||
/* MagicMirror²
|
|
||||||
* Module: alert
|
|
||||||
*
|
|
||||||
* By Paul-Vincent Roll https://paulvincentroll.com/
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
Module.register("alert", {
|
Module.register("alert", {
|
||||||
alerts: {},
|
alerts: {},
|
||||||
|
|
||||||
|
@@ -1,11 +1,5 @@
|
|||||||
/* global CalendarUtils */
|
/* global CalendarUtils */
|
||||||
|
|
||||||
/* MagicMirror²
|
|
||||||
* Module: Calendar
|
|
||||||
*
|
|
||||||
* By Michael Teeuw https://michaelteeuw.nl
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
Module.register("calendar", {
|
Module.register("calendar", {
|
||||||
// Define module defaults
|
// Define module defaults
|
||||||
defaults: {
|
defaults: {
|
||||||
|
@@ -1,10 +1,3 @@
|
|||||||
/* MagicMirror²
|
|
||||||
* Node Helper: Calendar - CalendarFetcher
|
|
||||||
*
|
|
||||||
* By Michael Teeuw https://michaelteeuw.nl
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
|
|
||||||
const https = require("node:https");
|
const https = require("node:https");
|
||||||
const ical = require("node-ical");
|
const ical = require("node-ical");
|
||||||
const Log = require("logger");
|
const Log = require("logger");
|
||||||
|
@@ -1,10 +1,3 @@
|
|||||||
/* MagicMirror²
|
|
||||||
* Calendar Fetcher Util Methods
|
|
||||||
*
|
|
||||||
* By Michael Teeuw https://michaelteeuw.nl
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @external Moment
|
* @external Moment
|
||||||
*/
|
*/
|
||||||
|
@@ -1,9 +1,3 @@
|
|||||||
/* MagicMirror²
|
|
||||||
* Calendar Util Methods
|
|
||||||
*
|
|
||||||
* By Rejas
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
const CalendarUtils = {
|
const CalendarUtils = {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -1,9 +1,6 @@
|
|||||||
/* CalendarFetcher Tester
|
/* CalendarFetcher Tester
|
||||||
* use this script with `node debug.js` to test the fetcher without the need
|
* use this script with `node debug.js` to test the fetcher without the need
|
||||||
* of starting the MagicMirror² core. Adjust the values below to your desire.
|
* of starting the MagicMirror² core. Adjust the values below to your desire.
|
||||||
*
|
|
||||||
* By Michael Teeuw https://michaelteeuw.nl
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
*/
|
||||||
// Alias modules mentioned in package.js under _moduleAliases.
|
// Alias modules mentioned in package.js under _moduleAliases.
|
||||||
require("module-alias/register");
|
require("module-alias/register");
|
||||||
|
@@ -1,9 +1,3 @@
|
|||||||
/* MagicMirror²
|
|
||||||
* Node Helper: Calendar
|
|
||||||
*
|
|
||||||
* By Michael Teeuw https://michaelteeuw.nl
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
const NodeHelper = require("node_helper");
|
const NodeHelper = require("node_helper");
|
||||||
const Log = require("logger");
|
const Log = require("logger");
|
||||||
const CalendarFetcher = require("./calendarfetcher");
|
const CalendarFetcher = require("./calendarfetcher");
|
||||||
|
@@ -1,11 +1,5 @@
|
|||||||
/* global SunCalc, formatTime */
|
/* global SunCalc, formatTime */
|
||||||
|
|
||||||
/* MagicMirror²
|
|
||||||
* Module: Clock
|
|
||||||
*
|
|
||||||
* By Michael Teeuw https://michaelteeuw.nl
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
Module.register("clock", {
|
Module.register("clock", {
|
||||||
// Module config defaults.
|
// Module config defaults.
|
||||||
defaults: {
|
defaults: {
|
||||||
|
@@ -1,9 +1,3 @@
|
|||||||
/* MagicMirror²
|
|
||||||
* Module: Compliments
|
|
||||||
*
|
|
||||||
* By Michael Teeuw https://michaelteeuw.nl
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
Module.register("compliments", {
|
Module.register("compliments", {
|
||||||
// Module config defaults.
|
// Module config defaults.
|
||||||
defaults: {
|
defaults: {
|
||||||
|
@@ -1,8 +1,5 @@
|
|||||||
/* MagicMirror² Default Modules List
|
/* Default Modules List
|
||||||
* Modules listed below can be loaded without the 'default/' prefix. Omitting the default folder name.
|
* Modules listed below can be loaded without the 'default/' prefix. Omitting the default folder name.
|
||||||
*
|
|
||||||
* By Michael Teeuw https://michaelteeuw.nl
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
*/
|
||||||
const defaultModules = ["alert", "calendar", "clock", "compliments", "helloworld", "newsfeed", "updatenotification", "weather"];
|
const defaultModules = ["alert", "calendar", "clock", "compliments", "helloworld", "newsfeed", "updatenotification", "weather"];
|
||||||
|
|
||||||
|
@@ -1,9 +1,3 @@
|
|||||||
/* MagicMirror²
|
|
||||||
* Module: HelloWorld
|
|
||||||
*
|
|
||||||
* By Michael Teeuw https://michaelteeuw.nl
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
Module.register("helloworld", {
|
Module.register("helloworld", {
|
||||||
// Default module config.
|
// Default module config.
|
||||||
defaults: {
|
defaults: {
|
||||||
|
@@ -1,9 +1,3 @@
|
|||||||
/* MagicMirror²
|
|
||||||
* Module: NewsFeed
|
|
||||||
*
|
|
||||||
* By Michael Teeuw https://michaelteeuw.nl
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
Module.register("newsfeed", {
|
Module.register("newsfeed", {
|
||||||
// Default module config.
|
// Default module config.
|
||||||
defaults: {
|
defaults: {
|
||||||
|
@@ -1,10 +1,3 @@
|
|||||||
/* MagicMirror²
|
|
||||||
* Node Helper: Newsfeed - NewsfeedFetcher
|
|
||||||
*
|
|
||||||
* By Michael Teeuw https://michaelteeuw.nl
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
|
|
||||||
const crypto = require("node:crypto");
|
const crypto = require("node:crypto");
|
||||||
const stream = require("node:stream");
|
const stream = require("node:stream");
|
||||||
const FeedMe = require("feedme");
|
const FeedMe = require("feedme");
|
||||||
|
@@ -1,10 +1,3 @@
|
|||||||
/* MagicMirror²
|
|
||||||
* Node Helper: Newsfeed
|
|
||||||
*
|
|
||||||
* By Michael Teeuw https://michaelteeuw.nl
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
|
|
||||||
const NodeHelper = require("node_helper");
|
const NodeHelper = require("node_helper");
|
||||||
const Log = require("logger");
|
const Log = require("logger");
|
||||||
const NewsfeedFetcher = require("./newsfeedfetcher");
|
const NewsfeedFetcher = require("./newsfeedfetcher");
|
||||||
|
@@ -1,9 +1,3 @@
|
|||||||
/* MagicMirror²
|
|
||||||
* Module: UpdateNotification
|
|
||||||
*
|
|
||||||
* By Michael Teeuw https://michaelteeuw.nl
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
Module.register("updatenotification", {
|
Module.register("updatenotification", {
|
||||||
defaults: {
|
defaults: {
|
||||||
updateInterval: 10 * 60 * 1000, // every 10 minutes
|
updateInterval: 10 * 60 * 1000, // every 10 minutes
|
||||||
|
@@ -1,10 +1,6 @@
|
|||||||
/* global WeatherProvider, WeatherObject, WeatherUtils */
|
/* global WeatherProvider, WeatherObject, WeatherUtils */
|
||||||
|
|
||||||
/* MagicMirror²
|
/* This class is a provider for Environment Canada MSC Datamart
|
||||||
* Module: Weather
|
|
||||||
* Provider: Environment Canada (EC)
|
|
||||||
*
|
|
||||||
* This class is a provider for Environment Canada MSC Datamart
|
|
||||||
* Note that this is only for Canadian locations and does not require an API key (access is anonymous)
|
* Note that this is only for Canadian locations and does not require an API key (access is anonymous)
|
||||||
*
|
*
|
||||||
* EC Documentation at following links:
|
* EC Documentation at following links:
|
||||||
@@ -27,8 +23,6 @@
|
|||||||
* with locations you can search under column B (English Names), with the corresponding siteCode under
|
* with locations you can search under column B (English Names), with the corresponding siteCode under
|
||||||
* column A (Codes) and provCode under column C (Province).
|
* column A (Codes) and provCode under column C (Province).
|
||||||
*
|
*
|
||||||
* Original by Kevin Godin
|
|
||||||
*
|
|
||||||
* License to use Environment Canada (EC) data is detailed here:
|
* License to use Environment Canada (EC) data is detailed here:
|
||||||
* https://eccc-msc.github.io/open-data/licence/readme_en/
|
* https://eccc-msc.github.io/open-data/licence/readme_en/
|
||||||
*
|
*
|
||||||
|
@@ -1,15 +1,9 @@
|
|||||||
/* global WeatherProvider, WeatherObject */
|
/* global WeatherProvider, WeatherObject */
|
||||||
|
|
||||||
/* MagicMirror²
|
/* This class is a provider for Open-Meteo,
|
||||||
* Module: Weather
|
* see https://open-meteo.com/
|
||||||
* Provider: Open-Meteo
|
|
||||||
*
|
|
||||||
* By Andrés Vanegas
|
|
||||||
* MIT Licensed
|
|
||||||
*
|
|
||||||
* This class is a provider for Open-Meteo, based on Andrew Pometti's class
|
|
||||||
* for Weatherbit.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// https://www.bigdatacloud.com/docs/api/free-reverse-geocode-to-city-api
|
// https://www.bigdatacloud.com/docs/api/free-reverse-geocode-to-city-api
|
||||||
const GEOCODE_BASE = "https://api.bigdatacloud.net/data/reverse-geocode-client";
|
const GEOCODE_BASE = "https://api.bigdatacloud.net/data/reverse-geocode-client";
|
||||||
const OPEN_METEO_BASE = "https://api.open-meteo.com/v1";
|
const OPEN_METEO_BASE = "https://api.open-meteo.com/v1";
|
||||||
|
@@ -1,12 +1,7 @@
|
|||||||
/* global WeatherProvider, WeatherObject */
|
/* global WeatherProvider, WeatherObject */
|
||||||
|
|
||||||
/* MagicMirror²
|
/* This class is a provider for Openweathermap,
|
||||||
* Module: Weather
|
* see https://openweathermap.org/
|
||||||
*
|
|
||||||
* By Michael Teeuw https://michaelteeuw.nl
|
|
||||||
* MIT Licensed.
|
|
||||||
*
|
|
||||||
* This class is the blueprint for a weather provider.
|
|
||||||
*/
|
*/
|
||||||
WeatherProvider.register("openweathermap", {
|
WeatherProvider.register("openweathermap", {
|
||||||
// Set the name of the provider.
|
// Set the name of the provider.
|
||||||
|
@@ -1,14 +1,7 @@
|
|||||||
/* global WeatherProvider, WeatherObject */
|
/* global WeatherProvider, WeatherObject */
|
||||||
|
|
||||||
/* MagicMirror²
|
/* This class is a provider for Pirate Weather, it is a replacement for Dark Sky (same api),
|
||||||
* Module: Weather
|
* see http://pirateweather.net/en/latest/
|
||||||
* Provider: Pirate Weather
|
|
||||||
*
|
|
||||||
* Written by Nicholas Hubbard https://github.com/nhubbard for formerly Dark Sky Provider
|
|
||||||
* Modified by Karsten Hassel for Pirate Weather
|
|
||||||
* MIT Licensed
|
|
||||||
*
|
|
||||||
* This class is a provider for Pirate Weather, it is a replacement for Dark Sky (same api).
|
|
||||||
*/
|
*/
|
||||||
WeatherProvider.register("pirateweather", {
|
WeatherProvider.register("pirateweather", {
|
||||||
// Set the name of the provider.
|
// Set the name of the provider.
|
||||||
|
@@ -1,14 +1,8 @@
|
|||||||
/* global WeatherProvider, WeatherObject */
|
/* global WeatherProvider, WeatherObject */
|
||||||
|
|
||||||
/* MagicMirror²
|
/* This class is a provider for SMHI (Sweden only).
|
||||||
* Module: Weather
|
* Metric system is the only supported unit,
|
||||||
* Provider: SMHI
|
* see https://www.smhi.se/
|
||||||
*
|
|
||||||
* By BuXXi https://github.com/buxxi
|
|
||||||
* MIT Licensed
|
|
||||||
*
|
|
||||||
* This class is a provider for SMHI (Sweden only). Metric system is the only
|
|
||||||
* supported unit.
|
|
||||||
*/
|
*/
|
||||||
WeatherProvider.register("smhi", {
|
WeatherProvider.register("smhi", {
|
||||||
providerName: "SMHI",
|
providerName: "SMHI",
|
||||||
|
@@ -1,12 +1,7 @@
|
|||||||
/* global WeatherProvider, WeatherObject, WeatherUtils */
|
/* global WeatherProvider, WeatherObject, WeatherUtils */
|
||||||
|
|
||||||
/* MagicMirror²
|
/* This class is a provider for UK Met Office Datapoint,
|
||||||
* Module: Weather
|
* see https://www.metoffice.gov.uk/
|
||||||
*
|
|
||||||
* By Malcolm Oakes https://github.com/maloakes
|
|
||||||
* MIT Licensed.
|
|
||||||
*
|
|
||||||
* This class is a provider for UK Met Office Datapoint.
|
|
||||||
*/
|
*/
|
||||||
WeatherProvider.register("ukmetoffice", {
|
WeatherProvider.register("ukmetoffice", {
|
||||||
// Set the name of the provider.
|
// Set the name of the provider.
|
||||||
|
@@ -1,13 +1,6 @@
|
|||||||
/* global WeatherProvider, WeatherObject */
|
/* global WeatherProvider, WeatherObject */
|
||||||
|
|
||||||
/* MagicMirror²
|
/* This class is a provider for UK Met Office Data Hub (the replacement for their Data Point services).
|
||||||
* Module: Weather
|
|
||||||
*
|
|
||||||
* By Malcolm Oakes https://github.com/maloakes
|
|
||||||
* Existing Met Office provider edited for new MetOffice Data Hub by CreepinJesus http://github.com/XBCreepinJesus
|
|
||||||
* MIT Licensed.
|
|
||||||
*
|
|
||||||
* This class is a provider for UK Met Office Data Hub (the replacement for their Data Point services).
|
|
||||||
* For more information on Data Hub, see https://www.metoffice.gov.uk/services/data/datapoint/notifications/weather-datahub
|
* For more information on Data Hub, see https://www.metoffice.gov.uk/services/data/datapoint/notifications/weather-datahub
|
||||||
* Data available:
|
* Data available:
|
||||||
* Hourly data for next 2 days ("hourly") - https://www.metoffice.gov.uk/binaries/content/assets/metofficegovuk/pdf/data/global-spot-data-hourly.pdf
|
* Hourly data for next 2 days ("hourly") - https://www.metoffice.gov.uk/binaries/content/assets/metofficegovuk/pdf/data/global-spot-data-hourly.pdf
|
||||||
|
@@ -1,14 +1,7 @@
|
|||||||
/* global WeatherProvider, WeatherObject */
|
/* global WeatherProvider, WeatherObject */
|
||||||
|
|
||||||
/* MagicMirror²
|
/* This class is a provider for Weatherbit,
|
||||||
* Module: Weather
|
* see https://www.weatherbit.io/
|
||||||
* Provider: Weatherbit
|
|
||||||
*
|
|
||||||
* By Andrew Pometti
|
|
||||||
* MIT Licensed
|
|
||||||
*
|
|
||||||
* This class is a provider for Weatherbit, based on Nicholas Hubbard's class
|
|
||||||
* for Dark Sky & Vince Peri's class for Weather.gov.
|
|
||||||
*/
|
*/
|
||||||
WeatherProvider.register("weatherbit", {
|
WeatherProvider.register("weatherbit", {
|
||||||
// Set the name of the provider.
|
// Set the name of the provider.
|
||||||
|
@@ -1,16 +1,8 @@
|
|||||||
/* global WeatherProvider, WeatherObject, WeatherUtils */
|
/* global WeatherProvider, WeatherObject, WeatherUtils */
|
||||||
|
|
||||||
/* MagicMirror²
|
/* This class is a provider for Weatherflow.
|
||||||
* Module: Weather
|
|
||||||
* Provider: Weatherflow
|
|
||||||
*
|
|
||||||
* By Tobias Dreyem https://github.com/10bias
|
|
||||||
* MIT Licensed
|
|
||||||
*
|
|
||||||
* This class is a provider for Weatherflow.
|
|
||||||
* Note that the Weatherflow API does not provide snowfall.
|
* Note that the Weatherflow API does not provide snowfall.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
WeatherProvider.register("weatherflow", {
|
WeatherProvider.register("weatherflow", {
|
||||||
// Set the name of the provider.
|
// Set the name of the provider.
|
||||||
// Not strictly required, but helps for debugging
|
// Not strictly required, but helps for debugging
|
||||||
|
@@ -1,13 +1,8 @@
|
|||||||
/* global WeatherProvider, WeatherObject, WeatherUtils */
|
/* global WeatherProvider, WeatherObject, WeatherUtils */
|
||||||
|
|
||||||
/* MagicMirror²
|
/* Provider: weather.gov
|
||||||
* Module: Weather
|
|
||||||
* Provider: weather.gov
|
|
||||||
* https://weather-gov.github.io/api/general-faqs
|
* https://weather-gov.github.io/api/general-faqs
|
||||||
*
|
*
|
||||||
* Original by Vince Peri
|
|
||||||
* MIT Licensed.
|
|
||||||
*
|
|
||||||
* This class is a provider for weather.gov.
|
* This class is a provider for weather.gov.
|
||||||
* Note that this is only for US locations (lat and lon) and does not require an API key
|
* Note that this is only for US locations (lat and lon) and does not require an API key
|
||||||
* Since it is free, there are some items missing - like sunrise, sunset
|
* Since it is free, there are some items missing - like sunrise, sunset
|
||||||
|
@@ -1,14 +1,6 @@
|
|||||||
/* global WeatherProvider, WeatherObject */
|
/* global WeatherProvider, WeatherObject */
|
||||||
|
|
||||||
/* MagicMirror²
|
/* This class is a provider for Yr.no, a norwegian weather service.
|
||||||
* Module: Weather
|
|
||||||
* Provider: Yr.no
|
|
||||||
*
|
|
||||||
* By Magnus Marthinsen
|
|
||||||
* MIT Licensed
|
|
||||||
*
|
|
||||||
* This class is a provider for Yr.no, a norwegian weather service.
|
|
||||||
*
|
|
||||||
* Terms of service: https://developer.yr.no/doc/TermsOfService/
|
* Terms of service: https://developer.yr.no/doc/TermsOfService/
|
||||||
*/
|
*/
|
||||||
WeatherProvider.register("yr", {
|
WeatherProvider.register("yr", {
|
||||||
|
@@ -1,11 +1,5 @@
|
|||||||
/* global WeatherProvider, WeatherUtils, formatTime */
|
/* global WeatherProvider, WeatherUtils, formatTime */
|
||||||
|
|
||||||
/* MagicMirror²
|
|
||||||
* Module: Weather
|
|
||||||
*
|
|
||||||
* By Michael Teeuw https://michaelteeuw.nl
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
Module.register("weather", {
|
Module.register("weather", {
|
||||||
// Default module config.
|
// Default module config.
|
||||||
defaults: {
|
defaults: {
|
||||||
|
@@ -1,17 +1,5 @@
|
|||||||
/* global SunCalc, WeatherUtils */
|
/* global SunCalc, WeatherUtils */
|
||||||
|
|
||||||
/* MagicMirror²
|
|
||||||
* Module: Weather
|
|
||||||
*
|
|
||||||
* By Michael Teeuw https://michaelteeuw.nl
|
|
||||||
* MIT Licensed.
|
|
||||||
*
|
|
||||||
* This class is the blueprint for a day which includes weather information.
|
|
||||||
*
|
|
||||||
* Currently this is focused on the information which is necessary for the current weather.
|
|
||||||
* As soon as we start implementing the forecast, mode properties will be added.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @external Moment
|
* @external Moment
|
||||||
*/
|
*/
|
||||||
|
@@ -1,13 +1,6 @@
|
|||||||
/* global Class, performWebRequest, OverrideWrapper */
|
/* global Class, performWebRequest, OverrideWrapper */
|
||||||
|
|
||||||
/* MagicMirror²
|
// This class is the blueprint for a weather provider.
|
||||||
* Module: Weather
|
|
||||||
*
|
|
||||||
* By Michael Teeuw https://michaelteeuw.nl
|
|
||||||
* MIT Licensed.
|
|
||||||
*
|
|
||||||
* This class is the blueprint for a weather provider.
|
|
||||||
*/
|
|
||||||
const WeatherProvider = Class.extend({
|
const WeatherProvider = Class.extend({
|
||||||
// Weather Provider Properties
|
// Weather Provider Properties
|
||||||
providerName: null,
|
providerName: null,
|
||||||
|
@@ -1,9 +1,3 @@
|
|||||||
/* MagicMirror²
|
|
||||||
* Weather Util Methods
|
|
||||||
*
|
|
||||||
* By Rejas
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
const WeatherUtils = {
|
const WeatherUtils = {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
/* MagicMirror² Test default config for modules
|
|
||||||
*
|
|
||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
exports.configFactory = (options) => {
|
exports.configFactory = (options) => {
|
||||||
return Object.assign(
|
return Object.assign(
|
||||||
{
|
{
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
/* MagicMirror² Test config sample ipWhitelist
|
|
||||||
*
|
|
||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = require(`${process.cwd()}/tests/configs/default.js`).configFactory({
|
let config = require(`${process.cwd()}/tests/configs/default.js`).configFactory({
|
||||||
ipWhitelist: [],
|
ipWhitelist: [],
|
||||||
port: 8282
|
port: 8282
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
/* MagicMirror² Test config sample module alert
|
|
||||||
*
|
|
||||||
* By rejas
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
/* MagicMirror² Test config default calendar with auth by default
|
|
||||||
*
|
|
||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
/* MagicMirror² Test ics with out of date event causing bad return from rrule.between
|
|
||||||
*
|
|
||||||
* By Sam Detweiler
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
logLevel: ["INFO", "LOG", "WARN", "ERROR", "DEBUG"],
|
logLevel: ["INFO", "LOG", "WARN", "ERROR", "DEBUG"],
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
/* MagicMirror² Test config default calendar
|
|
||||||
*
|
|
||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
/* MagicMirror² Test config default calendar with auth by default
|
|
||||||
*
|
|
||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
/* MagicMirror² Test config custom calendar
|
|
||||||
*
|
|
||||||
* By Rejas
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
/* MagicMirror² Test config default calendar
|
|
||||||
*
|
|
||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
|
@@ -1,9 +1,4 @@
|
|||||||
/* MagicMirror² Test calendar exdate
|
/* NOTE: calendar_test_exdate.ics has exdate entries for the next 20 years, but without some
|
||||||
*
|
|
||||||
* By jkriegshauser
|
|
||||||
* MIT Licensed.
|
|
||||||
*
|
|
||||||
* NOTE: calendar_test_exdate.ics has exdate entries for the next 20 years, but without some
|
|
||||||
* way to set a debug date for tests, this test may become flaky on specific days (i.e. could
|
* way to set a debug date for tests, this test may become flaky on specific days (i.e. could
|
||||||
* not test easily on leap-years, the BYDAY specified in exdate, etc.) or when the 20 years
|
* not test easily on leap-years, the BYDAY specified in exdate, etc.) or when the 20 years
|
||||||
* elapses if this project is still in active development ;)
|
* elapses if this project is still in active development ;)
|
||||||
|
@@ -1,10 +1,3 @@
|
|||||||
/* MagicMirror² Test calendar calendar
|
|
||||||
*
|
|
||||||
* This configuration is a wrong authentication
|
|
||||||
*
|
|
||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
/* MagicMirror² Test config default calendar
|
|
||||||
* with authentication old config
|
|
||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
/* MagicMirror² Test config custom calendar
|
|
||||||
*
|
|
||||||
* By Rejas
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
/* MagicMirror² Test config for multiple calendar events having the same name and start date/time
|
|
||||||
*
|
|
||||||
* By Paranoid93 https://github.com/Paranoid93/
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
/* MagicMirror² Test config for default clock module
|
|
||||||
*
|
|
||||||
* By Sergey Morozov
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
/* MagicMirror² Test config for default clock module
|
|
||||||
*
|
|
||||||
* By Sergey Morozov
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
|
@@ -1,7 +1,3 @@
|
|||||||
/* MagicMirror² Test config for analog clock face
|
|
||||||
*
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
/* MagicMirror² Test config for default clock module
|
|
||||||
*
|
|
||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
/* MagicMirror² Test config for default clock module
|
|
||||||
*
|
|
||||||
* By Johan Hammar
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
/* MagicMirror² Test config for default clock module
|
|
||||||
*
|
|
||||||
* By Sergey Morozov
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
/* MagicMirror² Test config for default clock module
|
|
||||||
*
|
|
||||||
* By Johan Hammar
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
/* MagicMirror² Test config for default clock module
|
|
||||||
*
|
|
||||||
* By Johan Hammar
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
/* MagicMirror² Test config for default clock module
|
|
||||||
*
|
|
||||||
* By Johan Hammar
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
/* MagicMirror² Test config for default clock module
|
|
||||||
*
|
|
||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
language: "es",
|
language: "es",
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
/* MagicMirror² Test config for default clock module
|
|
||||||
*
|
|
||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
language: "es",
|
language: "es",
|
||||||
|
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
/* MagicMirror² Test config for default clock module
|
|
||||||
*
|
|
||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
language: "es",
|
language: "es",
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
@@ -1,9 +1,3 @@
|
|||||||
/* MagicMirror² Test config for default clock module
|
|
||||||
* Language es for showWeek feature
|
|
||||||
*
|
|
||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
language: "es",
|
language: "es",
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
@@ -1,9 +1,3 @@
|
|||||||
/* MagicMirror² Test config sample for AnimateCSS integration with compliments module
|
|
||||||
*
|
|
||||||
* By bugsounet https://github.com/bugsounet
|
|
||||||
* 09/2023
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
|
@@ -1,10 +1,3 @@
|
|||||||
/* MagicMirror² Test config sample for AnimateCSS integration with compliments module
|
|
||||||
* --> if animation name is not an AnimateCSS animation
|
|
||||||
* --> must fallback to default (no animation)
|
|
||||||
* By bugsounet https://github.com/bugsounet
|
|
||||||
* 09/2023
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
|
@@ -1,9 +1,3 @@
|
|||||||
/* MagicMirror² Test config sample for AnimateCSS integration with compliments module
|
|
||||||
* --> inversed name animation : in for out and vice versa (must return no animation)
|
|
||||||
* By bugsounet https://github.com/bugsounet
|
|
||||||
* 09/2023
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
/* MagicMirror² Test config compliments with anytime type
|
|
||||||
*
|
|
||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
/* MagicMirror² Test config compliments with date type
|
|
||||||
*
|
|
||||||
* By Rejas
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
/* MagicMirror² Test config compliments with anytime type
|
|
||||||
*
|
|
||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
/* MagicMirror² Test config for default compliments
|
|
||||||
*
|
|
||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
/* MagicMirror² Test config compliments with remote file
|
|
||||||
*
|
|
||||||
* By Rejas
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
/* MagicMirror² Test config for display setters module using the helloworld module
|
|
||||||
*
|
|
||||||
* By Rejas
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
/* MagicMirror² Test config sample module hello world
|
|
||||||
*
|
|
||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
/* MagicMirror² Test config sample module hello world default config
|
|
||||||
*
|
|
||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
/* MagicMirror² Test config newsfeed module
|
|
||||||
*
|
|
||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
|
@@ -1,7 +1,3 @@
|
|||||||
/* MagicMirror² Test config newsfeed module
|
|
||||||
*
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
|
@@ -1,7 +1,3 @@
|
|||||||
/* MagicMirror² Test config newsfeed module
|
|
||||||
*
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
|
@@ -1,7 +1,3 @@
|
|||||||
/* MagicMirror² Test config newsfeed module
|
|
||||||
*
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
/* MagicMirror² Test config for position setters module using the helloworld module
|
|
||||||
*
|
|
||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
modules:
|
modules:
|
||||||
// Using exotic content. This is why don't accept go to JSON configuration file
|
// Using exotic content. This is why don't accept go to JSON configuration file
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
/* MagicMirror² Test config current weather compliments
|
|
||||||
*
|
|
||||||
* By rejas https://github.com/rejas
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
/* MagicMirror² Test config default weather
|
|
||||||
*
|
|
||||||
* By fewieden https://github.com/fewieden
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
/* MagicMirror² Test config default weather
|
|
||||||
*
|
|
||||||
* By fewieden https://github.com/fewieden
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
/* MagicMirror² Test config default weather
|
|
||||||
*
|
|
||||||
* By fewieden https://github.com/fewieden
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
units: "imperial",
|
units: "imperial",
|
||||||
|
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
/* MagicMirror² Test config default weather
|
|
||||||
*
|
|
||||||
* By fewieden https://github.com/fewieden
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
/* MagicMirror² Test config default weather
|
|
||||||
*
|
|
||||||
* By fewieden https://github.com/fewieden
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
/* MagicMirror² Test config default weather
|
|
||||||
*
|
|
||||||
* By fewieden https://github.com/fewieden
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
/* MagicMirror² Test config default weather
|
|
||||||
*
|
|
||||||
* By rejas
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
units: "imperial",
|
units: "imperial",
|
||||||
|
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
/* MagicMirror² Test config hourly weather
|
|
||||||
*
|
|
||||||
* By rejas https://github.com/rejas
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
|
@@ -1,8 +1,3 @@
|
|||||||
/* MagicMirror² Test config hourly weather options
|
|
||||||
*
|
|
||||||
* By rejas https://github.com/rejas
|
|
||||||
* MIT Licensed.
|
|
||||||
*/
|
|
||||||
let config = {
|
let config = {
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user