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

Updating entities #49

Closed
yorickri opened this issue Aug 30, 2021 · 9 comments
Closed

Updating entities #49

yorickri opened this issue Aug 30, 2021 · 9 comments
Assignees

Comments

@yorickri
Copy link

yorickri commented Aug 30, 2021

I am using the wireless doorbell 2K (T8210 - Hardware Version T8210B) and the initial integration appears to be working OK.
However, updating the entities does not seem to work (for me :)) as expected.

I'm experiencing 2 overall 'issues'

  1. Even though motion is detected (as I am seeing videos being recorded in the Eufy app), the entities in Home Asssistant don't indicate any motion being detected.

As a test I have created additional sensors which are showing the specific attrbutes of the entity.

By using the additional sensors I'm able to identify that at least something is working, as the values of the total/recorded/false events does increase, whereas the rest remains on their initial value. Having said that, the battery percentage as well as the doorbell ringing entity do seems to be updating.

I have enabled debug logging and when looking up motionDetected in the log, it is shown as false in every single entry.

To explain what is shown on the screenshot below;

  • The entities with their initial value (after setting up the integration again) - the ones showing "40 minuten geleden"
  • The additional sensors showing a specific attribute (the ones in the red box). Note: The "7 minuten geleden" is from reloading the template entities
  • The secondary info contains "last modified"

image

  1. I seem to have a delay on updating the entities. In the example above, the deurbel_*_events entities are only updated every x minutes, as can be seen on the screenshot below. Maybe this is intentional, but this would possibily clarify on why other entities are not being updated either as they might be in the exact same state on every update and might only show as 'true' in very specific cases where the update takes place in the same matter of seconds as in which the motion is detected.

image

@yorickri yorickri changed the title Updating entitie Updating entities Aug 30, 2021
@fuatakgun
Copy link
Owner

following readme file, please share your cameras with me, I am happy to debug this

@yorickri
Copy link
Author

Thanks fuatakgun, hope you enjoyed your holiday! I've sent you the request.

@fuatakgun
Copy link
Owner

Thanks for your wishes, i had received the invitation and accepted it. I will investigate issue tonight (based on EU timezone)

@fuatakgun
Copy link
Owner

fuatakgun commented Sep 17, 2021

please send me an email so we can test the events, I am not good at creating motion/person/ring events from remote :)

UPDATE: I have sent you an email

@fuatakgun
Copy link
Owner

Had a debug session, my findings;

  • ringing events are coming
  • picture is updated based on event
  • motion event did not arrive as push notification.

Next action;

  • if you login with your HA account on your mobile phone, are you receiving these push notifications?

Possible paths forward;

  • creating a new account and sharing the cameras
  • removing all cameras and adding them back to EUFY (yes painful)

@fuatakgun
Copy link
Owner

Please check this: #22 (comment)

@yorickri
Copy link
Author

Removing the devices completely and re-adding the homebase + doorbell seems to have done the trick. I can now see the notifications in Home Assistant!

Only downside is that it won't give any motion notification while the notification on your mobile phone is disabled. It seems that it's not possible to enable the mobile notifications for one account and disable it for the other (or i'm missing something).

@fuatakgun
Copy link
Owner

Yes, notifications are device based, not account.

@fuatakgun
Copy link
Owner

Please resolve the issue, if nothing left

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

2 participants