Hi,
If your MM is deployed on a Raspberry Pi, you should find the logs in the /home/pi/.pm2
folder (pm2.log
, logs/mm-error-0.log
or logs/mm-out-0.log
).
Regards,
Charles
Hi,
If your MM is deployed on a Raspberry Pi, you should find the logs in the /home/pi/.pm2
folder (pm2.log
, logs/mm-error-0.log
or logs/mm-out-0.log
).
Regards,
Charles
Hi Will,
I’m glad to see that you have solved your token problem.
The time it takes to load picture depends on the number of pictures you have. Note that only pictures meta-data are loaded at start. The picture binaries are loaded on demand when the slideshow starts.
rootFolderId
is not set, the module will retrieve the 100 first pictures found (maxResults
)rootFolderId
is set, the module will go through the 10 first folders (maxFolders
) it founds. If you have a large amount of pictures, or if you specified a large value for maxFolders
, it can take more times.If nothing is loaded or displayed, feel free to set debug
to true
and send me the logs.
Regards,
Charles
@emrah_asl
Hi,
@sdetweil is right, feel free to create a pull request.
If you want to force cache reloading, you can also delete the .cache file in the module folder.
The default cache lifetime is 24 hours (refreshDriveDelayInSeconds configuration parameter).
Regards,
Charles
Hi @chen31
The module is designed to adapt the display size of the image based on your maxWidth and maxHeight configuration (see there)
If it does not works, perhaps the display is cut by another module above on your MagicMirror ?
If not, can you share a screenshot to let me understand the problem.
Regards,
Charles
I’m glad to hear that your problem is now resolved. Have fun with the module.
Regards,
Charles
Hi,
I can’t see any clue in your logs that can explain the issue.
My Node version is slightly more recent than yours (v10.17.0 when yours is v6.14.2), it may be a reason.
Can you try to run the npm run token:generate
command through SSH ?
Do you have the same error ?
Regards,
Charles
Hi Jupter,
I don’t think you made a mistake, and that the “type” choice at step 7 has any importance.
Can you check that your credentials.json file looks like that ?
{"installed":{"client_id":"[something].apps.googleusercontent.com","project_id":"[something]","auth_uri":"https://accounts.google.com/o/oauth2/auth","token_uri":"https://oauth2.googleapis.com/token","auth_provider_x509_cert_url":"https://www.googleapis.com/oauth2/v1/certs","client_secret":"[something]","redirect_uris":["urn:ietf:wg:oauth:2.0:oob","http://localhost"]}}
Can you send me the detail of the error while trying to authenticate at step 10 ?
Regards,
Charles
Hi,
You have to configure the module with the ID of the Google Drive folder (rootFolderId) where your photos are stored.
You can check a complete answer here : https://github.com/clegallic/MMM-GoogleDriveSlideShow/issues/2#issuecomment-658843412
Regards,
Charles
@sdetweil I wasn’t aware of the suspend()
and resume()
methods.
I will update the module to implement these methods.
Thank !