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 Demo and Idea.

    Scheduled Pinned Locked Moved Development
    9 Posts 6 Posters 5.0k Views 9 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.
    • ? Offline
      A Former User
      last edited by A Former User

      After several times of trial, I can run google assistant demo on my raspberrypi. Most of the problems were about sound configuration. Anyway, it works very well at last.

      With ‘grpc client API’, someone can build an awesome module for MM someday. But I cannot wait.
      So…
      I opened IFTTT;

      If [Google Assistant] to [Maker Webhooks]

      If your home internet box can support DDNS(or static IP), you can make your mirror visible from outside your home by port-forwarding. It means IFTTT can send some message to your mirror.
      I tested some message with MMM-IFTTT. it works.

      So I made some IFTTT applets;

      If you say “Wake up”, then make a web request ‘POST {message:‘screen on’}’
      If you say “Let my mirror $ (or Tell my mirror $ or Ask my mirror $)”, then make a web request ‘POST {message:$}’
      …

      And I will make a small listener for the listening requests from IFTTT hook. The listener will parse requested commands and find proper MM notification or some function with my pre-defined mapping recipes.

      It could be like this;
      I say “Ok, Google. Let my mirror ‘sleep in ten minutes’”. Then, GA run in the background of my mirror listens that commands and IFTTT trigger will be fired. GA will response me “Yes, she will ‘sleep in ten minutes’”(response format could be defined in IFTTT).
      And ‘sleep in ten minutes’ message will be posted to my MM via DDNS, and after parsing and mapping the message to turn display off.

      I have no time because I’m just a holiday hobbist. So, I could make this real in this weekend. But I think it is very simple, therefore everybody can make his own easily.

      Anyway, if you have not only DDNS but also SSL certificated server, it could be easier and better to make webhook directly without IFTTT.

      I’m reading ‘grpc API’ all day long, It just gave me some headache. so I want to escape. I hope there will be someone who can provide the awsome native integrated GA to us.

      ps. Alexa-IFTTT is not good as GA-IFTTT. Alexa cannot pick ‘ingredients’ up from your sentence. So if you use Alexa, you should make so many individual applets for all commands you wish.

      1 Reply Last reply Reply Quote 2
      • E Offline
        ezarlive
        last edited by

        Wonderful! Can you make a MMM module?

        1 Reply Last reply Reply Quote 0
        • M Offline
          McSorley
          last edited by

          Exciting stuff!

          1 Reply Last reply Reply Quote 0
          • gauravsaccG Offline
            gauravsacc Module Developer
            last edited by

            Nice… I just started on a similar implementation. I’m using pubsub though.

            1 Reply Last reply Reply Quote 0
            • gauravsaccG Offline
              gauravsacc Module Developer
              last edited by

              Here’s my progress on the GA module https://github.com/gauravsacc/MMM-GoogleAssistant

              E 1 Reply Last reply Reply Quote 2
              • E Offline
                ezarlive @gauravsacc
                last edited by

                @gauravsacc said in Google Assistant Demo and Idea.:

                Here’s my progress on the GA module https://github.com/gauravsacc/MMM-GoogleAssistant

                Wooooow!

                1 Reply Last reply Reply Quote 0
                • M Offline
                  McSorley
                  last edited by

                  Tried giving the Google Assistant SDK a go. Didn’t work well for me due to my Scottish Accent. If I put on a bad American accent it works well but Alexa seems to be perfect with me.

                  cowboysdudeC 1 Reply Last reply Reply Quote 1
                  • cowboysdudeC Offline
                    cowboysdude Module Developer @McSorley
                    last edited by

                    @McSorley said in Google Assistant Demo and Idea.:

                    Tried giving the Google Assistant SDK a go. Didn’t work well for me due to my Scottish Accent. If I put on a bad American accent it works well but Alexa seems to be perfect with me.

                    EVERY American has a bad accent… do your worst LOL

                    Mykle1M 1 Reply Last reply Reply Quote 2
                    • Mykle1M Offline
                      Mykle1 Project Sponsor Module Developer @cowboysdude
                      last edited by Mykle1

                      @cowboysdude said in Google Assistant Demo and Idea.:

                      EVERY American has a bad accent… do your worst LOL

                      Uhh, I’m from New Yawk Siddy. I aint got no ackcent.

                      Fuhgeddaboudit!

                      Create a working config
                      How to add modules

                      1 Reply Last reply Reply Quote 1
                      • 1 / 1
                      • First post
                        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