MagicMirror module for displaying Google Shoppinglist
Hi, great work on this, looking forward to seeing how it progresses. I can’t seem to get it working as it cannot bypass the Google sign in. I know it is attempting to sign in as I get a text message with a Google access code. Where do I put this code to make things work?
Sorry, This module is not completed. I’ve found a big issue on this module, I tried to patch but not get a success. sorry again.
@sean OK, no worries. I’ll keep an eye out for updates
I think I’ve fixed issues. Could you test it for me? (Re-install required. See the github)
Hi, nice module, for my wife
Has someone tested it?
I see the module “Loading” but I don’t see the shopping list.
In console I receive this message:
[GSL] Landed on the target page. Trying to get list
[GSL] Tried. (when even failed) : 8
I think there are 8 items in your shopping list, right? If so, there could be front-end error (even caused by my module or others).
Can you try
npm start devinstead
pm2 stop mmthen execute
npm start devin your MagicMirror directory) Then you can see the dev panel on MM screen. And if there be any suspicious front-end error, the red text will be shown there.
dev-panel looks like this (the right side);
I didn’t know this working mode of MM, thanks for your answer.
It’s right my list has 8 items.
I disable all module except clock and start “dev” mode.
There is only one red error but it’s from this module:
MMM-GoogleShoppingList.js:70 Uncaught TypeError: Cannot read property '1' of null at items.forEach.item (MMM-GoogleShoppingList.js:70) at Array.forEach () at Class.drawItems (MMM-GoogleShoppingList.js:54) at Class.socketNotificationReceived (MMM-GoogleShoppingList.js:46) at module.js:246 at r. (socketclient.js:25) at r.emit (index.js:133) at r.onevent (socket.js:270) at r.MMSocket.self.socket.onevent (socketclient.js:19) at r.onpacket (socket.js:228)
After few minutes the same error came again…
Thanks for reply. Would you send me a mail address? Mine is
email@example.com. I’ll send a test file to catch what is wrong. (But here is late night, so I’ll send you 10 hours later)
I become this Error…
[GSL] Trying to login
(node:17281) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: Evaluation failed:
TypeError: Cannot read property ‘click’ of null
(node:17281) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated.
In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.