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

    Posts

    Recent Best Controversial
    • Layout problem with calendar-weather

      Hello all,

      I am having a problem with the layout of the calendar and weather overlapping ![0_1534116274140_IMG_1344.jpg](Uploading 100%)

      (If my attempt to upload the picture didn’t work, I also uploaded it here: https://imgur.com/a/ZG6hCLC)

      As you can hopefully see from the attached image the calendar module is overlapping with the weather module. I dig around in the read me files for both the calendar and weather module and don’t see how I might address the problem.

      Can someone please point me in the right direction on how to do this? Should I be setting the maximum width for the calendar module such that it does not overlap with the weather module? I’m no CSS expert but can do some trial and error with the values that might work but am not sure where to start.

      Any help is appreciated.

      Nathan

      posted in Troubleshooting
      D
      deadherring
    • RE: Changing Module Display Width

      Thanks, that worked!

      One thing I’m seeing is that my work calendar (Exchange) is not showing. I have A Google calendar that is updating but the Exchange is not. I can configure with a .ics file and .html and neither seems to work. If I copy and paste the Exchange url from config.js to a web browser it works fine, but it is not updating on the MagicMirror. I tried restarting the Pi but no go.

      Any ideas on how I can troubleshoot? I haven’t updated the MM software in a few months, so I doubt I’m on the latest version.

      Thanks,

      Nathan

      posted in General Discussion
      D
      deadherring
    • RE: Changing Module Display Width

      Thanks @broberg, that worked, I can see that changes I make are taking effect now.

      I set the calendar to 450px. However, as you can see from this
      picture, the date text just shifted over to the right and is now covering the weather forecast, rather than the text from the calendar entry expanding. What I’m trying to accomplish is to get the full calendar item text to show. Is there a way to do that?

      Thanks,

      Nathan

      posted in General Discussion
      D
      deadherring
    • RE: Changing Module Display Width

      Hi,

      I have my MM configured vertically and a lot of the calendar entries get cut off. I’m trying to widen the calendar.

      This is what I’ve added to custom.css but I’m not seeing any change. (sorry, I’m not sure how to make the code show up in a special way the way others do)

      body {
      .MMM-calendar {
      width : 350px;
      }
      }

      Can someone point me in the right direction in terms of what I’m doing wrong?

      Thanks,

      Nathan

      posted in General Discussion
      D
      deadherring
    • Not able to SSH into MM

      Hi,

      I’m not able to SSH into the magic mirror from my network. I used to be able to but now it’s not working, I don’t think anything has changed. I enabled SSH on my PI (it’s a Pi3).

      When i attempt to ssh to the network name of the device I get:

      ssh: Could not resolve hostname magicmirror: nodename nor servname provided, or not known

      When I connect to the ip address that was assigned to the device and then try to ssh to the ip I get:

      ssh: connect to host 192.168.55.132 port 22: Operation timed out

      Any recommendations–or is there an alternative way to connect to the device from the network that does not require connecting a keyboard and mouse?

      Thanks,

      Nathan

      posted in Troubleshooting
      D
      deadherring
    • News feed refresh?

      Hi,

      I’ve got everything running great on a raspberry pi 3. The one issue I am seeing is the news feed. I am not seeing the MM drop out old headlines and cycle in new ones. So, for example, right now many of the headlines it’s showing say they are from 25/24 days ago. (It still thinks Hillary has a chance!)

      Is anyone else seeing this? Is there something configurable I’m missing to prevent this behavior? I know the MM has an internet connection because the calendar updates.

      Thanks,

      Nathan

      posted in Troubleshooting
      D
      deadherring
    • RE: Rss for news feeds?

      Hi,

      I got this working, the problem was indeed something with the formatting by editing as a text file on my mac. By sshing into the box and modifying the config file directly on the pi I got it working.

      One question I still have: is there any way to tell the box to drop headlines after 2 days or so? I’m seeing headlines that are 5, 6, 7, 8 days old cycle through and they are no longer news. I’m seeing some new headlines make their way in but the majority are old. I want to have the MM drop headlines when they are stale, say after 2 days time.

      I see there is a updateInterval tag but I believe that refers to the frequency it checks for new headlines, not when it drops old headlines off. Anyone else having the same issue?

      Thanks,

      Nathan

      posted in Troubleshooting
      D
      deadherring
    • RE: Absolute date

      Anyone? Does anyone have absolute date working as I describe? Can someone post the relevant portion of their config file so I can see what you’ve done?

      Thanks.

      posted in Troubleshooting
      D
      deadherring
    • Absolute date

      I am trying to get the calendar module display my calendar in absolute date. I want appointments to read the actual time of the appointment, e.g. “3PM”

      This is what my MM is doing:

      Appointment today: in an hour
      Appointment tomorrow: Tomorrow at 11 AM
      Appointment 2 days from now: Tuesday at 12PM
      Appointment 4 days from now: In 4 days

      Here’s the calendar part of my config.js: (apologies, I know I’m supposed to post this in markdown but am not sure how)

      {
      module: ‘calendar’,
      header: ‘Calendar’,
      position: ‘top_left’,
      config: {
      calendars: [
      {
      symbol: 'calendar-check-o ',
      url: ‘redacted’,

      				},
      

      {
      symbol: ‘rocket’,
      url: ‘redacted’
      }

      			]
      

      Here’s what the top part of my calendar.js file looks like:

      Module.register(“calendar”,{

      // Define module defaults
      defaults: {
      	maximumEntries: 10, // Total Maximum Entries
      	maximumNumberOfDays: 365,
      	displaySymbol: true,
      	defaultSymbol: "calendar", // Fontawesome Symbol see http://fontawesome.io/cheatsheet/
      	displayRepeatingCountTitle: false,
      	defaultRepeatingCountTitle: '',
      	maxTitleLength: 15,
      	fetchInterval: 5 * 60 * 1000, // Update every 5 minutes.
      	animationSpeed: 2000,
      	fade: false,
      	urgency: 7,
      	timeFormat: "absolute",
      	fadePoint: 0.25, // Start on 1/4th of the list.
      	calendars: [
      		{
      			symbol: "calendar",
      			url: "http://www.calendarlabs.com/templates/ical/US-Holidays.ics",
      		},
      	],
      	titleReplace: {
      		"De verjaardag van ": "",
      		"'s birthday": ""
      	},
      },
      

      Any help is appreciated.

      Nathan

      posted in Troubleshooting
      D
      deadherring
    • RE: Rss for news feeds?

      Hey guys,

      Thanks a lot for the responses. Here’s what I think might be happening:

      The first three I configured that I got working

      title: “ESPN”,
      url: “http://www.espn.com/espn/rss/news”

      and one from CNN, I configured on the pi itself, modifying the config file with a mouse and keyboard on the pi. The rest that I shared that weren’t working, modified the config file on my mac via text edit and then ftp’d the file up to the pi. I suspect that the mac might be saving the file in a way the pi does not like, or, as was suggested, inputting the " s in a way the pi does not like. At least, that’s my theory right now, I need to test when I get home.

      This is the procedure I am following to edit config.js on my mac:

      1. Two-fingered click on config.js. Open with Text Edit
      2. Modify the file
      3. Save as: config.js. I leave the default plain text encoding (UTF-8)

      Is that the right procedure? My MM is installed in the wall in my bathroom and it would be a huge pain to have to connect a mouse and keyboard to it every time I want to modify anything. I suppose I can ssh into it and modify the config file via nano too. I don’t know if that solves the problem, I have to try later.

      Thanks again,

      Nathan

      posted in Troubleshooting
      D
      deadherring
    • RE: Rss for news feeds?

      Here’s whats configured that currently IS working:

      {
      module: ‘newsfeed’,
      position: ‘bottom_bar’,
      config: {
      feeds: [
      {
      title: “New York Times”,
      url: “http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml”
      },
      {
      title: “CNN”,
      url: “http://rss.cnn.com/rss/cnn_topstories.rss”
      },

      title: “Jerusalem Post”
      url: “http://www.jpost.com/Rss/RssFeedsFrontPage.aspx”
      },

      {
      title: “ESPN”,
      url: “http://www.espn.com/espn/rss/news”
      },
      {
      title: “Israel National News”,
      url: “http://www.israelnationalnews.com/RSS.aspx”
      },

      			],
      			showSourceTitle: true,
      			showPublishDate: true
      		}
      	},
      
      ]
      

      };

      Here’s what I tried to get working:

      {
      module: ‘newsfeed’,
      position: ‘bottom_bar’,
      config: {
      feeds: [
      {
      title: “New York Times”,
      url: “http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml”
      },
      {
      title: “CNN”,
      url: “http://rss.cnn.com/rss/cnn_topstories.rss”
      },

      {
      title: “Yahoo News”,
      url: “http://news.yahoo.com/rss”
      },
      {
      title: “ESPN”,
      url: “http://www.espn.com/espn/rss/news”
      },

      {
      title: “ESPN Baseball”,
      url: “http://www.espn.com/espn/rss/mlb/news”
      },

      {
      title: “Israel National News”,
      url: “http://israelnationalnews.com/RSS.aspx”
      },
      {
      title: “Ynet Breaking News”,
      url: “http://www.ynet.co.il/Integration/StoryRss3254.xml”
      },
      {
      title: “Reuters”,
      url: “http://feeds.reuters.com/reuters/topNews”
      },

      {
      title: “Reuters Sports”,
      url: “http://feeds.reuters.com/reuters/sportsNews”
      },

      {
      title: “Google News”,
      url: “https://news.google.com/output=rss”
      },

      			],
      			showSourceTitle: true,
      			showPublishDate: true
      		}
      	},
      
      ]
      

      };

      Note, that I also tried to enter each one of the above feeds individually in the config file and restarted MM and got the no config file message for each. The only feeds I could get working are the ones in the working section I described above.

      I feel like there must be something I am missing? Does the version of MM I am using matter? I’m not sure the command to tell which version I have, I searched the forum but couldn’t find anything.

      Thanks,

      Nathan

      posted in Troubleshooting
      D
      deadherring
    • RE: Rss for news feeds?

      Some more that don’t work:
      title: “Yahoo News”,
      url: “http://news.yahoo.com/rss”

      title: "Yahoo MLB",
      url: “http://sports.yahoo.com/mlb/rss.xml”

      posted in Troubleshooting
      D
      deadherring
    • Rss for news feeds?

      Hey all,

      I’m trying to understand the RSS feeds that will and wont work in the news feed. Here’s one that I got working:

      title: “ESPN”,
      url: “http://www.espn.com/espn/rss/news”

      and here are several that do not work (I get the no config file message when I start MM):

      {
      title: “Reuters”,
      url: “http://feeds.reuters.com/reuters/topNews”
      },
      {
      title: "Reuters Sports",
      url: “http://feeds.reuters.com/reuters/sportsNews”

      Google News
      url: “https://news.google.com/output=rss”

      Can someone help me understand which feeds will and will not work? Also, what is the limit on the number of news feeds I can configure?

      Thanks,

      Nathan

      posted in Troubleshooting
      D
      deadherring
    • RE: Default Calender-absolute Date

      I can’t get absolute dates working. Here’s the relevant part of my calandar.js file.

      Anyone have any ideas?

      Module.register(“calendar”,{

      // Define module defaults
      defaults: {
      	maximumEntries: 10, // Total Maximum Entries
      	maximumNumberOfDays: 365,
      	displaySymbol: true,
      	defaultSymbol: "calendar", // Fontawesome Symbol see http://fontawesome.io/cheatsheet/
      	displayRepeatingCountTitle: false,
      	defaultRepeatingCountTitle: '',
      	maxTitleLength: 15,
      	fetchInterval: 5 * 60 * 1000, // Update every 5 minutes.
      	animationSpeed: 2000,
      	fade: false,
      	urgency: 0,
      	timeFormat: "absolute",
      	fadePoint: 0.25, // Start on 1/4th of the list.
      	calendars: [
      		{
      			symbol: "calendar",
      			url: "http://www.calendarlabs.com/templates/ical/US-Holidays.ics",
      		},
      	],
      
      posted in Troubleshooting
      D
      deadherring
    • RE: Twitter feed

      Did anyone ever get the Twitter module working?

      posted in Troubleshooting
      D
      deadherring
    • RE: Autostart & turning off powersave

      Nice. I will be out of my home office for the next day or so, so I’ll be able to test if it stays up for the amount of time.

      I just opened the wall in my bathroom to install the magic mirror + box/frame in and I want to make sure all is well before doing so.

      posted in Troubleshooting
      D
      deadherring
    • RE: Autostart & turning off powersave

      Yup, that was the setting that I found too. Did it work for you?

      posted in Troubleshooting
      D
      deadherring
    • RE: Autostart & turning off powersave

      Hey all, well, I tried every config file change that is out there, including the ones suggested above, none worked for me (I’m on a Pi 3).

      What finally worked is this:

      In the terminal window type: “sudo apt-get install xscreensaver” .

      It will install a screen saver that you can then access from the menu. Go in and disable the blank screen.

      This is the only thing that worked for me and my screen has been on for an hour now.

      Hope it helps someone.

      Nathan

      posted in Troubleshooting
      D
      deadherring
    • Autostart & turning off powersave

      Hey all,

      I’ve made it all the way through the install and config and have everything running well. I’m in the final stages and am trying to get autostart on boot working and disable the Pi from powersaving the monitor (right now the monitor turns off after a few minutes and wakes after I move the mouse).

      I followed the instructions here: https://github.com/MichMich/MagicMirror/wiki/Auto-Starting-MagicMirror but its still autosleeping and does not start on boot.

      However, one thing I had trouble with was this step:

      Starting your MagicMirror with PM2

      Simply start your mirror with the following command:

      pm2 start mm.sh
      You mirror should now boot up and appear on your screen after a few seconds.

      Enable restarting of the MagicMirror script.

      To make sure the MagicMirror restarts after rebooting, you need to save the current state of all scripts running via PM2. To do this, execute the following command

      pm2 save
      And that’s all there is! You MagicMirror should now reboot after start, and restart after any failure.

      When I entered pm2 start mm.sh the magic mirror program started, but in order to be able to then enter pm2 save I had to control-Q to stop the program to be able to get back to the terminal window. I’m not sure if that is the reason things are not working, or if there is another way I was supposed to do this?

      In doing my research, I also followed the instructions here: https://github.com/MichMich/MagicMirror/wiki/Auto-Starting-MagicMirror
      and changed the autostart file based on these instructions:

      Edit 2015/3/2: As commenter Roland points out, please use the following file in the new Raspian version: /etc/xdg/lxsession/LXDE-pi/autostart

      @xscreensaver -no-splash
      Additionally, I added the following lines:

      @xset s off
      @xset -dpms
      @xset s noblank
      @chromium --kiosk --incognito http://localhost

      Anyway, any help is appreciated, this is the one part of the install where I found conflicting instructions and somewhat confusing.

      Thanks,

      Nathan

      posted in Troubleshooting
      D
      deadherring
    • Twitter feed

      Has anyone had any luck getting a twitter feed working on the magic mirror? I installed the module and inputted my account information in config.js per the instructions and just get a black screen on startup. If I remove the Twitter info from the config file everything works fine.

      Thanks,

      Nathan

      posted in Troubleshooting
      D
      deadherring
    • 1
    • 2
    • 1 / 2