gree-remote icon indicating copy to clipboard operation
gree-remote copied to clipboard

Maximum length for AP password?

Open Daniel-K1986 opened this issue 3 years ago • 5 comments

Hello,

I can successfully register my AC with the "guest wifi" of a FritzBox, for example: ssid: "Guest", pw: "1234ABCD" But I am not able to register my AC with either the main wifi or the guest wifi with a significant longer password (30-40 characters). The response is always resp={'t': 'ret', 'r': 200, 'mac': 'mac1234'} The wifi AP of the AC shuts down and comes back up after a few moments. Are there any restrictions? Or any ideas? I do not want to change my wifi password to a shorter one (this could weaken security and also I am too lazy).

Kind regards, Daniel

Daniel-K1986 avatar Jun 12 '22 08:06 Daniel-K1986

Hi @Daniel-K1986,

My network has a 32-characters long password and my AC units can connect to it without problems. The WPA standard supports 8-63 characters, so the length should not be a problem. Do you have special or accented characters in the password which can't be encoded in plain ASCII?

tomikaa87 avatar Jun 27 '22 12:06 tomikaa87

@Daniel-K1986 Did you get anywhere with this? I have a similar problem (unit accepts the password, get a 200 response, but the built in comes backup after a minute or so). From what I can see in the network logs it connects but never gets an IP address.

My main wifi is UniFi. I have had devices before (Eve Extend) which were flakey with UniFi but that worked perfectly with FritzBox, so that is a concern. I haven't tried a weaker password yet.

Jc2k avatar Jul 13 '22 13:07 Jc2k

Ok made a new SSID on my existing WiFi hardware. Insecure 7 letter password worked straight away, trying again with the same test AP and a 32 character password failed. 31 character then worked. All of the passwords were ASCII, lower case, upper case and numbers. So seems like my model has a limit on the password size.

This was an EcoAir rebrand (the crystal mk2).

Jc2k avatar Jul 13 '22 16:07 Jc2k

Hi, you were faster... ;-) In the end, I connected the ACs with my guest wifi network. And for that network, I changed the password to 26 characters. If I remember I have tested the maximum length and came up with around 30 characters, same as you.

Kind regards,

Daniel

Daniel-K1986 avatar Jul 13 '22 16:07 Daniel-K1986

Cheers for the reply :) helps me be sure I haven't fat fingered something 🫠

Jc2k avatar Jul 13 '22 16:07 Jc2k

Added this issue to the Remarks section of the README.md.

tomikaa87 avatar Aug 30 '22 07:08 tomikaa87