MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. Plainbroke 0
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    P
    Offline
    • Profile
    • Following 1
    • Followers 0
    • Topics 7
    • Posts 29
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      I understand that the developer of this module is not supporting it, but
      I see a lot of people are using it or at least trying to…
      I have it working with 3 Wyze v2 cams, using omxplayer.
      I would like to see if using vlc would possibly fix the lag time loading the cam output… I have a approximately 10 second lag between module start up and the picture actually showing up…
      Problem is when I change the localPlayer: to vlc from omxplayer I get a blank screen screen. I reinstalled vlc player to my rpi but can not figure out how to get it to load vlc. I use carousel and have approx 35 different modules working through it… I tried pm2 start vlc and it did but still did not show a feed.
      I posted my config.js minus keys and passwords of course. Any help is appreciated…

      
      /* Magic Mirror Config Sample
       *
       * By Michael Teeuw http://michaelteeuw.nl
       * MIT Licensed.
       *
       * For more information on how you can configure this file
       * See https://github.com/MichMich/MagicMirror#configuration
       *
       */
      
      var config = {
      	address: "0.0.0.0", // Address to listen on, can be:
      	port: 8080,
      	ipWhitelist: [], // Set [] to allow all IP addresses
      	useHttps: false, // Support HTTPS or not, default "false"
      	language: "en",
      	timeFormat: 12,
      	units: "imperial",
      
      	modules: [
      		{
      			module: "MMM-Carousel",
      			config: {
      				transitionInterval: 53000,
      				ignoreModules: ["MMM-Snow"],
      				mode: "slides",
      				slides: [
      					["MMM-CalendarExt"],
      					["calendar", "clock", "compliments"],
      					["calendarH", "clock", "compliments"],
      //					["calendarN", "clock", "compliments"],
      					["iFrame"],
      					["MMM-ATM", "clock", "compliments"],
      					["MMM-BMI", "clock", "compliments"],
                                              ["MMM-RTSPStream"],
      					["MMM-Bored", "clock", "compliments"],
      					["MMM-CalvinAndHobbes", "clock", "compliments"],
      					["MMM-CloneWarsQuotes", "clock", "compliments"],
      					["MMM-Cocktails"],
      					["MMM-COVID19", "clock", "compliments"],
      					["MMM-DailyQuote", "clock", "compliments"],
      					["MMM-DarkSkyForecast", "clock", "compliments"],
      					["MMM-Dogs", "clock", "compliments"],
      					["MMM-Evil", "clock", "compliments"],
      					["MMM-Gas", "clock", "compliments"],
      					["MMM-GmailFeed", "clock", "compliments"],
      					["MMM-History", "clock", "compliments"],
                                              ["MMM-RTSPStream2"],
      					["MMM-icanhazdadjoke", "clock", "compliments"],
      					["MMM-ImagesPhotos", "clock", "compliments"],
      					["MMM-learnlanguage", "clock", "compliments"],
      					["MMM-MotionEye"],
      					["MMM-MyWordOfTheDay", "clock", "compliments"],
      					["MMM-NetworkScanner"],
      					["MMM-Parcel", "clock", "compliments"],
      					["MMM-PoemOfTheDay"],
      					["MMM-quote-of-the-day", "clock", "compliments"],
      					["MMM-RAIN-MAP"],
      					["MMM-rfacts", "clock", "compliments"],
      					["MMM-RTSPStream3"],
      					["MMM-SimpleLogo", "clock", "compliments"],
      					["MMM-SugarValue", "clock", "compliments"],
      					["on-this-day", "clock", "compliments"],
      					["random_quotes", "clock", "compliments"]
      				]
      			}
      		},
      
      		{
      			module: "clock",
      			position: "top_left",
      			classes: "clock-time-only",
      			config: {
      				timeFormat: 12,
      				displaySeconds: false,
      				showPeriodUpper: false,
      				showPeriod: false
      			}
      		},
      
      		{
      			module: "clock",
      			position: "top_center",
      			classes: "clock-date-only",
      			config: {
      				timeFormat: 12,
      				showPeriod: false,
      				dateFormat: "ddd, ll",
      				displaySeconds: false
      			}
      		},
      
      		{
      			module: "clock",
      			position: "top_right",
      			classes: "clock-time-only",
      			config: {
      				timeFormat: 12,
      				displaySeconds: false,
      				showPeriodUpper: false,
      				showPeriod: false
      			}
      		},
      
                      {
                              module: "calendar",
                              position: "middle_center",
                              header: "Birthdays",
                              config: {
                                      fade: false,
                                      maximumEntries: 9,
                                      timeFormat: "absolute",
                                      urgency: 3,
                                      getRelative: 24,
                                      calendars: [
                                              {
                                                      symbol: "birthday-cake",
                                                      url: ""
                                              }
                                      ]
                              }
                      },
      
                      {
                              module: "calendarH",
                              position: "middle_center",
                              header: "US Holidays",
                              config: {
                                      maximumEntries: 9,
                                      timeFormat: "absolute",
                                      urgency: 3,
                                      getRelative: 24,
                                      calendars: [
                                              {
                                                      symbol: "h-square",
                                                      url:""
                                              }
                                      ]
                              }
                      },
      
                      {
                              module: "calendarN",
                              position: "middle_center",
                              header: "Nascar",
                              config: {
                                      maximumEntries: 9,
                                      timeFormat: "absolute",
                                      urgency: 3,
                                      getRelative: 24,
                                      calendars: [
                                              {
                                                      symbol: "automobile",
                                                      url: ""
                                              }
                                      ]
                              }
                      },
      
                      {
                              module: "compliments",
                              position: "bottom_bar",
                              config: {
                                      remoteFile: "compliments.json"
                              }
                      },
      
      	        {
      	                module: "iFrame",
      	                position: "middle_center",
      	                config: {
                                              url: "",
      	                                width: "1000px",
      	                                height: "950px"
      	                }
      	        },
      
      		{
      			module: "MMM-ATM",
      			position: "middle_center",
      			config: {
      				multipleChoice: "Yes",
      				useHeader: false,
      				header: "Another Trivia Module!",
      				maxWidth: "1240px"
      			}
      		},
      
      		{
      			module: "MMM-BMI",
      			position: "top_center",
      			config: {
      				name: "Jeffory",
      				imperialUnits: true,
      				weight: "250",
      				height: "73",
      				herName: "Stacey",
      				herWeight: "140",
      				herHeight: "67",
      				useHeader: false,
      				header: "Our Body Mass Index",
      				maxWidth: "1000px"
      			}
      		},
      
      		{
      			module: "MMM-Bored",
      			position: "middle_center",
      			config: {
      				maxWidth: "1310px"
      			}
      		},
      
      		{
      			module: "MMM-CalendarExt",
      			position: "middle_center",
      			config: {
                          maxHeight: "100%",
                          maxWidth: "100%",
      				system: {
      					show: ["month"],
      					locale: "en",
      					showEmptyView: 1,
      					fullDayEventLocalize: 0,
      					redrawInterval: 1 * 60 * 1000,
      					useProfileConfig: 0,
      					startProfile: "Birthdays",
      				},
      				defaultView: {
      					position: "middle_center",
      					positionOrder: 1,
      					overflowRolling: 0,
      					overflowHeight: 300,
      					overflowDuration: 3,
      					onlyStartingTime: 0,
      					timeFormat: "h:mm a",
      					dateFormat: "ddd, M/D",
      					fullDayEventDateFormat: "ddd, M/D",
      					ellipsis: 0,
      					limit: 0,
      				},
      				views: {
      					month: {
      						showWeeks: 0,
      					},
      				},
      				defaultCalendar: {
      					profiles: [],
      					views: ["month", "upcoming"],
      					symbol: "cake-variant@md",
      					styleName: "style5",
      					replaceTitle: [],
      					classPattern: [],
      					classPatternWhere: ["title"],
      					symbolPattern: [],
      					symbolPatternWhere: ["title"],
      					maxEntries: 90,
      					maxDays: 365,
      					interval: 300000,
      				},
      				calendars: [
      					{
      						name: "Holidays",
      						url: "webcal://ical.mac.com/ical/US32Holidays.ics",
      						profile: [""],
      						symbol: "pine-tree@md",
      					},
      					{
      						name: "Birthdays",
      						url: "",
      						profile: [""],
      						symbol: "cake-variant@md",
      					},
      				],
      			},
      		},
      
      		{
      			module: "MMM-CalvinAndHobbes",
      			position: "middle_center",
      			config: {
      			        invertColors: false,
      			        grayScale: false,
      			        updateInterval: 1000 * 60 * 60 * 2, // 2 Hr
                                      maxWidth: "100%",
                                      maxHieght: "100%"
      			}
      		},
      
      		{
      			module: "MMM-CloneWarsQuotes",
      			position: "middle_center",
      			config: {
      			}
             		},
      
      		{
      			module: "MMM-Cocktails",
      			position: "top_center",
      			config: {
      				maxHeight: "100%",
      				maxWidth: "100%"
      			}
      		},
      
      		{
      			module: "MMM-COVID19",
      			position: "middle_center",
      			config: {
      				header: "",
      				updateInterval: 300000,
      				worldStats: true,
      				delta: true,
      				lastUpdateInfo: true,
      				countries: [  "Mexico", "United Kingdom", "Italy", "Asia", "Africa", "Spain", "USA" ],
      				headerRowClass: "small",
      				rapidapiKey : ""
      			}
      		},
      
      		{
      			module: "MMM-DailyQuote",
      			position: "middle_center",
      			config: {
      				updateInterval: 1*60*60*1000,
      			}
      		},
      
      		{
      			module: "MMM-DarkSkyForecast",
      			position: "top_center",
      			classes: "default everyone",
      			disabled: false,
      			config: {
      				header: "",
      				apikey: "",
      				latitude: "",
      				longitude: "",
      				iconset: "3c",
      				maxHourliesToShow: 1,
      				concise: false,
      				forecastLayout: "table"
      			}
      		},
      
      		{
      			disabled: false,
      			module: "MMM-Dogs",
      			position: "middle_center",
      			config: {
      				updateInterval: 35 * 60 * 1000,
                                      maxHeight: "475px",
                                      maxWidth: "700px"
      			}
      		},
      
                      {
                              disabled: false,
                              module: "MMM-Evil",
                              position: "middle_center",
                              config: {
                                      updateInterval: 35 * 60 * 1000,
                                      maxHeight: "300px",
                                      maxWidth: "1320px"
                              }
                      },
      
      		{
      			module: "MMM-Gas",
      			position: "middle_center",
      			config: {
      				zip : "",
      				typeGas: "",
      				sortBy: "price",
      				items: 12,
      				distance: true
      			}
      		},
      
      		{
      			module: "MMM-GmailFeed",
      			position: "middle_center",
      			config: {
      				username: "",
      				password: "",
      				header: false,
      				updateInterval: 60000,
      				maxEmails: 8,
      				maxSubjectLength: 30,
      				maxFromLength: 12,
      				playSound: false
      			}
      		},
      
      		{
      			module: "MMM-History",
      			position: "middle_center",
      			config: {
      				maxWidth: "1320px"
      			}
      		},
      
      		{
      			module: "MMM-icanhazdadjoke",
      			position: "middle_center",
      			config: {
      				maxWidth: "100%"
      			}
      		},
      
      		{
      			module: "MMM-ImagesPhotos",
      			position: "middle_center",
      			config: {
      				opacity: 0.9,
      				animationSpeed: 500,
      				updateInterval: 2000,
      				backgroundColor: "black",
      				width: "500px",
      				height: "500px",
      				fill: false
      			}
      		},
      
      		{
      			module: "MMM-learnlanguage",
      			position: "middle_center",
      			config: {
      				language: "spanish",
      				nextWordInterval: 2160000,
      		                    showpair: "showboth",
      		  	}
      		},
      
      		{
      			module: "MMM-MotionEye",
      			position: "middle_center",
      			config: {
      				url: "",
      				forcedRefreshInterval: 60000,
      				width: "1000px",
      				debug: false
      			}
      		},
      
      		{
      			module: "MMM-MyWordOfTheDay",
      			position: "middle_center",
      			config: {
      				header: "Word Of The Day",
      				apiKey: "",
                                      width: "1320px",
                                      height: "505px"
      			}
      		},
      
      		{
      			module: "MMM-NetworkScanner",
      			position: "top_center",
      			header: "Who's home",
      			config: {
      				devices: [
      					{ macAddress: "", name: "00 Stacey", icon: "female" },
      					{ macAddress: "", name: "00 Jeff", icon: "male" },
      					{ macAddress: "", name: "01 Netgear M1", icon: "server" },
      					{ macAddress: "", name: "03 Ubiquiti", icon: "wifi" },
      					{ macAddress: "", name: "04 Omada EAP225", icon: "wifi" },
      					{ macAddress: "", name: "224 PiHole", icon: "server" },
      					{ macAddress: "", name: "30 WyzeBridge", icon: "wifi" },
      					{ macAddress: "", name: "31 WyzeCam1 Garage", icon: "camera" },
      					{ macAddress: "", name: "32 WyzeCam2", icon: "camera" },
      					{ macAddress: "", name: "33 WyzeCam3South", icon: "camera" },
                          { macAddress: "", name: "34 WyzeCam4", icon: "camera" },
      	                                 ],
      				network: "192.168.1.0/24",
      				showUnknown: false,
      				showOffline: false, // shows devices specified in the 'devices' option even when offline
      				showLastSeen: false, // shows when the device was last seen e.g. "Device Name - last seen 5 minutes ago"
                      		keepAlive: 400, // how long (in seconds) a device should be considered 'alive' since it was last found on the network
      	             		updateInterval: 1500, // how often (in seconds) the module should scan the network
                      		sort: true, // sort the devices in the mirror
                      		colored: false, // show devices colorcoded with color defined in devices [] //
                      		coloredSymbolOnly: false, // show symbol only in color //
      				maxWidth: "100%",
      				maxHieght: "100%"
      			}
      		},
      
      		{
      			module: "MMM-Parcel",
      			position: "middle_center",
      			config: {
      				header: "",
      				maxWidth: "1320px",
      				apiKey: "",
      				autoTranslate : "en",
      				compactness: 2,
      				hideExpired: true, // don't show expired parcels
      				hideDelivered: true
      			}
      		},
      
      		{
      			module: "MMM-PoemOfTheDay",
      			position: "middle_center",
      			config: {
      				textLimit: 1000,
      				lineLimit: 10,
      				detectLanguageApiKey: "",
      				languageSet: ["en"],
      				updateInterval: 60000
      			}
      		},
      
      		{
      			module: "MMM-quote-of-the-day",
      			position: "middle_center",
      			config: {
      				language: "en",
      				updateInterval: "10m"
      			}
      		},
      
      		{
      			module: "MMM-RAIN-MAP",
      			position: "middle_center",
      			config: {
      				animationSpeed: 600,
      				displayClockSymbol: true,
      				displayTime: true,
      				extraDelayLastFrame: 2000,
      				height: "750px",
      				lat: ,
      				lng: ,
      				map: "OSM",
      				markers: [
      					{ lat: , lng: -, color: "red" },
      					{ lat: , lng: -, color: "blue" }
      					],
      					onlyOnRain: false,
      					opacity: 1, //0 to 1 .65 default
      					timeFormat: 12,
      					updateIntervalInSeconds: 300,
      					width: "1240px",
      					zoom: 8,
      					zoomOutEach: 1,
      					zoomOutLevel: 3,
      				}
      		},
      
      		{
      			module: "MMM-rfacts",
      			position: "middle_center",
      			config: {
      				updateInterval: 30 * 60 * 1000,
      				maxHeight: "505px",
      				maxWidth: "1310px"
      			}
      		},
      
      		{
      			module: "MMM-RTSPStream",
      			position: "middle_center",
      			config: {
      				autoStart: true,
      				rotateStreams: true,
      				rotateStreamTimeout: 0,
      				moduleWidth: 1240,
      				moduleHeight: 700,
      				localPlayer: "vlc",
      				remotePlayer: "none",
      				showSnapWhenPaused: false,
      				remoteSnaps: false,
                                      stream1: {
                                      name: "Wyze Drive",
                                      url: "rtsp://xxxxx:xxxxx@192.168.1.31:554/live",
                                      frameRate: "15",
                                      width: 1240,
                                      height: 700,
                                      },
      			}
      		},
      
                      {
                              module: "MMM-RTSPStream2",
                              position: "middle_center",
                              config: {
                                      autoStart: true,
                                      rotateStreams: true,
                                      rotateStreamTimeout: 0,
                                      moduleWidth: 1240,
                                      moduleHeight: 700,
                                      localPlayer: "vlc",
                                      remotePlayer: "none",
                                      showSnapWhenPaused: false,
                                      remoteSnaps: false,
                                      stream1: {
                                      name: "Wyze Drive",
                                      url: "rtsp://xxxxx:xxxxx@192.168.1.32:554/live",
                                      frameRate: "15",
                                      width: 1240,
                                      height: 700,
                                      },
                              }
                      },
      
      		{
                              module: "MMM-RTSPStream3",
                              position: "middle_center",
                              config: {
                                      autoStart: true,
                                      rotateStreams: true,
                                      rotateStreamTimeout: 0,
                                      moduleWidth: 1240,
                                      moduleHeight: 700,
                                      localPlayer: "vlc",
                                      remotePlayer: "none",
                                      showSnapWhenPaused: false,
                                      remoteSnaps: false,
                                      stream1: {
                                      name: "Wyze Drive",
                                      url: "rtsp://xxxxx:xxxxx@192.168.1.33:554/live",
                                      frameRate: "15",
                                      width: 1240,
                                      height: 700,
                                      },
                              }
                      },
      
      		{
      			module: "MMM-SimpleLogo",
      			position: "middle_center", // This can be any of the regions.
      			config: {
      				maxHeight: "490px",
      				maxWidth: "1240px",
      				refreshInterval: 10000,
      				text: ""
      			}
      		},
      
      		{
      			module: "MMM-Snow",
      			position: "fullscreen_above",
      			config: {
      				flakeCount: 200,
      				theme: "winter" //"water" //"winter" //"love"
      			}
      		},
      
      		{
      			module: "MMM-SugarValue",
      			position: "top_center",
      			config: {
      				username: "",
      				password: "",
      				units: "mg",
      		                height: "505px",
                      		width: "1320px"
      			}
      		},
      
      		{
      			module: "on-this-day",
      			position: "middle_center",
      			config: {
      				updateInterval: 10 * 1000 * 60
      			}
      		},
      
      		{
      			module: "random_quotes",
      			position: "middle_center",
      			config: {
      			}
      		},
      
      	]
      };
      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== "undefined") {module.exports = config;}
      
      posted in Utilities
      P
      Plainbroke 0
    • Nascar schedule URL

      I am having a hard time figuring out what URL to use in the Nascar Schedule Calendar. I was using the one that works with MMM-Nascar , but can not get one to work now. Ideas @Cowboysdude

      posted in Sport
      P
      Plainbroke 0
    • MMM-History and on-this-day not working.. Ideas?

      History just loads todays date and then nothing from history is shown.
      Having the same issue with on this day. Did wiki change something?
      Or ? I removed and reinstalled both ran npm install in the corresponding module.
      Reboot restart same thing. Starting to bum me out.

      posted in Education
      P
      Plainbroke 0
    • RE: After reboot RPI no changes are saved?

      @daenick @wizz
      Mine was a bad mem card. I created an image of it with win32Diskimager, Now I can just write the complete setup to a new card anytime I need to. In my case it requires a lot of redoing the image since I cant leave well enough alone. Constant changing things on my MagicMirror.

      posted in Troubleshooting
      P
      Plainbroke 0
    • RE: After reboot RPI no changes are saved?

      @Plainbroke-0 said in After reboot RPI no changes are saved?:

      I am having this problem of any config changes do not stay after reboot.
      I am editing config.js and custom.css like I have for the last year or so.
      Any work around?

      Turned out to be a bad Mem Card must have exceeded the amount of rewrites it was capable of.
      Luckily I could just Make an image of the disk and transfer it to a brand new card now I am able to edit again.

      posted in Troubleshooting
      P
      Plainbroke 0
    • RE: MMM-Carousel Issue

      @Dunc12 Here is my config on MMM-Carousel .

      instead of in each modules section. I just have a few that I really need full screen due to my eyesight. Hopefully this helps you figure it out. MMM-CalendarExt and Ext2 have to be on the first line under slides or Carousel has

      problems like you are.

          modules: [
                  {
                          module: "MMM-Carousel",
                          config: {
                                  transitionInterval: 47000,
                                  ignoreModules: [],
                                  mode: "slides",
                                  slides: [
                                          ["MMM-CalendarExt"],
                                          ["MMM-ATM", "clock", "compliments"],
                                          ["MMM-BMI", "clock", "compliments"],
                                          ["calendar", "clock", "compliments"],
                                          ["calendarH", "clock", "compliments"],
                                          //["calendarN", "clock", "compliments"],
                                          ["calendar_monthly", "clock", "complime$
                                          ["MMM-CloneWarsQuotes", "clock", "compl$
                                          ["MMM-Cocktails"],
                                          ["MMM-COVID19", "clock", "compliments"],
                                          ["MMM-DailyQuote", "clock", "compliment$
                                          ["MMM-DarkSkyForecast"],
                                          ["MMM-Gas", "clock", "compliments"],
                                          ["MMM-GmailFeed", "clock", "compliments$
                                          ["MMM-History", "clock", "compliments"],
                                          ["MMM-icanhazdadjoke", "clock", "compli$
                                          ["MMM-ImagesPhotos", "clock", "complime$
                                          ["MMM-MyWordOfTheDay", "clock", "compli$
                                          ["MMM-Parcel", "clock", "compliments"],
                                          ["MMM-quote-of-the-day", "clock", "comp$
                                          ["MMM-rfacts", "clock", "compliments"],
                                          ["MMM-SimpleLogo", "clock", "compliment$
                                          ["MMM-SugarValue", "clock", "compliment$
                                          ["on-this-day", "clock", "compliments"],
                                          ["random_quotes", "clock", "compliments$
                                  ]
                          }
                  },
      
      posted in Troubleshooting
      P
      Plainbroke 0
    • calendar_monthly to show google calendar

      Was wondering if there is a way to show google calendar on calendar_monthly.?
      I have read the installation instructions over and over and do not see that option.

      posted in Utilities
      P
      Plainbroke 0
    • RE: After reboot RPI no changes are saved?

      @daenick
      Did you ever find a fix? I am now having exact same issue.

      posted in Troubleshooting
      P
      Plainbroke 0
    • RE: Read only config.js

      @sdetweil Here is mine and it looks like it is read write enabled.

      pi@pi:~/MagicMirror/css $ ls -laF
      total 36
      drwxr-xr-x 2 pi pi 4096 Sep 1 19:13 ./
      drwxr-xr-x 17 pi pi 4096 Aug 25 15:48 …/
      -rw-r–r-- 1 pi pi 12232 Sep 1 19:13 custom.css
      -rw-r–r-- 1 pi pi 9032 Jul 14 01:01 custom.css.save
      -rw-r–r-- 1 pi pi 2957 Jul 13 11:53 main.css
      pi@pi:~/MagicMirror/css $ cd …
      pi@pi:~/MagicMirror $ cd config
      pi@pi:~/MagicMirror/config $ ls -laF
      total 32
      drwxr-xr-x 2 pi pi 4096 Sep 1 19:14 ./
      drwxr-xr-x 17 pi pi 4096 Aug 25 15:48 …/
      -rw-r–r-- 1 pi pi 8196 Sep 1 15:57 config.js
      -rw-r–r-- 1 pi pi 3258 Jul 13 11:53 config.js.sample
      -rw-r–r-- 1 pi pi 3305 Jun 15 16:17 configOriginal.js
      -rw-r–r-- 1 pi pi 20 Jun 15 16:17 .gitignore
      pi@pi:~/MagicMirror/config $

      posted in Troubleshooting
      P
      Plainbroke 0
    • RE: After reboot RPI no changes are saved?

      @wizz
      Did you ever find a fix for this problem… ?

      posted in Troubleshooting
      P
      Plainbroke 0
    • 1 / 1