• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Google Assistant Shopping List display

Scheduled Pinned Locked Moved Requests
27 Posts 9 Posters 11.2k Views 10 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    maxbachmann
    last edited by maxbachmann Aug 27, 2018, 7:32 PM Aug 27, 2018, 7:30 PM

    @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

    1 Reply Last reply Reply Quote 0
    • S Offline
      sforsyth
      last edited by Aug 28, 2018, 7:34 AM

      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!

      1 Reply Last reply Reply Quote 0
      • M Offline
        maxbachmann
        last edited by Aug 28, 2018, 7:49 AM

        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

        1 Reply Last reply Reply Quote 0
        • S Offline
          sforsyth @Guest
          last edited by Aug 31, 2018, 6:38 PM

          @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

          ? 1 Reply Last reply Sep 2, 2018, 8:21 AM Reply Quote 0
          • ? Offline
            A Former User @sforsyth
            last edited by Sep 2, 2018, 8:21 AM

            @sforsyth I need an error log to figure out what was happend.
            execute npm start dev or pm2 show log and tell me what was shown.

            C S 2 Replies Last reply Sep 2, 2018, 12:29 PM Reply Quote 0
            • C Offline
              Chris @Guest
              last edited by Sep 2, 2018, 12:29 PM

              @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.md
              
              

              Do you have any idea of the problem?
              Thank you in advance,

              Regards,

              ? 1 Reply Last reply Sep 2, 2018, 2:50 PM Reply Quote 0
              • S Offline
                sforsyth @Guest
                last edited by Sep 2, 2018, 2:30 PM

                @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.

                1 Reply Last reply Reply Quote 0
                • ? Offline
                  A Former User @Chris
                  last edited by Sep 2, 2018, 2:50 PM

                  @chris
                  I’ve found what was wrong. I’m making an urgent fix. But not completely works.
                  The main reason of your issue was, lacking puppeteer had 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 abandon puppeteer and 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

                  S C 2 Replies Last reply Sep 2, 2018, 3:11 PM Reply Quote 0
                  • S Offline
                    sforsyth @Guest
                    last edited by Sep 2, 2018, 3:11 PM

                    @sean Hey Sean, Sorry man, I have no idea what that means when you say my node “version is too low”…

                    ? 1 Reply Last reply Sep 2, 2018, 3:14 PM Reply Quote 0
                    • ? Offline
                      A Former User @sforsyth
                      last edited by Sep 2, 2018, 3:14 PM

                      @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.

                      S 1 Reply Last reply Sep 2, 2018, 3:24 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 2 / 3
                      2 / 3
                      • First post
                        12/27
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy