To add Google Home support for your Nightscout site, here's what you need to do:
- Activate the
googlehome
plugin on your Nightscout site, so your site will respond correctly to Google's requests. - Create a custom DialogFlow agent that points at your site and defines certain questions you want to be able to ask. (You'll copy and paste a basic template for this, to keep things simple.)
- Create desired integrations with DialogFlow
- Your Nightscout site needs to be new enough that it supports the
googlehome
plugin. . - Add
googlehome
to the list of plugins in yourENABLE
setting. (Environment variables are set in the configuration section for your monitor. Typically Azure, Heroku, etc.)
- Sign in to DialogFlow with your Google account (https://console.dialogflow.com/api-client/#/login). If you don't already have one, signup with Google.
- Select "Create new agent" in the main menu bar.
- Input a custom name for your agent and click "CREATE".
- Download the simple agent template : ( https://drive.google.com/drive/folders/18z2kQSEInvH4O_jfjB4Qh8z9508P9Oao?usp=sharing )
- Select IMPORT FROM ZIP , in order to import the template.
- SAVE
- Go to "Fullfillment" menu and enter details about your webhook.
- SAVE
- Go to "Integration" menu and select your desired integration.
- Follow instructions for each desired integration.