Blynk IFTTT web request servo motor

Hi everyone,

I want to control a servo motor via IFTTT in Blynk, but that doens’t seem to work. if i use the web request i can only turn specific pins on or off like this: [“0”]. How can I rewrite this in IFTTT or Arduino so the commands work for V2 and V3?

#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
#include <Servo.h>
Servo servo;


char auth[] = "auth key";
char ssid[] = " wifi";
char pass[] = "password";



void setup()
{
  Serial.begin(9600);
  Blynk.begin(auth, ssid, pass);
  servo.attach(15);// NodeMCU D8 pin
 }

void loop()
{ 
  Blynk.run();
}

BLYNK_WRITE(V2)
{

  servo.write(30);
  delay(500);
  servo.write(90);

}
BLYNK_WRITE(V3)
{
  servo.write(150);
  delay(500);
  servo.write(90);


}

@svenberg123 please edit your post, using the pencil icon at the bottom, and add triple backticks at the beginning and end of your code so that it displays correctly.
Triple backticks look like this:
```

Pete.

There are plenty of examples of how to use IFTTT with Blynk version 0.1, just do a search on this forum.

The key points are…

Use the GET method and API syntax
Put everything in the URL field
Use the IP address of the cloud server where your Blynk project lives, not blynk-cloud.com
Test the API call in your web browser first

Pete.