jaminNZx / ESP8266-WS28xx-Blynk

An Ardiuno sketch to connect an ESP (all varients) to WS28xx LED strips and control them using the Blynk mobile app.
35 stars 14 forks source link

Error in the local server connection code #2

Open immortalserg opened 6 years ago

immortalserg commented 6 years ago

Thanks for the code. you have a bug in the code, at least with the latest version of Blink, the thing is that when the local server is connected with this configuration in port 80, Blink port 8080 and you need to specify in the settings, instead of Blynk.begin (AUTH, WIFI_SSID, WIFI_PASS, SERVER); need

Blynk.connectWiFi (WIFI_SSID, WIFI_PASS);
Blynk.config (AUTH, SERVER, 8080);

Make changes to the code.

Спасибо за код. у Вас в коде ошибка, по крайней мере с последней версией Блинк, дело в том, что при локальном сервере при такой конфигурации коннектиться в порту 80, у Блинк порт 8080 и надо указывать в настройках, вместо Blynk.begin(AUTH, WIFI_SSID, WIFI_PASS, SERVER); надо

Blynk.connectWiFi(WIFI_SSID, WIFI_PASS);
Blynk.config(AUTH, SERVER, 8080);

Внесите изменения в код

xcruell commented 5 years ago

Thanks a ton immortalserg ! I just set up a new local server and wondered why my esp wont connect. Its working now with your solution :)