0

I am currently working on a IoT device to control lights. This device is implemented using FreeRTOS.

I am little confused how to provide Google Home integration with this device, could someone shed some light on this.

IamAUser12
  • 13
  • 1
  • 4

1 Answers1

1

You can use the Smart Home API. The Google Assistant works with a webhook, sending commands to SYNC, QUERY, and EXECUTE on that URL. You will then need to send these commands to your device.

Setup happens through the Google Assistant app, where users must link with your OAuth server.

Here is a sample project for Smart Home, using virtual devices.

Nick Felker
  • 11,536
  • 1
  • 21
  • 35
  • I had read through the Smart Home API. From what I understand this requires us to have an existing cloud service that talks to our end devices that control our lights? – IamAUser12 Dec 07 '17 at 13:52
  • Yes you will need some sort of server to act as an intermediary with the Google Assistant. Your server should handle OAuth, process requests, and return responses to the Assistant. – Nick Felker Dec 07 '17 at 18:43
  • Thank You for your response. This helped clarifying things a lot. – IamAUser12 Dec 07 '17 at 19:36