MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. MwMagicMirror
    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 6
    • Posts 23
    • Best 1
    • Controversial 1
    • Groups 0

    MwMagicMirror

    @MwMagicMirror

    4
    Reputation
    654
    Profile views
    23
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    MwMagicMirror Unfollow Follow

    Best posts made by MwMagicMirror

    • RE: US Holidays calendar not working

      Here you go, working for me.
      url: ‘https://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics’

      MW

      posted in Troubleshooting
      M
      MwMagicMirror
    • Change from Daily verse to x amount of time

      Hi,
      My wife likes the idea of the bible verse so much that she would like to get several in the mornings while doing the girly stuff in the bathroom.
      Is there a way to change it from daily to a specified amount of time before a refresh?
      Thanks
      MW

      posted in Troubleshooting
      M
      MwMagicMirror

    Latest posts made by MwMagicMirror

    • RE: MMM-ImageSlideshow Showing images from a USB drive

      @sdetweil
      Just an FYI I did get all my photos to display correctly after using:
      xnconvert from:
      http://www.xnconvert.com
      I selected ALL my photos and in the Actions section I selected Clear Meta data. I cleared everything but from a little research I believe I only needed to clear the EXIF data.
      Anyway it worked.

      MM

      posted in Tutorials
      M
      MwMagicMirror
    • RE: MMM-ImageSlideshow Showing images from a USB drive

      Hey Sam,
      Hows the weather down there in TX, We are originally from the Dallas area. Miss TX alot.

      Yea the picture orientation is a show stoppper for me, I have a hard time convincing my wife that she likes the mirror in the bathroom…lol

      What is MMM-ImagesPhotos? I dont see it on the Builders site.

      posted in Tutorials
      M
      MwMagicMirror
    • RE: MMM-ImageSlideshow Showing images from a USB drive

      I do have one question.

      All of my pictures have the proper orientation when viewed on my windows PC, however when copied over to my MM some of them are not oriented correctly.

      Anyone know the reason or if there is a fix?
      I really like the ImageSlideShow, I feel like it gives me more control over the Google Photo version.
      Thanks
      MM

      posted in Tutorials
      M
      MwMagicMirror
    • RE: MMM-ImageSlideshow Showing images from a USB drive

      Perfect

      I’m following now, working as advertised.

      tyvm

      posted in Tutorials
      M
      MwMagicMirror
    • RE: MMM-ImageSlideshow Showing images from a USB drive

      Hmm
      Failed to load resource: The server responded with a status of 404 Not Found
      I tried giving it the full path, that didnt work either.

                  {
                        module: 'MMM-ImageSlideshow',
                        position: 'top_center',
                        config: {
                        fixedImageWidth: 600,
                        fixedImageHeight: 600,
                        //imagePaths: ['modules/MMM-ImageSlideshow/example1']
                        imagePaths: ['/home/pi/MagicMirror/modules/MMM-ImageSlideshow/exampleImages']
      
      posted in Tutorials
      M
      MwMagicMirror
    • RE: MMM-ImageSlideshow Showing images from a USB drive

      Hi,
      I’ve configured ImageSlideshow accordingly however I do not get any photos to display, I get a box the correct size and a little icon in the upper left of the box.
      These are photos I have been using for months in Google Photos, the example photos do not display either.
      I have the width and height both set to 600
      Any Ideas
      Thanks
      MM

      posted in Tutorials
      M
      MwMagicMirror
    • RE: new update/upgrade script, ready for testing

      @sdetweil said in new update/upgrade script, ready for testing:

      bash -c “$(curl -sL https://www.dropbox.com/s/lxzwyzohg61sppu/upgrade-script.sh?dl=0)” apply
      Hi,
      I just ran your script and get the following errors:
      error: pathspec ‘.github/stale.yml’ did not match any file(s) known to git.
      error: pathspec ‘modules/default/calendar/vendor/ical.js/example_rrule.js’ did not match any file(s) known to git.
      error: pathspec ‘modules/default/calendar/vendor/ical.js/examples/example_rrule.ics’ did not match any file(s) known to git.
      error: pathspec ‘modules/default/calendar/vendor/ical.js/test/test12.ics’ did not match any file(s) known to git.
      error: pathspec ‘modules/default/calendar/vendor/ical.js/test/test13.ics’ did not match any file(s) known to git.
      error: pathspec ‘modules/default/calendar/vendor/ical.js/test/test14.ics’ did not match any file(s) known to git.
      error: pathspec ‘modules/default/weather/providers/ukmetoffice.js’ did not match any file(s) known to git.
      error: pathspec ‘modules/default/weather/providers/weathergov.js’ did not match any file(s) known to git.
      error: pathspec ‘translations/sk.json’ did not match any file(s) known to git.
      error: pathspec ‘translations/tlh.json’ did not match any file(s) known to git.
      error: pathspec ‘vendor/css/font-awesome.css’ did not match any file(s) known to git.

      Any Ideas? I dont recall messing with any of those files.

      Thanks
      MW

      posted in General Discussion
      M
      MwMagicMirror
    • RE: Getting Google Contacts birthdays into Calendar

      for (var i = 0; i < eventToDelete.length; i++) {
      }
      eventToDelete[i].deleteEvent();

      Thats what I noticed, anyway its all good, dont see that issue in any code now.
      Also I noticed that my birthday calendar has all my appointments and such. I see the logic is basically copying my main calendar into the birthday calendar. I manually delete everything out of my birthday calendar except for the birthdays, all is good…until…the script runs again then I back to having everything in my birthday calendar.

      MW

      posted in Development
      M
      MwMagicMirror
    • RE: Getting Google Contacts birthdays into Calendar

      @bolish
      That got it for me, you did have the eventToDelete[i].deleteEvent(); outside the for loop, anyway its working like it should now.

      tyvm

      MW

      posted in Development
      M
      MwMagicMirror
    • RE: Getting Google Contacts birthdays into Calendar

      @bolish said in Getting Google Contacts birthdays into Calendar:

      function Sync_Birth_Cal() {

      // Calendars adress (ID)

      var calendarSource = CalendarApp.getCalendarById(“THE ID OF YOUR CONTACT CALENDAR”);
      var calendarDestination = CalendarApp.getCalendarById(“THE ID OF THE CREATED CALENDAR”);

      // Start and End Date definition

      var Today = new Date();
      var StartDeleteDate = new Date();
      var EndDeleteDate = new Date();
      var StartCopyDate = new Date();
      var EndCopyDate = new Date();

      StartDeleteDate.setDate(Today.getDate()-400);
      EndDeleteDate.setDate(Today.getDate()+400);
      StartCopyDate.setDate(Today.getDate()-360);
      EndCopyDate.setDate(Today.getDate()+360);

      // first deletes all datas in calendar

      var eventToDelete = calendarDestination.getEvents(StartDeleteDate, EndDeleteDate);

      for (var i = 0; i < eventToDelete.length; i++) {
      eventToDelete[i].deleteEvent();
      }

      // then copy everything again

      var eventToCopy = calendarSource.getEvents(StartCopyDate, EndCopyDate);

      for (var t in eventToCopy){
      var newEvent = calendarDestination.createEvent(eventToCopy[t].getTitle(), eventToCopy[t].getStartTime(), eventToCopy[t].getEndTime());
      }

      }

      I get this error when I try to run the script:

      TypeError: Cannot call method “getEvents” of null. (line 25, file “Code”)

      I got that sorted, forgot the 2 IDs.
      Now I get:
      Service invoked too many times in a short time: calendar. Try Utilities.sleep(1000) between calls. (line 37, file “Code”)

      MW

      posted in Development
      M
      MwMagicMirror