Read the statement by Michael Teeuw here.
MMM-GooglePhotos
-
@lucBtrl first, remove your credentials and create it again.
-
ok, so it worked, but then when i tried to set which album i wanted, it said this:
pi@raspberrypi:~/MagicMirror/modules/MMM-GooglePhotos $ nano MMM-GooglePhotos.js
nano: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory -
@Samwise
I can’t understand why you did this;pi@raspberrypi:~/MagicMirror/modules/MMM-GooglePhotos $ nano MMM-GooglePhotos.js
You don’t need to (and shouldn’t) modify source code. use your
config/config.js
.And, the error
nano: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory
comes from your system, not my module. Maybe your system has been missing something.
-
ok i think everything is in order, but the pictures don’t actually show up…
-
@Samwise
Don’t know what happens without details. What does the log say? -
@Sean where do i find the log?
Also, this popped up: pi@raspberrypi:~/MagicMirror $ npm start
magicmirror@2.7.1 start /home/pi/MagicMirror
sh run-start.sh/home/pi/MagicMirror/node_modules/electron/dist/electron: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! magicmirror@2.7.1 start:sh run-start.sh
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the magicmirror@2.7.1 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2020-02-29T10_46_17_131Z-debug.log -
@Sean
Thanks a lot Sean !
It appears indeed that the credentials generated was not the right type (I may have not selected the right option in google api console). Worked better the second time !Marvelous results of the module
-
@Sean I logged into my google account and allowed consent. However, once I input the code back into the terminal, all I get is auth_and_test started.
What am I doing wrong?
-
@ayangu
when you did auth_and_test,token.json
was created? -
New Updates
[2.0.0] - 2020/03/23
- Notice: Whole new build from scratch. new installation and configuration is needed.
- Removed: deprecated dependency
request
. Instead, usingAxios
andhttps
- Changed: More stable displaying photos
- Changed: New looks.
- Changed: Access album by name not by id.
- Added: You can filter photos by condition.
- Added:
GPHOTO_NEXT
,GPHOTO_PREVIOUS
notifications are supported. - Added:
GPHOTO_UPLOAD
notification is supported. NowMMM-Selfieshot
andMMM-TelegramBot
can upload pictures with this module. - Removed:
mode
,scanInterval
,opacity
is removed because no more necessary.
Screenshot