I have a LED smart bulb (probably a ESP8255 based one) flashed with ESPurna. It was configured to connect to my WiFi network and it does, but unfortunately I forgot the password to connect to it (it presents a Basic Authentication login popup).

I have hope that a hard reset would bring it back to factory settings but I do not know how to perform that hard reset.

I tried to switch it on (for 4-5 seconds) and off a few times, as read somewhere but it did not do the trick.

Is there a standard (or at least expected) way to shortcut some PINs in order to simulate a "reset button press"? (I really, really would like to avoid reflashing it because of the tricky soldering)


1 Answer 1


Switching it on and off probably won't help as the configuration is probably saved into non-volatile memory. You do not want to reconfigure your device after every blackout or such.

Your other chanse would be the hard reset feature added in release 1.6.7 but that would require a button and as per the espurna/config/hardware.h file, the AI-Thinker AI Light does not have a button defined by default.

// -----------------------------------------------------------------------------
// AI Thinker
// -----------------------------------------------------------------------------

#elif defined(AITHINKER_AI_LIGHT)

    // Info
    #define MANUFACTURER        "AITHINKER"
    #define DEVICE              "AI_LIGHT"
    #define DUMMY_RELAY_COUNT   1

    // Light
    #define LIGHT_CHANNELS      4
    #define MY92XX_MODEL        MY92XX_MODEL_MY9291
    #define MY92XX_CHIPS        1
    #define MY92XX_DI_PIN       13
    #define MY92XX_DCKI_PIN     15
    #define MY92XX_MAPPING      0, 1, 2, 3

There is no such thing on the schematic either.

All in all you will need a re-flash, either to reset the configuration or to upload a new firmware with a button defined on one of the free GPIOs of the ESP.

  • Switching on and off several times within quick succession (allowing the light to turn on before switching off) is indeed the way some bulbs are designed to reset. Commented Dec 17, 2018 at 0:54
  • @multithr3at3d With what firmware? Commented Dec 17, 2018 at 9:53
  • not sure about firmware, but I am referring to Magic Home/Flux LED bulbs I believe Commented Dec 17, 2018 at 21:45
  • 1
    I ended up reflashing. As for the switch on/off sequence to reset the bulb - I found several mentions on Internet (such as cnet.com/news/manually-reset-smart-led-light-bulbs)
    – WoJ
    Commented Dec 30, 2018 at 8:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.