Skip to content

LorkScorguar/Qivivo

Repository files navigation

Qivivo application for Google Assistant
Use cloud Function

What's working:
Get temp
Get humidity
Get current program
Set program
Simple error management
Handle Oneshot call

Working on:
Set/unset holiday mode
Set temporary temp
Keep token/refresh Token to improve querying

Create an app here: https://dev.qivivo.com/register
Get token and thermostat_id and create a Config.json file with the following content:
{"client_id":"YourClientID",
"secret_id":"YourSecretID",
"token":"YourToken",
"refresh_token":"YourRefreshToken",
"redirect_uri":"https://qivivo.com/authorize",
"thermostat_id":"YourThermostatID"}

Create a project on Google cloud and add enable following api:
- Cloud Functions
- Actions
- Cloud Storage
and deploy your code
gcloud beta functions deploy qivivo --trigger-http --stage-bucket gs://<project-id>

Create an Actions on Google project and deploy your project
gactions test --action_package action.json --preview_mins 1234 --project <project-id>

Now you can test your qivivo application for Google Assistant

About

Simple Qivivo application for Google Assistant

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published