Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. JohnDelta
    MagicMirror² v2.15.0 is available! For more information about this release, check out this topic.
    J
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 8
    • Best 0
    • Groups 0

    JohnDelta

    @JohnDelta

    0
    Reputation
    131
    Profile views
    8
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    JohnDelta Follow

    Latest posts made by JohnDelta

    • MMM-iFrame-GSlides - pixelated/blurred

      Hi guys,
      I’m kinda stuck.
      I’m using the Gslides Module to show text, tables, etc. on a 50" Flatscreen.
      Resolution of the Screen ist 1080p50

      The GSlides Iframe has a width: “1155px” and a height: “650px”
      The Gslides document on GDrive I set at a width “2310px” and a height: “1300px”

      So it should be super sharp, but instead it’s just kinda pixelated and messed up…

      Any Ideas? It’s just this Module that is of bad resolution quality…

      Capture.PNG

      All so if anybody has an Idea why the whole Screen reloads every now and then I would apreciate an Idea on how to turn that of.
      I believe that it has something to do with the (reload) intervall of the GSlides Iframe which is set at 5min.

      posted in Utilities
      J
      JohnDelta
    • RE: How to disable auto update from MMM-GooglePhotos

      Thank you guys for all the responses.
      So the reason I was thinking on doing it by cloud was that I can manage the files remotely on an easy user interface and also i could just share the folder with the Person in charge of updating it.

      @Sean you wrote “But the only problem is, public opened url of photo which is served by google photos, has not permanent or long-lived lifetime. url would be invalid usually after 1-2hours from its serving”

      But does the URL of the Pictures matter? I mean since its working via the Album_Id. Or what does the Album Id stand for?

      @sdetweil can you help me out what a cron tool is? Haven’t heard about it yet.

      Merry Christmas everybody 😉

      posted in Utilities
      J
      JohnDelta
    • How to disable auto update from MMM-GooglePhotos

      Hey guys,
      I’m having some difficulties with MMM-GooglePhotos. I created an album where there is always just one file inside (each day/week a new one).

      Now my problem that I have is that every now and then the picture fades out and in (Pic - Black - Pic) which is kinda annoying.

      So now I’m looking for a solution, that the Module only downloads the file once when the MagicMirror ist being started and then doesn’t fade around.

      {
      			module: "MMM-GooglePhotos",
      			position: "middle_center",
      		config: {
      albumId: ["ALBUM_ID"], // your album id(s) from result of `auth_and_test.js`
      				// refreshInterval: 1000*60,  
      				// ! scanInterval: 1000*60*10, // too many scans might cause API quota limit also.
      
      				sort: "time", //'time', 'reverse', 'random'
      				showWidth: "50%", 
      				showHeight: "650px",
      				originalWidthPx: 2339, 
      				originalHeightPx: 1653, 
      				mode: "hybrid", // "cover" or "contain" 
      					}
      

      Thank you guys for your support and some ideas.

      posted in Utilities
      J
      JohnDelta
    • RE: PDF Implementation

      @BD0G said in PDF Implementation:

      If others load one .pdf file to the google drive and then delete all other files in that directory well then the file extension would still be .pdf (right) ? So then one could script it using *.pdf (file that ends in .pdf)

      So whatever actions that were taken were performed upon a file that ended with .pdf

      The file name becomes inconsequential. Just grab all .pdf files (as there will only be one) , download them to a specific directory you create on a local system (ftp sounds like it may be a good option for this) and then use the convert action that @ember1205 speaks of within ImageMagick, upload back to Google Drive via ftp and then (damn! Google Drive will then rename it with another file ID and then the URL that is within the config.js that points to the url will be broken and not display -ugggggg) . I think I understand now.

      Here is a Google Chrome Add on that allows one to Overwrite the same file without changing the file name. It “may” be helpful?
      https://chrome.google.com/webstore/detail/drive-overwrite-file-repl/llanhaaigblafdecdihpppjaeekpddfl?hl=en-US

      It really sounds like you may have to delve into Google App Script to accomplish this. https://developers.google.com/apps-script

      If you have questions about using this scripting tool then I think there is support over on www.stackoverflow.com

      I am not a Google Script Coder so I cannot be of any help there.

      Thank you buddy.
      I still haven’t really found a way that works but the Chrome Addon did actually help me in another case as well.

      I’m now going to try to connect google drive with the Pi via rclone4pi and then somehow try to adapt the thoughts from @BD0G with creating a script that converts them into .jpeg and moves the images into a specific folder.
      (Happy for any help since I’m not a coder at all)

      posted in Utilities
      J
      JohnDelta
    • RE: MMM-NewsFeedTicker, how do I make the marquee go faster

      @broberg said in MMM-NewsFeedTicker, how do I make the marquee go faster:

      MMM-NewsFeedTicker

      go to the following line in the MMM-NewsFeedTicker.js file and change the number 1000 to a lower number. (some users are finding that changing to 300 works best for them, adjust to your preference)

      tickerBody.style.animationDuration = Math.round(this.config.updateInterval / 1000) + "s";
      

      hope it helps you

      posted in Troubleshooting
      J
      JohnDelta
    • RE: PDF Implementation

      @BD0G hey thx mate. That sounds very good.
      I’ll try that out.

      However regarding the latest file is where I’m still having some problem solving to do.
      The thing is that I want on Google Drive to have a folder where a few people have access to. I want them to be able to just delete the old file and drop the new file there (with the same file name or what ever action they have to do).
      Now here is the problem. Drive gives each file a new ID so the thing with a static file Name doesn’t work unfortunately.

      posted in Utilities
      J
      JohnDelta
    • RE: PDF Implementation

      @ember1205 so I’ve tried. But that’s just a few unnecessary steps to take once a week so I find.
      And also what I have done for now is using the MMM-GooglePhotos. I created an album where there is always simply one file supposed to be inside (the latest) and it pulls it down from there.
      But the issue I’m facing with that method except it just being a bit complicated is also that every now and then the picture fades out and in (Pic - Black - Pic) which is kinda annoying as well.

      so thx there for an idea as well : )

      {
      			module: "MMM-GooglePhotos",
      			position: "middle_center",
      		config: {
      albumId: ["ALBUM_ID"], // your album id(s) from result of `auth_and_test.js`
      				// refreshInterval: 1000*60,  
      				// ! scanInterval: 1000*60*10, // too many scans might cause API quota limit also.
      
      				sort: "time", //'time', 'reverse', 'random'
      				showWidth: "50%", 
      				showHeight: "650px",
      				originalWidthPx: 2339, 
      				originalHeightPx: 1653, 
      				mode: "hybrid", // "cover" or "contain" 
      					}
      		},
      
      posted in Utilities
      J
      JohnDelta
    • PDF Implementation

      Hey guys,
      I have been looking pretty much everywhere by now for a module to embed pdf files and could not find anything except that some people say it ain’t possible what ain’t right.
      I know it’s possible since I somehow got it to work for a short time but I’m not a coder so I don’r really know on how to make a module…

      The purpose of it:
      I need the screen to always pull the latest PDF file from a google drive folder each time it boots up. No Scrolling, no user interface, no controls needed.

      Here are some Infos that I found:
      PDF HTML embedding:
      https://www.w3docs.com/tools/code-editor/1087

      I don’t remember where, but I recently found a few libaries in node for displaying PDF in electron.

      Is there any talented Coder who would be so kind to help me, and many others who have been looking for it, to help?

      Thx guys 😉

      posted in Utilities
      J
      JohnDelta