Start a new topic

How to reset WiFi Password?

Newbie here.


I got as far as connecting the OpenEvse WiFi to my house router ... could see the system charging.  Yippee!


Then I must have done something wrong (not that I know what I did) because my web browser now can't get to the charger.  Browser says:


      Log in to 198.168.222.114:80   <this was assigned by my router

         ,/ Username

         ./ Password


I've tried admin / admin,   openevse / openevse , and a lot of combinations and other stuff.  Nada.


So how do I reset the WiFi module back to factory default?  


Thanks!   -Cliff


1 person has this problem

To reset to factory default press and hold GPIO0 for 10 seconds.



i have a similar issue.  Somehow the uasername/password combo no longer works.  I looked through the browser passwords and found it and it matches what I thought I set it to.  I have the one of the latest WIFI firmwares and my understanding was that it would allow me to reset the password by using some sort of menu button presses.  I've put in a ticket requesting assistance but I've not had any response yet.  So I have a very dumb charger right now.  which is ok.. it is charging for what I need, I'd just like to get my unit updated and accessible.

Hardware factory reset option has no been implemented in V2.7.4, sorry for the hassle. https://github.com/OpenEVSE/ESP8266_WiFi_v2.x/releases

We agree with you. The 1.0 version had this feature. In 2.0 it was removed in favor of using the button to switch from client mode to Access Point Mode.


We are looking at putting firmware wipe back on the WiFi GOIO0 button (easy to do we already have the code) and using a super long press on the Front panel button to switch from client mode to Access Point Mode (a bit more difficult to do).


When you setup WiFi again make sure your browser does not autofill the username and password field or set them to something you know.


Still have not received anything.  Friday 20 April.  Please email the tracking number. 


A good argument for building hardware reset of wifi password:  it's now been three weeks of downtime and frustration over a truly trivial problem.

Yes on all 3. I will send the tracking via Email.

I sent the Huzzah chip out on April 10th; I've not heard a peep since then.


  Did it arrive?

  Has it been reprogrammed?

  Has it been sent back to me?


Thanks,

-Cliff

mailing it to you today

Offer still stands. Once setup, the process takes about 30 seconds.


You are welcome to send the module to us and we will reprogram at no cost...:

OpenEVSE Support

1055 W Columbia Way

Suite 108

Lancaster, Ca 93534

Chris, can you just send me a working wifi huzzah card.  I will return the one that's sitting over here.  


This has wasted way too much time.


-Cliff Stoll

  6270 Colby St

  Oakland, CA 94618

       phone 510 654 3958


   2018-April-10,   1:30pm

Sigh.  Nothing happens.  This has wasted 14 hours of my life so far.


Attach Huzzah wifi board to programmer.  Programer to USB Mac OSX/High Sierra


occasional blue blinks from Huzzah card.  Programmer card steady bright red led.


On the Huzzah wifi card, hold own GPIO0 button.  Push Reset button.


Now Huzzah card is dim red.


execute this command from mac terminal:


python esptool.py -p /dev/tty.SLAB_USBtoUART -b 74880 erase_flash


*NO* blue flashing light on programmer.  Huzzah card stays dim red.


After 15 seconds terminal shows:


Cliffs-iMac:esptool-2.3.1 cliff$ python esptool.py -p /dev/tty.SLAB_USBtoUART -b 74880 erase_flash

esptool.py v2.3.1

Connecting........_____....._____....._____....._____....._____....._____....._____....._____....._____....._____


A fatal error occurred: Failed to connect to Espressif device: Timed out waiting for packet header




***NOTE*** 

If I repeat the above, but do not attach the Huzzah card, then the blue led on the programmer periodically lights up during the process.  This shows that commands are reaching the programmer, and it is attempting to send data to the Huzzah card. 


However, if the Huzzah card is plugged into the programmer, then the programmer's blue led never lights up ... no matter if the command is sent when the Huazzh card is in programming mode or otherwise.  


Is this normal?




Everything sounds correct. The dimly lit LED is correct behavior for programming mode.


The Serial board should always have the red led on. When you run the command the blue led should flash a couple times then the blue led on the wifi should flash. Then both blue LEDs should flash rapidly as the program is run.


We do not have much experience with OS X but all your steps look correct and in sync with guides we found like this one.


https://learn.adafruit.com/building-and-running-micropython-on-the-esp8266/flash-firmware



Saga continues:   With the programmer disconnected from the wifi board, the programmer's bright red led is always on, and a blue led flashes during while the esptool commands are being executed.


With the programmer connected to the wifi board, the programmer's bright red led is always on, but the blue led does not flash while the esptool commands are being executed.


In both cases, I get the same error message: 

Connecting........_____....._____....._____....._____....._____....._____....._____....._____....._____....._____


A fatal error occurred: Failed to connect to Espressif device: Timed out waiting for packet header



The wifi board blue led flashes dimly about once a second.   A red led lights up brightly when the gpio0 button is pressed.  When the reset button is pressed at the same time as the GPIO0 button, the red led lights dimly.  



the "chip_id" command has the same result:

python esptool.py --port=/dev/tty.SLAB_USBtoUART -b 1500000 chip_id



Additional information: [7:30 to 8:30AM April 10]


   On suggestion from https://github.com/espressif/arduino-esp32/issues/370  

I have downloaded and installed Silicon Labs VCP Driver from 

     https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers


This, of course, required security over-ride, since it was not a signed piece of software.


Now, after rebooting the macintosh, I can see:

Cliffs-iMac:esptool-2.3.1 cliff$ ls /dev/tty.*

 

/dev/tty.Bluetooth-Incoming-Port /dev/tty.SLAB_USBtoUART



That port,  /dev/tty.SLAB_USBtoUART  

apparently must be passed to esptool as follows:


python esptool.py --port=/dev/tty.SLAB_USBtoUART  -b 1500000 erase_flash



However, at this point, I receive the following error:



Cliffs-iMac:esptool-2.3.1 cliff$ python esptool.py --port=/dev/tty.SLAB_USBtoUART  -b 1500000 erase_flash

esptool.py v2.3.1

Connecting........_____....._____....._____....._____....._____....._____....._____....._____....._____....._____


A fatal error occurred: Failed to connect to Espressif device: Timed out waiting for packet header



(Yes, I did press the "GPIO0 button" and the "reset" button on the wifi card)



To be continued...

Thanks Christopher.  Here's what I"m doing:



 4PM, opened Openevse, brought lid with Wifi module to my office, plugged into Mac, as per instructions.  Easy.


 4:10PM, went to GitHub.com/esspressif/esptool.  Downloaded and expanded folder " esptool-2.3.1 " onto my OSX desktop.


Opened terminal window.  Typed esptool.py -b 1500000 erase_flash   

response:   Could not find a version that satisfies the requirement esptool (from versions: )

No matching distribution found for esptool


ok, maybe i'm in the wrong directory.


within terminal:

 cd/desktop/esptool-2.3.1

Cliffs-iMac:esptool-2.3.1 cliff$ pwd

/Users/cliff/desktop/esptool-2.3.1

Cliffs-iMac:esptool-2.3.1 cliff$ ls

LICENSE MANIFEST.in PKG-INFO README.md espefuse.py espsecure.py esptool.egg-info esptool.py setup.cfg setup.py

Cliffs-iMac:esptool-2.3.1 cliff$ esptool.py -b 1500000 erase_flash

-bash: esptool.py: command not found

Cliffs-iMac:esptool-2.3.1 cliff$ 


Maybe I must type Python esptool?



Cliffs-iMac:esptool-2.3.1 cliff$ python esptool.py -b 1500000 erase_flash

Traceback (most recent call last):

  File "esptool.py", line 34, in <module>

    import serial

ImportError: No module named serial



4:30 PM:  from Stack Overflow, suggestion that I must install "PYSERIAL"


Cliffs-iMac:esptool-2.3.1 cliff$ pip install pyserial

Collecting pyserial

  Cache entry deserialization failed, entry ignored

  Could not find a version that satisfies the requirement pyserial (from versions: )

No matching distribution found for pyserial



try again:


Cliffs-iMac:esptool-2.3.1 cliff$ sudo easy_install pyserial

Password:

Searching for pyserial

Reading https://pypi.python.org/simple/pyserial/

Couldn't find index page for 'pyserial' (maybe misspelled?)

Scanning index of all packages (this may take a while)

Reading https://pypi.python.org/simple/

No local packages or working download links found for pyserial

error: Could not find suitable distribution for Requirement.parse('pyserial')




Another suggestion, this from reddit:


Cliffs-iMac:esptool-2.3.1 cliff$ python -m pip install pyserial

Collecting pyserial

  Cache entry deserialization failed, entry ignored

  Could not find a version that satisfies the requirement pyserial (from versions: )

No matching distribution found for pyserial



6:30PM  My neighbor came over and spent an hour, doing a fresh install of Python, Brew, PiP, Pyserial, and several other things. 

now, I can enter this command:

Cliffs-iMac: esptool-2.3.1 cliff$ python esptool.py -b 1500000 erase_flash


And I receive the following error message:


esptool.py v2.3.1

Traceback (most recent call last):

  File "esptool.py", line 2637, in <module>

    _main()

  File "esptool.py", line 2630, in _main

    main()

  File "esptool.py", line 2349, in main

    esp = ESPLoader.detect_chip(args.port, initial_baud, args.before, args.trace)

  File "esptool.py", line 222, in detect_chip

    detect_port = ESPLoader(port, baud, trace_enabled=trace_enabled)

  File "esptool.py", line 193, in __init__

    self._port = serial.serial_for_url(port)

  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/serial/__init__.py", line 88, in serial_for_url

    instance.open()

  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/serial/serialposix.py", line 268, in open

    raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))

serial.serialutil.SerialException: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'



2 1/2 hours and I still haven't erased the password.  


Login or Signup to post a comment