The autocomplete from map names and room names was not properly working. This should fix the problem of @markusv too.
Rounding of the clean area and clean time.
New Features:
Expanded the room and zone cleaning trigger flow cards with the optional argument to specify the number of times to clean. If not specified, it defaults to 1.
Added a new trigger flow card to detect that a map was loaded.
Hi,
Thank you for your work. This app is great when it works. Currently I have an issue (probably the same as some others here), that it stops working and updating data after some time (usually a day or two). It looks like, if I restart the Roborock Cloud app, it is able to do a request successfully, but only a few (maybe only one) and then it gets to the same (broken) state as before.
Here is my report: 58439395-c427-4f62-9e21-1e01859f5461
Iāve pushed v0.12.0 to test, and this will become the next stable version too.
Changes included:
Bugfix for the map names, as reported here in the forum
Add UI sensors for mop attached, water box attached and mop drying (flow cards coming later, if useful)
Mark the device as available / unavailable if the connection is lost. This should give use better visibility for people who still face connection errors.
Replaced a number of icons for visibility.
@hubo
I was looking into your diagnostics report closer, could you describe me what you did before the report?
It looks to me that in a matter of +/- 3 minutes the app was restarted 3 times. Is that correct?
It also appears to me that the intial data comes in, and after that you get disconnected by the Roborock API. The app attempts a reconnect, but that fails because it is disconnecting according to the Roborock APIā¦
Could you check with v0.12.0 that it marks it as unavailable directly then? Or at least from at the moment it becomes unresponsible.
Additionally, in your case it does not get resolved by restarted the app?
In that case, I noticed something in the iobroker app, where they do a full relogin sequence after some time. Iām uncertain if this would help in this case, but it is worth a try to add this to the app to do a full relogin after some time (e.g. 1 day).
I have set the vacuum cleaner to start when I leave my home, so I am not aware when exactly stops working. However, when I noticed it, I have tried to restart and call the Empty bin command to find out if it is working again. Suddenly it is not.
I am using Homey Pro with your app and the original Roborock app only to control the robot. I donāt understand why I would need to do re-loging more than others, but maybe as I use the Roborock app, it will invalidate the authorization for your appā¦
I will uninstall your app now and do the clean install once again.
The app logs you in intially when pairing the device, and then uses a cached token. I get the impression that the tokens somehow expire and that I have to trigger the initial auth flow to ensure that the tokens remain valid.
I get also from the diagnostics report of @Thomas_Reiten that the connection somehow does not get through.
Iāll see if I can do something to ensure that we refresh those tokens more regularly. For now I get the impression that two users are effected by this (i.e. @Thomas_Reiten and @hubo). If others are impacted, please let me know.
@Jedrzej_Nowak
I might have an alternative for you with the Google authentication. There is an alternative login flow with codes which are send by email. I didnāt test it, neither implemented it yet.
@hubo
Iāll see tonight if I can implement the refresh of the tokens by means of the repair action of Homey. This way you will be able to right-click the device (on the web) and click repair. Youāll have to re-enter your credentials, and after that it will request new tokens.
An initial attempt in the past to try to do this automatically proofed that it might not be wanted, because each login attempt the Roborock device will notify it, which might lead to spamming you
What I also notice, which might influence the issue, is that both @hubo and @Thomas_Reiten, are allocated on the mqtt-eu-2.roborock.com server, while Iām allocated on the mqtt-eu-4.roborock.com maybe somehow this influences it alsoā¦ It gives me more reason to pick up issue #17, which implies using the local connection in your network instead of using the Roborock online servers.
Iāve also created issue #39 to follow up on the highlighting of the card when it is cleaning or not.
This version should be considered experimental, I didnāt had the change yet to test it fully myself, so it might be unstable.
What is changed? Well, Iāve added the implementation of the Local API, i.e. to be able to access the device directly from inside your network, without the Cloud API.
How does this work?
Your device still needs to be registered with the Roborock App.
You still need to enter your credentials to authenticate towards Roborock.
Some features still require the app to reach out to the Roborock Cloud (e.g. Room Names, Map Info).
If a device is configured for local API, it will first attempt to connect to the device directly for all other commands. In the event that fails, the app will fallback to the cloud api.
How can I configure my robot for Local API?
The best is to give your robot a static IP address in your router.
Once you have the IP address of your robot, open the settings of the robot in Homey and enter the IP address, hit save, and it should start using the local API.
There is no auto-discovery yet, I will investigate this for a future version.
Did try to start the cleaning from the Roborock app
Then your homey app did not update the status. I did a restart of your app and it was updating. Was this a temporary problem or was it something about the connection again, diagnostic report coming 4d83b6e0-9dea-4f4f-b41d-3609fae46b1b
I am still on 0.9.0, I am little afraid to update because everything have worked perfect the last days
Just wondering what I need to to in order to clean individual rooms. Got Homey Pro 2023 but when I am setting up an advanced flow for cleaning a room, I get the error code: āroom.toLowerCase is not a functionā. I can clean all rooms with no problem at all.