Comments (7)
I deleted about 15 characters from the middle of each of them. ;)
from mmm-covid19.
@Clifford10 please copy and paste here your config file.
from mmm-covid19.
/* Magic Mirror Config Sample
*
* By Michael Teeuw http://michaelteeuw.nl
* MIT Licensed.
*
* For more information how you can configurate this file
* See https://github.com/MichMich/MagicMirror#configuration
*
*/
var config = {
address: "localhost", // Address to listen on, can be:
// - "localhost", "127.0.0.1", "::1" to listen on loopback interface
// - another specific IPv4/6 to listen on a specific interface
// - "", "0.0.0.0", "::" to listen on any interface
// Default, when address config is left out, is "localhost"
port: 8080,
ipWhitelist: [], // Set [] to allow all IP addresses
// or add a specific IPv4 of 192.168.1.5 :
// ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
// or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
// ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
language: "en",
timeFormat: 12,
units: "metric",
modules: [
{
module: "alert",
},
{
module: "MMM-Remote-Control-Repository",
},
{
module: "clock",
position: "top_left"
},
{
module: 'MMM-COVID19',
position: "middle_center",
config: {
updateInterval: 300000,
worldStats: true,
countries: [ "China", "USA", "Italy", "UK", "Canada", "Norway", "Sweden", "Germany", "Brazil", "Taiwan" ],
headerRowClass: "small",
infoRowClass: "medium",
orderCountriesByName: false,
orderAscending: true,
lastUpdateInfo: true,
highlightCountry: "Canada",
delta: true, //new cases and new deaths
showExtraInfo: true,
rapidapiKey : "e8da6e71bcmsa586jsnea6ff6eb96b8" // this is an example, do not try to use it for real
}
},
{
module: "calendar",
header: "Upcoming Events",
position: "bottom_right",
config: {
colored: true,
maximumEntries: 5,
maxTitleLength: 25,
fade: false,
displaySymbol: true,
maximumNumberOfDays: "14",
calendars: [
{
maximumNumberOfDays: 14,
symbol: "Cleaning",
color: "#ffffff",
url: "https://calendar.google.com/calendar/ical/yourhouse.gmail.com/private-69b6bd37705fa371daed31b164fac4fb/basic.ics"
},
{
maximumNumberOfDays: 21,
symbol: "holidays",
color: "#009900",
// blue is 0066CC
url:"https://calendar.google.com/calendar/ical/en.canadian%23holiday%40group.v.calendar.google.com/public/basic.ics"
},
/*{
maximumNumberOfDays: 21,
symbol: "Jets",
color: "#0066CC",
// blue is 0066CC
url: "https://calendar.google.com/calendar/ical/kfee01hah9dkuo73a5uc44e694%40group.calendar.google.com/private-42b2a18b0a430725ae4c324cce3ff057/basic.ics"
},*/
{
maximumNumberOfDays: 21,
symbol: "bombers",
color: "#FFFF00",
// blue is 0066CC
url: "https://cfl.calreplyapp.com/cfl#Winnipeg%20Blue%20Bombers"
}
]
}
},
{
module: "MMM-Wallpaper",
position: "fullscreen_below",
config: {
// See "Configuration options" for more information.
source: "bing",
slideInterval: 30 * 1000 // Change slides every minute
}
},
{
module: "currentweather",
position: "top_right",
config: {
location: "Winnipeg",
locationID: "6183235", //ID from http://bulk.openweathermap.org/sample/; unzip the gz file and find your city
appid: "7f7ccedab8bf65028f30066e5ed49eaa"
}
},
/*{
module: "weatherforecast",
position: "top_right",
header: "Weather Forecast",
config: {
location: "Winnipeg",
locationID: "6183235", //ID from https://openweathermap.org/city
appid: "7f7ccedab0066e5ed49eaa"
}
},*/
{
module: "MMM-News",
position: "bottom_left",
config: {
apiKey : "49ea266e63c9b2ad65c",
drawInterval: 1000*20, // How long time each article will be shown
type: "horizontal",
touchable: false,
query : [
{
sources: "cbc-news, google-news-ca, msnbc",
},
{
country: "ca",
className: "redTitle",
},
{
country: "ca",
category: "sports",
q : "Winnipeg Jets"
}
],
}
},
]
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
from mmm-covid19.
@Clifford10
I would suggest you to use
position: "top_left"
it will be under your clock module
or just
position: "bottom_center"
(if you want it in the middle)
from mmm-covid19.
Thanks, I'll give that a try.
from mmm-covid19.
@MisterKurtz10 You shouldn't expose all your api keys to the world. ;)
from mmm-covid19.
I'm closing this issue due to inactivity. Hope the problem was solved
from mmm-covid19.
Related Issues (20)
- Any chance for no colour and separators? HOT 3
- invalid date HOT 1
- Data not displaying on magic mirror HOT 1
- Spelling error
- no data displayed HOT 10
- cases_by_country HOT 2
- united_states_cases
- how to add korea into config? HOT 2
- Changing language?
- data is not refreshed for all countries in list
- Europe Numbers
- Rapid API Not working
- Seams that API URL has changed by rapidapi HOT 2
- Support for Freemium Users on RapidApi
- Fairly new to this and have a question HOT 1
- Doesn't load. Just shows the Title
- Entire Mirror goes blank on MagicMirrorOS build 2021-03-04-magicmirroros-buster-armhf-lite-0.2.0
- not working
- Blankscreen after enabling the module
- Module doesn't work anymore?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mmm-covid19.