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

    Posts

    Recent Best Controversial
    • RE: MMM-GooglePhotos

      @Sean It’s weird. I had it working. I went to adjust the settings (sizing didn’t look good) and then it stopped. Getting the network error consistently.

      This is my latest config. I’ve tried various configurations of showWidth/showHeight and originalWidthPx/originalHeightPx

      {
        module: "MMM-GooglePhotos",
        position: "top_left",
        config: {
          albumId: ["XXX"], // your album id(s) from result of 
         refreshInterval: 1000*60,  
          scanInterval: 1000*60*10, // too many scans might cause API quota limit also.
          //note(2018-07-29). It is some weird. API documents said temporal image url would live for 1 hour, but it might be broken shorter. So, per 10 min scanning could prevent dead url.
          sort: "random", //'time', 'reverse', 'random'
          showWidth: "800", // how large the photo will be shown as. (e.g;'100%' for fullscreen)
          showHeight: "600",
          originalWidthPx: 1920, // original size of loaded image. (related with image quality)
          originalHeightPx: 1080, // Bigger size gives you better quality, but can give you network burden.
          mode: "hybrid", // "cover" or "contain" (https://www.w3schools.com/cssref/css3_pr_background-size.asp)
          //ADDED. "hybrid" : if you set as "hybrid" it will change "cover" and "contain" automatically by aspect ratio.
        }
      
      posted in Entertainment
      G
      gonzonia
    • RE: MMM-MealViewer

      @sdetweil
      Thanks. I actually went in to the code and tweaked it. It was pulling the data fine, I think the issue was that the original developer’s usage only had a single meal (Lunch) available at the school and so it worked as is. Our school has Breakfast and Lunch I added an additional iteration to show all the meals or just what was placed in the config. The header now also reflects that. I’m not sure what that was supposed to do before because I couldn’t figure out where it was expecting the data.header to come from since nothing was loaded.

      My changes can be found here.

      https://github.com/gonzonia/MMM-MealViewer/tree/patch-1
      added shortName to config to replace text based on config option instead of hardcoded
      changed className to menuWrapper to allow for style control without interfering with other modules
      added config option for showing single or multiple meals based on name, default is All

      Still need to add some documentation but it might be a couple of weeks.

      posted in Development
      G
      gonzonia
    • RE: MMM-MealViewer

      @sdetweil Thank you. That’s helpful (I’m still learning the ins and outs of Magic Mirror) but there’s no errors. The “Undefined” is coming up while it’s loading the data. There’s no documentation for the module, I’m thinking there’s something that’s missing in the setup.

      posted in Development
      G
      gonzonia
    • RE: MMM-MealViewer

      Okay. I’ve decided to build a MagicMirror to replace my homegrown and now I’m trying to implement this module. I’ve downloaded the repository for this from GitHub and ran npm install.
      I’ve added some config info to set the school and position. It’s showing breakfast and “Tomorrow’s Undefined”. I’d like it to show lunch. Help?

      posted in Development
      G
      gonzonia
    • RE: MMM-GooglePhotos

      Thanks. Seems to be working now. Like I said, it starts out that way and then eventually loads fine. The album has about 900 photos I’m showing randomly. Trying to decide if I want them fullscreen or not…

      posted in Entertainment
      G
      gonzonia
    • RE: MMM-GooglePhotos

      Sean,
      It seems you make my favorite modules. I’m trying to get the GooglePhotos to work and it does if I leave it long enough. On startup though nothing shows (makes it real hard to configure the appearance). I’m seeing this in the log. Is the album I chose too big? I’m using the config you posted for fullscreen (except I changed to mode: hybrid).

      Error: { Error: Client network socket disconnected before secure TLS connection was established
      at TLSSocket.onConnectEnd (_tls_wrap.js:1092:19)
      at Object.onceWrapper (events.js:273:13)
      at TLSSocket.emit (events.js:187:15)
      at endReadableNT (_stream_readable.js:1090:12)
      at process._tickCallback (internal/process/next_tick.js:63:19)
      code: ‘ECONNRESET’,
      path: null,
      host: ‘photoslibrary.googleapis.com’,
      port: 443,
      localAddress: undefined }

      posted in Entertainment
      G
      gonzonia
    • RE: MMM-CalendarExt2

      Thanks for the quick reply!

      I think it’s much closer to where I want it now. It takes some time for the data to load initially, but it seems to be working. Still some visual tweaks to make.

      I kinda miss the built in styles from CalendarExt. It made it easy to just make each calendar different.

      posted in Utilities
      G
      gonzonia
    • RE: MMM-CalendarExt2

      Okay. This is all amazing. I was starting to configure MMM-CalendarExt when I found a reference to this. It has some features that I like a lot but I’m having some issues.

      1. It doesn’t seem to always load the data. Sometimes it works, sometimes it doesn’t. I’ve been trying to narrow this down. I’ve got 6 calendars I’m loading to show my sons homework. I put them in an upcoming and I see some data so I know they are loading (at least 3 of them), but I switch to daily (5 slots) and I get nothing even though some of the data is for the next few days.

      One second view it loads one calendar fine, but the moment I add a second the data disappears. I

      Config for upcoming view -
      {
      name: “Homework”,
      mode: “upcoming”,
      title: “Homework Due Soon”,
      position: “top_center”,
      calendars: [“Algebra”, “Latin”, “Transitions”, “Ceramics”,“English”, “Biology”],
      maxItems: 50,
      maxDays: 5,
      },
      0_1570934894744_Screen Shot 2019-10-12 at 10.44.20 PM.png

      for daily view (not working)-
      {
      name: “Homework”,
      mode: “daily”,
      title: “Homework Due Soon”,
      position: “top_center”,
      calendars: [“Algebra”, “Latin”, “Transitions”, “Ceramics”,“English”, “Biology”],
      slotCount:5,
      hideOverflow: false
      },
      0_1570934908018_Screen Shot 2019-10-12 at 10.47.48 PM.png

      1. In a daily view when the data is getting cut off because it’s too long for the column width. What do I need to change to remove some of the column spacing or expand the height of each data cell based on the data.
        0_1570935270045_Screen Shot 2019-10-12 at 4.35.19 PM.png

      2. How do I hide the Week count (41st ,42nd, etc) in a monthly view. 0_1570934373594_Screen Shot 2019-10-12 at 4.35.50 PM.png

      posted in Utilities
      G
      gonzonia
    • 1 / 1