问题
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.
回答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.
来源:https://stackoverflow.com/questions/47684403/integrating-iot-device-with-google-home