Code Monkey home page Code Monkey logo

elgato-google-home-integration's Introduction

El Gato Key Light Air - Google Assistant integration

From https://github.com/sirdarckcat/sirdarckcat.github.io/blob/master/fakeauth/README.md

This allows you to control the El Gato Key Light Air through Google Home. It supports brightness and temperature.

You should be able to replicate this by:

  1. Create a Cloud function at https://console.cloud.google.com/functions
  2. Put cloudfunction.js on the cloud function.
  3. Deploy the cloud function.
  4. Create a Smart Home action at https://console.actions.google.com/
  5. In fullfilment URL put your cloud function.
  6. In the testing URL for Chrome put https://sirdarckcat.github.io/fakeauth/index.html
  7. In the testing URL for Node put https://sirdarckcat.github.io/fakeauth/bundle.js
  8. In device configuration add 3 scan configs:
* Scan Config:
  * mDNS service name: `_elg._tcp.local`
  * Name: `elgato.*`
* Scan Config:
  * mDNS service name: `_elg._tcp`
  * Name: `elgato.*`
* Scan Config:
  * mDNS service name: `_elg._tcp.local.`
  * Name: `elgato.*`
  1. In the account linking, type placeholder in client name and client secret.
  2. Go to tinyurl.com and create a shortlink for https://oauth-redirect.googleusercontent.com/r/YOUR_PROJECT_CODE_HERE?code=1
  3. Type the tinyurl on the Authorization URL
  4. Type your cloud function on the Token URL

It has only been tested with one light.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.