hermanho / MMM-GooglePhotos

Display your photos on MagicMirror from Google Photos.
MIT License
170 stars 65 forks source link

MMM-Selfieshot autoupload using MMM-GooglePhotos #119

Open J0han3s opened 3 years ago

J0han3s commented 3 years ago

Hi, thank you for this module. This is great!

I am trying to get the autoupload using MMM-GooglePhotos for MMM-Selfieshot. I have followed the steps and have set up a album in GooglePhotos called MyMagicMirrorAlbum. I have also ran the below notification. However I still cannot see the photos uploaded.

PLease can you let me know if my config is correct. Also do i have to run this notification once or after each restart of MM or after each restart of my Pi, or after each photos.? please can you provide an example of the correct configuration

` { module: 'MMM-Selfieshot', debug: true,

},  `

{ module: "MMM-GooglePhotos", position: "top_right", config: { albums: [], // Set your album name. like ["My wedding", "family share", "Travle to Paris"] updateInterval: 1000 * 60, // minimum 10 seconds. sort: "new", // "old", "random" uploadAlbum: "MyMagicMirrorAlbum", // Only album created bycreate_uploadable_album.js. //condition: { //fromDate: null, // Or "2018-03", RFC ... format available //toDate: null, // Or "2019-12-25", //minWidth: null, // Or 400 //maxWidth: null, // Or 8000 //minHeight: null, // Or 400 //maxHeight: null, // Or 8000 //minWHRatio: null, //maxWHRatio: null, //// WHRatio = Width/Height ratio ( ==1 : Squared Photo, < 1 : Portraited Photo, > 1 : Landscaped Photo) //}, showWidth: 1080, // These values will be used for quality of downloaded photos to show. real size to show in your MagicMirror region is recommended. showHeight: 1920, timeFormat: "YYYY/MM/DD HH:mm", // Orrelativecan be used. } },

Blauenfeldt commented 2 years ago

You haven't set which album it should show config: { albums: [], // Set your album name. like ["My wedding", "family share", "Travle to Paris"]

Should be: config: { albums: [MyMagicMirrorAlbum], // Set your album name. like ["My wedding", "family share", "Travle to Paris"]

lnk64 commented 2 years ago

im not sure if you are still having the same issue, but if so, check out this ticket . I had to edit node_helper.js to get the upload feature to work