Problem with wifi connection after program update

Hello .
It has been 2 days since the orca I do the update of my program on a photon.
It does connect more to the cloud (green LED flashing slowly).
My system works no longer.
cordially
Pedro

orca? I assume that’s a typo, not that you’re dealing with killer whales :wink:

What do you mean by “program update”? Did you upgrade to a new system version, or are you talking about new application software (your program)? I think we will need to see your code to diagnose the problem.

Yes it is my application software.
I currently have 5 photons with 5 diferent application software. They are all in firmwar 0.6.0.
On Tuesday I brought some improvement to my programs. I have to download in OTA. The 5 system does not work anymore blinking green.
All functionality cordially from 2 years.

I updated the library Blynk.

Just to be sure, is it blinking green or breathing green?
Could you try safe mode to see if that works?

Hello,

yes is breathing green .
I test safe mode tomorrow (I am not at home).

Merci

Next time, try to explain the issue as accurately as possible, since breathing indicates a different situation than blinking. Breathing green indicates the cloud connection is lost, most likely due to blocking code. In the process of:
Code works -> make changes -> code no longer works, it’s often a good idea to check what you’ve changed and whether or not that could be the culprit. You’re most likely blocking the cloud connection for too long, though it’s impossible to tell without seeing code.

1 Like

Merci

I use this code for debug.
I have the same problem .
I think there is a problem with the Blynk library

Thank you for your support

/**************************************************************
 * 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 groups:              http://www.fb.com/blynkapp
 *                               http://twitter.com/blynk_app
 *
 * Blynk library is licensed under MIT license
 * This example code is in public domain.
 *
 **************************************************************
 *
 * No coding required for direct digital/analog pin operations!
 *
 * WARNING: It is recommended to use SparkCorePolledTimer library
 *          to make periodic actions (similar to SimpleTimer on Arduino).
 *
 **************************************************************/

//#define BLYNK_DEBUG       // Uncomment this to see debug prints
#define BLYNK_PRINT Serial
#include "blynk/blynk.h"

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

// Attach a Button widget (mode: Switch) to the Digital pin 7 - and control the built-in blue led.
// Attach a Graph widget to Analog pin 1
// Attach a Gauge widget to Analog pin 2

void setup()
{
    Serial.begin(9600);
    delay(5000); // Allow board to settle

    Blynk.begin(auth);
}

// Attach a Button widget (mode: Push) to the Virtual pin 1 - and send sweet tweets!
BLYNK_WRITE(V1) {
    if (param.asInt() == 1) { // On button down...
        // Tweeting!
        // Note:
        //   We allow 1 tweet per minute for now.
        //   Twitter doesn't allow identical subsequent messages.
        Blynk.tweet("My Particle project is tweeting using @blynk_app and it’s awesome!\n @Particle #IoT #blynk");

        // Pushing notification to the app!
        // Note:
        //   We allow 1 notification per minute for now.
        Blynk.notify("You pressed the button and I know it ;)");
    }
}

// Attach a ZeRGBa widget (mode: Merge) to the Virtual pin 2 - and control the built-in RGB led!
BLYNK_WRITE(V2) {
    int r = param[0].asInt();
    int g = param[1].asInt();
    int b = param[2].asInt();
    if (r > 0 || g > 0 || b > 0) {
        RGB.control(true);
        RGB.color(r, g, b);
    } else {
        RGB.control(false);
    }
}

void loop()
{
    Blynk.run();

    if (ModeBtnPressed()) {
        Blynk.notify("Mode button was pressed");
    }
}

// *** Utility functions

bool ModeBtnPressed() {
    if(millis() > 5000) {
        if(BUTTON_GetDebouncedTime(BUTTON1) >= 50) {
            BUTTON_ResetDebouncedState(BUTTON1);
            return 1;
        }
    }
    return 0;
}

Could you try Safe Mode, and flashing Tinker or Blink An LED?

1 Like