# Changing a device in an app

**URL:** <https://community.homey.app/t/changing-a-device-in-an-app/48839>\
**Category:** Questions & Help\
**Created:** [June 26, 2021, 7:57pm UTC](https://community.homey.app/t/changing-a-device-in-an-app/48839 "2021-06-26T19:57:04Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arjan-21](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arjan-21/32/27181_2.png) [@Arjan-21](https://community.homey.app/u/Arjan-21)\
**Post date:** [June 26, 2021, 7:57pm UTC](https://community.homey.app/t/changing-a-device-in-an-app/48839/1 "2021-06-26T19:57:04Z")

</div>

I’ve a roborock s5 max. There is a custom (CLI) app that works with my S5 max. The first app the zone cleaning and target point didn’t work. But cleaning/ status and fan speed was working.  
A few weeks ago someone else made a update. The Zone cleaning and target point is working now, but fan speed didn’t work anymore (I hear the beep, but it is changing always to balanced).

Where can I find the document for this device (I don’t know where to look)? So I can see where there is made a change. I’m not a programmer, but seeing what is changed can help me to find the solution.

#1: [https://github.com/Maxmudjon/com.xiaomi-miio/files/4915546/com.xiaomi.roborock.zip](https://github.com/Maxmudjon/com.xiaomi-miio/files/4915546/com.xiaomi.roborock.zip)

#2 [https://github.com/Maxmudjon/com.xiaomi-miio/files/6408030/Roborock\_Zones\_Goto.zip](https://github.com/Maxmudjon/com.xiaomi-miio/files/6408030/Roborock_Zones_Goto.zip)

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [June 26, 2021, 8:48pm UTC](https://community.homey.app/t/changing-a-device-in-an-app/48839/2 "2021-06-26T20:48:18Z")

</div>

With file comparison software, often called ‘diff’, you can compare similar files of different versions, any change between them is marked.  
[https://duckduckgo.com/?q=diff+software&ia=web](https://duckduckgo.com/?q=diff+software&ia=web)  
If the filedates are still intact, start with the most recent files I would say.

---

<div class="post-metadata">

**Author:** ![Arjan-21](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arjan-21/32/27181_2.png) [@Arjan-21](https://community.homey.app/u/Arjan-21)\
**Post date:** [June 26, 2021, 9:02pm UTC](https://community.homey.app/t/changing-a-device-in-an-app/48839/3 "2021-06-26T21:02:28Z")

</div>

Thanks

---

<div class="post-metadata">

**Author:** ![apps](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/apps/32/30000_2.png) [@apps](https://community.homey.app/u/apps)\
**Post date:** [June 27, 2021, 8:27am UTC](https://community.homey.app/t/changing-a-device-in-an-app/48839/4 "2021-06-27T08:27:39Z")

</div>

> [@Arjan-21](#):
>
> I’ve a roborock s5 max. There is a custom (CLI) app that works with my S5 max. The first app the zone cleaning and target point didn’t work

Wonderful. Works.

A big thank you  
(in the second reference, the purifier 3H still does not work)

---

<div class="post-metadata">

**Author:** ![Arjan-21](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arjan-21/32/27181_2.png) [@Arjan-21](https://community.homey.app/u/Arjan-21)\
**Post date:** [June 27, 2021, 8:43am UTC](https://community.homey.app/t/changing-a-device-in-an-app/48839/5 "2021-06-27T08:43:19Z")

</div>

I didn’t make this app. A few guys with the same issue on GitHub has made it. Unfortunately I can’t program this things. But looking for some change is something I can do. So tonight I’m going to try it.

---

<div class="post-metadata">

**Author:** ![apps](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/apps/32/30000_2.png) [@apps](https://community.homey.app/u/apps)\
**Post date:** [June 27, 2021, 8:45am UTC](https://community.homey.app/t/changing-a-device-in-an-app/48839/6 "2021-06-27T08:45:42Z")

</div>

Thank you for the link.

---

<div class="post-metadata">

**Author:** ![Arjan-21](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arjan-21/32/27181_2.png) [@Arjan-21](https://community.homey.app/u/Arjan-21)\
**Post date:** [June 27, 2021, 8:01pm UTC](https://community.homey.app/t/changing-a-device-in-an-app/48839/7 "2021-06-27T20:01:54Z")

</div>

I’ve found the code line with the change. And it works (with zone cleaning)  
Only this wasn’t the problem. so looking for another problem 😂  
But couldn’t find the way to use fan speed for a roborock.

---

<div class="post-metadata">

**Author:** ![Arjan-21](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arjan-21/32/27181_2.png) [@Arjan-21](https://community.homey.app/u/Arjan-21)\
**Post date:** [July 4, 2021, 11:53am UTC](https://community.homey.app/t/changing-a-device-in-an-app/48839/8 "2021-07-04T11:53:23Z")

</div>

For everybody who needs it. There is someone on Github that have made a new version for the s5max vacuum. With fan speed / water level and room cleaning.

> <https://github.com/Maxmudjon/com.xiaomi-miio/issues/126#issuecomment-873450360>
>
> I've just recently gotten my xiaomi roborock s5 Max (new model) and when I use t…he token and ip to connect to the device with the MI home homey app I get the following message: "device.getState is not a function"
