Giter Club home page Giter Club logo

Comments (7)

MisterKurtz10 avatar MisterKurtz10 commented on July 27, 2024 1

I deleted about 15 characters from the middle of each of them. ;)

from mmm-covid19.

bibaldo avatar bibaldo commented on July 27, 2024

@Clifford10 please copy and paste here your config file.

from mmm-covid19.

Clifford10 avatar Clifford10 commented on July 27, 2024
/* 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.

bibaldo avatar bibaldo commented on July 27, 2024

@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.

MisterKurtz10 avatar MisterKurtz10 commented on July 27, 2024

Thanks, I'll give that a try.

from mmm-covid19.

hildwin avatar hildwin commented on July 27, 2024

@MisterKurtz10 You shouldn't expose all your api keys to the world. ;)

from mmm-covid19.

bibaldo avatar bibaldo commented on July 27, 2024

I'm closing this issue due to inactivity. Hope the problem was solved

from mmm-covid19.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.