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

Last Events not updated #90

Open
sjikkervisje opened this issue Aug 23, 2021 · 12 comments
Open

Last Events not updated #90

sjikkervisje opened this issue Aug 23, 2021 · 12 comments

Comments

@sjikkervisje
Copy link

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.

@davenbo
Copy link

davenbo commented Aug 24, 2021

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

@sjikkervisje
Copy link
Author

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.

@tambyq
Copy link

tambyq commented Aug 26, 2021

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

@sjikkervisje
Copy link
Author

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.

@davenbo
Copy link

davenbo commented Aug 30, 2021

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 :(

@sjikkervisje
Copy link
Author

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

@davenbo
Copy link

davenbo commented Sep 1, 2021 via email

@MechEng70
Copy link

MechEng70 commented Sep 20, 2021

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
Copy link

MechEng70 commented Sep 20, 2021

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?

@matijse
Copy link
Owner

matijse commented Sep 21, 2021

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...

@MechEng70
Copy link

MechEng70 commented Sep 21, 2021

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!

@Rogiertw
Copy link

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%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants