Hello
I’m currently trying to make an iron man helmet and attached the helmet to blynk. I also want to add voice command to the helmet as an additional feature thanks to google assistant. I saw on the internet that I could do this thanks to iftttt, but these examples were working in the previous version of blynk, I couldn’t find how to do it in this version. and I tried a few times, connected google assistant to ifttt, set the commands, but the output data does not go to blynke. and i found out that i need to open webhook in blynk. I couldn’t do the rest. can you help.
I would appreciate it if you could tell me what I need to do in order.
nodemcu codes
#define BLYNK_PRINT Serial
#define BLYNK_TEMPLATE_ID "************"
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
#include <Servo.h>
char auth[] = "************************";
char ssid[] = "**************";
char pass[] = "**********";
Servo servo;
BLYNK_WRITE(V2){
digitalWrite(4, param.asInt());
}
BLYNK_WRITE(V4){
servo.write(param.asInt());
}
void setup()
{
pinMode(4,OUTPUT);
servo.write(180);
servo.attach(2);
Serial.begin(9600);
Blynk.begin(auth, ssid, pass);
}
void loop()
{
Blynk.run();
}