Eufy Security Integration

Being truthful I’m not entirely sure now, I followed a guide quite some time ago and that was required if running HA Core. I believe it was something to do with RTSP and WebRTC

Hi, I have been using the eufy security add on for a while now for my eufy dual cam doorbell. I have just added a new security camera s340 solocam. Have tried reloading the integration and restarting HA but it does not show up. It is supported. Do I need to do something specific to add a second device to the integration? thanks

I figured it out myself. There is an option in the Eufy app to share your devices. Just needed to check the box next to the new camera and about 5 mins later it appeared in HA after an integration reload.

Hi,

I use the webrtc card and I have “can’t get get url for the camera…” .
When I start the camera, i have to refresh the page to see the streaming.

Have you a solution ? I have eufy 2c pro camera.

Same cameras - same problem!

I ended up writing a script, that

  • starts the stream
  • waits for one second
  • refreshes the page automatically :slight_smile:

It was my idea but I wanted to avoid that. Do you have the script?

Has anyone had any luck in taking a snapshot using the Eufy s340 solo camera?

Thanks, I tried it but I don’t like it.
I tryied another solution that works :

  • Create an input boolean
  • Switch the status when camera stream or not
  • Use the boolean with conditional card
alias: Rafraichissement caméra cour
description: >-
  Permet de rafraichir la caméra lorsque la lecture est lancée depuis le
  dashboard. Sinon il faut recharger la page pour avoir l'affichage
trigger:
  - platform: state
    entity_id:
      - camera.camera_cour
    to: idle
  - platform: state
    entity_id:
      - camera.camera_cour
    to: streaming
condition: []
action:
  - delay:
      hours: 0
      minutes: 0
      seconds: 5
      milliseconds: 0
  - if:
      - condition: state
        entity_id: camera.camera_cour
        state: streaming
    then:
      - service: input_boolean.turn_on
        data: {}
        target:
          entity_id: input_boolean.rafraichir_la_camera_cour
    else:
      - service: input_boolean.turn_off
        metadata: {}
        data: {}
        target:
          entity_id: input_boolean.rafraichir_la_camera_cour
mode: single

1 Like

For me it worked pretty much straight away, but the stream is SO SLOW!

I have two other Eufy cams, an Indoor 2K Pan Tilt and a regular Indoor 2K cam. Both have the RTSP stream enabled and are showing in Home Assistant perfectly with a custom:webrtc-camera card. But fore some reason this Floodlight E340 cam is ridiculously slow. The feed only updates every 4-5 seconds.

Despite the fact that this camera has the best WiFi reception of all. Anyone with an idea what could cause this?

Edit: I’m now just noticing that the stream provider is P2P rather that RTSP. All other cameras are RTSP. But no idea how to change that, because the RTSP stream is activated in the camera settings

Today, I cannot disable alarm with script, I have the following error :
Erreur : AlarmoBaseEntity.async_alarm_disarm() takes 1 positional argument but 2 were given

Have you ?

Hello Eufy users! :wave:

Does integration work properly with SoloCam S220? I’m considering buying the S220 model. What are the options for this model? Does it only send screenshots when an incident is detected and sending a screenshot on request (so as not to drain battery).

Thanks!

Hi - i have Eufy T8160 cameras. I can see a still image in HA after installing the add on, the HACS integration and then the HA integration - but when I do this, i get “Can’t get URL for camera.backyard”

type: custom:webrtc-camera
entity: camera.backyard

Any ideas?

yea i have this same issue with my S340, I removed my old WebRTC integration and did installed a newer version and I am not able to configure which TCP port it should as well. Would love to get some help with this. I’m able to get around this issue by going through homebridge but it doesn’t work as good as I was expecting

“, i get “Can’t get URL for camera.backyard”…"

What happens if you refresh the page in the browser?

Hi!
Have anyone got the “Person name” to work in HA? How?
/Fanan

Also here for this. I’m ok to use the Eufy app to view events but the automation options suck. Definitely keen for this feature integration to complete my security setup.

Hello,

i need your help. I have the Eufy S100 and i don’t get it to work in HA.

Installed the eufy-security-ws addon, i seems to work:

But i don’t get any devices or entities, what i’m doing wrong?

Also in go2rtc e get a stream:

Thanks fpr your support.

PHilipp

Just trying out this integration, and cannot get it to initialize, tried so many times.

Set up following the docs, and the Integrations seems to fail to start, asks for captcha, which I enter, but still fails, and this loops endlessly.

Looking in HA logs:

This error originated from a custom integration.

Logger: homeassistant
Source: custom_components/eufy_security/eufy_security_api/web_socket_client.py:63
integration: Eufy Security (documentation, issues)
First occurred: 3:14:47 PM (7 occurrences)
Last logged: 3:33:37 PM

Error doing job: Exception in callback WebSocketClient._on_close(<Task cancell...client.py:62>>) (None)
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/config/custom_components/eufy_security/eufy_security_api/web_socket_client.py", line 81, in _on_close
    self.close_callback(future)
  File "/config/custom_components/eufy_security/eufy_security_api/api_client.py", line 317, in _on_close
    _LOGGER.debug(f"on_close - executed - {future} = {future.exception()}")
                                                      ^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/eufy_security/eufy_security_api/web_socket_client.py", line 63, in _process_messages
    async for msg in self.socket:
  File "/usr/local/lib/python3.12/site-packages/aiohttp/client_ws.py", line 312, in __anext__
    msg = await self.receive()
          ^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/client_ws.py", line 244, in receive
    msg = await self._reader.read()
          ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/streams.py", line 681, in read
    return await super().read()
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/streams.py", line 640, in read
    await self._waiter
asyncio.exceptions.CancelledError

Also seeing this…
my credentials are correct. Ive triple checked, nd then checked again.

2024-07-23 14:31:54.260	INFO	eufy-security-ws	Client disconnected with ip: 127.0.0.1 port: 42968 code: 1000 reason: Normal Closure
2024-07-23 14:33:04.277	ERROR	eufy-security-ws:eufy-security-client	[http] [HTTPApi.login] Login - Response code not ok {
  code: 26006,
  msg: 'Email address or password incorrect.',
  data: {
    code: 26006,
    msg: 'Email address or password incorrect.',
    data: null
  }
}
2024-07-23 14:33:37.335	INFO	eufy-security-ws	Client disconnected with ip: 127.0.0.1 port: 37168 code: 1000 reason: Normal Closure

Is there no way to install this integration for those who have installed HA-Core?
Bropat’s add-on seems to be installable only for those who have the supervised version…