Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 1.59 KB

README.md

File metadata and controls

34 lines (24 loc) · 1.59 KB

AudioStation Action

Prerequisites

  1. Node.js and NPM
  2. Install the Firebase CLI
    • We recommend using MAJOR version 8, npm install -g firebase-tools@^8.0.0
    • Run firebase login with your Google account

Setup

Actions Console

  1. From the Actions on Google Console, New project > Create project > under What kind of Action do you want to build? > Custom > Blank project

Actions CLI

  1. Install the Actions CLI
  2. Navigate to settings/settings.yaml, and replace <PROJECT_ID> with your project ID
  3. Run gactions login to login to your account.
  4. Run gactions push to push your project.
  5. Run gactions deploy preview to deploy the project.

Environment Variables

  1. Go the to google cloud console.
  2. Select the project that this action is setup within.
  3. Select the cloud function that is deployed from the google actions console.
  4. Edit the cloud function.
  5. Within the Variables, Networking and Advanced Settings area select Environment Variables.
  6. Enter a new variable named API_HOST and enter the domain name of the server that runs AudioStation i.e. xyz.synology.me

Article on how this came about