Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Video Doorbell E340 (T8214; Battery Powered) P2P not working #374

Open
cyborcc opened this issue Nov 13, 2024 · 5 comments
Open

[Bug]: Video Doorbell E340 (T8214; Battery Powered) P2P not working #374

cyborcc opened this issue Nov 13, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@cyborcc
Copy link

cyborcc commented Nov 13, 2024

Version

1.9.1

Node version

?

Operating System type

Docker

Operating system version

Hassio

Describe the bug

fuatakgun/eufy_security#1211

When using the T8214 camera, the P2P stream does not work. It shows preparing, but never streaming.
And the status is stuck at preparing for the camera.

To reproduce

The moment I initiated the start p2p stream command in HA, the connection was closed becaus of saving battery, then disconnected and the live stream stopped on the add-on side.

Screenshots & Logfiles

2024-11-13 20:35:03.620 INFO eufy-security-ws:eufy-security-client
[p2p] [Timeout._onTimeout] Initiated closing of connection to station xxxxx for saving battery.
2024-11-13 20:35:03.621 INFO eufy-security-ws:eufy-security-client
[http] [Station.onDisconnect] Disconnected from station xxxxx
2024-11-13 20:35:44.492 INFO eufy-security-ws:eufy-security-client
[http] [Station.onConnect] Connected to station xxxx on host xxx and port 10274
2024-11-13 20:35:49.868 INFO eufy-security-ws:eufy-security-client
[p2p] [Timeout._onTimeout] Stopping the station stream for the device xxxx, because we haven't received any data for 5 seconds ```


### Additional context

Home Assistant Installation Type (OS - Supvervised - Core): Home Assistant OS & Docker
Home Assistant Core Version: core-2024.10.3
Eufy Security Add-on Version: 1.9.1
Eufy Security Integration Version: 8.0.4

Hardware Information;
Camera Model: Eufy T8214
Live Streaming Protocol (RTSP/P2P): The camera only supports P2P
@cyborcc cyborcc added the bug Something isn't working label Nov 13, 2024
@nicoh88
Copy link

nicoh88 commented Nov 14, 2024

+1

1 similar comment
@s-hardt
Copy link

s-hardt commented Nov 14, 2024

+1

@GurbirSD
Copy link

+1 for T8210C

@RGarrett93
Copy link

RGarrett93 commented Nov 19, 2024

I wrote this automation to restart the addon when the doorbell gets stuck on preparing. It's a workaround that is working for me.

alias: Restart Eufy WS Add-on during lock up
description: ""
triggers:
  - trigger: state
    entity_id:
      - sensor.front_door_stream_status
    for:
      hours: 0
      minutes: 1
      seconds: 0
    to: StreamStatus.PREPARING
conditions: []
actions:
  - action: hassio.addon_restart
    data:
      addon: 402f1039_eufy_security_ws
  - action: notify.mobile_app_your_mobile
    metadata: {}
    data:
      message: Eufy WS Add-on Restarted
      title: Eufy
mode: single

I should add that my T8214 (E340) is hard wired so don't have difficulties getting the stream just occasionally I find it gets stuck preparing the stream and the only fix is by restarting the ws addon.

@Be4fun
Copy link

Be4fun commented Nov 24, 2024

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants