Blynk, ESP8266, IFTTT and Alexa

I have an Wemos D1 ESP8266. I have Blynk running on it, have a LED-stripe with RGBW and 4 mosfet. I connected them to D1, D5, D6 and D7. In Blink I made an app with 4 sliders. The sliders are connected to GP1, GP14, GP12 and GP13. With this configuration the Blynk app ist changing my lights.

Next step was configuring IFTTT. I used Alexa specific phrase and a web request.
Here is the web request:

Alexa says she sends to IFTTT, in IFTTT I get

can someone help me, I have no clue.

Greetings
Gerd

Looks like you have wrong syntax, to update a pin use blynkapi · Apiary but ensure you understand the difference between “D” and “GP”.

Hello,
thanks for reply.
I used exactly this site to make the web request. If I make the request from this site I get “wrong token”, what I do not understand, because the token was sent freshly to my mail account. And the difference between “D” and “GP” … no I don’t know. I just tested until success.
Gerd

just make the request, using the correct syntax, in a browser.

See Email Example Sketch with WeMos D1 Sheild - Wrong Pin Assignment? - #2 by PeteKnight for an explanation. Arduino boards are marked up with the digital pin numbers used in your sketch but the ESP8266 board manufacturers dreamt up their own numbering system which does not relate to the numbering in your sketch. Try to forget about this dubious numbering scheme and stick to GPIO numbers.

One of you screenshots shows “D8” and in Blynk documentation the D simply means digital and not the D8 on an ESP8266 board. Your “D8” reference would be GPIO 8, which doesn’t exist on an ESP8266.

Many of the manufacturers realised how stupid their numbering scheme was and some ESP32’s do show the correct GPIO references on the board.

Hello and thanks again.

just make the request, using the correct syntax, in a browser.

Here I reached my borders. I don’t know how to write a get statement in the adress-line in the browser. Can you write the correct syntax using xxx for auth-token for me?

The pin assignment I understand now. I did not realizeded that GP stands for GPIO.

Your “D8” reference would be GPIO 8, which doesn’t exist on an ESP8266.

D8 is refered to GPIO0 - right? And must exist. But this explains not the token error.

Gerd

Any call via a browser is a GET call so this will send the digital GPIO x HIGH :

http://blynk-cloud.com/token/update/Dx?value=1

Wrong the D8 you see in the API example is digital pin 8, which exists on an Arduino but not an ESP.

Hello

<html>

<head>

<title>Untitled Document</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

</head>
<body bgcolor="#FFFFFF" text="#000000">

<p><a href="http://blynk-cloud.com/8ba5dbd53e62457a855c70ae3691c1fb/update/D1?value=0&quot;&gt;D1


rot ==> 0</a> <a href="http://blynk-cloud.com/8ba5dbd53e62457a855c70ae3691c1fb/update/D1?value=1000&quot;&gt;D1


rot ==> 1000</a> <br>

<a href="http://blynk-cloud.com/8ba5dbd53e62457a855c70ae3691c1fb/update/D12?value=0&quot;&gt;D12


blau ==> 0</a> <a href="http://blynk-cloud.com/8ba5dbd53e62457a855c70ae3691c1fb/update/D12?value=1000&quot;&gt;D12


blau ==> 1000</a> <br>

<a href="http://blynk-cloud.com/8ba5dbd53e62457a855c70ae3691c1fb/update/D13?value=0&quot;&gt;D13


wei&szlig; ==> 0</a> <a href="http://blynk-cloud.com/8ba5dbd53e62457a855c70ae3691c1fb/update/D13?value=1000&quot;&gt;D13wei&amp;szlig;


==> 1000</a> <br>

<a href="http://blynk-cloud.com/8ba5dbd53e62457a855c70ae3691c1fb/update/D14?value=0&quot;&gt;D14


gr&uuml;n ==> 0</a> <a href="http://blynk-cloud.com/8ba5dbd53e62457a855c70ae3691c1fb/update/D14?value=1000&quot;&gt;D14


gr&uuml;n ==> 1000</a> </p>

<p>&nbsp;</p>

</body>

</html>

this is working. And now? How can I use this in IFTTT?
I want to change my colors like “Alexa trigger light red 50 %” or so.
Or “Alexa trigger light orange” mixing colors…

Study virtual pins.

Hello,
should Alexa not just do anything for me, before I make the next step. I can control the light from blink-app, and from browser, but Alexa still does nothing.
greetings
Gerd

Study the Alexa threads.