Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
/ powershift Public archive

Control your PowerShift Smart Thermostat using Google Assistant.

License

Notifications You must be signed in to change notification settings

edinardo/powershift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PowerShift Smart Thermostat

Control your PowerShift Smart Thermostat using Google Assistant.

Getting Started

These instructions will get you a copy of the project up and running on your Firebase account for development and testing purposes.

Prerequisites

Node.js 8+

Firebase 3.3+

Installing

Need to be documented, but for now follow the steps 2 at:

smarthome Codelab

Deployment

Need to be documented, but for now follow the steps 3 at (pointing to your deployment):

smarthome Codelab

Running the tests

When try to test the draft using the last steps, if gets the following error:

GoogleFulfillment ‘actions.fulfillment.devices’ is not supported

Proceed with this manual workaround:

./gactions list --project [YOUT_PROJECT_ID]
  • Download the JSON representation of your action (without this step, the file on the repository points to the original server is up and running, not to your code):
./gactions get --project [YOUR_PROJECT_ID] --version draft > action.json
  • Edit the JSON to extract the only object from its array, and remove the nested “googleFulfillments” object.
  • Push your fixed action into test:
./gactions test --project [YOUR_PROJECT_ID] --action_package ./action.json

This replaces the step 3 "Click Simulator under TEST" in the google assistant manual setup. Also seems to work longer than 3 days without re-deploying.

Built With

  • Firebase - Used for hosting the pages and function

Contributing

Please contact me if you have ideas/fixes/suggestions.

Versioning

We use Git for versioning.

Authors

  • Edinardo Potrich - Initial work - LinkedIn

License

This project is licensed under the GNU General Public License v3.0 or later - see the LICENSE file for details

Acknowledgments

  • Thanks to the Demo Day! team where the project was showed for the first time.

About

Control your PowerShift Smart Thermostat using Google Assistant.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published