I have exposed the script domain in my configuration file under cloud, but I have no idea how to call these scripts using google home/assistant. Does anybody know how I can integrate these into a routine in the google home app?
They all end up as scenes in Google Home. Open routines -> choose routine name -> adjust scenes -> choose script.
Before doing that you can test them by saying “Hey Google, activate/start <script_name>“
I’ve done both with no success. Going through all the options in routines I don’t see scenes anywhere, and telling Google to activate or start the name of the script just results in a Google search
Do you see your scripts in Home Assistant -> configuration -> Home Assistant Cloud -> Google Assistant?
Is your Google Assistant Integration enabled?
Does your Cloud connection status say “connected”
Did you click “Sync devices”?
I’ve synced the devices, All of my other devices work via the home, but the scripts aren’t showing. This is all I see here
Looks like they are excluded from cloud configuration, did you follow the steps here to expose them to the cloud?
I’m having the same problem. Scripts and scenes don’t show up in Google Home. The icons for scripts do appear in the Home Assistant Cloud page. I made sure I synced the devices, and they still do not appear. I added other devices after adding scripts, then sync again just to make sure that sync is actually working, and I can confirm that it is. New devices are added, but scripts remain missing. Scenes too.
I don’t see any errors in HA logs. Also tried deleting .storage/cloud file and restarting HA, doesn’t work. Has anyone gotten this to work in 0.92.1?
Scripts and scenes do not appear on the main “home page” of the Google Home app, they are somewhat buried. Here are the directions to access them on the iOS version of the Google Home app (I assume Android one is identical).
- On the main page of the Google Home app press the purple “Routines” button near the top
- Now on the bottom of this overlay showing your routines, press “Manage Routines”
- Tap the blue + button in the bottom right corner to add a new routine.
- On the “New routine” screen, where it says “The Google Assistant should…” tap the “Add Action” button underneath.
- On this screen rather than typing something into the “Enter a Google Assistant command” field, instead select the “Choose popular actions” button underneath that text field.
- Now that you are on the “Popular actions” page, select the “Adjust scenes” checkbox near the top. This should show all of the scripts and scenes that you synced via HA.
Hope this helps.
@SeanM thanks for pointing this out. So is there no way of pushing the scripts into GH routines? or do you have to simply use GH to go through and set all the scripts ass routines?
I am configuring my fans to send RF codes and as such have scripts that action each speed. with 10 fans in the house it was a big enough job creating all the scripts. Would love a quicker way to expose them to google assistant,
- In the Google Home app Home screen, select the Routines button.
- Select an existing Google Home Routine or create a new Routine by tapping the plus button in the bottom right of your Routines screen.
- Under the “Actions” section of your Google Home Routine select + Add action.
- Choose Adjust Home Devices. From this screen, navigate to the Adjust scenes section and select Edit action.
- Tap the checkbox for “Adjust scenes” to include every scene, or press “Edit action” under Adjust scene in order to see the list of all scenes that you can select