Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edimax SP2101W V2 with firmware 3.00c works fine. See instructions on how to obtain the password. #17

Open
maxkueng opened this issue Apr 20, 2020 · 3 comments

Comments

@maxkueng
Copy link

maxkueng commented Apr 20, 2020

Hi!

I was able to successfully run the example code from the README without any exceptions thrown using an SP2101W V2 with firmware 3.00c.

So, I have an Edimax SP2101W V2 and made the mistake of clicking "yes" when I was asked to upgrade the firmware before doing my research. And boom, I was fucked. People suggested downgrading the firmware but I don't have a Window PC.

However, I found a solution in the NodeRED forum. The problem with most integrations and libraries that don't work with the new FW is that the password is no longer "1234" and it's no longer changeable by the user in the app, or even visible to the user. It's randomly generated during setup right after entering a name for the plug (before entering the name it's actually "1234") and then it's stored hidden inside the app.

Sucks that the setup is now so cumbersome, but the good news is that there is no need to downgrade the firmware.

Please check out Harpau's post from Oct. 2019 under this link:
https://discourse.nodered.org/t/searching-for-help-to-read-status-of-edimax-smartplug/15789/6

I followed the instructions step by step and have successfully obtained the password.

You have to do a factory reset (hold both "power" and "reset" buttons for 10+ seconds) until the LEDs turn red, then release and wait for reboot until the LEDs blink slowly in red. See Edimax FAQ

Here's a copy of the post:

  1. Find out the IP your Smartplug is actually using (you will need this in step 9).
  2. Delete the Smartplug from the EdiSmart App
  3. Perform a factory reset on the Smartplug
  4. As soon as the Smartplug is in "Installation Mode", connect your Smartphone with the "EdiPlug.Setup xx" WLAN as well as your PC.
  5. In the browser on your PC enter "http://192.168.20.3:10000/tnb2". The response should be "OK".
  6. On your Smartphone open the EdiSmart App
  7. On your PC connect again to your "normal" WLAN
  8. On your Smartphone select the WLAN and password for your Smartplug
  9. As soon as you are requested to enter a new name for your Smartplug, start Telnet with the IP from step 1 and Port 1355 on your PC
  10. On your Smartphone type in the new name for your Smartplug and press OK
  11. Now immediately, and while your Smartphone is still configuring your Smartplug, type in "nvc all" in the Telnet session on your PC. At the end of the list a password different than "1234" should be shown. If not, again type in "nvc all" until the newly generated password is displayed.

Note for Step 5: Use username "admin" and password "1234" to log in if prompted.

Note for step 11: You may have to run nvc all multiple times until you see the password change from "1234" to something else. The password is in the last line of the command output. Make sure you also follow the timing in the instructions above as the telnet server will shut down shortly after the setup.
Write the password down because this is the last time you'll see it.

Related issues: #14 #8

@hgcvm
Copy link

hgcvm commented Apr 21, 2020

Great find @maxkueng
I can confirm this works. I would like to add that you have to be quick in step 11. Press "arrow up" and "enter" continuously so you catch the password change before telnet goes down.

@maxkueng
Copy link
Author

maxkueng commented Apr 21, 2020

I copied the instructions verbatim but the instructions in step 11 literally say "Now immediately" ;)

The problem with this procedure is that it can't really be automated, so third-party software will never be able to make this process smooth. Unless someone manages to reverse-engineer the entire setup process so that everything could be done through a third-party app that doesn't hide the password. But it seems like a big effort.

@griszka77
Copy link

Gentlemen, where to download firmware 3.0c?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants