Read the statement by Michael Teeuw here.
New Module to download photos from Apple iCloud
-
I have a new module MMM-iCloudPhotos That will sync an Album from your Apple iCloud to your Magic Mirror. The Album does NOT need to be public and can be Personal or Shared.
With a Shared Album you and anyone you invite can add or remove photos from any Apple Device and they will appear on your mirror.
-
@msimon360 Thats brilliant, I’ve been hoping for this for a while.
Will give it a go. -
@Bungle68 Thanks let me know how it works for you. A few things I have found so far. I am using it with MMM-ImagesPhotos. When I add photos to the Album they sync to the uploads directory but they don’t display until I restart mm. It may just be my config values. Still testing. Also if I remove a photo from the Album a blank is shown for the removed photo until MMM-ImagesPhotos refreshes. I guess this is expected. I am looking into sending a Notification to force a refresh.
-
@msimon360 imagesphotos should refresh its list of images every 60 seconds by default
I use it linked to a file share on my nas
Because there are so many pics no idea when the new pic will appear, add random on to that and it’s worse for predictably -
@sdetweil I was testing on an album with only 4 photos and set to sequential. What I found, with help of Claude, was Before the Dec 2023 fetch rewrite, every completed request did:
if (retry) { self.scheduleUpdate(self.loaded ? -1 : self.config.retryDelay); }After the rewrite it became:
if (!photosResponse.ok) { if (retry) self.scheduleUpdate(...); }So the directory list only refreshed on HTTP failure, not every getInterval. I have an updated MMM-ImagesPhotos.js with a fix but I don’t know the best way to send it. Would you like a diff, patch, GitHub branch, other?
-
@msimon360 ImagePhotos isn’t mine, I have a fork…
so, generally how you do this , for any change to any repo on github
on github, find the source module repo
make a fork (copy on YOUR github)
checkout your fork
make a new branch
make the changes
commit to local branch
push to your github fork
github will see this and offer to create a PULL request to the original source , and the author can execute that PULL , from yours to theirs (merge is the operation)once its merged, then you can delete your branch
and then sync the source to your fork (if you still want the fork)
git pull on your fork to get the update,
OR
delete your local copy of the fork, and redownload the original repo again
and maybe delete your fork on github, if you think you will never need it againas for the bug
retry is a bad choice of variable, if its not in a failure path!.. lol…
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login