-
Notifications
You must be signed in to change notification settings - Fork 2
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
Invalid Password on Newer Firmware Versions #1
Comments
Hi @kq9914 - I've been meaning to get back to this project so thanks for pointing this out! Not sure when I'll have time to look at it but I'll definitely update here if I make any progress. Please let me know if you find out anything more, the link was already very helpful. |
I've been messing around with the unit and trying to look at wi-fi traffic and such. Exchanges with the cloud seem to be encrypted if there's any interesting information and the local app hitting the edilife.cgi endpoint uses digest auth. I left the unit sitting for a while after it connected to wifi, but I didn't complete the setup process of giving it a name and password, and, by chance, the password I gave it in that case actually worked against edilife.cgi. Not sure if it had anything to do with it, but I did hit the edilife.cgi endpoint and login with the admin/1234 creds before coming back and assigning a password. Your script did not work at that point though, but that wasn't really a valid test either because I found out later for the script to work, it needs to be running from the same subnet. I'm hesitant to reset the unit and keep testing since I have it working at the moment. My guess right now as to how I ended up in this state:
|
So I ended up resetting the device again and your script seemed to work this time with no issues when connecting from the subnet (I had hardcoded the So bottom line: I don't think there was an issue with your code, so sorry about opening an "issue". A little bit of additional info though: I wanted to use this device without the cloud. I was able to block it from talking outbound at the firewall and use your script to poll it, but it would reboot every 25-30 minutes since it didn't think it had internet connectivity. I found another configuration item basic: |
Hi @kq9914 thanks for the update. Good idea to set |
Hi @willmoffat appreciate the heads up on that. I was seeing the temperature ramp up and CO2 stay at 400 quite a bit after blocking it at the router. Is that what you were seeing too or something else? After I changed the |
Yes, that's what I was seeing. So it sounds like you've solved it. |
Firmware 1.2.2 (maybe lower too) of the A!-2002w seems to implement a generated password much like the Edimax plugs do now. The "app" password to connect to the device does not match the one on the edilife.cgi page. The plugs have a work around, but that does not seem to for the AI-2002w. The http://<sensor_ip>:10000/tnb2 page does not return "OK" and Telnet does not seem to open up on port 1355.
Here's a link to the issue in one of the Edimax plug repos with the instructions for the plug:
mwittig/edimax-smartplug#17
Not necessarily expecting a "fix" here but this script won't work as designed on units with current shipping firmware, so hopefully saving a headache for others.
I'm still trying to figure something out myself, but no luck so far.
The text was updated successfully, but these errors were encountered: