Step 1: First of all you have to connect the led and the resistor with the bolt module as follows.
1. Connect the one end of the resistor with the longer pin (positive terminal) of the LED and connect the another end of the LED with the GPIO 0 pin present on the Bolt Module,
2. Now simply connect the shorter pin (negative terminal) of the led with the GND pin present on Bolt Module.
Step2: Now connect your bolt module with the cloud.
STEP 3 : Now login to Ifttt.com
here go to create and the click on +This.
Now select Google Assistant.
Then select say a single phrase.
Fill the enteries as per your taste.
Step 4: Now click on "+that".
and in place of URL enter this code-
https://cloud.boltiot.com/remote/ API KEY/digitalWrite?pin=Pin number &state=HIGH/LOW&deviceName=ID
In this code please fill your API KEY, device ID and the PIN number in which you have inserted the negative terminal of the LED.
Method will be GET.
Content Type will be Applicaton/json.
then save it and you are all set.










Comments