Virtual pin with IFTTT

HI

Please help me ,

i am using Virtual pin in blynk and when i click its working fine

now i want to connect with IFTTT google assistant so insted of clicking in blynk i will use google assistant . when i tried to test it there is no response how can i make connection between them

Method PUT
Body {“1”}
URL
http://188.166.206.43/ my Token/ update / V1?value=0
Content Type (optional)
application/json

thank you

The value that you put in the Body field is meant to be the value that you’re sending to the virtual pin. However, you’re putting that value in the URL already, and it’s the opposite value to the one that you’ve included in the Body.

This means that you’re actually sending something like this to the Blynk server:
http://188.166.206.43/ my Token/ update / V1?value=01

You also have some spaces in the URL, which should be avoided.

By far the best way of doing IFTTT updates is to use the GET command and put everything ion the URL filed, leaving the Body field empty.
The syntax for GET is slightly different. Your URL should look something like this to turn the button widget on V1 off:
http://188.166.206.43/auth_token/update/V1?value=0

and like this to turn it on:
http://188.166.206.43/auth_token/update/V1?value=1

You can also paste these URLs directly into your browser’s address bar to test that they update the widget in your app.

Pete.

@PeteKnight thank you very much for your support

please keep it up

you are very helpful

1 Like