1.4 KiB
1.4 KiB
Marcelveldt's Hassio Add-ons: Google Assistant Webserver
About
Webservice for the Google Assistant SDK Allow you to send (broadcast) commands to Google Assistant
Installation
The installation of this add-on is pretty straightforward and not different in comparison to installing any other Hass.io add-on.
- Add my Hass.io add-ons repository to your Hass.io instance.
- Install the "Google Assistant Webserver" add-on.
- Start the "Google Assistant Webserver" add-on.
- Check the logs of the add-on to see if everything went well.
- At the first start, you will need to authenticate with Google, use the "Open Web UI" button for that.
- Ready to go!
Usage in HomeAssistant
Once you've set-up the webserver, you can add the component to HomeAssistant as notify component (for the broadcasts) and as script for the custom actions.
Broadcast component
notify:
- name: Google Assistant
platform: rest
resource: http://YOUR_HASS_IP_HERE:5000/broadcast
Script component
# define as rest_command in configuration
rest_command:
- google_assistant_command:
url: 'http://YOUR_HASS_IP_HERE:5000/command?message={{ command }}'
# example usage in script
script:
- google_cmd_test:
service: rest_command.google_assistant_command
data:
command: "some command you want to throw at the assistant"