• 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.
  • S Offline
    sforsyth
    last edited by Aug 26, 2018, 7:18 PM

    Hey all,

    So I made my magic mirror some time ago, and am really happy with it. I recently got a Google Home and am thinking of using the Shopping List functionality on the mirror. As in, I tell the Google Home device to add stuff to my shopping list, and it then gets displayed on my mirror. I’ve done a search on the forums here for Assistant related stuff, but it seems more a case of modules for adding the Assistant to the mirror itself, rather than just displaying info from a list I’ve generated from the Google Home device. I don’t have a mic on the mirror and am not interested in confusing the mirror and Home devices as they sit close to each other.

    Afraid I’m not a programmer, which is why I’m struggling here. There seems to be some Todoist (never used it before) modules, as well as Wunderlist (also never used before), but I was hoping to go with the Google home shopping list. If it turns out this is wishful thinking, or more hassle than trying out these other shopping list options, I’ll certainly give them a go. Just need advice.

    Have previously tried a Trello module but it barely ever updated and was really, really slow, so eventually I just dropped it.

    Open to suggestions and would really appreciate the help!

    Cheers!
    Seán

    ? 2 Replies Last reply Aug 27, 2018, 7:47 AM Reply Quote 0
    • M Offline
      maxbachmann
      last edited by Aug 27, 2018, 5:42 AM

      MMM-MirrorMirrorOnTheWall is a module for using Alexa with MagicMirror. It allows you to hide and show stuff. You generally have Alexa running (wether with normal Alexa or Alexa Pi is not important) and then the Magic Mirror module just calls the API to receive the intent of what you said.
      So you can absolutely use it with you normal Alexa. I would just take the MirrorOn TheWall module (might be interesting on it’s own with hiding showing modules and stuff already), so you see how the API with your key gets called and the intents receivedv and just replace the reaction of it by the code for showing you shopping list (you can for example take a big part of it from a shopping list module that has a design you like ;)).
      So it should be a fairly easy thing to do. I am personally not using any cloud based voice recognitions for the privacy issue, but doing something similar with a offline speech recognition is definetly on my toDo for this or next week ^^

      1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User @sforsyth
        last edited by Aug 27, 2018, 7:47 AM

        @sforsyth As I know, Google has not opened shopping list API 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. :)

        1 Reply Last reply Reply Quote 0
        • M Offline
          maxbachmann
          last edited by Aug 27, 2018, 11:15 AM

          @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

          1 Reply Last reply Reply Quote 0
          • M Offline
            maxbachmann
            last edited by maxbachmann Aug 27, 2018, 11:20 AM Aug 27, 2018, 11:19 AM

            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

            ? 1 Reply Last reply Aug 27, 2018, 1:43 PM Reply Quote 0
            • ? Offline
              A Former User @maxbachmann
              last edited by Aug 27, 2018, 1:43 PM

              @maxbachmann Frankly I don’t know anything about Alexa and its things :{ Sorry.

              1 Reply Last reply Reply Quote 0
              • ? Offline
                A Former User @sforsyth
                last edited by Aug 27, 2018, 5:32 PM

                @sforsyth
                I’ve made this; But not fully tested. Could you test this for me?
                [card:eouia/MMM-GoogleShoppingList]

                S 1 Reply Last reply Aug 31, 2018, 6:38 PM Reply Quote 0
                • 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
                      • 1
                      • 2
                      • 3
                      • 1 / 3
                      1 / 3
                      • First post
                        1/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