JoJ123 / ioBroker.mihome-airpurifier

ioBroker adapter for Xiaomi Air Purifier
MIT License
11 stars 8 forks source link

Xiaomi Air Purifier "Pro" EU does not "configure", while "tokens" and "discover" works ok #44

Open tmuehlhoff opened 4 years ago

tmuehlhoff commented 4 years ago

Describe the bug
After resettiing the Wifi settings and connecting to the device's Wifi, I can discover the device and receive the token. I can configure the token. But I can't configure the Wifi (or use any of the other actions):

To Reproduce
see log and attached Wireshark capture file. `tomas@thinky:~$ sudo miio tokens update 192.168.13.1 --token 3c09b86ee341016db3f0a0d03fecfab7 INFO Updating token for 192.168.13.1

INFO Connected to miio:63251950 - trying to change token

Token has been updated tomas@thinky:~$ sudo miio configure 192.168.13.1 --ssid peppiot --passwd lev-nx900xxxx INFO Attempting to configure 192.168.13.1

ERROR Encountered an error while updating wireless

Error was: Failed updating wireless tomas@thinky:~$ sudo miio configure 192.168.13.1 --ssid peppiot --passwd lev-nx900xxxx INFO Attempting to configure 192.168.13.1

ERROR Encountered an error while updating wireless

Error was: Failed updating wireless tomas@thinky:~$ `

Expected behavior
I expect to be able to configure the Wifi-settings so that the device can connect to my home Wifi

Screenshots & Logfiles
If applicable, add screenshots and logfiles to help explain your problem.

Versions:

Additional context

tmuehlhoff commented 4 years ago

miio.pcapng.gz