BLYNK
HOME       📲 GETTING STARTED       📗 DOCS       ❓HELP CENTER       👉 SKETCH BUILDER

Can't Connect my device to Local server

#1

how to solve this problem. i my device wasn’t online yet but i setup my local server. how to connect? and my blynk app cant send auth token

0 Likes

#2

Does this post help?

0 Likes

#3

If u couldnt find a solution from my article above please paste your code so we can get a clearer idea about it.

0 Likes

#4

heres my code

#define BLYNK_PRINT Serial

#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266_SSL.h>

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = “685a9be9d5414608b5583ad907c1c1b5”;

// Your WiFi credentials.
// Set password to “” for open networks.
char ssid[] = “YourNetworkName”;
char pass[] = “YourPassword”;

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

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

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

0 Likes

#5

did u check whther your server is working , nothing wrong with the code i guess

0 Likes

#8

First… you didn’t properly format your posted code as required in both the Welcome Topic and when you open a new topic :frowning:

And you have NO IP or port setting that points toward your Local Server…

image

0 Likes