Eufy Camera Integration

Indeed, integration serves all users.

Nope; totally dependent on when I can make the time away from work. Rest assured, it’s something I want, too, so there’s motivation. :wink:

7 Likes

I finally got around to giving this a go, it’s awesome.

One thing though, does anyone have any ideas on how to stop battery drain on the 2K Battery Doorbell? As soon as I enabled MQTT on it the battery life went from lasting 90+ days to 7 days…

Any thoughts on paths to take to rectify/mitigate this?

Hi All. I am having an issue setting this up. I have installed Eufy Security in HACS but cannot find it in Configuration → Integrations.

I have tried:

  • Manual installation
  • Using different versions (currently using Master)
  • Clearing cache

I am running Home Assistant on a Pi 4 and am up to date with the latest version.

I have installed other integrations from HACS with no issues.

Any suggestions?

a bit O/T but I tried out tsp from my cameras to motioned and they all go grey, any ideas?

I found this post on Eufy site and set the cameras as per the instructions but still grey

I just wanted to reiterate that this post works great. Its really nice to have all the events in mqtt for logging purposes too. I pointed the iobroker mqtt client to mosquitto broker HA addon and it works very well

  1. Previously worked or installed from scratch and see a gray screen? If you put it for the first time, you may have made a mistake when setting it up.

If you select TCP / UDP Camera, the image will be gray
image

If you select RTSP / TCP Camera, the image from the camera will be displayed
image

  1. Maybe you changed the password for RTSP in the mobile app EufySecurity or chose to use a password, but you didn’t specify your username and password in the motion eye settings.

  2. The camera’s IP address has changed, and the old IP address is specified in the motion eye settings

Could it be that the version entry is missing from the manifest.json for the EufySecurity addon?
This is mandatory now for HA.
It should look something like this:

  "version": "1.0.5"

If it is missing you can just copy&paste the example to the file, save it and restart HA

1 Like

Thanks buts it none of them

1 Like

None of the current installs are through HACS to the best of my knowledge. Which solution are you trying to install? Eufy 2 MQTT bridge is a supervisor addon.

Would you mind posting your code for this implementation of collapsible panel?

You can read about the component itself here

Lovelace

type: vertical-stack
cards:
  - type: entities
    entities:
      - entity: script.start_face_detection
        name: Recognize a face
      - entity: image_processing.detect_face_eufy_camera
        name: Number of persons
      - entity: sensor.persons_hall_rus
        name: Identified person
      - entity: input_boolean.face_recognition_system
        icon: mdi:face-recognition
      - entity: input_boolean.send_a_picture_in_a_telegram
        name: Send a snapshot
      - type: custom:fold-entity-row
        head:
          type: section
          label: Camera Settings
        open: false
        entities:
          - entity: switch.eufy_camera_device_enabled
            name: Camera
          - entity: switch.eufy_camera_rtsp_stream_enabled
            name: Stream RTSP
          - entity: switch.eufy_camera_led_status
            name: LED
          - entity: switch.eufy_camera_auto_nightvision
            name: Night Vision
          - entity: switch.eufy_camera_motion_detection
            name: React to movement
          - entity: switch.eufy_camera_sound_detection
            name: React to sound
          - entity: switch.eufy_camera_pet_detection
            name: React to animals
          - entity: script.reloading_the_corridor_camera
            name: Restart the camera
    title: Camera

1 Like

Started a topic around this here: Eufy Security Integration

Until we have a better solution (@bachya is working on this here: Eufy Camera Integration - #1258 by bachya), I have come up with an intermediate one here. It is far from perfect but it is working for me, so if you are interested you can install custom integration over here: GitHub - fuatakgun/eufy_security

It also requires you to setup a node server to communicate with eufy devices. I have captured these steps in README file. With this integration, you can turn on/turn off your cameras and start playing stream inside home assistant.

Big thanks to @bropat who made server thing happen. GitHub - bropat/eufy-security-ws: Small server wrapper around eufy-security-client library to access it via a WebSocket.

4 Likes

I did some work on using automations to cast the picture to a TV.
This uses the mqtt work others have done.
Scripts in the post if they are of use to anyone.
https://plugmeinnow.com/post/655148518056624128/ding-dong

1 Like

@Ed-O Is this a live Snapshot or a picture of the “last event”. I have yet to find an integration or service that can pull a live snapshot from a Eufy Doorbell without using the last event snapshot recorded by Eufy which is usually delayed so long that it doesn’t serve purpose. I’ve been messing with this for a week and have essentially given up.

Yes. It uses the picture form last_event url off the HA box.
It works on my box and TV.
I did have it triggered by ‘person detect’ first for testing and that was not fast enough - it normally showed someone who rang the doorbell about an hour ago :slight_smile:
When I moved to the trigger ‘bell rung’ it got the image of the person walking up and works fine.

On my settings-
Under ‘streaming to smart displays’, I have ‘smartphone first’ selected.
Under ‘notifications’, I have ‘include thumbnail’ selected.
My bell (a 2K battery/charge one) is on Wifi. The chime unit is wired into ethernet. The HA box is ethernet too.
Hope something there helps.

1 Like

you can initiate live stream when you receive an event as rang the doorbell and try to cast the video on your TV, not sure if it supports. This should enable/disable livestream: Eufy Security Integration

Just set this up today (although I hard-coded the message and picture into the rest command on the yaml file as I couldn’t get your method working), works a charm so far - exactly what I’ve been looking for!
Doorbell press now triggers that notification and also pauses whatever’s playing on my Shield or LG TV.
Thank you!! :grin:

1 Like

How do you trigger a camera capture when the trigger (binary_sensor) for motion/person detection fires? The picture I’m getting from last_event is usually from an older event.

You are right, I have modified eufy-security-ws server to push latest picture URL and created a pull request here: propogate picture URL when motion/person detected by fuatakgun · Pull Request #20 · bropat/eufy-security-client · GitHub
You can apply this locally.