Read the statement by Michael Teeuw here.
MMM-GooglePhotos
-
@Sean I do but then it comes back up again in x number of days. I go through the auth process and it works again, but then starts popping up windows to auth after sometime.
It used to work consistently without having to reauth , not quite sure what changed.
-
@xundre
Very weird. If possible, plz contact me tomorrow throughTelegram
(my id is @eouia) I’m convenient when normal weekdays 10am ~ 17pm in Central European Timezone. We can see what’s happening on realtime. -
If I have an album with a very large number of photos does it scan all of them? I switched to a small album and it loads nice and fast…but the large one never seems to get a photo. Is this a one time scan (for each time it starts up). Or will it always be super slow.
Google Photos auto adds photos to albums based on who is in them, so its a shame to not be able to use one of these albums.
-
@mcneilp If i let it run long enough it loads an image…but sometimes it goes blank for a while. I assume this is because its processing photos. Too bad it can’t just load a few at a time and run fast.
-
@mcneilp
Show me your config. And Google Photos has its API request limit for usage. -
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 } -
@gonzonia
well, the error log is saying just network problem. However I’m not in front of machine at this moment, but i’ll check this tomorrow -
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…
-
@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. }
-
@gonzonia
There is nothing related to your network issue on this module. (At least, I think so)
I carefully guess these things;- WLAN sleeping feature might be activated in your RPI.
- Your other module or other background process would make this.