> For the complete documentation index, see [llms.txt](https://itdocs.kvantorium21.ru/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://itdocs.kvantorium21.ru/it-engineering/i.-internet-veshei/keis-1b-internet-veshei-dlya-diy/mini-case.md).

# Мини-кейс: Голосовое управление \[НЕ ДОДЕЛАНО]

Создаём светофор со светодиодами и управляем ими через гугл ассистент на телефоне. После делаем с реле модулями аля управляем светом в квартире.

```
#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[] = "";

// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "freetime";
char pass[] = "";

void setup()
{
  // Debug console
  Serial.begin(9600);

  Blynk.begin(auth, ssid, pass);
}

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

```
ping blynk-cloud.com
```

```
http://139.59.206.133/auth_token/update/port_number?value=0/1

http://139.59.206.133/auth_token/update/D0?value=1
http://139.59.206.133/auth_token/update/D0?value=0
```

![](https://1234485992-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LuCyLoyEs8r9SqV2MS6%2F-MQbJY182mJmjnLYRLkm%2F-MQbJpnZUuy3Gx27-vZF%2Fimage.png?alt=media\&token=5031c459-055a-45d6-a834-09b1bf4c47c8)

{% embed url="<https://www.youtube.com/watch?v=4MDpawHKJY8>" %}

{% embed url="<https://vk.com/@droidbot.store-upravlenie-datchikami-umnogo-doma-pri-pomoschi-google-assist>" %}
