[APP][Pro] Eufy Security

FYI for ALL
if you want to see updated on the Eufy Mega migration for the SDK: You can follow updates on Discord: Eufy Mega

In the meantime, I’m working hard behind the scenes on the new Eufy Mega SDK together with other community Eufy developers from the Homebridge and Home Assistant ecosystems. Here’s a small sneak peek at what’s already supported! :rocket:

I’m planning to build a single Eufy app for Homey based on this new SDK. This will eventually replace the current two apps (Eufy Security and Eufy Clean), so some migration will be required. I’ll share more details as development progresses!

Hi @martijnpoppen,

I’m using Homey Pro 2023 with a HomeBase 3 (S380).

I have:

  • Created a secondary Eufy account.
  • Shared the devices (not the home).
  • Given the account Admin permissions.
  • The shared account can see the HomeBase and cameras in the Eufy Security app.

However, Homey reports “No devices found” after login and 2FA.

Diagnostic report ID:
46dc80e4-805a-402d-acfb-f85e183a14ab

Could you please have a look?

Thanks!

@Michael_Jensen please check this: [APP][Pro] Eufy Security - #5 by martijnpoppen - Apps - Homey Community Forum
Same info was shared 3 post above yours as well…

Also please remove one of your posts as you send the same info twice

Thx

I tried to install eufy Wired Cam C31 Full HD but failed. You wrote that eufycam 31 will be added but is that the same as mine?

@Uwe_Seiboth correct but only in the app with the new SDK
The SDK which is currently in active development as you can see in the post you referred to

Since a few weeks the app crashes every once in a while, sometimes every day. Anyone familiar with this issue?

@Kenny_S I have the same problem, and other people also.
Did you read the first post?

https://community.homey.app/t/app-pro-eufy-security/44921?u=mike1233

@Kenny_S in addition to @Mike1233

Thank you.

Do you know if it’s possible to detect a crash and auto-restart the app?

@kenny_s Yes there are default homey cards for that

Looks great Martijn! Lots of success! Thanx in advance.

thats correct the only problem for me was that the flow cards dit not work :frowning:
in the app you did see that it was chrashd>
but the flowcard dit not trigger the event.

if it is not working with the standard flow card then you can try this.
Make a homeyscript called Eufy RAM watchdog

const logs = await Homey.insights.getLogs();

const eufyRamLog = Object.values(logs).find(log =>
log.id === 'homey:manager:apps:com.eufylife.security-mem'
);

if (!eufyRamLog) {
throw new Error('Eufy RAM log not found');
}

const ram = Number(eufyRamLog.lastValue);

log(Eufy RAM: ${ram.toFixed(1)} MB);

if (ram === 0) {
log('⚠️ Eufy is using 0 MB - the app has probably stopped');
return true;
}

if (ram > 210) {
log('⚠️ Eufy is using more than 210 MB - restart required');
return true;
}

log('✅ Eufy RAM usage is normal');
return false;

Make after the script works a flow like this one.

This flow checks the Insights data of the Eufy app every minute.

I have it set up so that if the Eufy app’s memory usage goes above 210 MB, the Eufy app will automatically restart.

You can change the 210 MB threshold in the script if needed.