Hello
i m use a wemos d1 mini with blink
code
/* Comment this out to disable prints and save space */
#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "ssssssssssss";
char pass[] = "passsssssssssssssss";
void setup()
{
// Debug console
Serial.begin(9600);
pinMode(D1,OUTPUT);
pinMode(D2,OUTPUT);
pinMode(D5,OUTPUT);
pinMode(D6,OUTPUT);
pinMode(D7,OUTPUT);
pinMode(D8,OUTPUT); // ajouter les sortie D utilisé
digitalWrite(D1,LOW); // niveau automotique en cas de coupure low=0 high=1
digitalWrite(D2,LOW);
digitalWrite(D5,LOW);
digitalWrite(D6,LOW);
digitalWrite(D7,LOW);
digitalWrite(D8,LOW);
Blynk.begin(auth, ssid, pass);
// You can also specify server:
//Blynk.begin(auth, ssid, pass, "139,59,206,133", 80);
//Blynk.begin(auth, ssid, pass, IPAddress(192,168,0,32), 8080);
}
void loop()
{
Blynk.run();
}
i want connect the bouton for output D0 D1 …with google home
i m use IFTTT
google assit for IF
et webhooks for that.
parameters for webhooks :
url http://139.59.206.133/"my tokken"/update/D1
(for the ip i do a ping blynk-cloud.com)
method PUT
Content APPLI/JSON
body ["1"]
but it s not working
help me please