eufy-ha-mqtt-bridge icon indicating copy to clipboard operation
eufy-ha-mqtt-bridge copied to clipboard

Last Events not updated

Open sjikkervisje opened this issue 3 years ago • 12 comments

Just installed it following this video: https://youtu.be/x7JF2jgrvQE and just found out that it doesn't update. When Motion or person is detected it doesn't show the date/time and the image doesn't update. When restarting Home Assistant, only then the Image updates. Not even when I press the doorbell does the information update in Home Assistant. It seems that the Push is not coming through.

sjikkervisje avatar Aug 23 '21 07:08 sjikkervisje

I just installed via docker and can confirm what @sjikkervisje said. Having the same issue. No update in HA upon new events.

davenbo avatar Aug 24 '21 08:08 davenbo

The battery percentage always shows 53% and doesn't even update to the actual value when I restart HA. The only thing it refresehs is the picture after a restart.

sjikkervisje avatar Aug 24 '21 08:08 sjikkervisje

same here, motion detection is not working and I followed the same video but for me, I am using Eufy cam 2 and not the doorbell. batter percentage changed once, but I am not sure what triggered it ( my thoughts are from the reboot maybe)

Example Automation (take a snapshot and send it to TV) when I press to run the automation manually, it does take the snapshot (Last stored snapshot on the camera when motion was detected not a live snapshot) and sent it to the TV as a notification, but when someone moves in front of the camera nothing happens

id: '1622976591478' alias: Main Door Motion Detected description: Motion Detection to send a notification to Office_TCL_TV trigger:

  • type: motion platform: device device_id: e43cf43...[truncated] entity_id: binary_sensor.backyard_motion_detected domain: binary_sensor for: hours: 0 minutes: 0 seconds: 0 milliseconds: 0 id: binary_sensor.backyard_motion_detected condition: [] action:
  • service: camera.snapshot data: filename: /config/www/cam_captures/Backyard/Motion_Activated/eufy.jpg target: entity_id: camera.backyard
  • service: notify.office_tcl_tv data: title: Main Door message: Someone is at the door data: fontsize: max color: red duration: 10 transparency: 25% interrupt: 1 file: path: /config/www/cam_captures/Backyard/Motion_Activated/eufy.jpg mode: single

tambyq avatar Aug 26 '21 13:08 tambyq

Found this one https://github.com/fuatakgun/eufy_security which works for the most part, perhaps something can be learned from how they did it here. I get more entities also.

sjikkervisje avatar Aug 26 '21 16:08 sjikkervisje

Found this one https://github.com/fuatakgun/eufy_security which works for the most part, perhaps something can be learned from how they did it here. I get more entities also.

Yes but doesn't support motion entities which is why I came here in the first place :(

davenbo avatar Aug 30 '21 08:08 davenbo

Found this one https://github.com/fuatakgun/eufy_security which works for the most part, perhaps something can be learned from how they did it here. I get more entities also.

Yes but doesn't support motion entities which is why I came here in the first place :(

It actually does and it also works see below. The motion sensor depends on how you setup the motion detection. If set to all motion only the motion detected entitity trigggers, if set to person only then only the person detection motion sensor triggers. Unfortunately not all. Ps. I only have the Wireless Doorbell, no other cameras.

image

sjikkervisje avatar Aug 30 '21 08:08 sjikkervisje

Ah I see. Thanks, tried it out and you are indeed correct. It's actually all I need so dropping the mqtt bridge for now.

On Mon, 30 Aug 2021 at 10:37, Jeroen @.***> wrote:

Found this one https://github.com/fuatakgun/eufy_security http://url which works for the most part, perhaps something can be learned from how they did it here. I get more entities also.

Yes but doesn't support motion entities which is why I came here in the first place :(

It actually does and it also works see below. The motion sensor depends on how you setup the motion detection. If set to all motion only the motion detected entitity trigggers, if set to person only then only the person detection motion sensor triggers. Unfortunately not all. Ps. I only have the Wireless Doorbell, no other cameras.

[image: image] https://user-images.githubusercontent.com/1422692/131311191-6da74f5a-53d2-4713-9d92-67819d8bc455.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/matijse/eufy-ha-mqtt-bridge/issues/90#issuecomment-908155983, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALPO2JOXCICWHIDAOT5VYI3T7M7NNANCNFSM5CUALTHA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

davenbo avatar Sep 01 '21 08:09 davenbo

Seeing this issue with the Doorbell (T8100) and Solo CAM S40 (T8124). The logs do show that "Someone has been spotted", however the image is not updated until the integration is restarted.

MechEng70 avatar Sep 20 '21 19:09 MechEng70

Looking at the logs, there is a push message that indicates that someone has been detected:

debug: Got notification - Device: T8124PXXXXXXXXXX, Type: 3102 {"timestamp":"2021-09-20T21:46:59.993Z"}
debug: Received push message {"pushMessage":{"id":"32D1D345","from":"348804314802","to":"eiBvb7KQnlbfLXY4uBLI9U","category":"com.oceanwing.battery.cam","persistentId":"0:1632174483617404%0d2a775cf9fd7ecd","ttl":3600,"sent":"1632174483608","payload":{"device_sn":"","payload":{"msg_type":18,"event_type":3102,"device_sn":"T8124P202131078E","name":"North - Carlson","channel":0,"cipher":28,"session_id":"20210920_144803","pic_url":"","create_time":1632174481212,"trigger_time":1632174481212,"file_path":"/media/mmcblk0p1/Camera00/20210920144803.h264","push_count":1,"notification_style":1,"storage_type":1,"unique_id":"40e751722c606c24bc09b726b9d3d8aa"},"station_sn":"T8124PXXXXXXXXXX","google.c.sender.id":"348804314802","type":"62","title":"eufyCam Solo","push_time":"1632174483585","content":"Someone has been spotted","event_time":"1632174483968"}},"timestamp":"2021-09-20T21:48:03.689Z"}
debug: Got notification - Device: T8124PXXXXXXXXXX, Type: 3102 {"timestamp":"2021-09-20T21:48:03.689Z"}

The image will not be updated until the Integration is restarted. Is there a way to trigger the update?

MechEng70 avatar Sep 20 '21 22:09 MechEng70

There is no pic_url in your push message. In the app you can set different notification styles, did you choose the one with a picture? Do you see a picture in the app notifications? If so, then images may work differently for this camera...

matijse avatar Sep 21 '21 06:09 matijse

There is no pic_url in your push message. In the app you can set different notification styles, did you choose the one with a picture? Do you see a picture in the app notifications? If so, then images may work differently for this camera...

Just checked. and you are correct. The doorbell was set to "Full Effect" and the new cameras were set to "Most Efficient". Resetting all to "Full Effect" and will monitor today. Thanks.

Update: setting the cameras to "Full Effect" provided the last event. Now I am pissed cause I just recorded a lady that let her dog poop on my property. Thanks!

MechEng70 avatar Sep 21 '21 14:09 MechEng70

Do you already have a solution for updating the actual battery status? I have the same issue, it never gets updated. It remains 99% in HA, while the Eufy app tells me it is 96%

Rogiertw avatar Feb 10 '22 13:02 Rogiertw