blynkkk / blynk-library

Blynk library for IoT boards. Works with Arduino, ESP32, ESP8266, Raspberry Pi, Particle, ARM Mbed, etc.
https://blynk.io
MIT License
3.83k stars 1.38k forks source link

how to change the server address using ESP8266_Standalone_SmartConfig #430

Closed hznupeter closed 6 years ago

hznupeter commented 6 years ago

Blynk library version: 0.5.3 IDE: Arduino IDE version: 1.8.5 Board type: esp8266 Additional modules: none

Scenario, steps to reproduce

I have tried the ESP8266_Standalone_SmartConfig and succeed to connect to blynk-cloud.com.

I want to connect to local server,so i change the #define BLYNK_DEFAULT_DOMAIN in BlynkConfig.h,it will connect to the local server.

But if I redefine the BLYNK_DEFAULT_DOMAIN in the *.ino file ,it won't connect to the new server,it still connect to the blynk-cloud.com

vshymanskyy commented 6 years ago

Up to my knowledge, there's no way to pass extra data with SmartConfig on ESP8266.