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:
- Create a Cloud function at https://console.cloud.google.com/functions
- Put cloudfunction.js on the cloud function.
- Deploy the cloud function.
- Create a Smart Home action at https://console.actions.google.com/
- In fullfilment URL put your cloud function.
- In the testing URL for Chrome put https://sirdarckcat.github.io/fakeauth/index.html
- In the testing URL for Node put https://sirdarckcat.github.io/fakeauth/bundle.js
- 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.*`
- In the account linking, type
placeholder
in client name and client secret. - Go to tinyurl.com and create a shortlink for https://oauth-redirect.googleusercontent.com/r/YOUR_PROJECT_CODE_HERE?code=1
- Type the tinyurl on the Authorization URL
- Type your cloud function on the Token URL
It has only been tested with one light.