IFTT Virtual Pin-Webhook and ESP32

Good day, guys. I’m working with IFTT and the Google Assistant service. The trigger is correct and Google Assistant tell me what I programed but the instruction isn’t read by the virtual pin.
I’m using the example Blynk.Edgent in my ESP-32, my virtual pin is V5 and I want to turn on/off a relay. I already do it with the application in my cellphone and that’s awsome.

In the webhook of the IFTT I got:





I’m confused by what you’ve written…

Are you using Blynk legacy with your own local server?
If so then why are you using Blynk Edgent?

If you’re using Blynk IoT then your API syntax is incorrect.


I’m working with Blynk IoT. How is the API syntax?

Also, this is a GET not a PUT, and you should pul all of the API call in the URL field in IFTTT


The content type and the body syntax is the same? I already try to change my URL like in the link but doesn’t work
Now i’m using a dimmer for the light, but the virtual pin it is the same.
The new URL
Also, I change the PUT to GET

The program I use is this

#include <RBDdimmer.h>
// Fill-in information from your Blynk Template here
#define BLYNK_DEVICE_NAME "Esp32 52596"

#define BLYNK_FIRMWARE_VERSION        "0.1.0"

#define BLYNK_PRINT Serial
//#define BLYNK_DEBUG

#define APP_DEBUG

// Uncomment your board, or configure a custom board in Settings.h
//#define USE_TTGO_T7

#include "BlynkEdgent.h"
const byte outputPin = 25;  // PWM pin for dimmer
const byte zerocross = 26; // for boards with CHANGEBLE input pins

dimmerLamp dimmer(outputPin, zerocross); //initialase port for dimmer for ESP8266, ESP32, Arduino due boards

int outVal = 0; // Intialisation value for dimmer
int dim_val; // dimmer value to dim the appliance

void setup()
  dimmer.begin(NORMAL_MODE, ON);

void loop() {;

BLYNK_WRITE(V5)  {  // Set to your virtual pin  
  outVal = param.asInt(); // Get State of Virtual Button
  dim_val = map(outVal, 0, 100, 0, 100); // mapped the value for dimmer
  dimmer.setPower(dim_val);               // Set dimmer power
  Blynk.virtualWrite(V1, dim_val); //sending to Blynk

I don’t understand the question.

It’s impossible to tell from what you’ve posted exactly what url you’re using.
It would make more sense if you posted the exact url, but replace your Auth token with the word “REDACTED”

As far as the server address is concerned, you need to read the rest of the documentation…


Ok, sorry, sir.


This is what I mean with content type and body. Thank you a lot for answer my cuestions. Greetings from México.

It was the server address. I used when it is

The url that worked for me was:

Thank you so much, Sir.

That won’t work, because is the IP address of the Legacy New York cloud server.

As I’ve said before, you need to read the documentation:
and look at which server you are using (bottom right of your Blynk.console browser window or in the About section of the app) and use that in your API call.

ALL of the API call should go in the URL section of the IFTTT recipe, the body section should be empty and the method should be GET


please search the forum