Blynk deshboard stopped going online although esp8266 searching blynk cloud :80






Blynk deshboard stopped going online although esp8266 searching blynk cloud :80

When you created this post it explained to you how to post code, with triple backticks at the beginning and end, not screenshots of your sketch.

When you post serial output you should do the same thing - copy the text from the serial monitor and place triple backticks at the beginning and end so that it displays correctly.

I’d suggest that you edit your post, using the pencil icon at the bottom, and provide this information in a readable/useable format.

Triple backticks look like this:
```

It’s also helpful if you add some narrative, explaining why you’ve shared particular things, rather than dropping them into your post in the hope that we can spot the relevance of them.

Pete.

Dear Sir
…Problem is that system at deshboard is not going on-line…
…or we can say esp8266 is not connecting to blynk.cloud:80…

…i have posted some pictures of arduino 1.8.19 and deshboard…

…day before yesterday, system was working ok…
…but today it stopped going to on-line…

----so i had recreated token again but the problem is same…
…system is not going on-line…

…i am not able to pickup the cause…please help…

i am not able to pickup the procedure of discussion.
I hope I am able to put up the question in right manner.
and hope that it is understandable.
Please extend your great help.

Dear Pete
I was struggling as ES8266 was not connecting to blynk.cloud:80,
but today morning it connected with my mobile and deshboard.
System was working ok.

Then I again changed the wifi credential to another wifi as above was under test
and uploaded the ESP8266.

Again the same message is started coming. i.e. ESP8266 “Connecting to blynk cloud:80”
and my mobile and deshboard is offline now.
Please extend your expertise.

[Unformatted code removed by moderator]

[Unformatted serial output removed by moderator]

You didn’t use triple backticks when you posted your code and serial output. You chose some other characters instead, despite me giving you triple backticks to copy/paste.

Once again, triple backticks look like this:
```

Pete.

Dear Sir
I am user rokade.arvind@gmail.com of your excellent system.

On 23rd Feb. I switched to another wifi credential for minor changes in Arduino program & switched back to original wifi credential running OK—since 23 January.

Again the same message is started coming. i.e. ESP8266 “Connecting to blynk cloud:80”
and my mobile and deshboard is offline now.

Please share your expertise.
regards
AR Rokade, India

I hope I am able to put up the question in right manner.
and hope that it is understandable.

Please extend your great help.

I’d suggest that you read this topic and provide the missing information in the correct format…

Pete.

Details :
• Hardware model + communication type. : ESP8266 on wifi
• Dashboard at rokade.arvind@gmail.com and mobile, Arduino 1.8.19, Samsung A10 Andriod ver 9
• Blynk version 1.0.1
• Blynk Library version 2.3.0

#define BLYNK_DEVICE_NAME "Marram"
#define BLYNK_AUTH_TOKEN "wMXbLAiRw7Q32MSbmycuHGzH3gCjCCZ9"

#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>

char auth[] = BLYNK_AUTH_TOKEN;
char ssid[] = "RaMu";
char pass[] = "rahulaaa";

BlynkTimer timer;
void checkPhysicalButton();
//void checktime();

int relay1State = LOW;
int relay2State = LOW;
int relay3State = LOW;
int relay4State = LOW;
int relay5State = LOW;
int relay6State = LOW;
int relay7State = LOW;
int relay8State = LOW;
int pushButton1State = HIGH;
int pushButton2State = HIGH;
int count;

//#define SERVER "blynk-cloud.com"             // Comment-out if use Blynk hosted cloud service
//#define PORT 8442

#define RELAY_PIN_1      12   //D6
#define RELAY_PIN_2      16   //D0
#define RELAY_PIN_3       4   //D2
#define RELAY_PIN_4       5   //D1 
#define RELAY_PIN_5       2   //D4
#define RELAY_PIN_6       1   //Tx 

#define PUSH_BUTTON_1    13   //D7
#define PUSH_BUTTON_2    14   //D5

#define VPIN_BUTTON_1    V12 
#define VPIN_BUTTON_2    V13
#define VPIN_BUTTON_3    V14
#define VPIN_BUTTON_4    V15  
#define VPIN_BUTTON_5    V16
#define VPIN_BUTTON_6    V17  
#define VPIN_BUTTON_7    V18
#define VPIN_BUTTON_8    V19  

BLYNK_CONNECTED() {

 Blynk.syncVirtual(VPIN_BUTTON_1);
 Blynk.syncVirtual(VPIN_BUTTON_2);
 Blynk.syncVirtual(VPIN_BUTTON_3);
 Blynk.syncVirtual(VPIN_BUTTON_4);
 Blynk.syncVirtual(VPIN_BUTTON_5);
 Blynk.syncVirtual(VPIN_BUTTON_6);
 Blynk.syncVirtual(VPIN_BUTTON_7);
 Blynk.syncVirtual(VPIN_BUTTON_8);
}

BLYNK_WRITE(VPIN_BUTTON_1) {
   Blynk.virtualWrite(VPIN_BUTTON_1, relay1State);
 }
BLYNK_WRITE(VPIN_BUTTON_2) {
   Blynk.virtualWrite(VPIN_BUTTON_2, relay2State);
}

BLYNK_WRITE(VPIN_BUTTON_3) {
 if (relay2State==LOW && relay6State==HIGH){
 relay3State = param.asInt();
 digitalWrite(RELAY_PIN_3, relay3State);
 } else {
   relay3State=HIGH;
 digitalWrite(RELAY_PIN_3, relay3State);
 Blynk.virtualWrite(VPIN_BUTTON_3, relay3State);
 }
}

BLYNK_WRITE(VPIN_BUTTON_4) {
 relay4State = param.asInt();
 digitalWrite(RELAY_PIN_4, relay4State);
}

BLYNK_WRITE(VPIN_BUTTON_5) {
 relay5State = param.asInt();
 digitalWrite(RELAY_PIN_1, relay5State);
}

BLYNK_WRITE(VPIN_BUTTON_6) {
 if (relay2State==LOW && relay3State==HIGH){
 relay6State = param.asInt();
 digitalWrite(RELAY_PIN_2, relay6State);
 } else {
   relay6State=HIGH;
 digitalWrite(RELAY_PIN_2, relay6State);
 Blynk.virtualWrite(VPIN_BUTTON_6, relay6State);
 }
}
//BLYNK_WRITE(VPIN_BUTTON_6) {
 //relay6State = param.asInt();
 //digitalWrite(RELAY_PIN_2, relay6State);
//}

BLYNK_WRITE(VPIN_BUTTON_7) {
 relay7State = param.asInt();
 digitalWrite(RELAY_PIN_5, relay7State);
}

BLYNK_WRITE(VPIN_BUTTON_8) {
 relay8State = param.asInt();
 digitalWrite(RELAY_PIN_6, relay8State);
}

void checkPhysicalButton()
{
   if (digitalRead(PUSH_BUTTON_1) == LOW) {
         if (pushButton1State != LOW) {
      relay1State = LOW;
             Blynk.virtualWrite(VPIN_BUTTON_1, relay1State);
            }
    pushButton1State = LOW;
   } 
else 
{
    pushButton1State = HIGH;
     relay1State = HIGH;
       Blynk.virtualWrite(VPIN_BUTTON_1, relay1State);
 }

    if (digitalRead(PUSH_BUTTON_2) == LOW) {
           if (pushButton2State != LOW) {
         relay2State = LOW;
        Blynk.virtualWrite(VPIN_BUTTON_2, relay2State);
             }
       pushButton2State = LOW;
     } 
else 
{
       pushButton2State = HIGH;
           relay2State = HIGH;
             Blynk.virtualWrite(VPIN_BUTTON_2, relay2State);
       }

              if (relay3State==LOW || relay6State==LOW){
              count=count+1;
              }    
               else
              { count =0; }

                 if (count>=900) {   //1000ms=1 sec x 900 = 900 seconds = 15.0 minutes
                 relay3State=HIGH;
                 digitalWrite(RELAY_PIN_3, relay3State);
                 Blynk.virtualWrite(VPIN_BUTTON_3, relay3State);
                  }

                 if (relay6State==LOW && count>=750) {   
                 //1000ms=1 sec x 750 = 750 seconds = 12.5 minutes
                 relay6State=HIGH;
                 digitalWrite(RELAY_PIN_2, relay6State);
                 Blynk.virtualWrite(VPIN_BUTTON_6, relay6State);
                   }    
 }

//void checktime()

void setup()
{
 Serial.begin(115200);
 //Blynk.begin(auth, ssid, pass);
 //Blynk.begin(AUTH, WIFI_SSID, WIFI_PASS,"blynk-cloud.com", 8442);
 Blynk.begin(auth, ssid, pass, "blynk.cloud", 80);

      pinMode(PUSH_BUTTON_1, INPUT_PULLUP);
      pinMode(PUSH_BUTTON_2, INPUT_PULLUP);

 pinMode(RELAY_PIN_1, OUTPUT);
 pinMode(RELAY_PIN_2, OUTPUT);
 pinMode(RELAY_PIN_3, OUTPUT);
 pinMode(RELAY_PIN_4, OUTPUT);
 pinMode(RELAY_PIN_5, OUTPUT);
 pinMode(RELAY_PIN_6, OUTPUT);

    digitalWrite(RELAY_PIN_1, HIGH);
    digitalWrite(RELAY_PIN_2, HIGH);
    digitalWrite(RELAY_PIN_3, HIGH);
    digitalWrite(RELAY_PIN_4, HIGH);
    digitalWrite(RELAY_PIN_5, HIGH);
    digitalWrite(RELAY_PIN_6, HIGH);  
  
         timer.setInterval(1000L, checkPhysicalButton);
       // timer.setInterval(500L, checkPhysicalButton);
        //timer.setInterval(5000L, checktime);
}

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

```cpp

//blynk deshbosrd stopped going online although esp8266 searching blynk cloud 80
System OK till 23rd and stopped going on line.

I don’t understand either of these two responses.

You’ve also skipped-over quite a bit of the other information that was requested, which doesn’t help us to help you.

Pete.

sorry blynk version is 1.0.1
and library 2.7.4

URL links https://github.com/esp8266/Arduino/releases/download/2.7.4/package_esp8266com_index.json
http://www.arduino.cc/en/Guide/Libraries
http://arduino.esp8266.com/stable/package_esp8266com_index.json
https://github.com/ekstrand/ESP8266wifi/blob/master/library.json

system was working ok till 23rd and stopped going on line.
only added one display virtual button on dashboard v20
please guide

Is suggest you update to the latest version which is 1.2.0

I assume from the link you provided that you’re referring to the ESP8266 Core?
If that’s the case then you’re using a very old version. The latest version is 3.1.1

And you’re still missing the other requested information.

Pete.

Dear Pete Sir

my esp8266 E12 is at remote location.
It was online till 23 feb 2023.

I just added v20 button and tested another esp8266 with me on test wifi…
It worked on 23rd feb 21pm India time.

Then reconnected back to remote wifi.
It stopped going online.

Please check the above lines and please guide.
I am on window7.
The same situation was in January last month when it connected next day on own.
Please extend your expertise. Unable to pick what more information required.