Read the statement by Michael Teeuw here.
MMM-GoogleTasks errors out randomly
-
It used to be about once a week, but now it’s happening much more frequently. If I restart MM, the error goes away and the module displays correctly until it errors out again. Does anyone know a solution to this? SS of the error (I blocked out my list ID)
-
There are some forks of this module, which one do you use? According to my knowledge, the following is the most up-to-date: https://github.com/spydersoft-consulting/MMM-GoogleTasks
Run
git remote -vin the module’s directory to find out. -
~/MagicMirror/modules/MMM-GoogleTasks $ git remote -v origin https://github.com/themox/MMM-GoogleTasks.git (fetch) origin https://github.com/themox/MMM-GoogleTasks.git (push)How do I switch? Thank you so much for your help
-
Got to the modules directory:
cd ~/MagicMirror/modulesDelete the “old” MMM-GoogleTasks directory:
rm -r MMM-GoogleTasksClone the fork:
git clone https://github.com/spydersoft-consulting/MMM-GoogleTasksChange to the module directory:
cd MMM-GoogleTasksInstall dependencies:
npm install🙂
-
@KristjanESPERANTO thank you!! I’m trying to set it up and I’m stuck on step 4 of Authentication Setup
When I run the command, I get an error, and my token.js doesn’t provide any account names or list names to use in the [account] section of the config.
node authenticate.mjs -c /home/xxxx/MagicMirror/modules/MMM-GoogleTasks/credentials.json -t /home/xxxx/MagicMirror/modules/MMM-GoogleTasks/token.json file:///home/burgess/MagicMirror/modules/MMM-GoogleTasks/authenticate.mjs:26 currentTokens.forEach(element => { ^ TypeError: currentTokens.forEach is not a function at file:///home/xxxx/MagicMirror/modules/MMM-GoogleTasks/authenticate.mjs:26:19 at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read/context:68:3) Node.js v20.10.0(replaced my account name with “xxxx”
-
@angeliKITTYx I had a little trouble with the google calender stuff because at first I didn’t realize I had to get a google developer account and then I could setup the api’s. Every once in a while, especially if my mirror has been unplugged for 24 hours, I have to do the authorize again. Also I have to first delete the token file that gets created. The authorize script won’t over write the token. Maybe look at the instructions for the MMM-GoogleCalendar might help you? The two modules seem very similar.
-
@kayakbabe I have Google calendar and Google photos working on my MM just fine. Both used similar oauth api credential file instructions, but this one seems a little more complicated.
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