Register as a developer with Nest. Create a new client at:
[https://developer.nest.com/clients]
Fill out a unique client Name.
Leave OAuth Redirect URI empty. This app uses PIN authentication.
Permissions needed:
- Away - Read/Write
- ETA - Write
Copy app/src/main/java/net/mceoin/cominghome/oauth/Constants.java-template to Constants.java and update
- CLIENT_ID
- CLIENT_SECRET
- gnome_go_home.png -- GNOME Desktop Icons
- my_briefcase.png -- Harwen - Simple
- home.png -- Author: Deziner Folio, http://www.dezinerfolio.com/
- Go to [https://console.developers.google.com/] and Create Project
- Any Project Name can be used. Take note of the Project ID.
- Update application in api/src/main/webapp/WEB-INF/appengine-web.xml to match the Project ID.
- In APIs, enable: ..* Google Cloud Datastore API ..* Google Cloud Messaging for Android ..* Google Cloud SQL ..* Google Maps Android API v2
- Go to API's and Auth -> Credentials -> Public API Access -> Create new key
- Create a new key -> Server Key -> In accept request field: 0.0.0.0/0 -> Create
- Copy api/src/main/java/net/mceoin/cominghome/api/CloudConstants.java-template to the same filename but without the "-template". Update accordingly.
- Copy app/src/main/java/net.mceoin/cominghome/gcm/Constants.java-temp to the same filename but without the "-template". Update accordingly.
- Using Android Studio -> Build -> Deploy Module to App Engine
Coming Home is published on the Google Play store at:
https://play.google.com/store/apps/details?id=net.mceoin.cominghome