Closed fangedhex closed 4 years ago
The provisioning procedures will reset the token, so using configure-wifi
when the device is not already provisioned will reset the token. So unfortunately you will need to extract the token some other way (e.g., from the database of the mobile app). I'm not sure if installing dustcloud in non-provisioned mode would allow provisioning without using the mi home app, but that could work (with all its caveats).
Hello,
I have some problem setting up my vacuum robot to work on my home network (and using it through Home Assistant). I did not use the Xiaomi Home App to setup the robot : I reset its wifi setting to start from scratch and get the token that I need.
So I tell what I did. I connected to the wifi network created by the robot, I got the token through "mirobo discover". I test some commands like getting its status, starting cleaning, pause and go back to base : they works as expected here.
Now I use the command "mirobo configure-wifi [ssid] [password]", the robot "restart" and connect successfully to my home network (I see it on my router's web interface and also I'm able to ping it with its new IP). But now, the commands are timing out and I don't understand why (I looked into wireshark and it seems that the robot is responding).
Here is the log with the "-d" option (if it can helps) :
I tried to redo everything multiple times to see if I didn't screw up somewhere. But everything works when connecting directly to robot wifi but not when the robot is connected to my home wifi network.
Thanks for anyone who will try to help to fix that issue :)