fuatakgun / eufy_security

Home Assistant integration to manage Eufy Security devices as cameras, home base stations, doorbells, motion and contact sensors.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No "Snapshot" with RTSP

bkr1969 opened this issue · comments

Please check existing (open or closed) issues before creating a new one. (https://github.com/fuatakgun/eufy_security/issues?q=is%3Aissue+)

If this is not an issue, you can use Discussions (https://github.com/fuatakgun/eufy_security/discussions) section.

Describe the bug

There is no "last image hold" for rtsp streaming. The static image reverts to the last event image instead of what was last streamed. This was not the case when using P2P.

To reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

I would expect the last image streamed to stay as the thumbnail.

Additional information

Go to Settings -> System -> Repairs -> Click on 3 dots (...) -> System Information and get Version and Installation Type to below fields;

  • Home Assistant Installation Type (OS - Supvervised - Core): OS
  • Home Assistant Core Version: 2024.2.4
  • Eufy Security Add-on Version: 1.8.0
  • Eufy Security Integration Version: Latest

Hardware Information;

  • Camera Model:
    T8160
    T8410

  • Live Streaming Protocol (RTSP/P2P): RTSP

  • Debug Logs from Home Assistant (#624) - Without this, I will automatically resolve this issue:
    -```
    motionDetection: true,
    'hidden-pictureUrl': '/zx/hdd_data0/Camera01/202402/20240204184738/snapshort.jpg'
    }
    }
    2024-03-04 22:33:09.254 DEBUG eufy-security-ws:eufy-security-client [http] [IndoorCamera.update] Update device cloud properties {
    deviceSN: 'T8410P42231107BC',
    properties: {
    motionDetected: false,
    personDetected: false,
    personName: '',
    petDetected: false,
    soundDetected: false,
    cryingDetected: false,
    name: 'Living Room',
    model: 'T8410',
    serialNumber: 'T8410P42231107BC',
    type: 31,
    hardwareVersion: 'P4',
    softwareVersion: '2.1.9.9',
    stationSerialNumber: 'T8410P42231107BC',
    enabled: true,
    rtspStreamUrl: '',
    picture: null,
    rotationSpeed: 4,
    notificationIntervalTime: 0,
    motionZone: {
    zonecount: 1,
    polygens: [
    {
    points: [
    {
    x: 154,
    y: 432
    },
    {
    x: 290,
    y: 381
    },
    {
    x: 293,
    y: 395
    },
    {
    x: 284,
    y: 432
    },
    {
    x: 261,
    y: 432
    },
    {
    x: 224,
    y: 432
    }
    ]
    }
    ]
    },
    snoozeTime: 0,
    snoozeStartTime: 0,
    speaker: true,
    petDetection: true,
    notificationType: 3,
    statusLed: true,
    continuousRecording: false,
    motionDetectionSensitivity: 3,
    notificationCrying: true,
    soundDetectionType: 1,
    autoNightvision: true,
    videoRecordingQuality: 3,
    continuousRecordingType: 0,
    motionDetection: true,
    microphone: true,
    audioRecording: true,
    videoTypeStoreToNAS: 0,
    rtspStream: false,
    notificationAllOtherMotion: true,
    soundDetection: false,
    notificationAllSound: true,
    soundDetectionSensitivity: 3,
    imageMirrored: false,
    notificationPerson: true,
    speakerVolume: 80,
    videoStreamingQuality: 0,
    motionDetectionType: 3,
    motionTracking: true,
    notificationPet: true,
    'hidden-pictureUrl': '/zx/hdd_data0/ipclink/event/T8410P42231107BC/202403/20240303075810/snapshort.jpg'
    }
    }
    2024-03-04 22:36:34.919 DEBUG eufy-security-ws:eufy-security-client [push] [PushClient.sendHeartbeat] Push client - Sending heartbeat... {
    streamId: 95
    }
    2024-03-04 22:36:34.919 DEBUG eufy-security-ws:eufy-security-client [push] [PushClient.buildHeartbeatPingRequest] Push client - heartbeatPingRequest {
    streamId: 95,
    request: '{"last_stream_id_received":95}'
    }
    2024-03-04 22:36:34.949 DEBUG eufy-security-ws:eufy-security-client [push] [PushClient.handleHeartbeatAck] Push client - Heartbeat acknowledge {
    message: '{"tag":1,"object":{"lastStreamIdReceived":94}}'
    }



- Logs from Eufy Security Add-on (either from Add-ons page of Home Assistant or Docker output):

Logger: homeassistant.components.stream.stream.camera.living_room
Source: components/stream/init.py:431
Integration: Stream (documentation, issues)
First occurred: 07:42:26 (149 occurrences)
Last logged: 15:37:30

Error from stream worker: Error opening stream (HTTP_NOT_FOUND, Server returned 404 Not Found) rtsp://127.0.0.1:8554/T8410P42231107BC



- Would you share your device with me in case further debugging required? (Yes/No):
Yes

**Additional context**

![image](https://github.com/fuatakgun/eufy_security/assets/42385989/1c30dc5e-61bd-4f75-8c83-de029bc4aab2)

I was looking for a solution also… no news here🤔