Read the statement by Michael Teeuw here.
Google Assistant Shopping List display
-
@sforsyth As I know, Google has not opened
shopping listAPI yet. So at this moment, it couldn’t.
But I’ve found some monkey-patch trick for crawling Google shopping list site. Maybe I can use that for building module. but not guaranteed. :) -
@Sean I am totally not in the amazon world so I can’t test the stuff, but it seems you can get the items (at least amazon says so
https://github.com/alexa/alexa-cookbook/blob/master/context/lists/src/index.js
thats a example on how to retrieve the list and add/delete items
-
Set Up Permissions
In order for your skill to have read or write access to customers’ Alexa lists, it must have the appropriate permissions which you can set up in the developer console. Request Lists Read or Lists Write permissions in your skill only when they are required to support the features and services provided by your skill.
Edit your skill in the developer console.
Navigate to the Build > Permissions page.
Select the Lists Read or Lists Write check boxes, or both, depending on the requirements of your skill.So you need to ask the for permission for you skill. Although thats still a workaround over a second skill and you can’t directly access them I guess
-
@maxbachmann Frankly I don’t know anything about Alexa and its things :{ Sorry.
-
@sforsyth
I’ve made this; But not fully tested. Could you test this for me?
[card:eouia/MMM-GoogleShoppingList] -
@Sean same about me just guessing ^^ Never used any cloud based voice solution (always using snips)
Still need to post my MagicMirror stuff with snips when I get time and a camera to make a good video on it -
That’s great guys!
@maxbachmann I actually don’t have Alexa, I’ve only got a Google Home device, so that’s why I was hoping for a Google Shopping List module rather than anything with Alexa. Thanks though!
@Sean This is awesome! I’ll try to give this a go tonight when I get home. Thanks a million!
-
ups lol being able to read a text would give me a clear advantage :smiling_face_with_open_mouth_cold_sweat:
The word google was just to often in the text for me to realise -
@sean Hey Sean, I’m so sorry for the delay in replying to this, I really appreciate the effort in making it. Unfortunately, it didn’t work for me, it just stops my magic mirror from loading up properly. It just shows my mouse pointer and the screen remains black. As I said before, I’m not a programmer myself, so can’t offer much in the way of debugging, but I have installed several modules before without any problems, so I’m pretty sure it’s nothing basic. Again, sincere apologies for the late reply, life got in the way this week!
Thanks again,
Sean -
@sforsyth I need an error log to figure out what was happend.
executenpm start devorpm2 show logand tell me what was shown. -
@sean
Hello,
I tested this module too. I do not have any problems with launching my MagicMiror. The module appears well but remains empty despite the fact that I add items in my shopping list.
I started the mirror with the command npm start dev and I have one error that appears:
(node:5912) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 9): Error: Failed to launch chrome! /home/pi/MagicMirror/modules/MMM-GoogleShoppingList/node_modules/puppeteer/.local-chromium/linux-579032/chrome-linux/chrome: 1: /home/pi/MagicMirror/modules/MMM-GoogleShoppingList/node_modules/puppeteer/.local-chromium/linux-579032/chrome-linux/chrome: Syntax error: word unexpected (expecting ")") TROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.mdDo you have any idea of the problem?
Thank you in advance,Regards,
-
@sean
npm start dev gives me the following:WARNING! Could not validate config file. Please correct syntax errors. Starting with default configuration.
Loading module helpers …
App threw an error during load
/home/pi/MagicMirror/modules/MMM-GoogleShoppingList/node_helper.js:51
async function get(headless) {
^^^^^^^^
SyntaxError: Unexpected token function
at Object.exports.runInThisContext (vm.js:76:16)
at Module._compile (module.js:528:28)
at Object.Module._extensions…js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at loadModule (/home/pi/MagicMirror/js/app.js:127:17)
at loadNextModule (/home/pi/MagicMirror/js/app.js:161:5)
Whoops! There was an uncaught exception…
/home/pi/MagicMirror/modules/MMM-GoogleShoppingList/node_helper.js:51
async function get(headless) {
^^^^^^^^
SyntaxError: Unexpected token function
at Object.exports.runInThisContext (vm.js:76:16)
at Module._compile (module.js:528:28)
at Object.Module._extensions…js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at loadModule (/home/pi/MagicMirror/js/app.js:127:17)
at loadNextModule (/home/pi/MagicMirror/js/app.js:161:5)
MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
Launching application. -
@chris
I’ve found what was wrong. I’m making an urgent fix. But not completely works.
The main reason of your issue was, lackingpuppeteerhad not proper Chromium for Raspberry Pi. It was not a big problem,
But during making fixture, I found something. Google ShoppingList site has a very lazy loading of contents and I couldn’t catch the exact time when all the contents were loaded.
That will makes often to get an empty list. I will abandonpuppeteerand try other things. But it will take some time. Sorry.@sforsyth your node version is too low. async will be working over node version 7.6
-
@sean Hey Sean, Sorry man, I have no idea what that means when you say my node “version is too low”…
-
@sforsyth “async” feature would work above node version 7.6. your node version might be lower than 7.6.
Anyway, I cannot fix the main issue of this module at this moment, so you don’t have to bother yourself with this module. sorry. -
@sean Ah. I meant I have no idea what my “node” is. :)
Anyway, if it doesn’t work, it doesn’t work. Thanks for putting the time in to try it, I really appreciate it! -
@sean
Bonjour,
Pas de soucis pour moi, j’attendrai que tu ais le temps de te pencher sur le problème.
Merci pour ton travail,
Cordialement,
-
@sean Hi Sean, and thanks for the effort put into this module. I too have the same problem as @sforsyth - just a white screen and magic mirror does not load. I have installed puppeteer and chromium as per your install instructions but still no action. I’m Just keeping an eye on this thread looking forward to a fix! Thanks again.
-
@shavesophere
I’ve already updated fixed version a few days ago. So I wonder which version did you test.
And I need more detailed error logs to find what was your problem. -
Hi,
Installed the module but it always says Loading…
can you assist?
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