Hello, I did it all - manual IP adress etc. Also a ping test is ok, but only without blynk.run:
#define BLYNK_PRINT Serial // Comment this out to disable prints and save space
#include <SPI.h>
#include <Ethernet.h>
#include <BlynkSimpleEthernet.h>
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "038edfc771e2489c9e089a53c3757510";
IPAddress server_ip (10, 0, 0, 10);
// Mac address should be different for each device in your LAN
byte arduino_mac[] = {0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
IPAddress arduino_ip (192,168,2,211);
IPAddress dns_ip (192,168,2,1);
IPAddress gateway_ip (192,168,2,1);
IPAddress subnet_mask(255, 255, 255,0);
void setup()
{
Serial.begin(9600);
Blynk.begin(auth,"cloud.blynk.cc",8442, arduino_ip, dns_ip, gateway_ip, subnet_mask, arduino_mac);
// Or like this:
//Blynk.begin(auth, "cloud.blynk.cc", 8442, arduino_ip, dns_ip, gateway_ip, subnet_mask, arduino_mac);
}
void loop()
{
//Blynk.run();
}
Without blynk.run :
serial monitor :
[0] Blynk v0.3.1
[0] Using static IP
[1300] My IP: 0.0.0.0
ping test is ok.
arduino is listed in my router
With integrated Blynk.run :
[0] Blynk v0.3.1
[0] Using static IP
[1300] My IP: 0.0.0.0
[5001] Connecting to cloud.blynk.cc:8442
Ping test requests with time overflow.
arduino is not listed in my router
Thanks for help!