Security cameras - view feed automatically (Eufy+Tasker+AutoNotification)

I was looking into several different solutions for getting a feed of the security cameras (I’m using Eufy cameras, but this guide can be applied to any other brand as well, as long as several conditions are met, as will be explained below).

I got started with the custom Eufy integration (cheers to @anon63427907 for all the hard work there)

This was not too difficult to set up, however the feed was unreliable, took a very long time to be seen on the HA dashboard, sometimes getting error messages, this was not something that could pass the spousal approval test.

The best solution I could find so far, and this I found to be very reliable, is to basically install the Eufy app on the tablet, to make sure it has all the permissions it needed and then to use tasker with a plugin called AutoNotification, which “grabs” the notification on the tablet when someone rings the doorbell, it can then simulate a click on the notification to directly open the Eufy app (which automatically launches the app in the relevant camera, with the feed on, like a proper intercom system). And then it’s possible to set up a short timer to then close the Eufy app automatically and relaunch HA into our dashboard.
You can’t use this method to watch feed “on-demand”, only when a notification is arriving. For on-demand feed watching, I’ve set up picture cards that when you click on them it just opens the Eufy app. Not into the appropriate camera, but at least you get the Eufy camera grid and you can select which camera to watch.

So breaking it down into steps, for anyone who wishes to follow:

  1. Install the Eufy app (or whatever app you have for your own camera system if not using Eufy). I have no idea how this works with iPads, I’m using an Android tablet for all of this.

  2. Install tasker and AutoNotification. Tasker is free, however AutoNotification requires a very small one time fee, which is definitely worth it.

  3. Follow the guide here to set up AutoNotification to grab the notification and to click on it. (In step #4 of that guide, I used the id %antouchaction to click on the notification itself).

  4. I also added another step in Tasker, to cancel the notification after it is clicked on, it’s supposed to be cleared after the click, but just in case, to prevent double launching of the script.

  5. In the Tasker task - you wait 30 seconds after the “click”, then relaunch HA.

  6. Another small thing I did, in HA, in Automations, if the house door opens (there’s a sensor there), you can also close the Eufy app and relaunch HA.

For me this accurately serves the purpose - if someone rings the doorbell, to be able to see who it is as fast as possible.

Enjoy.

4 Likes

Thanks for this, trying to get it going

Any chance you can export your settings out of tasker etc, or screenshots?

thanks

Here’s the backup from Tasker

Since posting this in November I’ve been working with it, and it has been extremely reliable. Every time someone rings the doorbell, the live video is immediately brought up on screen by faking a click on the notification.

Awesome!
Just what I am looking for.

I do find your tutorial a little confusing to be honest, I think it’s because you accidentally switched up the words ‘Tasker’ and ‘AutoNotification’

I’ve uploaded your XML file to Tasker but now I am stuck. What other actions should I take now in HA and AutoNotification?

Hi @lk-hrmns , thank you for trying the guide!
I re-read my first post now and I don’t see a mixup between ‘Tasker’ and ‘Autonotification’. If there’s something specific in the guide that’s not clear let me know and I’ll gladly clarify.
From what I see, if you just install the Eufy app on the tablet, make sure that when the event happens (doorbell ringing for example), you get a notification on the phone or tablet you’re using, then if you also install autonotification (paid version), and tasker, and followed step 3 in my first post, then together with my backup.xml things should just work… Whenever an event happens it simulates a click on that notfication.
Here are a few screenshots from my tasker configuration:

Grab the notification and run a task sequence, I called the task sequence “Flash” in this screenshot.

In the tasks tab in Tasker you can see “flash” task.

This is the Flash task. Notice that I also set some variables (line 3, 4,5 in the automation script), that’s not needed, I was just experimenting with something, this works without it.

If you look at the script in my screenshot - step 1 is clicking on the notification, step 2 is canceling the notification to avoid clicking on it again, then just wait a minute and then run home assistant again. I’m using Kiosk browser so I’m opening that, you can open whatever you want instead.

1 Like

Got it working like a charm!
Thanks so much for your help.