[SOLVED] Your one Arduino is not on the network

Hello!! I’m having a problem when connecting the Blynk app. The message “Your one Arduino is not on the network”
And in the Serial Monitor appears this.
[0] Blynk v0.3.1
[0] Getting IP … [6481]
My IP: 192.168.0.192 [6482]
Connecting to cloud.blynk.cc:8442

/**************************************************************
* Blynk is a platform with iOS and Android apps to control
* Arduino, Raspberry Pi and the likes over the Internet.
* You can easily build graphic interfaces for all your
* projects by simply dragging and dropping widgets.
*
* Downloads, docs, tutorials: http://www.blynk.cc
* Blynk community: http://community.blynk.cc
* Social networks: 
* 
*
* Blynk library is licensed under MIT license
* This example code is in public domain.
*

*
* This example shows how to use Arduino Ethernet shield (W5100)
* to connect your project to Blynk.
* Feel free to apply it to any other example. It's simple!
*
**************************************************************/

define BLYNK_PRINT Serial // Comment this out to disable prints and save space
include
include
include
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "8f1d27f9786941b08b69b9a2ca89f627";

void setup()
{
Serial.begin(9600);
Blynk.begin(auth);
// You can also specify server.
// For more options, see BoardsAndShields/Arduino_Ethernet_Manual example
//Blynk.begin(auth, "your_server.com", 8442);
//Blynk.begin(auth, IPAddress(192,168,1,100), 8888);
}

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

1 downloaded app in the blynk phone and blynk the zip file to your computer.
2 blynk moved the folder to Arduino library.
3 opened the Arduino_ethernet example and put the code generated by the app.
4 unloaded the program on arduino
5 in time to give play in blynk app appeared the message “your Arduino UNO is not on the network”

  1. Post to corresponding category
  2. Add more details: hardware setup, type of connection, code

Please follow the forum rules

Don’t add new messages, just edit the first post

Please try with latest library version button “Download ZIP”.

download the file and unpack.
It appears blynk-library-master folder.
Moved this folder to the Arduino libraries folder.
I created another project in blynk was generated and other code.
Open the Arduino IDE example “Arduino_Ethernet”
Insert the generated code, and unloaded the program for the Arduino UNO.
At the time of giving play in blynk, came the message again.
"Your one Arduino is not on the network

No monitor serial apareceu.
[0] Blynk v0.3.2-beta
[0] Getting IP…
[6481] My IP: 192.168.0.192
[6482] Connecting to cloud.blynk.cc:8442
[21510] Connecting to cloud.blynk.cc:8442

the version of blynk app installed on Android is:
1.0 RC11

You have an ethernet shield on Arduino? Right? Which model?

Also please try to execute and tell us what output do you see

telnet cloud.blynk.cc 8442

My ethernet shield is the W5100.
It has a code in the cable internet connection that is:
HanRun
HR911105A
15/10.

I did a test with another program that uses a html page to trigger the outputs of the Arduino. And it worked normally.

segue programa que funcionou.


#include <SPI.h>
#include <Ethernet.h>

byte mac[] = { 
  0x90, 0xA2, 0xDA, 0x00, 0x9B, 0x36 }; //physical mac address
byte ip[] = { 
  192, 168, 0, 177 }; // ip in lan
byte gateway[] = { 
  192, 168, 0, 1 }; // internet access via router
byte subnet[] = { 
  255, 255, 255, 0 }; //subnet mask
EthernetServer server(80); //server port

String readString;

int pin[8];
char* nome_pin[8];
int estado_pin[8];
int tipo_pin[8];

//////////////////////

void setup(){

  //CONFIGURACAO DAS PORTAS EM QUE OS RELES ESTAO CONECTADOS:
  //Para conectar os reles ao Arduino, recomenda-se utilizar o Arduino Shield - ProtoGo
  //http://www.robocore.net/modules.php?name=GR_LojaVirtual&prod=494
  //Lembre-se tambem que é necessario utilizar um Arduino Ethernet
  //http://www.robocore.net/modules.php?name=GR_LojaVirtual&prod=266
  //OU um Arduino UNO + Shield Ethernet

  pin[0] = 2;
  pin[1] = 3;
  pin[2] = 4;
  pin[3] = 5;
  pin[4] = 6;
  pin[5] = 7;
  pin[6] = 8;
  pin[7] = 9;

  //NOME DOS BOTOES
  nome_pin[0] = "LAMP. SALA";
  nome_pin[1] = "LAMP. QUARTO 1";
  nome_pin[2] = "LAMP. QUARTO 2";
  nome_pin[3] = "LAMP. QUARTO 3";
  nome_pin[4] = "LAMP. COZINHA";
  nome_pin[5] = "LAMP. BANHEIRO";
  nome_pin[6] = "LAMP. GARAGEM";
  nome_pin[7] = "LAMP. LAVANDERIA";

//TIPO DOS BOTOES 0-> toggle, 1-> pulse
  tipo_pin[0] = 0;
  tipo_pin[1] = 0;
  tipo_pin[2] = 0;
  tipo_pin[3] = 0;
  tipo_pin[4] = 0;
  tipo_pin[5] = 0;
  tipo_pin[6] = 0;
  tipo_pin[7] = 0;

  //ESTADO INICIAL DOS BOTOES 0 -> desligado, 1 -> ligado:
  estado_pin[0] = 0;
  estado_pin[1] = 0;
  estado_pin[2] = 0;
  estado_pin[3] = 0;
  estado_pin[4] = 0;
  estado_pin[5] = 0;
  estado_pin[6] = 0;
  estado_pin[7] = 0;

  pinMode(pin[0], OUTPUT);
  pinMode(pin[1], OUTPUT);
  pinMode(pin[2], OUTPUT);
  pinMode(pin[3], OUTPUT);
  pinMode(pin[4], OUTPUT);
  pinMode(pin[5], OUTPUT);
  pinMode(pin[6], OUTPUT);
  pinMode(pin[7], OUTPUT);



  //start Ethernet
  Ethernet.begin(mac, ip, gateway, subnet);
  server.begin();
  //the pin for the servo co
  //enable serial data print
  Serial.begin(9600);
  Serial.println("RoboCore Remote Automation V2.1"); // so I can keep track of what is loaded

}

void loop(){
  // Create a client connection
  EthernetClient client = server.available();
  if (client) {
    while (client.connected()) {
      if (client.available()) {
        char c = client.read();

        //read char by char HTTP request
        if (readString.length() < 100) {

          //store characters to string
          readString += c;
          //Serial.print(c);
        }

        //if HTTP request has ended
        if (c == '\n') {

          ///////////////////// control arduino pin
          Serial.println(readString); //print to serial monitor for debuging

            char pesquisa[] = "?xx";
          for(int i=2 ; i <= 9 ; i++){
            pesquisa[2] = i + 48;

            pesquisa[1] = 'l';
            if(readString.indexOf(pesquisa) > 0){
              if(tipo_pin[i-2] == 1){
                digitalWrite(pin[i-2], HIGH);
                Serial.print("Rele");
                Serial.print(i);
                Serial.println("On");
                delay(200);
                digitalWrite(pin[i-2], LOW);
                Serial.print("Rele");
                Serial.print(i);
                Serial.println("Off");
              } else {
              digitalWrite(pin[i-2], HIGH);
                Serial.print("Rele");
                Serial.print(i);
                Serial.println("On");
              estado_pin[i-2] = 1;
              }
            }

            pesquisa[1] = 'd';
            if(readString.indexOf(pesquisa) > 0){
              digitalWrite(pin[i-2], LOW);
                Serial.print("Rele");
                Serial.print(i);
                Serial.println("Off");
              estado_pin[i-2] = 0;
            }

          }



          //clearing string for next read
          readString="";


          ///////////////

          client.println("HTTP/1.1 200 OK"); //send new page
          client.println("Content-Type: text/html");
          client.println();

          client.println("<html>");
          client.println("<head>");
          client.println("<title>RoboCore - Remote Automation</title>");
          client.println("<meta http-equiv='Content-Type' content='text/html; charset=ISO-8859-1'>");
          client.println("<link rel='stylesheet' type='text/css' href='http://www.robocore.net/upload/projetos/RemoteAutomationV2.0.css' />");
          client.println("<script type='text/javascript' src='http://www.robocore.net/upload/projetos/RemoteAutomationV2.0.js'/></script>");

          client.println("</head>");
          client.println("<body>");
          client.println("<div id='wrapper'>Carlos Jr. Remote Automation <br>");

          client.println("<div style='display: inline-block; width: 400px;'>");

          for(int i=0;i<=7;i++){
            client.print("<div id='porta");
            client.print(i+2);
            client.print("_estado'>");
            client.print(estado_pin[i]);
            client.println("</div>");
            client.print("<div id='porta");
            client.print(i+2);
            client.print("_titulo'>");
            client.print(nome_pin[i]);
            client.println("</div>");
            client.print("<div id='porta");
            client.print(i+2);
            client.println("_botao' style='position: relative;'></div>");

            if(i==3){
              client.println("</div><div style='display: inline-block; width: 400px;'>");
            }
          }
          client.println("</div>");

          client.println("</div>");

          client.println("</body>");

          client.println("<script>VerificaEstado();</script>");

          client.println("</html>");


          delay(1);
          //stopping client
          client.stop();

        }
      }
    }
  }
}

Could you please execute telnet command I posted above?

excuse me.
I do not have much knowledge about networks.
How do I give this command?

Just open terminal (Ubuntu) or command line (cmd, Windows) and type above.

At first the telnet command is not being recognized in cmd. I enabled and tel net cient by optionalfeatures command in windows start.
Again I typed the telnet command cloud.blynk.cc 8442 in cmd, and was only a blank course.

Hm, please check your router doesn’t block 8442 port, also check Windows firewall doesn’t block it too. I have no other suggestions at the moment.

The doors of my router is not.

Virtual Server List

Name	Private IP	Protocol	Schedule	 

Virtual Server FTP	0.0.0.0	TCP 21 / 21	Always	 
Virtual Server HTTP	0.0.0.0	TCP 80 / 80	Always	 
Virtual Server HTTPS	0.0.0.0	TCP 443 / 443	Always	 
Virtual Server DNS	0.0.0.0	UDP 53 / 53	Always	 
Virtual Server SMTP	0.0.0.0	TCP 25 / 25	Always	 
Virtual Server POP3	0.0.0.0	TCP 110 / 110	Always	 
Virtual Server Telnet	0.0.0.0	TCP 23 / 23	Always	 
IPSec	                0.0.0.0	TCP 500 / 500	Always	 
PPTP	                0.0.0.0	TCP 1723 / 1723	Always	 
DCS-900,DCS-1000	0.0.0.0	TCP 80 / 80	Always	 
DCS-2000,DCS-5300	0.0.0.0	TCP 800 / 800	Always	 
DCS-3120	        0.0.0.0	UDP 5002-5003 / 5002-5003	Always	 
	               192.168.0.160	TCP 2001 / 2001	Always	 
	               192.168.0.160	UDP 2001 / 2001	Always	 
Arduino	               192.168.0.177	TCP 8442 / 8442	Always

I tried to enable the 8442 port to the Arduino, but not worked.

You may install local Blynk server and check if it works for you. I’m 99% sure the problem is in your router.

I am not managing to release the port 8442.
Can you give me some way.
And the router?

Problem solved . Reseted Router and set up again .
Thank Dmitriy For Help

1 Like