Closed cioppz closed 1 year ago
Are you sure that your token is correct?
Got it from the extractor for windows
@PiotrMachowski also the error comes from miioprotocol.py, so i thought the problem wasn’t coming from your integration, instead from the Xiaomi one
Yes, it complains about token
Do u have any idea on how to try and fix it?
You can try to reset your vacuum and extract a new token.
I reset the vacuum, got another token, but i’m getting the same error with a different “position” at the last Line (now i get position 13 instead of 5). I also did some test: Setting up the vacuum automatically with Miio integration works just fine. Doing it manually entering ip and token gives me the same error as trying to use the map extractor. That’s with the new token obv.
Ok, another idea:
You can try to configure the vacuum using Miio integration and check the token in /config/.storage/core.config_entries
file
It’s the same. So let me clear out the situation after the rest: I got the new token, which is the same i can see in /config/.storage/core.config_entries. Using this token in manual config gives me the same error as your addon. Automatic setup, the integration appears in the device section, but now i’m getting ‘entity not ready yet’ or time out errors for the vacuum. In another attempt yesterday i got those errors after the reset, but they fixed by themselves during the night.
Quick update, just trying few resets got it working.
I was about to suggest to try resetting until it works. 👍 I'm glad you got it working. Xiaomi Miio integration should work now as well, right?
Checklist
The problem
Due to other compatibilities, I’m stuck on this version of home assistant, so I’d like to find if that’s the problem. The entity isn’t even created after this error. First time trying this integration, so I can’t describe a previous situation in which it worked.
What version of an integration has described problem?
V2.2.0
What was the last working version of an integration?
No response
What vacuum model do you have problems with?
Rockrobo.vacuum.v1
What version of Home Assistant do you use?
Core-2022.12.8
What type of installation are you running?
Home Assistant OS
Camera's configuration
Errors shown in the HA logs (if applicable)
Additional information
No response