• 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 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 Jun 22, 2017, 9:09 PM Jun 22, 2017, 9:00 PM

    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 Jun 23, 2017, 5:39 AM

      Wonderful! Can you make a MMM module?

      1 Reply Last reply Reply Quote 0
      • M Offline
        McSorley
        last edited by Jun 23, 2017, 3:04 PM

        Exciting stuff!

        1 Reply Last reply Reply Quote 0
        • G Offline
          gauravsacc Module Developer
          last edited by Jun 23, 2017, 7:13 PM

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

          1 Reply Last reply Reply Quote 0
          • G Offline
            gauravsacc Module Developer
            last edited by Jun 26, 2017, 6:43 PM

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

            E 1 Reply Last reply Jun 28, 2017, 9:46 AM Reply Quote 2
            • E Offline
              ezarlive @gauravsacc
              last edited by Jun 28, 2017, 9:46 AM

              @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 Jun 28, 2017, 8:04 PM

                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.

                C 1 Reply Last reply Jun 28, 2017, 9:08 PM Reply Quote 1
                • C Offline
                  cowboysdude Module Developer @McSorley
                  last edited by Jun 28, 2017, 9:08 PM

                  @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

                  M 1 Reply Last reply Jun 29, 2017, 12:24 AM Reply Quote 2
                  • M Offline
                    Mykle1 Project Sponsor Module Developer @cowboysdude
                    last edited by Mykle1 Jun 29, 2017, 12:28 AM Jun 29, 2017, 12:24 AM

                    @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
                    1 / 1
                    • First post
                      1/9
                      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