Connect your IoT devices with Google Smart Home


With Google Home, it’s easy to build and manage your smart home. Choose from hundreds of devices to make your home more comfortable, safe, and efficient — in just the ways you need. The Google Smart Home platform lets users control your available connected devices through the Google Home app and Google Assistant


Step1


Follow the steps in Configure IoT Device page and make sure your device is working properly with WebServiceLK-IoT platform.


Step2


Go to https://console.actions.google.com/ Click Add.


Step3


Name the project. Eg:- WebserviceLK. It Takes few seconds to create the project.


Step4


Now you are on the home screen. Click Home Control. Click Name your Smart Home Action.


Step5


Name it as WebserviceLK. Click Save (in the upper right corner).


Step6


Click "Account Linking". Then Select No.


Step7


Select OAuth, then Select Autherization Code.


Step8


Now Copy Client ID and Client Secret from WebserviceLK website you have already created.


Step9


Paste it accordingly and click next.


Step10


Authorization URL: https://iot.webservice.lk/oauth
Token URL: https://iot.webservice.lk/token


Step11


Now Enter as "user" (Just "user"). Click next.


Step12


Enter test. Click Save.


Step13


Now, Select Actions under Build from left side menu. Click Add your first action.


Step14


Enter: https://iot.webservice.lk/api/v1/googlehome/event and Click Done. Then Click Test. This will deploy the thing and now you are ready to start testing.


Step15


Now you need to get control of your devices through Google Asistance by talking to it. So, add few devices in to your iot.webservice.lk account by visiting it. (Skip this step if you already added few devices.)


Step16


Open your Google Smart Home mobile app in your android phone. (If you do not have it you must install it.)


Step17


Go to Home. (Or you can go to Settings)


Step18


Find Home Control in Left side panel.


Step19


Now you must see WebserviceLK (Or whatever name you have given, when creating it). Click on it. Now it will open a login page to login. Use your webservice.lk credentials to log in. Now you will see a message with link successful.


Step20


Now you will see your devices you have created in your iot.webservice.lk account. You have successfully done the application setup for Google Smart Home. Enjoy using it !!!!