BLYNK
HOME       📲 GETTING STARTED       📗 DOCS       ❓HELP CENTER       👉 SKETCH BUILDER

How to integrate Blynk and IFTTT (Google Assistant)


#11

I have tried these steps, but my IFTTT applet returns “Applet skipped.” I look at the detail and see this error message, “Webhooks, Make a web request, Action failed, Action skip message, Unable to make a web request: Error: ESOCKETTIMEDOUT”

Do you know what’s wrong?


#13


help me @Fabio_Faria i followed your steps but i could not succeed…when i browser the webhooks URL i can see this [“1.0”]’
but when i command google assistant turn on but the webhoobs dose not make a request


#14

Your efforts and strategy are fantastic, thank you for sharing this with the community.

I altered the variables for my country code and Auth code but I’m not getting this to work. I think the Google Assistant is working fine because I get the programmed reply. I’m not sure about the web call. I’m getting the following applet feedback. “Unable to make Web request. Your server returned a 500” Any ideas about what I might have done wrong?

Thank you in advance for any support or suggestions.


#15

The URL must work from your browser first. Only then it will work with IFTTT. In some cases, it will work with the browser but not IFTTT if hostnames are used in the URL. This is because your geo and the IFTTT server geo are different. You need to find the IP address that blynk-cloud.com resolves to and use the IP address in the URL.

Google Asst+IFTTT+Webhooks has been working for me for over 6 months flawlessly


#16

I use wemos D1…
i can switch all digital pins through blynk app but i can only switch digital pin 1 with google assistant…
any help?


#17

I followed all the steps but i can´t get a response from google assistant, i think the problem is in the URL but im not sure about that, i typed : ping cloud.blynk.cc. in the command center and got this IP : 45.55.96.146 (México)
So my URL looks like this: http://45.55.96.146/MY_TOKEN/pin/V1
(It doesn´t works if i try to open that link from my PC)

but when i try to use my phrase in google assistant all i get is a web search for my phrase.


#18

Did you try to change the sentence?


#19

Try using THIS as a starting point for the URL. You will have to switch out the blynk-cloud.com with the IP address you pinged.

Method should be GET as well.


#20

A post was split to a new topic: Not able to control its speed through ifttt (google assistance)


#21

I have a question: do we know that the [“0”] command sets the logical port to Low and [“1”] sets the port to High, what is the command to make a pulse on the port using the Google Assistant?


#22

What do you mean by port?
Sending a 0 to a virtual pin will do just that, set the virtual pin to 0. What happens after that will depend on what is in the code.

To send a pulse, you will need to make it so when you send a 0 or 1 to the virtual pin what ever action you need to occur will, and then set the virtual pin back to the state you want.

For example, this is how I use it when activating my garage door opener. Sending a value of 1to the virtual pin with Google Assistant.

BLYNK_WRITE(V20) 
{
  int value = param.asInt();
  if (value == 1) 
   {
    Serial.println("Garage Opener Activated");
     digitalWrite(led_pin, HIGH);//Active High Relay
    timer.setTimeout(1000L, []() { 
     digitalWrite(led_pin, LOW);
     Blynk.virtualWrite(V20, 0);
      });  // END Timer Function
  }
}

#23

Can we put multi virtual pin from Webhook to blynk ? Thanks


#24

This is how I did the linkys using Amazon Alexa and google IFTTT for my project on here

Firstly make sure the IP address works in your browser

0 turns off - A 1 turns pin on

So in this example I am controlling virtual pin V43 which is the soffit light button on my blynk app - clearly make sure your button on the blynk app works first!!!

This is the IFTTT Applet to go with it


So I use the phrase ‘soffit lights on’ then a webhook to the public IP then your token and pin as shown
the method is ‘PUT’
COntent type is application/JSON
and the body is [“1”] so this turns

then you creat another applett to turn off ie changing trigger wording and put a 0 in the body.
Dont forget to save your applett and make sure it is turned on.

I also do this with a slider and alexa for a lounge dimmer just have an applet for 10, 20, 30 and so on. Then when you say trigger lounge 30 ie get 30% power - simples!!! and you see the slider move on the app.

Cheers

kev


#25

Hi, if we need to chang more than 1 pin, ex: V1 and V2 in one url, can we do that?


#26

No… but you can refer to another vPin’s function that will change as many other vPins as you want.

PS, this type of question is not really suited for this topic’s purpose and has been answered a few times…


#27

Ok thanks Gunner


#28

Come faccio a trovare il blynk-cloud.com per Italia? Grazie


#29

It is just around the corner, to the right, past the post office :rofl:

Actually you would run the ping command on your PC…

https://www.google.com/search?q=ping+a+url


#30

Hello dear,

I have managed to control devices on/off via google voice but is it possible that i could get the sensor reading via google assistant.

for example .
i am using a temperature sensor and its value is fed to blynk .

and if i ask google assistant to tell me my room temperature it should tell me the value of my temperature sensor.

regards


#31

No, I do not think this is possible with Blynk and IFTTT. The flow is GA -> IFTTT -> something.