How-To: Home Assistant TALK TO Google Assistant / Google Home

Поділитися
Вставка
  • Опубліковано 21 гру 2024

КОМЕНТАРІ • 281

  • @jakemoore3008
    @jakemoore3008 2 роки тому +47

    I was able to get this working today! A few things have changed since the creation of this video.
    1. When creating your OAuth Credentials, set your app as a Desktop App, not TV.
    2. When creating your user in Assistant Relay, the Google authorization flow does not have a specific pop-up that says "Allow" anymore. Instead, there's a button that says Continue.
    3. When you finish the Google authorization flow, it's going to open a tab with a blank screen. Your Auth key is in the url. Copy everything between "code=" and "&scope". You can paste that into the auth key screen in Assistant Relay setup.
    4. After you visit the URL from your logs and enable the API, it will likely take up to 10-15 minutes for it to start working. Even then, I was not able to get it to broadcast from the sandbox.
    5. When creating a test animation and you select the REST command you created as the action, it did not show the "Service Data" field. Click the 3 dots on your action and click "Edit in YAML". Now you'll see "data: {}". Type anything between the curly brackets, then switch back to visual editor and your field for Service Data will be visible.

    • @drob83
      @drob83 2 роки тому +1

      Thank you!!! I was suck on 1-3. The real fix is always in the comments!

    • @williamrosswhite
      @williamrosswhite 2 роки тому

      thanks for this!

    • @Familyhayun
      @Familyhayun 2 роки тому

      Thanks!!!!!

    • @tandyman6672
      @tandyman6672 2 роки тому

      Thanks for the extra tips! I was stuck on these same problems until I saw your comment. 👍

    • @naxey
      @naxey 2 роки тому +2

      for those that are still stuck on step 3 and get a blank page with "about:blank" in the URL, try a different browser

  • @nathanvancleave8434
    @nathanvancleave8434 3 роки тому +22

    This is the first video I’ve seen of yours and I am VERY impressed. All the side comments you make to cover for beginner scenarios is incredibly helpful for myself and many others I’m sure. Keep doing what you’re doing Grayson!

  • @iamghesp
    @iamghesp 3 роки тому +20

    I was wondered where all the influx of users had come from. Thanks for the tutorial! (Assistant Relay dev)

    • @firemann816
      @firemann816 3 роки тому

      Thanks for Assistant Relay. I have two items the work with Google Assistant, but not Home Assistant. I also want to lock all my actions and routines to ONLY my voice, and Google Assistant doesnt do that, (going to try via HASS & Relay soon). Thanks, man

  • @santosalberto
    @santosalberto 3 роки тому +6

    Been waiting for this tutorial for the longest time. I'm sure glad it came from you. Can't wait to try it out. Thanks Man!!

  • @alishakir6850
    @alishakir6850 2 роки тому +5

    Just implemented and works great. I am concerned about the code no longer receving updates. For everyone that is having the issue with selecting service and not havin the message field, the following is workaround.
    Just add the call service and select the rest service. Then use the menu (3 dots) and choose edit via YAML. Add the values:
    data:
    message: "Turn on lights"
    Just ensure the message has the 2 space indentation.

  • @StephenSichina
    @StephenSichina 2 роки тому +2

    This is a perfect tutorial video, thank you so much. I love the part at 6:15 where you explain why we are doing this setup and what it is accomplishing.

  • @tandyman6672
    @tandyman6672 2 роки тому +1

    Awesome video! Setting up the Home Assistant / Google Home links has been challenging and this video was a huge help. Keep it up, as a new subscriber I hope to see a lot more from you. 😀

  • @DioZambrano
    @DioZambrano 2 роки тому

    Dude you're very good on this, keep doing it. thank you so much for this tutorial.

  • @VuTCNguyenArtist
    @VuTCNguyenArtist 3 роки тому +2

    This is great! Thank you! Now, how do you do it via Nodered with Homeassistant, the Homassistant "call service" node asks for "domain" which I'm not sure what domain the service "rest_command" belongs. Thanks.

    • @VuTCNguyenArtist
      @VuTCNguyenArtist 3 роки тому

      Nvm, I found an example on Assistant Relay github page. Thanks!

    • @krycekaiolfi
      @krycekaiolfi 3 роки тому

      @@VuTCNguyenArtist were you able to do it using the 'call service' node or using the POST node described in the github page? I can't get it to work using the 'call service'

  • @santosalberto
    @santosalberto 3 роки тому +5

    Any chance you might do a tutorial for the nest SDM API Integration?

  • @scottbwright
    @scottbwright 3 роки тому +5

    Glad you are back!

  • @Brian-D
    @Brian-D 3 роки тому +2

    Been trying to get these steps nailed down. Thanks for the video! Saved me hours and hours.

  • @Brian-D
    @Brian-D 3 роки тому +9

    So if I ask google "are 'x' lights on?" it provides feedback. Know of any way to store this feedback as a STATE?

    • @GraysonAdams
      @GraysonAdams  3 роки тому +12

      Read into “RESTful sensors for home assistant” which let you work with the data it responds with. Requires some understanding of JSON and REST API.
      If your comment gains some traction from others I could make a video on this :)
      Feel free to start digging and ask questions here in the meantime.

    • @TheHellis
      @TheHellis 3 роки тому

      For those kind of situations I usually add a boolean helper in HA that I expose to GA.
      Add an automation to when boolean is on to TTS what you want as your response and set the boolean to off.
      Lastly, in Google Home app create a routine to set the boolean to on (so instead of saying "set input_boolean.is_lights_on" you say "is lights on"
      The good thing about this is that you can add multiple ways to trigger, that way you can add sentences that GA might misinterpret you or just different ways to say it.
      I have this to speak out how much time there is left on the egg timers in HA. I can also start the egg timers through Google home using the same input_boolean method.

    • @kenblom8288
      @kenblom8288 3 роки тому

      @@GraysonAdams like to know how to build this, pushing from external device a webhook to homeassistant and this activates my thermostate with google assistant.. but want to get the temperature from google assistant to external device

  • @MrJester23384689
    @MrJester23384689 2 роки тому

    Hi Grayson, thank you for all of the good content that you put out. You really helped a lot of people. Hope you're doing well, and that you're just busy with your real job.

  • @RLR997TT
    @RLR997TT 3 роки тому +1

    Hey mate, been using these as my "How to " for Home Assistant, these are great, cheers! Please post some more.

  • @oversight33
    @oversight33 3 роки тому +2

    Hi if I have a Nabu Casa subscription would this give me the same benefits as your method or is this additional to it?

  • @sedativejam
    @sedativejam 2 роки тому +1

    Works with broadcast and turning on devices. Any advice in using a command such as "Play music" with apple music? - all im getting is "I dont understand"

  • @rickperryman
    @rickperryman 3 роки тому +8

    Hi Grayson, thanks for this tutorial. i have followed your instructions and everything is working fine upto the very last step of creating the automation.When I select Call Service I don't get the service data field to enter my message. If I switch to configure in yaml and enter "message: turn off hall lights" I get an error message when I save the file. The error message is: Message malformed: extra keys not allowed@data['action'[0]'message']. Do you know where I have gone wrong? Thanks for your time.

    • @stevenboy52
      @stevenboy52 3 роки тому +5

      In the Edit in YAML field, you should add the message after a data type, like this:
      service: rest_command.assistant_relay
      data:
      message: Turn on all the lights

    • @rickperryman
      @rickperryman 3 роки тому +2

      @@stevenboy52 hi Steven, yep, tried that in just about every different combination possible.

    • @MarkDelfs
      @MarkDelfs 3 роки тому +2

      @@rickperryman Same here..

    • @seanletsplay
      @seanletsplay 3 роки тому +1

      @@stevenboy52 Hi, did you find a solutions to this as I'm having the same issue

    • @seanletsplay
      @seanletsplay 3 роки тому +2

      Hi, did you find a solution? I can't get this to work

  • @homeassistantiptv8068
    @homeassistantiptv8068 3 роки тому +1

    Great video! Question; whenever i restart HA - all my google devices send a broadcast message saying "relay system initialized". Is there a way to stop this from happening? When i perform a reboot at night - its loud!..
    Update: found the option under Config; Mute startup sound!

  • @paulatkinson8742
    @paulatkinson8742 3 роки тому +6

    I don't think this works anymore. The repository is no longer maintained and I can't seem to get a automation to run. May be something in the changes with Home Assistant as well because it now sees a RESTful command not just a rest.

    • @ltech1947
      @ltech1947 3 роки тому

      having same issue on this - did you find a fix bud?

    • @paulatkinson9010
      @paulatkinson9010 3 роки тому +1

      @@ltech1947 Not as yet mate :(

    • @ltech1947
      @ltech1947 3 роки тому

      @@paulatkinson9010 Thanks mate, looks like it's as you've stated not maintained anymore - It's a shame as I'm looking for a solution like this - if you or anyone in the community finds ones please let me know. Thanks again

    • @paulatkinson9010
      @paulatkinson9010 3 роки тому

      @@ltech1947 I actually have mine working without these integrations! 🙂
      I didn't realise until I mate a few comments on Facebook but because I have my scripts exposed I can add them straight to Google Home 😉

    • @lubenbroadcasting986
      @lubenbroadcasting986 2 роки тому

      @@ltech1947 Hey man it still works, just tested it :)
      Once you set up the automation at call service hit the the dots on the right and edit the yaml
      There you copy paste this:
      service: rest_command.assistant_relay
      data:
      message: turn off all lights
      message ofcourse is what you want the system to do

  • @simonsayshomeassistant
    @simonsayshomeassistant Рік тому

    Great video mate! Awesome picture, what camera are you using?

  • @DONQUIIIXOTE
    @DONQUIIIXOTE 3 роки тому +2

    Thanks for the guide! currently having a small issue at the end. I don't see the service data area so I can't input the command. Any fix? I'll try rebooting in the meantime to see if that solves things.

    • @justincampbell2719
      @justincampbell2719 3 роки тому

      did you figure this out im also having this issue

    • @DONQUIIIXOTE
      @DONQUIIIXOTE 3 роки тому

      @@justincampbell2719 not at all, or given up 🥲

    • @justincampbell2719
      @justincampbell2719 3 роки тому +1

      @@DONQUIIIXOTE I'll look into it some more tomorrow if I can figure it out I'll send you what my fix was

    • @DONQUIIIXOTE
      @DONQUIIIXOTE 3 роки тому

      @@justincampbell2719 thank you man!

    • @federicotiranti2563
      @federicotiranti2563 3 роки тому

      Same for me... any solution?

  • @josephheitman652
    @josephheitman652 2 роки тому +3

    Odd... it does not pop up with a google sign in where it should at 8:00

    • @astorpinto732
      @astorpinto732 2 роки тому +3

      Select the Application type as "Desktop App" when creating OAuth client ID.

    • @chrislomas.
      @chrislomas. 2 роки тому +1

      @@astorpinto732 This is the gold, anyone having this issue follow Astor's advice. After setting Application to "Desktop App" I can sign in and then a page fails to load, but the Auth Code is in the URL so you can copy it out and authorise. Thank you Astor!

    • @LeyzixTech
      @LeyzixTech 2 роки тому

      @@chrislomas. GREAT! Thank you so much!

  • @Lonestar101
    @Lonestar101 2 роки тому +1

    Will using port 3000 conflict with zwave2mqtt, which also uses port 3000?

  • @scottbwright
    @scottbwright 3 роки тому +1

    I have a couple devices that will not play well with Home Assistant (iDevices specifically does not have an integration) and with recent Alexa and Google Assistant Addons I can shoot these commands to them from within HA via Alexa voice commands.

  • @davidtjac
    @davidtjac 3 роки тому

    Wow so detailed absolutely brilliant. For example the reminder of single quotes around the config - I would have forgotten them had you not mentioned it, Yaml - so easy to format inaccurately.

  • @HeyItsJono
    @HeyItsJono 3 роки тому

    great vid man thanks for the help. I like the flow of the vid, feels like it runs in the same way I'd debug common problems when starting a project.

  • @heimdallmidgard4670
    @heimdallmidgard4670 3 роки тому +4

    Nice video. Maybe make a video about the automations you are using with it

  • @SamHaddad
    @SamHaddad 3 роки тому +1

    Great video. Thanks for posting. One question, though - I have no Service data field below the rest command on the automations. Everything else works, though. What am I missing?

    • @Kieran28
      @Kieran28 3 роки тому

      I have the exact same problem been trying to fix it all day finally ive found someone who's also got that problem

    • @SamHaddad
      @SamHaddad 3 роки тому

      @@Kieran28 turns out that has to be added in the automations.yaml file.

    • @stephenraymond735
      @stephenraymond735 3 роки тому

      @@SamHaddad Are you able to show the formatting for the code in the automations.yaml file. I am just getting used to HA and proper indentation in .yaml always gets me. Thanks. Also, I see some comments that this is no longer supported, but others more recently that seem to say they have it working. Before I waste to much more time, are you able to confirm that this still works? Thanks in advance!

  • @nikkonkde
    @nikkonkde 2 роки тому

    Thanks for the tutorial. I have a quetion: when I load the json in the plugin web and add the user name there is no pop up page asking me to log my google account in order to generate the auth code (min 8:35). any clue why?

    • @AlmondPizza
      @AlmondPizza 2 роки тому +1

      I have the same problem, if you find a way to solve it please answer :D

    • @Milkdromida
      @Milkdromida 2 роки тому

      @@AlmondPizza Same. The add-on is no longer updated so I'm thinking this may have something to do with it. EDIT: There is a way to get it working. Check the newest comments on this video and look for one by Jake Moore. He has the fix written out.

  • @labaland
    @labaland 3 роки тому +3

    Thanks! I use this now to "find my phone".
    And, how to use this to make google speker play the answer to : "how does an animal sound" ?

  • @fam.seschlichting2637
    @fam.seschlichting2637 3 роки тому

    Hey Grayson! awason guide :D but I am missing something in the very last part of setting up the automation. I dont get the possibility to type any service data .... the message:..... What am I doing wrong?

  • @CyberRocking
    @CyberRocking 3 роки тому +1

    Hi there.. I finally got around to giving this a crack, It was a GREAT tutorial. with the exception of a few bugs which I over came... HOWEVER. I can not get the data sent to the speakers..I have even checked my activity log for google home, and everything is being transmitted to my google accountm but nothing is coming out of my speakers.. any suggestions?

  • @alexattard6085
    @alexattard6085 3 роки тому +1

    Hey Grayson, this is great ... but I get a different error at 10:05 in your video. My error reads,
    "Auth error:TypeError: Cannot read property 'access_token' of undefined
    Error 14: UNAVAILABLE: Getting metadata from plugin failed with error: Cannot read property 'access_token" of undefined"
    Any idea why I'd be getting a different error to yours? What do I do with it here? Thanks

  • @jimardee
    @jimardee 3 роки тому +2

    Thanks so much for this awesome and detailed tutorial!
    I have a question... How come nothing happens if my message is anything to do with music? For example, I want a light turning on to trigger a google home speaker to play a radio station. But when I type 'play BBC radio 2 on kitchen speaker' as my message in automations as the action, it doesn't work. Any idea why?

    • @dustinjorden6594
      @dustinjorden6594 3 роки тому

      have you figured this out? I am having the same issue

  • @baileykoenigs6750
    @baileykoenigs6750 2 роки тому

    hey Grayson love your videos I am new to all this stuff. I was wondering how do I create custom commands for relays or latches I want to make a Comand to water my grass using a rasberry pi and a hose solenoid !

  • @dalang8485
    @dalang8485 3 роки тому +1

    THANK YOU. The HA forum is full of folks who speak in jargon and the site pages are no more helpful. Everyone assumes you're fully cognizant of all the idiosyncrasies of the app. This is the first mention I've seen of someone noting we should be using a [non-default] file editor to enter the code snippets provided in various discussions. I've been scratching my head for hours trying to figure out to how to configure an automation given the pre-configured interface. INFURIATING.

  • @graydenpark831
    @graydenpark831 2 роки тому +2

    Hey Grayson thanks for uploading such an in-depth video it was really helpful. Unfortunately when I get to the add user screen and hit add user it simple opens a new tab that is an about:blank tab instead of taking me to the login screen for the authorisation. Any ideas on how to get around this?

    • @danielvega724
      @danielvega724 2 роки тому +1

      Did you figure it out?

    • @graydenpark831
      @graydenpark831 2 роки тому +1

      @@danielvega724 Unfortunately no

    • @danielvega724
      @danielvega724 2 роки тому

      @@graydenpark831 try this ua-cam.com/video/RqGi_GI0ltU/v-deo.html&ab_channel=EverythingSmartHome, sorry Grayson but I wasn't able to use your way 😅

    • @bryancamy
      @bryancamy 2 роки тому

      Same here, looks like is it broken and dead.

    • @dominicbroderson9915
      @dominicbroderson9915 2 роки тому

      @@bryancamy Good news! Still works! As another user said (Astor Pinto) Select the Application type as "Desktop App" when creating OAuth client ID.

  • @bert772288
    @bert772288 3 роки тому +1

    I did the complete installation, but when I come to the test phase, at the "actions" point, there is no possibility to add the service data (field is even not visible). So I have "action type" "call service". "Service" "RESTful Command: assistant_relay", which is the rest_command.assistant_relay. But the "service data" is not visible. See at time 14:13 in the video.
    Where am I going wrong? Or can someone give the full automations.yaml configuration for this example?

    • @bert772288
      @bert772288 3 роки тому +3

      I finally solved it (or found a way to make it work).
      In the "actions" part, you have to click on the three dots at the right, and select "edit in yaml".
      Then you have to fill in the following code:
      service: rest_command.assistant_relay
      data:
      message: crumble start cleaning
      Now Crumble, my neato vacuum bot starts working (finally my house will be cleaned again :-) )

    • @jamiemcghee3852
      @jamiemcghee3852 3 роки тому +2

      @@bert772288 I have same problem...any fix yet? and can you elaborate how you fixed it?

    • @DrunkA5S
      @DrunkA5S 3 роки тому +1

      @@bert772288 THANK YOU have been struggling with this for a couple hours now.

  • @luksiacc
    @luksiacc 3 роки тому +2

    When I call the rest_command.assistant_relay service on the action type menu (creating a new automation), the service data box isn't shown. What can I do? Can U help me please?

    • @TeunBlijlevens
      @TeunBlijlevens 3 роки тому +2

      Figured it out by other comments. Edit the automation action in yaml. than add the data property in the next line after the service call, like this:
      service: rest_command.assistant_relay
      data:
      message: turn on table light

  • @Marcus-sm1qq
    @Marcus-sm1qq 3 роки тому +2

    Thanks for the tutorial! Installed it, but noticed that it is not possible to cast Media through specific devices due to Google Limitations (for example, "play Radio XYZ in device XYZ"). That was the main reason for me to implement it into my HA 😕

    • @sfenne
      @sfenne 3 роки тому

      same

    • @jimardee
      @jimardee 3 роки тому

      @@sfenne same... it won't play any media

    • @alexattard6085
      @alexattard6085 3 роки тому

      Hey Marcus, how did you go with this? Have you tried setting top an automation which plays a set playlist in google? then calling the automation to execute?

    • @SirGrant11788
      @SirGrant11788 2 роки тому

      @@alexattard6085 in the sandbox this works "read me the news on Lounge Speaker" however I haven't tried in an automation yet with the payload but should be the same. I can't get it to play music tho

  • @davidmcclellan4621
    @davidmcclellan4621 3 роки тому +3

    So it seems in the time it took me to get around to doing this, the project is no longer maintained. Has anything popped up that takes it's place?

    • @daviddavidorganico
      @daviddavidorganico 3 роки тому

      I want to jnow too...
      I've tried to install the assistant relay add on and I've didn't get...

  • @VixxieWixxie
    @VixxieWixxie 2 роки тому

    Extremly well done video! Nice explanation.. What can we doe with it one year later?

  • @MarkWascherJr
    @MarkWascherJr 2 роки тому

    How can you specify which device a TTS message will go to? Example I would like the Good Morning routine to be executed when I turn my office light on but I only want the google home in my office to run the Good Morning command.

  • @rodneybrown5461
    @rodneybrown5461 3 роки тому

    I've been glued to your videos, many thanks. My install of Assistant relay went fine but when starting it errored. "Port '3000' is already in use by something else on the host." Running homeassistant in virtual machine by Oracle. I dont know how to resolve this issue. Any tip ? Cheers from Rodoz

  • @TwanJaarsveld1
    @TwanJaarsveld1 3 роки тому +1

    8:12 after this I get a error saying "500 internal server error" what could be the problem

  • @shalmharold5491
    @shalmharold5491 3 роки тому +2

    Awesome video man. I'm just in the process of setting up HomeAssistant for the second time and this really helped.
    An idea for the future: Maybe include a lovelace tutorial on how to create a button or something to link to the actions created.
    Also, I have no idea if possible, but I'd love to be able to trigger Home Assistant automation by giving Google Assistant a verbal command.

    • @shalmharold5491
      @shalmharold5491 3 роки тому +1

      Also would love to know how to send 2+ commands without creating two automations?
      Eg. Turn on the lights, change colour to red and change brightness to 20%

    • @GraysonAdams
      @GraysonAdams  3 роки тому +1

      With Google you can normally do at least two commands by just using the word “and” between both commands

    • @Bartlebyxx
      @Bartlebyxx 3 роки тому +2

      Just as a tip you can have booleans (switches on/off) shown in google, but you will have to say turn on. Then in homeassistant you can have automations work depending on the change of the boolean. As an example i can say turn cleaning kitchen on, whitch turns the clean kitchen boolean on. Homeassistant then executes a script and turns the boolean back off, so i can start it agein next time i need it

  • @creatingoutloud8211
    @creatingoutloud8211 2 роки тому +3

    When I try and add a new User and select the auth key json in Assistant Relay, it does not redirect me to select my google account. A blank page is displayed instead. So I can't get the auth code to set up the account in Assistant Relay. Does anyone know how to fix this?

    • @shanf67
      @shanf67 2 роки тому +1

      i get the same... were you able to resolve?

    • @astorpinto732
      @astorpinto732 2 роки тому +3

      Select the Application type as "Desktop App" when creating OAuth client ID.

  • @200501012
    @200501012 3 роки тому

    This is amazing thanks. Just one question. I have it running but was hoping to start timers. Is this possible? At present it just keeps saying I can't do it on this device. I want a timer to start with an automation and then ask how long is left etc. Is that possible?

  • @MarcoSergi92
    @MarcoSergi92 3 роки тому

    13:45 i don't have the "service data" form visible, can you tell me why pls? sorry my bad english, i'm italian

  • @74357175
    @74357175 2 роки тому

    With the deprecation of Apipa169's repo, what is your recommendation for accessing the assistant broadcast functionality?

  • @jackvandooren2148
    @jackvandooren2148 2 роки тому

    Hi Grayson, would it be possible to send a TTS notification from outside your network to your Google mini/nest?

  • @rturpin1066
    @rturpin1066 3 роки тому

    great video. I followed all the steps, I get to the sandbox and I get no errors, it says it is successful, but I don't hear anything on my google minis. Any idea where to start trouble-shooting this? Thanks
    Upon further examination, I can command Google and that works, just not the broadcast feature.

  • @fensom80
    @fensom80 2 роки тому

    Can you use interactions? For example, have google ask you a question, you answer, and then depending on the answer, do something in Home Assistant

  •  3 роки тому

    great tuto man liked and subscribed. Just one qq, was wondering if you could do some automation examples related to conversation with Google Home... for example I enter my bathroom and google assistant asks me if I want to play some playlist and if I say yes, home assistant will cast a playlist to my google device...

  • @hammereddulcimer
    @hammereddulcimer 3 роки тому +3

    Thanks for this. Documentation seems to be out of date, and this helped a lot. :-)

  • @stefanbeauport
    @stefanbeauport 3 роки тому +1

    Great Tutorial ! Clear video ! I'll try this immediately ! Thanks a lot!
    My first automation will be : when someone is pressing my ring doorbell => broadcast the message "someone is there !"
    Do you know if the interaction can be the other way around?
    So for instance, if I have a temperature sensor in my kitchen, integrated in my Home assistant. Could I ask my google home speaker : "what's the temperature in the kitchen ? "

    • @MrAshman3000
      @MrAshman3000 3 роки тому

      How do you get google home speaker to broadcast when pressing doorbell ? In the "Action" do you type broadcast instead of message ?

  • @squirrito
    @squirrito 3 роки тому +1

    Thank you for your video, it was incredibly helpful. I get stuck when creating an automation though. When I select the call service action, I do not have a field to enter a message. Any idea what could be wrong?

    • @123khurmi
      @123khurmi 3 роки тому +1

      same here. not getting Service Data field. Have you been able to sort this out?

    • @123khurmi
      @123khurmi 3 роки тому +5

      go to yaml mode and write below:
      service: rest_command.assistant_relay
      data:
      message: Start Vacuum

    • @squirrito
      @squirrito 3 роки тому

      @@123khurmi thanks, I ended up working this one out too, but I'm sure your comment will help others in future!

    • @alexandergranberg2959
      @alexandergranberg2959 3 роки тому

      @@123khurmi You are a life saver

  • @brunokc100
    @brunokc100 3 роки тому

    We need more of this.

  • @Trommler67
    @Trommler67 3 роки тому +1

    Thanks, Grayson! Perfectly explained - even for an old guy like me! ;-) But to manage expectations: This assistant-relay only supports a very few functions. If you want to start music or a radio station or maybe anything else that should be addressed to a specific home device: That is not supported. That is what I learned after installing this. And that's why I had to uninstall it again, because my main idea was to be able to start music or radio-stations on a google home device.

    • @AhrenBaderJarvis
      @AhrenBaderJarvis 3 роки тому +1

      Ah that's a bummer. I was thinking of a similar idea as well. I wonder if that's changed in the 8 months since you tried. 🤔

    • @iRocks-Mak3rde
      @iRocks-Mak3rde 3 роки тому

      @@AhrenBaderJarvis it probably hasn't changet because the assistant relay project is dead :/

    • @SirGrant11788
      @SirGrant11788 2 роки тому

      in the sandbox this works "read me the news on Lounge Speaker" however I haven't tried in an automation yet with the payload but should be the same. I can't get it to play music tho

  • @baneb5
    @baneb5 3 роки тому +1

    Can you play UA-cam Music on Google Homes with this method?

  • @DrunkA5S
    @DrunkA5S 3 роки тому

    Thanks for this video, I have been looking for a why to do this for months now, I cant believe I didn't come across this video with all the googling I've done over the last few months, then this video randomly come up on my suggest youtube videos.

  • @shoelarwon
    @shoelarwon 3 роки тому

    Fantastic video, followed step by step and integrated with out issue! Thanks!

  • @adriaanisaac
    @adriaanisaac 3 роки тому

    Any ideas how can I broadcast a message when other smart processes finishes? Example: when my smart dishwasher finishes broadcast a completed message in all my assistants? Thank you!

  • @jrutgers77
    @jrutgers77 2 роки тому

    the step at 8:00 gives me a blank page. not the choose a account screen.

  • @mmoci81
    @mmoci81 3 роки тому

    Thanks for the video, nice work. Would be nice to have same step by step instructions for HA with remote access as well.

  • @chrisperrywv
    @chrisperrywv 3 роки тому

    Can you also use this integration to send commands to home assistant from Google? I have some Z-WAVE switches that can’t be accessed by Google.

  • @Sparky_D
    @Sparky_D 3 роки тому

    I've been using Assistant Relay for over a year or more now to broadcast messages throughout the house without any drama, love it. What I would like to do though is have a Google Home device ask a question and expect an answer, then act accordingly. ie: have an automation trigger when I walk into the kitchen for the Google Home to ask me if I want to turn on the kettle. Any idea if this can be accomplished?

  • @onochieonyegbule9997
    @onochieonyegbule9997 3 роки тому

    Great video but was having a hard time with a "network error" any tips?

  • @DjordjeUngar
    @DjordjeUngar 2 роки тому +3

    OAuth out-of-band (oob) flow is deprecated since 2022-02-28

  • @StefanUytterhoeven
    @StefanUytterhoeven 3 роки тому

    First time I could set this up. Now, I can turn on or off lights... broadcast a message,..... but, play radio station via tunein on a nest mini doesn't work. Tried almost any combination. I tried this in SANDBOX too,... but, the assistant mostly doesn't know what I mean. (doesn't understand).
    I also can't run "routines"?

  • @michaelschi5453
    @michaelschi5453 3 роки тому

    Great Video, thank you. I am struggling with the other way around. I have google assistant connected to my Home Assistant and it is working with routines, e.g. custom command " turn off tv" which I defined in my Google assistant triggers a service in home assistant. The problem I have is that that routine is linked to my Google assistant and anyone in my household cannot trigger it as they have not set up the routine.
    Is there a way to create custom commands that work in google home triggering services in home assistant? Would be great if you could help or even make a video about it .

  • @ccotty9211
    @ccotty9211 3 роки тому +3

    goodvideo mate :) can anyone help im running assistant relay on home assistant on vm but when i try make automation when i pick call service pick relay it doesnt say service data so carnt put nothink in box ? thankyou in advance who can help

    • @kacperduda7418
      @kacperduda7418 3 роки тому

      It seems to be a recent issue. Run into the same problem

    • @jamiemcghee3852
      @jamiemcghee3852 3 роки тому

      I have same problem...any fix yet?

    • @RyanAdamsTech
      @RyanAdamsTech 3 роки тому

      I am also having this same issue. Would love some advice on a way to fix it.

    • @kacperduda7418
      @kacperduda7418 3 роки тому +3

      @@RyanAdamsTech Here are steps that solved the problem for me:
      1. Edit the configuration.yaml file to follow syntax presented at GRellays webside (perhaps at the time of making this video recommended syntax was different ) :
      In my case it looked as follow :
      rest_command:
      assistant_relay:
      url: *YOUR LOCAL ASSIO IP*.3000/assistant
      method: POST
      content_type: 'application/json'
      payload: '{"command":"{{ command }}", "user":"*YOUR NAME*"}'
      2. Go to Configuration>Automation>*Edit Automation*
      3.Under actions expand the options menu and click Edit in YAML
      4. Add the following code on the bottom :
      data:
      command: **your GRellay command**

    • @moflowyogi
      @moflowyogi 3 роки тому

      @@kacperduda7418 Thanks for helping support!
      I saved the configuration.yaml as instructed and edited the action in YAML but when saving the file it just says:
      Message malformed: Integration " not found
      I have tried this on both the stable and beta versions of AR -- any thoughts? Thanks! :)

  • @michaelbrown6218
    @michaelbrown6218 3 роки тому

    Hey Grayson, I’m struggling to get this to work. I can get it to work o the google relay site, but when I go to call the service and send the commands I am unable to get any response.

  • @thuisalertjonkervuijk6470
    @thuisalertjonkervuijk6470 3 роки тому

    is it possible to control routines with this made in google assistant?

  • @PAIHITECH
    @PAIHITECH 3 роки тому

    Really good video. I used it to setup mine. About 3 days ago broadcasting stopped working. Any clue why? It still sends commands like turn off the light and etc

  • @Mrobottox
    @Mrobottox 2 роки тому

    Wow amazing video... Does google allows you to create multiple developer applications? I already created one to be able to allow google assistant to recognise my exposed sensors and devices; is there any chance that this application could interfere somehow with that?
    Btw I just watch some other videos you made. The quality is very high. I really hope you are not giving up on youtube because you really deserve a lot of subscribers!

  • @0546Timm
    @0546Timm 2 роки тому +2

    Anybody can help me? Once I want to authorize my user through the Assistant Relay addon it throws an invalid_request error (redirect_uri: urn:ietf:wg:oauth:2.0:oob)
    "You can't sign in to the app because it doesn't comply with Google's OAuth 2.0 policy to protect apps.
    You can let the app developer know that this app doesn't meet one or more of Google's validation rules."

    • @ptuxbury
      @ptuxbury 2 роки тому

      Hi Tim. I got the exact same error when I tried this just now. I have a feeling we may be out of luck on this.

    • @nicgould3894
      @nicgould3894 2 роки тому

      I've got the same issue

    • @lazyalex4048
      @lazyalex4048 2 роки тому

      same issue

    • @salvadormartins4413
      @salvadormartins4413 2 роки тому

      same here

  • @black296tuuk
    @black296tuuk 2 роки тому

    I had this working for about a week and then it stopped. Now in the logs I am getting an error - Auth error:TypeError: Cannot read property 'access_token' of undefined
    0|www | Error: 14 UNAVAILABLE: Getting metadata from plugin failed with error: Cannot read property 'access_token' of undefined

  • @MajorWedgie
    @MajorWedgie 2 роки тому +12

    As of a couple of days ago, Google changed the settings for the Oauth, meaning that it no longer works. And the Relay is no longer maintained. RIP GA Relay!

    • @rutgerdezeeuw
      @rutgerdezeeuw 2 роки тому +1

      Thanks, I was struggling with it's install, and was unable to get the authentication screen. But this explains it.

    • @AgostinoConte
      @AgostinoConte 2 роки тому

      I just got this working

    • @CharlieBcuz
      @CharlieBcuz 2 роки тому

      I couldn’t get pass through the authentication screen, I guess this is why

    • @K.L.A.S
      @K.L.A.S 2 роки тому

      GOD DAMNIT GOOGLE! 😭😭😭😭

  • @wouterosinga2301
    @wouterosinga2301 3 роки тому

    Hi! Thank you for all your video's regarding Home Assistant. You convinced me to buy a Pi and I'm having a lot of fun playing around with it. As I'm new regarding coding and HA, I'm not very good with troubleshooting and maybe you could help me out. Everything worked up until the very end, regarding the config configuration yaml. I got an error that the way I entered the method line (12:00). It says:" can not read a block mapping entry; a multiline key may not be an implicit key at line 17, column 11: method: 'post' ". Any idea what I might have done wrong? Kind regards!

  • @seanletsplay
    @seanletsplay 3 роки тому

    Hi, great tutorial - I've changed the configuration.yaml file however when setting up an automation I don't get 'service data' therefore cannot type the command. Any tips.

    • @seanletsplay
      @seanletsplay 3 роки тому +2

      So reading through comments I got it.
      First need to edit Yaml and paste this then go back to UI and type message and then the command.
      data:
      command: sync devices
      service: rest_command.assistant_relay

    • @poulrossen6413
      @poulrossen6413 3 роки тому

      @@seanletsplay just looking for that tnx i will try it now :)

  • @Mister_Joxx
    @Mister_Joxx 3 роки тому

    I love the video! I followed it completely but I still can't get it to work somehow. All the google stuff is well set up. And the yaml file too. But whatever I try I cant get the automation relay entitie reconized...

  • @legromorph2854
    @legromorph2854 3 роки тому

    Could I script with this a conversation with google home?
    Like I wanna have more options to speak with google, like the bedtime alarm clock asking thing.
    If my PC is on and someone tells all plugs out, then I wanna that google asks you wanna do that for real? Pc is on. My kids did that a couple of times by accidebt, when I was working on that PC.

  • @JeanCarlosOlv
    @JeanCarlosOlv 3 роки тому

    Hi, my HA dont show the call service. Any sugestion? Tks

  • @W0Ndr3y
    @W0Ndr3y 3 роки тому

    Awesome, I am on the begging of building voiceless smarthome. Since my language is not supported by Google in Google assistant and it would be too clumsy to use voice to control the home for family members. Opening the app for everything also beats the smarthome idea. So I want to have a simple hardware buttons that will trigger automations like a button in the kitchen that would summon the robot vaccum to clean there.

  • @johnm4962
    @johnm4962 3 роки тому

    how can i show a listing of the lights attached to my google on the home assistant so i can control individually ????

  • @balticlin
    @balticlin 3 роки тому

    this works well! until... I receive this error: Getting metadata from plugin failed with error. Any idea? thanks

  • @nielskuijper2119
    @nielskuijper2119 3 роки тому

    Hey man, love your video`s, but I`m struggeling with this thing man. please, could you help me?
    So in the sandbox it worked, but if I make an automation, nothing happends. don`t get it. I`m the biggest noob, so I hope you could help me out.

  • @mykolakoshurenko5188
    @mykolakoshurenko5188 3 роки тому

    Is any way to run HA script using Assistant Relay?

  • @SridharJayakumar
    @SridharJayakumar 3 роки тому

    Comprehensive video. Instant sub.

  • @MarcoRosbergen
    @MarcoRosbergen 3 роки тому

    Thanx for the video and explanation... I followed the steps but get a error: 14 UNAVAILABLE: Getting metadata from plugin failed with error: Cannot read property 'access_token' of undefined. Can you tell what went wrong?

    • @nickwaldvogel6586
      @nickwaldvogel6586 3 роки тому

      I'm having the same issue. Still working on why.

    • @alexattard6085
      @alexattard6085 3 роки тому

      @@nickwaldvogel6586 did you get a solution to this Nick?

  • @Techniclay
    @Techniclay 3 роки тому

    Great video. nice and quick no b.s.! Lots of great info!

  • @GregoryApokalypse01
    @GregoryApokalypse01 2 роки тому +1

    I did all.. registered test app ets... but if i press "next" in port 300 app just empty page opens... and nothing heppens..:( I cant go to code

  • @ssniper3484
    @ssniper3484 3 роки тому

    Great video... I have one problem every time I try to execute the automation a message appears saying "Response error 500" is there any solution ?

  • @ChenHi-EMD
    @ChenHi-EMD 3 роки тому

    is there a way to do this for amazon alexa as well?

  • @Lenhard.KYUSHALIFE
    @Lenhard.KYUSHALIFE 2 роки тому

    When I click on next, I am getting send to the Website about:blank and not to Googles Website for creating the Auth Code.

  • @DonParlor
    @DonParlor 2 роки тому

    I agree with @Andreas Skov, it no longer works. It leaves a gap, there is no way to send task easily to Google Assistant from Home Assistant. That would be great if Assistant Relay could update the Oauth login page in settings.

  • @ralphcammeraat1419
    @ralphcammeraat1419 3 роки тому

    its a great video but is it also possible to let google talk to home assistant so i can say hey google turn on lights and that it goes with trough home assistant and than turn my lights on?

  • @Mr_ToR
    @Mr_ToR 3 роки тому

    I'm having a weird issue and I would really appreciate any help with this. My installation is working fine. I can issue a command from the sandbox or from HomeAssistant automation and both works. The problem is this: when I type "shuffle jazz classics on kitchen tv" on google assistant, it understands and does it. However, when I type the same thing in the sandbox, Google says it does not understand. Can anyone guess why is this happening?