# \[APP\]\[Pro\] Eufy Clean

**URL:** <https://community.homey.app/t/app-pro-eufy-clean/46610>\
**Category:** Apps\
**Tags:** app, official, homey-pro\
**Created:** [April 23, 2021, 11:37am UTC](https://community.homey.app/t/app-pro-eufy-clean/46610 "2021-04-23T11:37:41Z")\
**Posts on this page:** 20\
**Page:** 39

<div class="post-metadata">

**Author:** ![martijnpoppen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijnpoppen/32/84849_2.png) [@martijnpoppen](https://community.homey.app/u/martijnpoppen)\
**Post date:** [February 24, 2025, 10:00am UTC](https://community.homey.app/t/app-pro-eufy-clean/46610/780 "2025-02-24T10:00:31Z")

</div>

@Rembo038 looks like a timeout on tuya. not sure how to fix this though 😕

will have to look into this. because i wan’t to prevent any retry-loops

---

<div class="post-metadata">

**Author:** ![Rembo038](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rembo038/32/79135_2.png) [@Rembo038](https://community.homey.app/u/Rembo038)\
**Post date:** [February 24, 2025, 12:44pm UTC](https://community.homey.app/t/app-pro-eufy-clean/46610/781 "2025-02-24T12:44:36Z")

</div>

I just installed the normal version instead of the test version.  
Because the vacuum was again not available in the Homey.

Thank you for looking into it, hopefully you can fix it!

---

<div class="post-metadata">

**Author:** ![Nikito](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/nikito/32/79567_2.png) [@Nikito](https://community.homey.app/u/Nikito)\
**Post date:** [February 24, 2025, 4:10pm UTC](https://community.homey.app/t/app-pro-eufy-clean/46610/782 "2025-02-24T16:10:26Z")

</div>

b0fda786-ad0e-44b5-8e79-2e95e8909a08

Got a device unavailable error again

---

<div class="post-metadata">

**Author:** ![martijnpoppen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijnpoppen/32/84849_2.png) [@martijnpoppen](https://community.homey.app/u/martijnpoppen)\
**Post date:** [February 24, 2025, 4:12pm UTC](https://community.homey.app/t/app-pro-eufy-clean/46610/783 "2025-02-24T16:12:51Z")

</div>

@Nikito already replied to the report (there was no name in it so didn’t know who it was).  
But see above

---

<div class="post-metadata">

**Author:** ![Nikito](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/nikito/32/79567_2.png) [@Nikito](https://community.homey.app/u/Nikito)\
**Post date:** [February 24, 2025, 4:33pm UTC](https://community.homey.app/t/app-pro-eufy-clean/46610/784 "2025-02-24T16:33:22Z")

</div>

My report was made seconds before the post, but it is the tuya time-out?

---

<div class="post-metadata">

**Author:** ![martijnpoppen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijnpoppen/32/84849_2.png) [@martijnpoppen](https://community.homey.app/u/martijnpoppen)\
**Post date:** [February 24, 2025, 4:35pm UTC](https://community.homey.app/t/app-pro-eufy-clean/46610/785 "2025-02-24T16:35:09Z")

</div>

@Nikito i can’t say for sure. I can’t see which device you have neither what is going wrong. That’s why i replied with if you tried a repair

---

<div class="post-metadata">

**Author:** ![martijnpoppen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijnpoppen/32/84849_2.png) [@martijnpoppen](https://community.homey.app/u/martijnpoppen)\
**Post date:** [February 25, 2025, 8:36am UTC](https://community.homey.app/t/app-pro-eufy-clean/46610/786 "2025-02-25T08:36:10Z")

</div>

@Nikito Please share which devices you have so i can proper debug this

---

<div class="post-metadata">

**Author:** ![Nikito](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/nikito/32/79567_2.png) [@Nikito](https://community.homey.app/u/Nikito)\
**Post date:** [February 25, 2025, 9:21am UTC](https://community.homey.app/t/app-pro-eufy-clean/46610/787 "2025-02-25T09:21:35Z")

</div>

No problem, but how can i do this?

---

<div class="post-metadata">

**Author:** ![martijnpoppen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijnpoppen/32/84849_2.png) [@martijnpoppen](https://community.homey.app/u/martijnpoppen)\
**Post date:** [February 25, 2025, 9:22am UTC](https://community.homey.app/t/app-pro-eufy-clean/46610/788 "2025-02-25T09:22:25Z")

</div>

@Nikito I’m not asking you to share the devices with me. I’m asking which devices you have

---

<div class="post-metadata">

**Author:** ![melmoes](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/melmoes/32/128934_2.png) [@melmoes](https://community.homey.app/u/melmoes)\
**Post date:** [February 25, 2025, 9:26am UTC](https://community.homey.app/t/app-pro-eufy-clean/46610/789 "2025-02-25T09:26:27Z")

</div>

Hey Martijn, I have the same issue. I have the Eufy X9 Pro, installed the test version of the app which as you know also breaks. Let me know if you need me to do something specific. I can send a report if you want to but I think you have all you need?

Here’s the report just in case: ab787a6c-9616-41f0-8155-b7e11ade21ee

---

<div class="post-metadata">

**Author:** ![Nikito](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/nikito/32/79567_2.png) [@Nikito](https://community.homey.app/u/Nikito)\
**Post date:** [February 25, 2025, 10:12am UTC](https://community.homey.app/t/app-pro-eufy-clean/46610/790 "2025-02-25T10:12:22Z")

</div>

![1000062728](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/b/bb668b4662c54b1e5e19410a1e4ff0d2719ad51b.jpeg)

---

<div class="post-metadata">

**Author:** ![martijnpoppen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijnpoppen/32/84849_2.png) [@martijnpoppen](https://community.homey.app/u/martijnpoppen)\
**Post date:** [February 25, 2025, 10:16am UTC](https://community.homey.app/t/app-pro-eufy-clean/46610/791 "2025-02-25T10:16:57Z")

</div>

@Nikito @Rembo038 @melmoes combined the people as you have te same issue 🙂

Ok so all the devices are tuya based. I have to dive into this as this requires some investigation. Will let you know once i found something.

If i need anything i’ll ask you guys.

---

<div class="post-metadata">

**Author:** ![Rembo038](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rembo038/32/79135_2.png) [@Rembo038](https://community.homey.app/u/Rembo038)\
**Post date:** [February 25, 2025, 12:22pm UTC](https://community.homey.app/t/app-pro-eufy-clean/46610/792 "2025-02-25T12:22:39Z")

</div>

Thanks for your efforts and hopefully you can solve it!

---

<div class="post-metadata">

**Author:** ![melmoes](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/melmoes/32/128934_2.png) [@melmoes](https://community.homey.app/u/melmoes)\
**Post date:** [March 3, 2025, 1:10pm UTC](https://community.homey.app/t/app-pro-eufy-clean/46610/793 "2025-03-03T13:10:48Z")

</div>

To “fix” this issue for the time being, I’m running a script every 15 minutes to check if the work status can be returned, if not - it’ll send an API call to the homey pro to restart the application. This way it still works…

This is basically what you didn’t want to do Martijn, a retry loop as a temporary bug fix is good enough though.

Don’t know if the first bit of code works as I need to wait again until it breaks. Unless you have an idea on how to accurately see if it’s broken @martijnpoppen

```auto
// Retrieve all devices
const devices = await Homey.devices.getDevices();

// Initialize variable for RoboVac device
let robovacDevice = null;

// Search for the RoboVac device by name
for (const device of Object.values(devices)) {
    if (device.name.toLowerCase().includes('robovac')) {
        robovacDevice = device;
        break;
    }
}

if (robovacDevice) {
    // Debugging: Log available capabilities to check the structure
    console.log("Device Capabilities:", JSON.stringify(robovacDevice.capabilitiesObj, null, 2));

    // Check if the device has measure_work_status capability
    if (robovacDevice.capabilitiesObj && robovacDevice.capabilitiesObj.measure_work_status) {
        const workStatus = robovacDevice.capabilitiesObj.measure_work_status.value || "Unknown";

        console.log("Detected Work Status:", workStatus); // Log detected status for debugging

        return `Work status of ${robovacDevice.name}: ${workStatus}`;
    } else {
        return `Work status information not available for ${robovacDevice.name}.`;
    }
} else {
    return "No device with 'RoboVac' in its name was found.";
}

```

```auto
const appId = 'com.eufylife.home'; // Eufy Clean App ID
const apiKey =''; // Replace with your API key

try {
    const response = await fetch(`http://localhost/api/manager/apps/app/${appId}/restart`, {
        method: "POST",
        headers: {
            "Content-Type": "application/json",
            "Authorization": `Bearer ${apiKey}`
        }
    });

    if (!response.ok) {
        throw new Error(`HTTP error! Status: ${response.status}`);
    }

    return `Successfully restarted the Eufy Clean app (${appId}).`;
} catch (error) {
    return `Failed to restart the Eufy Clean app: ${error.message}`;
}

```

---

<div class="post-metadata">

**Author:** ![melmoes](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/melmoes/32/128934_2.png) [@melmoes](https://community.homey.app/u/melmoes)\
**Post date:** [March 6, 2025, 8:54am UTC](https://community.homey.app/t/app-pro-eufy-clean/46610/794 "2025-03-06T08:54:15Z")

</div>

So far, using the script it hasn’t broken down yet. So that’s positive. 😃

---

<div class="post-metadata">

**Author:** ![Rembo038](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rembo038/32/79135_2.png) [@Rembo038](https://community.homey.app/u/Rembo038)\
**Post date:** [March 6, 2025, 10:28pm UTC](https://community.homey.app/t/app-pro-eufy-clean/46610/795 "2025-03-06T22:28:22Z")

</div>

Hi @martijnpoppen ,

The Eufy L60SES has been online in Homey for almost a whole week, you made a fix in Tuya?

---

<div class="post-metadata">

**Author:** ![martijnpoppen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijnpoppen/32/84849_2.png) [@martijnpoppen](https://community.homey.app/u/martijnpoppen)\
**Post date:** [March 6, 2025, 10:29pm UTC](https://community.homey.app/t/app-pro-eufy-clean/46610/796 "2025-03-06T22:29:12Z")

</div>

@Rembo038 actually didn’t do anything didn’t have time yet

So probably that seems like the solutioN. Just wait 😛

---

<div class="post-metadata">

**Author:** ![Rembo038](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rembo038/32/79135_2.png) [@Rembo038](https://community.homey.app/u/Rembo038)\
**Post date:** [March 6, 2025, 10:30pm UTC](https://community.homey.app/t/app-pro-eufy-clean/46610/797 "2025-03-06T22:30:41Z")

</div>

@martijnpoppen haha its magic.

So i don’t have to make a flow with the code from @melmoes ?  
I am not a coder, so that looks like aba ca dabra for me haha

---

<div class="post-metadata">

**Author:** ![martijnpoppen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijnpoppen/32/84849_2.png) [@martijnpoppen](https://community.homey.app/u/martijnpoppen)\
**Post date:** [March 6, 2025, 10:31pm UTC](https://community.homey.app/t/app-pro-eufy-clean/46610/798 "2025-03-06T22:31:58Z")

</div>

@Rembo038 I wouldn’t do that if it works. Best is to monitor a bit more for the next week but if it keeps stable I’m confident that It is fixed on the tuya side. But we will never know because Tuya won’t share that

---

<div class="post-metadata">

**Author:** ![melmoes](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/melmoes/32/128934_2.png) [@melmoes](https://community.homey.app/u/melmoes)\
**Post date:** [March 10, 2025, 9:15am UTC](https://community.homey.app/t/app-pro-eufy-clean/46610/799 "2025-03-10T09:15:09Z")

</div>

I set up a notification every time it actually needs to do a restart of the app and it hasn’t done so in a while. So yeah looks like it was fixed on the tuya side.

[Previous page](https://community.homey.app/t/app-pro-eufy-clean/46610.md?page=38)

[Next page](https://community.homey.app/t/app-pro-eufy-clean/46610.md?page=40)
